{"thread":{"id":"13029","subject":"Test suite failures due to Error.pm issues.","startedAt":"2008-04-08T22:18:53Z","lastAt":"2008-04-13T03:04:57Z","messageCount":3,"participants":["carbonated beverage","Rafael Garcia-Suarez"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"73892","messageId":"20080408221853.GA3819@net-ronin.org","threadId":"13029","inReplyTo":null,"subject":"Test suite failures due to Error.pm issues.","fromName":"carbonated beverage","fromEmail":"ramune@net-ronin.org","sentAt":"2008-04-08T22:18:53Z","receivedAt":"2008-04-08T22:18:53Z","isPatch":false,"sender":{"key":"ramune@net-ronin.org","avatar":null},"body":"Hi all,\n\nI was trying to track down the cause of massive test failures in make\ntest, and running the failing entries via -v showed the following popping\nup over and over again:\n\nCan'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\n /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.^\nBEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../perl/blib/lib/Git.pm line 93.^\nCompilation failed in require at /home/ramune/src/git/git/t/../git-add--interactive line 5.^\nBEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../git-add--interactive line 5.^\n\nSince git has private-Error.pm file, shouldn't that be picked up by the\nmake test invocation?\n\n-- DN\nDaniel\n"},{"id":"73936","messageId":"b77c1dce0804090134j514811d7mbffdc73dee5a90b7@mail.gmail.com","threadId":"13029","inReplyTo":"20080408221853.GA3819@net-ronin.org","subject":"Re: Test suite failures due to Error.pm issues.","fromName":"Rafael Garcia-Suarez","fromEmail":"rgarciasuarez@gmail.com","sentAt":"2008-04-09T08:34:30Z","receivedAt":"2008-04-09T08:34:30Z","isPatch":false,"sender":{"key":"rgarciasuarez@gmail.com","avatar":null},"body":"On 09/04/2008, carbonated beverage <ramune@net-ronin.org> wrote:\n> Hi all,\n>\n>  I was trying to track down the cause of massive test failures in make\n>  test, and running the failing entries via -v showed the following popping\n>  up over and over again:\n>\n>  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\n>   /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.^\n>  BEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../perl/blib/lib/Git.pm line 93.^\n>  Compilation failed in require at /home/ramune/src/git/git/t/../git-add--interactive line 5.^\n>  BEGIN failed--compilation aborted at /home/ramune/src/git/git/t/../git-add--interactive line 5.^\n>\n>  Since git has private-Error.pm file, shouldn't that be picked up by the\n>  make test invocation?\n\nThe private Error file is not installed if perl/Makefile.PL detects\nthan an Error.pm recent enough on your system. Do you actually have\nperl/blib/lib/Error.pm ? Try to run (cd perl; make clean; cd ..; make)\nand try the tests again.\n"},{"id":"74235","messageId":"20080413030457.GA12747@net-ronin.org","threadId":"13029","inReplyTo":"b77c1dce0804090134j514811d7mbffdc73dee5a90b7@mail.gmail.com","subject":"Re: Test suite failures due to Error.pm issues.","fromName":"carbonated beverage","fromEmail":"ramune@net-ronin.org","sentAt":"2008-04-13T03:04:57Z","receivedAt":"2008-04-13T03:04:57Z","isPatch":false,"sender":{"key":"ramune@net-ronin.org","avatar":null},"body":"(Was on the road for work, so couldn't reply till now)\n\n> The private Error file is not installed if perl/Makefile.PL detects\n> than an Error.pm recent enough on your system. Do you actually have\n> perl/blib/lib/Error.pm ? Try to run (cd perl; make clean; cd ..; make)\n> and try the tests again.\n\nramune/lycaeum:git: locate Error.pm\n/usr/local/stow/git-1.5.4.5/share/perl/5.8.8/Error.pm\n/usr/share/perl5/Debconf/Element/Dialog/Error.pm\n/usr/share/perl5/Debconf/Element/Editor/Error.pm\n/usr/share/perl5/Debconf/Element/Gnome/Error.pm\n/usr/share/perl5/Debconf/Element/Kde/Error.pm\n/usr/share/perl5/Debconf/Element/Noninteractive/Error.pm\n/usr/share/perl5/Debconf/Element/Teletype/Error.pm\n/usr/share/perl5/Debconf/Element/Web/Error.pm\nramune/lycaeum:git: \n\nSo... there's Error.pm files around, but I remember now having to copy it\nover for previous versions of git.  Reporting it slipped my mind until now\n(sorry).\n\nAfter the:\n cd perl\n make clean\n cd ..\n make -j4\n make test\n\nwhen git 1.5.4.5 is still in /usr/local/stow/git-1.5.4.5 and stow'd to\n/usr/local, it passes.  So it looks like it was picking up the previous\nError.pm installed in the git directory from the previous installation.\n\nSo when it was stow -D'd, and the new git installed and stow'd, the Error.pm\nwent away (also, when the old git was stow -D'd before running the test).\n\nNot sure what the right way to handle this is.  I may just make a note to\nalways copy over Error.pm, if it won't change in the git source.\n\n-- DN\nDaniel\n"}]}