Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 841979

Summary: dev-perl/XML-LibXML-2.20.700-r2 failed to compile
Product: Gentoo Linux Reporter: Jean-Claude Aciman <jcl.aciman>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log, environment, pqv & info

Description Jean-Claude Aciman 2022-05-01 07:55:46 UTC
Created attachment 775754 [details]
build.log, environment, pqv & info

BEGIN failed--compilation aborted at Makefile.PL line 20.
 * ERROR: dev-perl/XML-LibXML-2.20.700-r2::gentoo failed (configure phase):
 *   Unable to build!

Requested files in attachment

Thank you for your help.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-01 21:45:41 UTC
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/XML-LibXML-2.20.700-r2/image
Can't locate Alien/Libxml2.pm in @INC (you may need to install the Alien::Libxml2 module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.34/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.34 /usr/lib64/perl5/vendor_perl/5.34/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.34 /usr/lib64/perl5/5.34/x86_64-linux-thread-multi /usr/lib64/perl5/5.34) at /usr/lib64/perl5/vendor_perl/5.34/Alien/Base/Wrapper.pm line 68.
BEGIN failed--compilation aborted at Makefile.PL line 20.
 * ERROR: dev-perl/XML-LibXML-2.20.700-r2::gentoo failed (configure phase):
 *   Unable to build!
 * 

Note that it does have Alien-Libxml2 in its dependencies. Can you try perl-cleaner --all?
Comment 2 Jean-Claude Aciman 2022-05-02 14:29:43 UTC
(In reply to Sam James from comment #1)
>  * Using ExtUtils::MakeMaker
>  * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
> DESTDIR=/var/tmp/portage/dev-perl/XML-LibXML-2.20.700-r2/image
> Can't locate Alien/Libxml2.pm in @INC (you may need to install the
> Alien::Libxml2 module) (@INC contains: /etc/perl
> /usr/local/lib64/perl5/5.34/x86_64-linux-thread-multi
> /usr/local/lib64/perl5/5.34
> /usr/lib64/perl5/vendor_perl/5.34/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.34
> /usr/lib64/perl5/5.34/x86_64-linux-thread-multi /usr/lib64/perl5/5.34) at
> /usr/lib64/perl5/vendor_perl/5.34/Alien/Base/Wrapper.pm line 68.
> BEGIN failed--compilation aborted at Makefile.PL line 20.
>  * ERROR: dev-perl/XML-LibXML-2.20.700-r2::gentoo failed (configure phase):
>  *   Unable to build!
>  * 
> 
> Note that it does have Alien-Libxml2 in its dependencies. Can you try
> perl-cleaner --all?

I ran perl-cleaner --all and this solved this issue.
Thank you for your help.