* Package: net-print/cups-1.6.2-r4  * Repository: gentoo  * Maintainer: printing@gentoo.org  * USE: X amd64 dbus elibc_glibc filters kernel_linux pam ssl userland_GNU  * FEATURES: ccache compressdebug preserve-libs sandbox splitdebug userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.9.2-gentoo/build * Found sources for kernel version: * 3.9.2-gentoo >>> Unpacking source... >>> Unpacking cups-1.6.2-source.tar.bz2 to /var/tmp/portage/net-print/cups-1.6.2-r4/work >>> Source unpacked in /var/tmp/portage/net-print/cups-1.6.2-r4/work >>> Preparing source in /var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2 ... * Applying cups-1.6.0-dont-compress-manpages.patch ...  [ ok ] * Applying cups-1.6.0-fix-install-perms.patch ...  [ ok ] * Applying cups-1.4.4-nostrip.patch ...  [ ok ] * Applying cups-1.5.0-systemd-socket-2.patch ...  [ ok ] * Applying cups-1.6.2-statedir.patch ...  [ ok ] * Running aclocal -I config-scripts ...  [ ok ] * Running autoconf ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2 ... * LANGS="ca es fr ja ru" * LINGUAS="" ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var --with-cups-user=lp --with-cups-group=lp --with-docdir=/usr/share/cups/html --with-languages= --with-system-groups=lpadmin --disable-acl --disable-avahi --enable-dbus --disable-debug --disable-debug-guards --disable-gssapi --enable-pam --disable-static --disable-threads --disable-libusb --disable-dnssd --without-java --without-perl --without-php --without-python --without-xinetd --enable-libpaper --with-systemdsystemunitdir=/usr/lib/systemd/system --disable-gnutls --enable-openssl configure: loading site script /usr/share/config.site checking for gawk... gawk checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for gzip... /bin/gzip checking for ld... /usr/bin/ld checking for ln... /bin/ln checking for mv... /bin/mv checking for rm... /bin/rm checking for rmdir... /bin/rmdir checking for sed... /bin/sed checking for xdg-open... /usr/bin/xdg-open checking for install-sh script... using /var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2/install-sh checking for pkg-config... /usr/bin/pkg-config checking for library containing abs... none required checking for library containing crypt... -lcrypt checking for library containing fmod... -lm checking for library containing getspent... none required checking for systempapername in -lpaper... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 for stdlib.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking usersec.h usability... no checking usersec.h presence... no checking for usersec.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ucred.h usability... no checking sys/ucred.h presence... no checking for sys/ucred.h... no checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for library containing iconv_open... none required checking mxml.h usability... no checking mxml.h presence... no checking for mxml.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking for statfs... yes checking for statvfs... yes checking for strdup... yes checking for strlcat... no checking for strlcpy... no checking for snprintf... yes checking for vsnprintf... yes checking for random... yes checking for lrand48... yes checking for arc4random... no checking for geteuid... yes checking for setpgid... yes checking for vsyslog... yes checking for sigaction... yes checking for waitpid... yes checking for wait3... yes checking for tm_gmtoff member in tm structure... yes checking for st_gen member in stat structure... no checking for removefile... no checking for libusb-1.0... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking for DBUS... yes checking for dbus_message_iter_init_append... yes checking if GCC supports -fstack-protector... yes checking if GCC supports -fPIE... yes checking if GCC supports -Wno-tautological-compare... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for library containing socket... none required checking for library containing gethostbyaddr... none required checking for library containing getifaddrs... none required checking for library containing hstrerror... none required checking for library containing rresvport_af... none required checking for library containing __res_init... none required checking for library containing getaddrinfo... none required checking for library containing getnameinfo... none required checking for struct sockaddr.sa_len... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for AppleTalk/at_proto.h... no checking for poll... yes checking for epoll_create... yes checking for kqueue... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for SSL_new in -lssl... yes checking for SSL_set_tlsext_host_name... no Using SSLLIBS="-lssl -lcrypto" Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT" checking for dlopen in -ldl... yes checking for pam_start in -lpam... yes checking for pam_set_item in -lpam... yes checking for pam_setcred in -lpam... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for long long int... yes checking for strtoll... yes checking for launch_msg... no checking launch.h usability... no checking launch.h presence... no checking for launch.h... no checking for libsystemd-daemon... no configure: creating ./config.status config.status: creating Makedefs config.status: creating conf/cups-files.conf config.status: creating conf/cupsd.conf config.status: creating conf/mime.convs config.status: creating conf/pam.std config.status: creating conf/snmp.conf config.status: creating cups-config config.status: creating data/testprint config.status: creating data/cups.service config.status: creating data/cups.socket config.status: creating data/cups.path config.status: creating desktop/cups.desktop config.status: creating doc/help/ref-cups-files-conf.html config.status: creating doc/help/ref-cupsd-conf.html config.status: creating doc/help/standard.html config.status: creating doc/index.html config.status: creating man/client.conf.man config.status: creating man/cups-deviced.man config.status: creating man/cups-driverd.man config.status: creating man/cups-files.conf.man config.status: creating man/cups-lpd.man config.status: creating man/cups-snmp.man config.status: creating man/cupsaddsmb.man config.status: creating man/cupsd.conf.man config.status: creating man/cupsd.man config.status: creating man/lpoptions.man config.status: creating scheduler/cups-lpd.xinetd config.status: creating scheduler/cups.sh config.status: creating scheduler/cups.xml config.status: creating scheduler/org.cups.cups-lpd.plist config.status: creating templates/header.tmpl config.status: creating packaging/cups.list config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2 ... make -j10 V=1 Using ARCHFLAGS= Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=native -g -pipe -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=native -g -pipe -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE Using CC=x86_64-pc-linux-gnu-gcc Using CXX=x86_64-pc-linux-gnu-gcc Using DSOFLAGS=-L../cups -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,-soname,all -shared -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE Using LIBS=-lcups -lssl -lcrypto -lz -lm -lcrypt -lz Making all in cups... Compiling adminutil.c... Compiling array.c... Compiling attr.c... Compiling auth.c... Compiling backchannel.c... Compiling backend.c... Compiling conflicts.c... Compiling custom.c... Compiling debug.c... Compiling dest.c... Compiling dest-job.c... Compiling dest-localization.c... Compiling dir.c... Compiling emit.c... Compiling dest-options.c... Compiling encode.c... Compiling file.c... Compiling getdevices.c... Compiling getifaddrs.c... Compiling getputfile.c... Compiling globals.c... Compiling http.c... Compiling http-addr.c... file.c: In function 'cupsFileOpen': file.c:1128:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^ file.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] Compiling http-addrlist.c... Compiling http-support.c... Compiling ipp.c... Compiling ipp-support.c... Compiling langprintf.c... Compiling language.c... getputfile.c: In function 'cupsGetFd': getputfile.c:167:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, bytes); ^ getputfile.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] Compiling localize.c... Compiling mark.c... Compiling md5.c... Compiling md5passwd.c... Compiling notify.c... Compiling options.c... Compiling page.c... Compiling ppd.c... Compiling ppd-cache.c... Compiling pwg-media.c... Compiling request.c... Compiling sidechannel.c... Compiling snmp.c... Compiling snprintf.c... Compiling string.c... Compiling tempfile.c... Compiling thread.c... Compiling transcode.c... Compiling usersys.c... Compiling util.c... Archiving libcups.a... Linking libcups.so.2... a - adminutil.o a - array.o a - attr.o a - auth.o a - backchannel.o a - backend.o a - conflicts.o a - custom.o a - debug.o a - dest.o a - dest-job.o a - dest-localization.o a - dest-options.o a - dir.o a - emit.o a - encode.o a - file.o a - getdevices.o a - getifaddrs.o a - getputfile.o a - globals.o a - http.o a - http-addr.o a - http-addrlist.o a - http-support.o a - ipp.o a - ipp-support.o a - langprintf.o a - language.o a - localize.o a - mark.o a - md5.o a - md5passwd.o a - notify.o a - options.o a - page.o a - ppd.o a - ppd-cache.o a - pwg-media.o a - request.o a - sidechannel.o a - snmp.o a - snprintf.o a - string.o a - tempfile.o a - thread.o a - transcode.o a - usersys.o a - util.o Making all in test... Compiling ippserver.c... Compiling ipptool.c... Linking ippserver... Linking ipptool... Linking ipptool-static... Making all in filter... Compiling error.c... Compiling interpret.c... Compiling raster.c... Compiling commandtops.c... Compiling gziptoany.c... Compiling pstops.c... Compiling common.c... Compiling rastertohp.c... Compiling rastertoepson.c... Compiling rastertolabel.c... Compiling rastertopwg.c... Archiving libcupsimage.a... Linking commandtops... Linking gziptoany... Linking libcupsimage.so.2... Linking pstops... a - error.o a - interpret.o a - raster.o Linking rastertoepson... Linking rastertohp... Linking rastertolabel... Linking rastertopwg... Making all in backend... Compiling ieee1284.c... Compiling network.c... Compiling runloop.c... Compiling snmp-supplies.c... Compiling ipp.c... Compiling lpd.c... Compiling snmp.c... Compiling socket.c... lpd.c: In function 'main': lpd.c:484:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, bytes); ^ lpd.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] Compiling usb.c... ipp.c: In function 'sigterm_handler': ipp.c:3132:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "DEBUG: Got SIGTERM.\n", 20); ^ ipp.c:3148:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "DEBUG: job_canceled = 1.\n", 25); ^ ipp.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] Archiving libbackend.a... snmp.c: In function 'alarm_handler': snmp.c:458:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "DEBUG: ALARM!\n", 14); ^ snmp.c: At top level: cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] a - ieee1284.o a - network.o a - runloop.o a - snmp-supplies.o Linking ipp... Linking lpd... Linking snmp... Linking socket... Linking usb... /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: usb.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [usb] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 1 * ERROR: net-print/cups-1.6.2-r4 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/cups-1.6.2-r4'`, * the complete build log and the output of `emerge -pqv '=net-print/cups-1.6.2-r4'`. * The complete build log is located at '/var/log/portage/build/net-print/cups-1.6.2-r4:20130514-013613.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/cups-1.6.2-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.6.2-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2' * S: '/var/tmp/portage/net-print/cups-1.6.2-r4/work/cups-1.6.2' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =cups-1.6.2