>>> Unpacking source... >>> Unpacking nagios-2.11.tar.gz to /var/tmp/portage/net-analyzer/nagios-core-2.11/work >>> Unpacking nagios-2.0b.cfg-sample.gz to /var/tmp/portage/net-analyzer/nagios-core-2.11/work * Applying 2.x-series-nsca.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-analyzer/nagios-core-2.11/work/nagios-2.11 ... * econf: updating nagios-2.11/config.guess with /usr/share/gnuconfig/config.guess * econf: updating nagios-2.11/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-embedded-perl --with-perlcache --with-command-grp=apache --prefix=/usr/nagios --localstatedir=/var/nagios --sysconfdir=/etc/nagios --datadir=/usr/nagios/share --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required checking for mail... /bin/mail Init script directory: /etc/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared creating base/perlxsi.c Embedded Perl interpreter will be compiled in... Internally compiled Perl scripts will be cached... Using threaded perl checking for traceroute... /usr/bin/traceroute checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating include/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating html/index.html config.status: creating html/side.html config.status: creating include/config.h config.status: creating include/snprintf.h config.status: creating include/nagios.h config.status: creating include/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 2.11 03-12-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr/nagios Lock file: /var/nagios/nagios.lock Init directory: /etc/init.d Apache conf.d directory: /etc/httpd/conf.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. cd ./base && make make[1]: Entering directory `/var/tmp/portage/net-analyzer/nagios-core-2.11/work/nagios-2.11/base' i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o perlxsi.o perlxsi.c i686-pc-linux-gnu-gcc -march=i686 -Os -fomit-frame-pointer -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o perlxsi.o -Wl,-export-dynamic -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -lm -lpthread -lltdl 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 * * ERROR: net-analyzer/nagios-core-2.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2246: Called die * The specific snippet of code: * emake CC=$(tc-getCC) nagios || die "make failed"; * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-analyzer:nagios-core-2.11:20080324-205646.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nagios-core-2.11/temp/environment'. *