git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Test suite failures due to Error.pm issues.

From
CBcarbonated beverage <ramune@net-ronin.org>
Date
Apr 13, 2008, 03:04 UTC
Message-ID
<20080413030457.GA12747@net-ronin.org>
In-Reply-To
<b77c1dce0804090134j514811d7mbffdc73dee5a90b7@mail.gmail.com>
(Was on the road for work, so couldn't reply till now)
> The private Error file is not installed if perl/Makefile.PL detects
> than an Error.pm recent enough on your system. Do you actually have
> perl/blib/lib/Error.pm ? Try to run (cd perl; make clean; cd ..; make)
> and try the tests again.

ramune/lycaeum:git: locate Error.pm /usr/local/stow/git-1.5.4.5/share/perl/5.8.8/Error.pm /usr/share/perl5/Debconf/Element/Dialog/Error.pm /usr/share/perl5/Debconf/Element/Editor/Error.pm /usr/share/perl5/Debconf/Element/Gnome/Error.pm /usr/share/perl5/Debconf/Element/Kde/Error.pm /usr/share/perl5/Debconf/Element/Noninteractive/Error.pm /usr/share/perl5/Debconf/Element/Teletype/Error.pm /usr/share/perl5/Debconf/Element/Web/Error.pm ramune/lycaeum:git:

So... there's Error.pm files around, but I remember now having to copy it over for previous versions of git. Reporting it slipped my mind until now (sorry).

After the:
 cd perl
 make clean
 cd ..
 make -j4
 make test

when git 1.5.4.5 is still in /usr/local/stow/git-1.5.4.5 and stow'd to /usr/local, it passes. So it looks like it was picking up the previous Error.pm installed in the git directory from the previous installation.

So when it was stow -D'd, and the new git installed and stow'd, the Error.pm went away (also, when the old git was stow -D'd before running the test).

Not sure what the right way to handle this is. I may just make a note to always copy over Error.pm, if it won't change in the git source.

-- DN Daniel

Previous: Rafael Garcia-Suarez
Message 3 of 3 in “Test suite failures due to Error.pm issues.”
  1. carbonated beverageApr 8, 2008
  2. Rafael Garcia-SuarezApr 9, 2008
  3. carbonated beverageApr 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.