Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214597 - net-analyzer/nagios-core-2.11: error compiling
Summary: net-analyzer/nagios-core-2.11: error compiling
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 21:06 UTC by Anielkis Herrera
Modified: 2008-03-25 03:55 UTC (History)
0 users

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


Attachments
emerge --info (info,1.99 KB, text/plain)
2008-03-24 21:09 UTC, Anielkis Herrera
Details
log file from /var/log/portage (net-analyzer:nagios-core-2.11:20080324-205646.log,18.61 KB, text/plain)
2008-03-24 21:10 UTC, Anielkis Herrera
Details

Note You need to log in before you can comment on or make changes to this bug.
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.

<snip>
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
</snip>
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.

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