Package: buildd.emdebian.org Severity: important cups now fails to cross-build, even with gccross support. It seems to be related to the stack protection that is being identified during the cross-build but is not available at link time. Build log attached.
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/bash
dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package cups dpkg-buildpackage: source version 1.3.10-2em1 dpkg-buildpackage: source changed by Neil Williams <codeh...@debian.org> dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. fakeroot debian/rules clean dpkg-buildpackage: host architecture armel test -x debian/rules rm -f man/client.conf.man packaging/cups.list rm -f conf/mime.convs conf/snmp.conf init/org.cups.cups-lpd.plist [ ! -f Makedefs ] || make distclean # Remove source code of extra filters for PDF printing workflow ( cd debian/local/filters/pdf-filters/; sh ./removefromcups ../../../.. ) dh_clean /usr/bin/make -C . -k distclean make[1]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' Makefile:16: Makedefs: No such file or directory make[1]: *** No rule to make target `Makedefs'. make[1]: Failed to remake makefile `Makedefs'. for dir in cups backend berkeley cgi-bin filter locale man monitor notifier scheduler systemv test conf data doc ppd templates; do\ echo Cleaning in $dir... ;\ (cd $dir; /usr/bin/make -wk clean) || exit 1;\ done Cleaning in cups... make[2]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/cups' Makefile:18: ../Makedefs: No such file or directory make[2]: *** No rule to make target `../Makedefs'. make[2]: Failed to remake makefile `../Makedefs'. rm -f adminutil.o array.o attr.o auth.o backchannel.o backend.o custom.o dest.o dir.o emit.o encode.o file.o getifaddrs.o getputfile.o globals.o http.o http-addr.o http-addrlist.o http-support.o ipp.o ipp-support.o langprintf.o language.o localize.o mark.o md5.o md5passwd.o notify.o options.o page.o ppd.o request.o sidechannel.o snprintf.o string.o tempfile.o transcode.o usersys.o util.o adminutil.32.o array.32.o attr.32.o auth.32.o backchannel.32.o backend.32.o custom.32.o dest.32.o dir.32.o emit.32.o encode.32.o file.32.o getifaddrs.32.o getputfile.32.o globals.32.o http.32.o http-addr.32.o http-addrlist.32.o http-support.32.o ipp.32.o ipp-support.32.o langprintf.32.o language.32.o localize.32.o mark.32.o md5.32.o md5passwd.32.o notify.32.o options.32.o page.32.o ppd.32.o request.32.o sidechannel.32.o snprintf.32.o string.32.o tempfile.32.o transcode.32.o usersys.32.o util.32.o adminutil.64.o array.64.o attr.64.o auth.64.o backchannel.64.o backend.64.o custom.64.o dest.64.o dir.64.o emit.64.o encode.64.o file.64.o getifaddrs.64.o getputfile.64.o globals.64.o http.64.o http-addr.64.o http-addrlist.64.o http-support.64.o ipp.64.o ipp-support.64.o langprintf.64.o language.64.o localize.64.o mark.64.o md5.64.o md5passwd.64.o notify.64.o options.64.o page.64.o ppd.64.o request.64.o sidechannel.64.o snprintf.64.o string.64.o tempfile.64.o transcode.64.o usersys.64.o util.64.o testadmin.o testarray.o testcups.o testfile.o testhttp.o testi18n.o testipp.o testlang.o testppd.o php_cups_wrap.o libcups.a testadmin testarray testcups testfile testhttp testi18n testipp testlang testppd rm -f libcups.so libcups.sl libcups.dylib rm -f -r 32bit 64bit make[2]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/cups' make[1]: *** [clean] Error 1 make[1]: Target `distclean' not remade because of errors. make[1]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' make: [makefile-clean] Error 2 (ignored) rm -f debian/stamp-makefile-build rm -f debian/stamp-autotools-files /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' dpatch deapply-all ubuntu-default-error-policy-retry-job not applied to ./ . ubuntu-disable-browsing not applied to ./ . confdirperms not applied to ./ . default_log_warn not applied to ./ . logfiles_adm_readable not applied to ./ . testsuite-increase-wait-timeout not applied to ./ . reactivate_recommended_driver not applied to ./ . drop_unnecessary_dependencies not applied to ./ . rootbackends-worldreadable not applied to ./ . quiesce-bonjour-warning not applied to ./ . manpage-translations not applied to ./ . ppd-poll-with-client-conf not applied to ./ . pidfile not applied to ./ . removecvstag not applied to ./ . pdftops-testsuite not applied to ./ . cupsaccept not applied to ./ . search_mime_files_in_usr_share not applied to ./ . manpage-typos not applied to ./ . freebsd not applied to ./ . rm -rf debian/patched rm -f debian/stamp-patched dpkg-source -b cups-1.3.10 dpkg-source: info: using source format `1.0' dpkg-source: info: building cups using existing cups_1.3.10.orig.tar.gz dpkg-source: info: building cups in cups_1.3.10-2em1.diff.gz dpkg-source: warning: executable mode 0755 of 'debian/patches/rootbackends-worldreadable.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/default_log_warn.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/ppd-poll-with-client-conf.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/logfiles_adm_readable.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/removecvstag.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/reactivate_recommended_driver.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/cupsaccept.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/drop_unnecessary_dependencies.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/search_mime_files_in_usr_share.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/pdftops-testsuite.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/confdirperms.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/quiesce-bonjour-warning.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/pidfile.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/manpage-typos.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/ubuntu-disable-browsing.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/freebsd.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/testsuite-increase-wait-timeout.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/manpage-translations.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/ubuntu-default-error-policy-retry-job.dpatch' will not be represented in diff dpkg-source: info: building cups in cups_1.3.10-2em1.dsc debian/rules build test -x debian/rules mkdir -p "." /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' dpatch apply-all applying patch freebsd to ./ ... ok. applying patch manpage-typos to ./ ... ok. applying patch search_mime_files_in_usr_share to ./ ... ok. applying patch cupsaccept to ./ ... ok. applying patch pdftops-testsuite to ./ ... ok. applying patch removecvstag to ./ ... ok. applying patch pidfile to ./ ... ok. applying patch ppd-poll-with-client-conf to ./ ... ok. applying patch manpage-translations to ./ ... ok. applying patch quiesce-bonjour-warning to ./ ... ok. applying patch rootbackends-worldreadable to ./ ... ok. applying patch drop_unnecessary_dependencies to ./ ... ok. applying patch reactivate_recommended_driver to ./ ... ok. applying patch testsuite-increase-wait-timeout to ./ ... ok. applying patch logfiles_adm_readable to ./ ... ok. applying patch default_log_warn to ./ ... ok. applying patch confdirperms to ./ ... ok. applying patch ubuntu-disable-browsing to ./ ...(ignored) ok. applying patch ubuntu-default-error-policy-retry-job to ./ ...(ignored) ok. /usr/bin/make -f debian/rules update-config make[1]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' make[1]: Nothing to be done for `update-config'. make[1]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' touch debian/stamp-patched # Add source code of extra filters for PDF printing workflow ( cd debian/local/filters/pdf-filters/; sh ./addtocups ../../../.. ) touch pdftopdf/Dependencies touch debian/stamp-autotools-files chmod a+x /opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/./configure cd . && /opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/cups" --disable-maintainer-mode --disable-dependency-tracking --host=arm-linux-gnueabi --srcdir=. --with-optim= --libdir=/usr/lib --mandir=/usr/share/man --with-docdir=/usr/share/cups/doc-root --localedir=/usr/share/cups/locale --enable-slp --enable-libpaper --enable-ssl --enable-gnutls --disable-openssl --enable-threads --enable-static --enable-dbus --with-dbusdir=/etc/dbus-1 --enable-gssapi --with-pdftops=gs --disable-launchd --with-cups-group=lp --with-system-groups=lpadmin --with-printcap=/var/run/cups/printcap --with-log-file-perm=0640 CFLAGS="-g -O2 -g -Wall -O2" configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking configure: loading site script /etc/dpkg-cross/cross-config.armel checking for gawk... gawk checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gnueabi-gcc accepts -g... yes checking for arm-linux-gnueabi-gcc option to accept ISO C89... none needed checking for arm-linux-gnueabi-g++... arm-linux-gnueabi-g++ checking whether we are using the GNU C++ compiler... yes checking whether arm-linux-gnueabi-g++ accepts -g... yes checking how to run the C preprocessor... arm-linux-gnueabi-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for arm-linux-gnueabi-ranlib... arm-linux-gnueabi-ranlib checking for ar... /usr/bin/ar checking for htmldoc... /usr/bin/htmldoc 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 strip... /usr/bin/strip Installing static libraries... checking for library containing crypt... -lcrypt 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 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 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 for strdup... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strlcat... no checking for strlcpy... no checking for snprintf... yes checking for vsnprintf... yes checking for mkstemp... yes checking for mkstemps... no checking for geteuid... 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 removefile... no checking for library containing acl_init... -lacl checking for pkg-config... /usr/bin/pkg-config checking for DBUS... yes checking for dbus_message_iter_init_append in -ldbus-1... yes checking if GCC supports -fstack-protector... yes checking whether to build image filters... yes checking for library containing pow... -lm checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_destroy_decompress in -ljpeg... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_read_struct in -lpng... yes checking tiff.h usability... yes checking tiff.h presence... yes checking for tiff.h... yes checking for TIFFReadScanline in -ltiff... yes checking for stdlib.h... (cached) 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 slp.h usability... yes checking slp.h presence... yes checking for slp.h... yes checking for SLPOpen in -lslp... yes checking for krb5-config... /usr/bin/krb5-config checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking gssapi/gssapi_krb5.h usability... yes checking gssapi/gssapi_krb5.h presence... yes checking for gssapi/gssapi_krb5.h... yes checking for gsskrb5_register_acceptor_identity... no checking for krb5_cc_new_unique... no checking for GSS_C_NT_HOSTBASED_SERVICE... yes checking for Heimdal Kerberos... no checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for ldap_initialize in -lldap... yes checking for libgnutls-config... /usr/bin/libgnutls-config Using SSLLIBS="-lgnutls" Using SSLFLAGS="-I/usr/include" checking for dlopen in -ldl... yes checking for pam_start 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 pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create using -lpthreads... no checking for pthread_create using -lpthread... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for long long int... yes checking for strtoll... yes checking dns_sd.h usability... yes checking dns_sd.h presence... yes checking for dns_sd.h... yes checking for DNSServiceProcessResult in -ldns_sd... yes checking whether to use network default printers... yes checking for default print user... lp checking whether to enable raw printing... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for zlib.h... (cached) yes checking for main in -lpoppler... yes checking how to run the C++ preprocessor... arm-linux-gnueabi-g++ -E checking UGooString.h usability... no checking UGooString.h presence... no checking for UGooString.h... no checking for main in -lijs... yes checking for gs... /usr/bin/gs checking for java... /usr/bin/java checking for perl... /usr/bin/perl checking for php... /usr/bin/php checking for php-config... no checking for python... /usr/bin/python configure: creating ./config.status config.status: creating Makedefs config.status: creating packaging/cups.list config.status: creating init/cups.sh config.status: creating init/cups-lpd config.status: creating cups-config 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 doc/index.html config.status: creating doc/help/ref-cupsd-conf.html config.status: creating doc/help/standard.html config.status: creating init/org.cups.cups-lpd.plist 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-lpd.man config.status: creating man/cupsaddsmb.man config.status: creating man/cupsd.man config.status: creating man/cupsd.conf.man config.status: creating man/lpoptions.man config.status: creating templates/header.tmpl config.status: creating doc/de/index.html config.status: creating templates/de/header.tmpl config.status: creating doc/es/index.html config.status: creating templates/es/header.tmpl config.status: creating doc/et/index.html config.status: creating templates/et/header.tmpl config.status: creating doc/fr/index.html config.status: creating templates/fr/header.tmpl config.status: creating doc/he/index.html config.status: creating templates/he/header.tmpl config.status: creating doc/id/index.html config.status: creating templates/id/header.tmpl config.status: creating doc/it/index.html config.status: creating templates/it/header.tmpl config.status: creating doc/ja/index.html config.status: creating templates/ja/header.tmpl config.status: creating doc/pl/index.html config.status: creating templates/pl/header.tmpl config.status: creating doc/sv/index.html config.status: creating templates/sv/header.tmpl config.status: creating doc/zh_TW/index.html config.status: creating templates/zh_TW/header.tmpl config.status: creating config.h configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking /usr/bin/make -C . make[1]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' Using ALL_CFLAGS=-Ifontembed -I.. -D_CUPS_SOURCE -I/usr/include/poppler -I/usr/include/poppler -g -O2 -g -Wall -O2 -I/usr/arm-linux-gnueabi/include/dbus-1.0 -I/usr/arm-linux-gnueabi/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/poppler -I/usr/include/poppler -DPDFTOPDF -g -O2 -g -Wall -O2 -I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT Using LDFLAGS=-L../cups -L../filter -Wl,--as-needed -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_GNU_SOURCE Using LIBS=-lcups -lgnutls -lpthread -lm -lcrypt Making all in cups... make[2]: Entering directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/cups' Compiling adminutil.c... Compiling array.c... Compiling attr.c... Compiling auth.c... Compiling backchannel.c... Compiling backend.c... Compiling custom.c... Compiling dest.c... Compiling dir.c... Compiling emit.c... Compiling encode.c... Compiling file.c... Compiling getifaddrs.c... Compiling getputfile.c... Compiling globals.c... Compiling http.c... Compiling http-addr.c... Compiling http-addrlist.c... Compiling http-support.c... Compiling ipp.c... Compiling ipp-support.c... Compiling langprintf.c... Compiling language.c... 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 request.c... Compiling sidechannel.c... Compiling snprintf.c... Compiling string.c... Compiling tempfile.c... Compiling transcode.c... Compiling usersys.c... Compiling util.c... Linking libcups.so.2... /usr/lib/gcc/arm-linux-gnueabi/4.3.3/../../../../arm-linux-gnueabi/bin/ld: cannot find -lssp_nonshared collect2: ld returned 1 exit status make[2]: *** [libcups.so.2] Error 1 make[2]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10/cups' make[1]: *** [all] Error 1 make[1]: Leaving directory `/opt/emdebian/trunk/c/cups/trunk/cups-1.3.10' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2