[Bug 194706] perl-XML-SAX fails to build in mock
bugzilla at redhat.com
bugzilla at redhat.com
Sat Jun 10 11:33:22 UTC 2006
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: perl-XML-SAX fails to build in mock
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194706
------- Additional Comments From jkeating at redhat.com 2006-06-09 21:54 EST -------
http://fedoraproject.org/wiki/Extras/MockTricks
This will help you to get mock working, however it still has too "fat" of
buildroots. Upstream hasn't made a release that uses the trimmed down buildroot
so this will not be helpful.
To me it looks like the build enviornment is missing perl-XML-LibXML which would
provide
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX.pm
(or the i386 version). This line is the helpful part in the log:
Can't locate XML/SAX.pm in @INC (@INC contains:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8 .).
yum provides XML/SAX.pm reveals perl-XML-LibXML Please try this in brew.
------- Additional Comments From paul at city-fan.org 2006-06-10 07:25 EST -------
Created an attachment (id=130911)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=130911&action=view)
Spec file tweak
You can using the current Extras version of mock with a reduced builrroot.
See: http://www.redhat.com/archives/fedora-devel-list/2006-May/msg00904.html
(In reply to comment #7)
> To me it looks like the build enviornment is missing perl-XML-LibXML
> which would provide
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/LibXML/SAX.pm
> (or the i386 version). This line is the helpful part in the log:
>
> Can't locate XML/SAX.pm in @INC (@INC contains:
It's looking for XML/SAX.pm, not XML/LibXML/SAX.pm.
Actually the package can be fixed just by tweaking it to bring it more in line
with the normal perl module template; no additional buildreqs are needed.
See attached patch.
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Fedora-perl-devel-list
mailing list