Package: src:bitz-server Version: 1.0.0-2 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with systemd,autoreconf dh_testdir -i dh_update_autotools_config -i dh_autoreconf -i aclocal: warning: couldn't open directory 'aux-build/m4': No such file or directory libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'aux-build'. libtoolize: copying file 'aux-build/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'aux-build/m4'. libtoolize: copying file 'aux-build/m4/libtool.m4' libtoolize: copying file 'aux-build/m4/ltoptions.m4' libtoolize: copying file 'aux-build/m4/ltsugar.m4' libtoolize: copying file 'aux-build/m4/ltversion.m4' [... snipped ...] ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/mod_py.a libtool: link: ( cd ".libs" && rm -f "mod_py.la" && ln -s "../mod_py.la" "mod_py.la" ) make[5]: Leaving directory '/<<PKGBUILDDIR>>/modules/modpy' make[4]: Leaving directory '/<<PKGBUILDDIR>>/modules/modpy' make[4]: Entering directory '/<<PKGBUILDDIR>>/modules' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<<PKGBUILDDIR>>/modules' make[3]: Leaving directory '/<<PKGBUILDDIR>>/modules' Making all in src make[3]: Entering directory '/<<PKGBUILDDIR>>/src' g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz-server.o bitz-server.cpp bitz-server.cpp: In function 'void bitz::server::daemonize(const char*, const char*)': bitz-server.cpp:243:19: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir( rundir ); ^ bitz-server.cpp:263:51: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write( globals.pid_handle, str, strlen( str ) ); ^ g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/exception.o bitz/exception.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/manager_exception.o bitz/manager_exception.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/config.o bitz/config.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/logger.o bitz/logger.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/util.o bitz/util.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/manager.o bitz/manager.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/worker.o bitz/worker.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/request_handler.o bitz/request_handler.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/options_request_handler.o bitz/options_request_handler.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/reqmod_request_handler.o bitz/reqmod_request_handler.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/respmod_request_handler.o bitz/respmod_request_handler.cpp g++ -DHAVE_CONFIG_H -I. -I../include -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o bitz/modifier.o bitz/modifier.cpp /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -ldl -export-dynamic -fPIE -pie -Wl,-z,relro -Wl,-z,now -o bitz-server main.o bitz-server.o bitz/exception.o bitz/manager_exception.o bitz/config.o bitz/logger.o bitz/util.o bitz/manager.o bitz/worker.o bitz/request_handler.o bitz/options_request_handler.o bitz/reqmod_request_handler.o bitz/respmod_request_handler.o bitz/modifier.o ../lib/icap/libicap.la -lconfig++ -llog4cpp -lnsl -lpsocksxx libtool: link: g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/bitz-server main.o bitz-server.o bitz/exception.o bitz/manager_exception.o bitz/config.o bitz/logger.o bitz/util.o bitz/manager.o bitz/worker.o bitz/request_handler.o bitz/options_request_handler.o bitz/reqmod_request_handler.o bitz/respmod_request_handler.o bitz/modifier.o -Wl,--export-dynamic -ldl ../lib/icap/.libs/libicap.so -lconfig++ -llog4cpp -lnsl /usr/lib/x86_64-linux-gnu/libpsocksxx.so /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/liblog4cpp.so: undefined reference to `pthread_key_create' /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/liblog4cpp.so: undefined reference to `pthread_getspecific' /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/liblog4cpp.so: undefined reference to `pthread_key_delete' /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/liblog4cpp.so: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status Makefile:529: recipe for target 'bitz-server' failed make[3]: *** [bitz-server] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' Makefile:432: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j1 returned exit code 2 debian/rules:30: recipe for target 'override_dh_auto_build-indep' failed make[1]: *** [override_dh_auto_build-indep] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:27: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This failure is not really related to using "dpkg-buildpackage -A". There are also build logs available here: https://tests.reproducible-builds.org/debian/reproducible.html Thanks.