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

Bug 214597

Summary: net-analyzer/nagios-core-2.11: error compiling
Product: Gentoo Linux Reporter: Anielkis Herrera <aherrerag>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info
log file from /var/log/portage

Description Anielkis Herrera 2008-03-24 21:06:08 UTC
error compiling nagios-core-2.11 when installing

Reproducible: Always

Steps to Reproduce:
1. emerge nagios
2. eix-sync -vw (some days after)
3. emerge -uDN world

Actual Results:  
now, I have
Comment 1 Anielkis Herrera 2008-03-24 21:09:32 UTC
Created attachment 147174 [details]
emerge --info
Comment 2 Anielkis Herrera 2008-03-24 21:10:24 UTC
Created attachment 147176 [details]
log file from /var/log/portage
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-24 21:15:01 UTC
emerge -pv perl libperl output, please.

checks.o: In function `run_service_check':
checks.c:(.text+0x1f9c): undefined reference to `PL_thr_key'
utils.o: In function `deinit_embedded_perl':
utils.c:(.text+0x191c): undefined reference to `PL_op_mutex'
utils.c:(.text+0x193d): undefined reference to `Perl_croak_nocontext'
utils.o: In function `my_system':
utils.c:(.text+0x3242): undefined reference to `PL_thr_key'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nagios-core-2.11/work/nagios-2.11/base'
make: *** [nagios] Error 2
Comment 4 Anielkis Herrera 2008-03-24 22:26:07 UTC
# emerge -pv perl libperl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/libperl-5.8.8-r1  USE="gdbm -berkdb -debug -ithreads" 0 kB 
[ebuild   R   ] dev-lang/perl-5.8.8-r4  USE="gdbm ithreads -berkdb -build -debug -doc -perlsuid" 0 kB 

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-24 22:27:54 UTC
(In reply to comment #4)

As you can see, you clearly have an ithreads mismatch between perl and libperl; that won't ever work. Plus you'll need to run perl-cleaner really-all or something like that after you've fixed that.

Comment 6 Anielkis Herrera 2008-03-25 03:55:52 UTC
thanks, that was the problem  :)