Package: src:apt-cacher-ng Version: 3.7.4-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build dh build dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- -DSDINSTALL=on -DACNG_CACHE_DIR=/var/cache/apt-cacher-ng -DACNG_LOG_DIR=/var/log/apt-cacher-ng -DUSE_LTO=off -DUSE_GOLD=off -DUSE_GOLD_MT=off -DCMAKE_SKIP_RPATH=ON cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DSDINSTALL=on -DACNG_CACHE_DIR=/var/cache/apt-cacher-ng -DACNG_LOG_DIR=/var/log/apt-cacher-ng -DUSE_LTO=off -DUSE_GOLD=off -DUSE_GOLD_MT=off -DCMAKE_SKIP_RPATH=ON .. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- The CXX compiler identification is GNU 13.2.0 -- The C compiler identification is GNU 13.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Looking for include files sys/param.h, sys/mount.h -- Looking for include files sys/param.h, sys/mount.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Looking for strlcpy -- Looking for strlcpy - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test COPT_Wall -- Performing Test COPT_Wall - Success -- Performing Test COPT_Wextra -- Performing Test COPT_Wextra - Success -- Performing Test COPT_Wnounusedparameter -- Performing Test COPT_Wnounusedparameter - Success -- Performing Test COPT_fvisibilityhidden -- Performing Test COPT_fvisibilityhidden - Success -- Performing Test CXX_VIHI -- Performing Test CXX_VIHI - Success -- Performing Test LD_Wlasneeded -- Performing Test LD_Wlasneeded - Success -- Performing Test LD_WlO1 -- Performing Test LD_WlO1 - Success -- Performing Test LD_Wldiscardall -- Performing Test LD_Wldiscardall - Success -- Performing Test LD_Wlnoundefined -- Performing Test LD_Wlnoundefined - Success -- Performing Test LD_Wlbuildidsha1 -- Performing Test LD_Wlbuildidsha1 - Success -- Performing Test LD_Wlfuseldgold -- Performing Test LD_Wlfuseldgold - Success -- Performing Test GC_SECTIONS -- Performing Test GC_SECTIONS - Success -- Performing Test HAVE_LIBWRAP -- Performing Test HAVE_LIBWRAP - Success -- Performing Test LD_ATOMIC -- Performing Test LD_ATOMIC - Success -- Performing Test HAVE_FSLIB -- Performing Test HAVE_FSLIB - Success -- Performing Test HAVE_WORDEXP -- Performing Test HAVE_WORDEXP - Success -- Performing Test HAVE_GLOB -- Performing Test HAVE_GLOB - Success -- Performing Test HAVE_FADVISE -- Performing Test HAVE_FADVISE - Success -- Performing Test HAVE_MADVISE -- Performing Test HAVE_MADVISE - Success -- Performing Test HAVE_LINUX_FALLOCATE -- Performing Test HAVE_LINUX_FALLOCATE - Success -- Performing Test HAVE_LINUX_SENDFILE -- Performing Test HAVE_LINUX_SENDFILE - Success -- Performing Test HAVE_LINUX_EVENTFD -- Performing Test HAVE_LINUX_EVENTFD - Success -- Performing Test HAVE_PREAD -- Performing Test HAVE_PREAD - Success -- Performing Test HAVE_DAEMON -- Performing Test HAVE_DAEMON - Success -- Checking for module 'libsystemd>=209' -- Found libsystemd, version 256 -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Performing Test HAVE_LZMA -- Performing Test HAVE_LZMA - Success -- Checking for module 'libevent>=2.1.2' -- Found libevent, version 2.1.12-stable -- Checking for module 'libevent_pthreads' -- Found libevent_pthreads, version 2.1.12-stable -- Checking for module 'libcares' -- Found libcares, version 1.28.1 -- Checking for module 'openssl>=1.0.2' -- Found openssl, version 3.2.2-dev Build settings: Compiler flags (common): -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include -I/usr/include -I/usr/include Compiler flags (C++ only): -fvisibility-inlines-hidden Compiler flags (environment): -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 Linker flags: -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -Wl,--discard-all -Wl,--no-undefined -Wl,--build-id=sha1 -Wl,-fuse-ld=gold -Wl,--gc-sections LTO use: off -- Checking for module 'fuse' -- Found fuse, version 2.9.9 -- Performing Test HAVE_FUSE_25 -- Performing Test HAVE_FUSE_25 - Success -- Configuring shared code as DYNAMIC lib CMake Deprecation Warning at systemd/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. Installation settings: PACKAGE: apt-cacher-ng VERSION: 3.7.4 CMAKE_INSTALL_PREFIX: /usr CMAKE_INSTALL_FULL_SYSCONFDIR: /etc LIBDIR: /usr/lib/apt-cacher-ng AVAHIDIR: /etc/avahi/services DEBUG: CMAKE_BINARY_DIR: None -- Configuring done (4.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY FETCHCONTENT_FULLY_DISCONNECTED USE_GOLD USE_GOLD_MT -- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build cd obj-x86_64-linux-gnu && make -j2 VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' /usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f client/CMakeFiles/in.acng.dir/build.make client/CMakeFiles/in.acng.dir/depend make -f src/CMakeFiles/supacng.dir/build.make src/CMakeFiles/supacng.dir/depend make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/client /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/client /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/client/CMakeFiles/in.acng.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/supacng.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f client/CMakeFiles/in.acng.dir/build.make client/CMakeFiles/in.acng.dir/build make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f src/CMakeFiles/supacng.dir/build.make src/CMakeFiles/supacng.dir/build make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 2%] Building CXX object src/CMakeFiles/supacng.dir/astrop.cc.o [ 4%] Building CXX object client/CMakeFiles/in.acng.dir/client.cc.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DACNG_CORE_IN_SO -Dsupacng_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include -I/usr/include -I/usr/include -fvisibility-inlines-hidden -I/usr/include -MD -MT src/CMakeFiles/supacng.dir/astrop.cc.o -MF CMakeFiles/supacng.dir/astrop.cc.o.d -o CMakeFiles/supacng.dir/astrop.cc.o -c /<<PKGBUILDDIR>>/src/astrop.cc cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/client && /usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include -I/usr/include -I/usr/include -fvisibility-inlines-hidden -DMINIBUILD -MD -MT client/CMakeFiles/in.acng.dir/client.cc.o -MF CMakeFiles/in.acng.dir/client.cc.o.d -o CMakeFiles/in.acng.dir/client.cc.o -c /<<PKGBUILDDIR>>/client/client.cc In file included from /<<PKGBUILDDIR>>/src/astrop.cc:9: /<<PKGBUILDDIR>>/src/meta.h:326:44: error: operator '!' has no right operand 326 | #if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY | ^ In file included from /<<PKGBUILDDIR>>/src/acbuf.cc:6, from /<<PKGBUILDDIR>>/client/client.cc:6: /<<PKGBUILDDIR>>/src/meta.h:326:44: error: operator '!' has no right operand 326 | #if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY | ^ In file included from /<<PKGBUILDDIR>>/src/astrop.cc:8: /<<PKGBUILDDIR>>/src/astrop.h:206:37: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 206 | public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_construct.h:61, from /usr/include/c++/13/bits/char_traits.h:57, from /usr/include/c++/13/string_view:40, from /<<PKGBUILDDIR>>/src/actypes.h:33, from /<<PKGBUILDDIR>>/src/astrop.h:11: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /<<PKGBUILDDIR>>/src/meta.h:24: /<<PKGBUILDDIR>>/src/astrop.h:206:37: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 206 | public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_construct.h:61, from /usr/include/c++/13/bits/char_traits.h:57, from /usr/include/c++/13/string_view:40, from /<<PKGBUILDDIR>>/src/actypes.h:33, from /<<PKGBUILDDIR>>/src/acbuf.h:5, from /<<PKGBUILDDIR>>/src/aclogger.h:4, from /<<PKGBUILDDIR>>/src/debug.h:5, from /<<PKGBUILDDIR>>/client/client.cc:5: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[3]: *** [src/CMakeFiles/supacng.dir/build.make:79: src/CMakeFiles/supacng.dir/astrop.cc.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:229: src/CMakeFiles/supacng.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 6%] Building CXX object client/CMakeFiles/in.acng.dir/__/src/acerrno.cc.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/client && /usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include -I/usr/include -I/usr/include -fvisibility-inlines-hidden -DMINIBUILD -MD -MT client/CMakeFiles/in.acng.dir/__/src/acerrno.cc.o -MF CMakeFiles/in.acng.dir/__/src/acerrno.cc.o.d -o CMakeFiles/in.acng.dir/__/src/acerrno.cc.o -c /<<PKGBUILDDIR>>/src/acerrno.cc make[3]: *** [client/CMakeFiles/in.acng.dir/build.make:79: client/CMakeFiles/in.acng.dir/client.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /<<PKGBUILDDIR>>/src/acerrno.cc:6: /<<PKGBUILDDIR>>/src/meta.h:326:44: error: operator '!' has no right operand 326 | #if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY | ^ In file included from /<<PKGBUILDDIR>>/src/meta.h:24: /<<PKGBUILDDIR>>/src/astrop.h:206:37: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 206 | public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_construct.h:61, from /usr/include/c++/13/bits/char_traits.h:57, from /usr/include/c++/13/string_view:40, from /<<PKGBUILDDIR>>/src/actypes.h:33, from /<<PKGBUILDDIR>>/src/meta.h:4: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[3]: *** [client/CMakeFiles/in.acng.dir/build.make:93: client/CMakeFiles/in.acng.dir/__/src/acerrno.cc.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:177: client/CMakeFiles/in.acng.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 VERBOSE=1 returned exit code 2 make: *** [debian/rules:27: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202405/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.