Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183500 - dev-lang/pugs-6.2.13 compile fails w/ undefined references
Summary: dev-lang/pugs-6.2.13 compile fails w/ undefined references
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 10:11 UTC by bbkr
Modified: 2007-07-07 00:43 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info,3.00 KB, text/plain)
2007-06-28 10:12 UTC, bbkr
Details
emerge pugs (emerge_pugs,23.90 KB, text/plain)
2007-06-28 10:13 UTC, bbkr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bbkr 2007-06-28 10:11:18 UTC
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
Comment 1 bbkr 2007-06-28 10:12:17 UTC
Created attachment 123287 [details]
emerge --info
Comment 2 bbkr 2007-06-28 10:13:22 UTC
Created attachment 123288 [details]
emerge pugs
Comment 3 bbkr 2007-06-28 10:19:53 UTC
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 .
Comment 4 bbkr 2007-07-07 00:43:20 UTC
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.