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

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

From
RGRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date
Apr 9, 2008, 08:34 UTC
Message-ID
<b77c1dce0804090134j514811d7mbffdc73dee5a90b7@mail.gmail.com>
In-Reply-To
<20080408221853.GA3819@net-ronin.org>
On 09/04/2008, carbonated beverage <ramune@net-ronin.org> wrote:
Show 14 quoted lines
> Hi all,
>
>  I was trying to track down the cause of massive test failures in make
>  test, and running the failing entries via -v showed the following popping
>  up over and over again:
>
>  Can't locate Error.pm in @INC (@INC contains: /home/ramune/src/git/git/t/../perl/blib/lib /home/ramune/src/git/git/t/../perl/blib/arch/auto/Git /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
>   /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/ramune/src/git/git/t/../perl/blib/lib/Git.pm line 93.^
>  BEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../perl/blib/lib/Git.pm line 93.^
>  Compilation failed in require at /home/ramune/src/git/git/t/../git-add--interactive line 5.^
>  BEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../git-add--interactive line 5.^
>
>  Since git has private-Error.pm file, shouldn't that be picked up by the
>  make test invocation?

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.

Previous: carbonated beverageNext: carbonated beverage
Message 2 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.