>>> Unpacking source... >>> Unpacking thttpd-2.25b.tar.gz to /var/tmp/portage/www-servers/thttpd-2.25b-r7/work tar: A lone zero block at 1080 * Applying additional-input-validation-httpd.c.diff ...  [ ok ] * Applying fix-buffer-overflow.diff ...  [ ok ] * Applying fix-insecure-tmp-creation-CVE-2005-3124.diff ...  [ ok ] >>> Source unpacked in /var/tmp/portage/www-servers/thttpd-2.25b-r7/work >>> Compiling source in /var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b ... * econf: updating thttpd-2.25b/config.sub with /usr/share/gnuconfig/config.sub * econf: updating thttpd-2.25b/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -Wl,-O1) works... yes checking whether the C compiler (gcc -O2 -pipe -Wl,-O1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking gcc version... 4 checking how to link static binaries... -static checking for __progname... yes checking how to run the C preprocessor... gcc -E checking for fcntl.h... yes checking for grp.h... yes checking for memory.h... yes checking for paths.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for sys/devpoll.h... no checking for sys/event.h... no checking for osreldate.h... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for /usr/local/v6/lib... no checking for gethostbyname... yes checking for socket... yes checking for main in -linet6... no checking for crypt... no checking for crypt in -lcrypt... yes checking for hstrerror... yes checking for strerror... yes checking for waitpid... yes checking for vsnprintf... yes checking for daemon... yes checking for setsid... yes checking for setlogin... no checking for getaddrinfo... yes checking for getnameinfo... yes checking for gai_strerror... yes checking for kqueue... no checking for sigset... yes checking for atoll... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for select... yes checking for poll... yes checking if struct tm has tm_gmtoff member... yes checking if int64_t exists... yes checking if socklen_t exists... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c updating cache ./config.cache creating ./config.status creating Makefile creating cgi-src/Makefile creating extras/Makefile make -j14 rm -f mime_encodings.h rm -f mime_types.h gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c thttpd.c sed < mime_encodings.txt > mime_encodings.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' sed < mime_types.txt > mime_types.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_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DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c timers.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c match.c for i in cgi-src extras ; do ( \ cd $i ; \ pwd ; \ make - --jobserver-fds=3,4 -j \ WEBDIR=/usr/www \ CGIBINDIR=/usr/www/cgi-bin \ MANDIR=/usr/share/man \ WEBGROUP=www \ ) ; done gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c tdate_parse.c /var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/cgi-src make[1]: Entering directory `/var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/cgi-src' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c libhttpd.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_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VE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c ../match.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c phf.c gcc -Wl,-O1 -static phf.o -lcrypt -o phf gcc -Wl,-O1 -static redirect.o -lcrypt -o redirect gcc -Wl,-O1 -static ssi.o ../match.o -lcrypt -o ssi make[1]: Leaving directory `/var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/cgi-src' /var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/extras make[1]: Entering directory `/var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/extras' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/usr/www\" -c makeweb.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/usr/www\" -c htpasswd.c htpasswd.c:52: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here htpasswd.c: In function 'add_password': htpasswd.c:117: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result htpasswd.c: In function 'main': htpasswd.c:255: warning: ignoring return value of 'system', declared with attribute warn_unused_result make[1]: *** [htpasswd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... makeweb.c: In function 'check_dir': makeweb.c:97: warning: ignoring return value of 'chown', declared with attribute warn_unused_result make[1]: Leaving directory `/var/tmp/portage/www-servers/thttpd-2.25b-r7/work/thttpd-2.25b/extras' make: *** [subdirs] Error 2 make: *** Waiting for unfinished jobs.... thttpd.c: In function 'handle_alrm': thttpd.c:312: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result thttpd.c: In function 'main': thttpd.c:487: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result libhttpd.c: In function 'ls': libhttpd.c:2747: warning: ignoring return value of 'nice', declared with attribute warn_unused_result libhttpd.c: In function 'post_post_garbage_hack': libhttpd.c:3200: warning: ignoring return value of 'read', declared with attribute warn_unused_result libhttpd.c: In function 'cgi_child': libhttpd.c:3483: warning: ignoring return value of 'nice', declared with attribute warn_unused_result libhttpd.c:3501: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result * * ERROR: www-servers/thttpd-2.25b-r7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2681: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake 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/www-servers/thttpd-2.25b-r7:20090613-175835.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/thttpd-2.25b-r7/temp/environment'. *