Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385373 - dev-vcs/git-1.7.7 can't locate XML/SAX/Exception.pm in @INC
Summary: dev-vcs/git-1.7.7 can't locate XML/SAX/Exception.pm in @INC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 385397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-02 11:42 UTC by Stephan Friedrichs
Modified: 2011-10-10 14:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (1317555288-install-dev-vcs_git-1.7.7:0::gentoo.out,28.67 KB, text/plain)
2011-10-02 11:44 UTC, Stephan Friedrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2011-10-02 11:42:51 UTC
When building git-1.7.7, it fails saying:

Can't locate XML/SAX/Exception.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at /usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/ParserFactory.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/ParserFactory.pm line 12.
Compilation failed in require at /usr/bin/db2x_texixml line 2147.
BEGIN failed--compilation aborted at /usr/bin/db2x_texixml line 2147.
docbook2texi:/book: no description for directory entry
make: *** [user-manual.texi] Error 2
make: *** Waiting for unfinished jobs....

Exception.pm exists, but not in XML/SAX/:
/usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/PurePerl/Exception.pm

perl-cleaner --all doesn't resolve the issue.
Comment 1 Stephan Friedrichs 2011-10-02 11:44:14 UTC
Created attachment 288539 [details]
build log
Comment 2 SpanKY gentoo-dev 2011-10-02 18:37:25 UTC
*** Bug 385397 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2011-10-02 18:38:36 UTC
please post `emerge --info` in all of your bug reports

you could try re-emerging the package that provides /usr/bin/db2x_texixml
Comment 4 Stephan Friedrichs 2011-10-02 22:32:57 UTC
(In reply to comment #3)
> please post `emerge --info` in all of your bug reports
> you could try re-emerging the package that provides /usr/bin/db2x_texixml

and that would be...
Garten ~ # cave owner /usr/bin/db2x_texixml
app-text/docbook2X-0.8.8-r2::installed

Garten ~ # cave resolve -1x docbook2X
[...]
make -j8   
docbook2man syntax OK
docbook2texi syntax OK
db2x_xsltproc syntax OK
Can't locate XML/SAX/Exception.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_pe
rl/5.12.4/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux /usr/lib64/perl5/5.12.4
 /usr/local/lib/site_perl .) at /usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/ParserFactory.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/ParserFactory.pm line 12.

So this is just the same error. But perl-cleaner doesn't find anything to be repaired and cave fix-linkage (the equivalent of revdep-rebuild) only finds
 - blender (unrelated hit due to the libpng update,
   but unfortunately there hasn't been a working blender
   ebuild for months)
 - dev-tex/luatex (due to libpoppler.so.13), might this be related?

*But* reinstalling the package responsible for Exception.pm helps!

Garten ~ # locate Exception.pm
/usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/PurePerl/Exception.pm
Garten ~ # cave owner /usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/PurePerl/Exception.pm
dev-perl/XML-SAX-0.990.0::installed
Garten ~ # cave resolve -1x XML-SAX                         
[works]
Garten ~ # cave resolve -1x docbook2X
[works]
Garten ~ # cave resolve -1x git
[works]

Conclusion: Whatever the caused this problem, perl-cleaner didn't find it, but reinstalling dev-perl/XML-SAX helped :)

Thanks!
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2011-10-10 14:32:43 UTC
dev-perl/XML-SAX-Base wasn't installed.