pugs fails to compile Reproducible: Always Steps to Reproduce: 1. emerge pugs Actual Results: check attachment for emerge output Expected Results: compile pugs related packages: dev-lang/parrot-0.4.6 dev-lang/perl-5.8.8-r2 dev-lang/ghc-6.4.2
Created attachment 123287 [details] emerge --info
Created attachment 123288 [details] emerge pugs
i don't know if pugs links something against existing perl 5 but note that perl5 was rebuilt with ithreads support which change it's directory names to 'thread-multi'. bbkr@bbkr # perl -e 'print "@INC"' /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .
fixed, it was threads-related. default gentoo stage3 is built without USE="ithreads". so if you want to have threaded PERL after adding this flag you have to: recompile dev-lang/perl recompile sys-devel/libperl (this was causing the bug) recompile PERL modules with: perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' or using emerge if you installed PERL modules from gentoo ebuilds IMO there should be check performed in pugs ebuild: if perl is built with 'ithreads' flag then libperl must be built the same way.