[This bug is targeted to the upcoming bookworm release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/libpmemobj-cpp_1.13.0-4_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
Patching output file 44/93
Patching output file 45/93
Patching output file 46/93
Patching output file 47/93
Patching output file 48/93
Patching output file 49/93
Patching output file 50/93
Patching output file 51/93
Patching output file 52/93
Patching output file 53/93
Patching output file 54/93
Patching output file 55/93
Patching output file 56/93
Patching output file 57/93
Patching output file 58/93
Patching output file 59/93
Patching output file 60/93
Patching output file 61/93
Patching output file 62/93
Patching output file 63/93
Patching output file 64/93
Patching output file 65/93
Patching output file 66/93
Patching output file 67/93
Patching output file 68/93
Patching output file 69/93
Patching output file 70/93
Patching output file 71/93
Patching output file 72/93
Patching output file 73/93
Patching output file 74/93
Patching output file 75/93
Patching output file 76/93
Patching output file 77/93
Patching output file 78/93
Patching output file 79/93
Patching output file 80/93
Patching output file 81/93
Patching output file 82/93
Patching output file 83/93
Patching output file 84/93
Patching output file 85/93
Patching output file 86/93
Patching output file 87/93
Patching output file 88/93
Patching output file 89/93
Patching output file 90/93
Patching output file 91/93
Patching output file 92/93
Patching output file 93/93
lookup cache used 4962/65536 hits=82969 misses=5500
finished...
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Built target doc
[ 2%] Linking CXX executable ex-pman
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/ex-pman.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBPMEMOBJ_CPP_VG_MEMCHECK_ENABLED=1 -DLIBPMEMOBJ_CPP_VG_DRD_ENABLED=1 -DLIBPMEMOBJ_CPP_VG_HELGRIND_ENABLED=1 -Wall -Wpointer-arith -Wunused-macros -Wsign-conversion -Wsign-compare -fno-common -Wno-maybe-uninitialized -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -rdynamic "CMakeFiles/ex-pman.dir/__/examples/pman/pman.cpp.o" -o ex-pman -lpmemobj -lpthread -lncurses -ltinfo
[ 2%] Linking CXX executable benchmark-concurrent_hash_map_insert_open
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/benchmarks && /usr/bin/cmake -E cmake_link_script CMakeFiles/benchmark-concurrent_hash_map_insert_open.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBPMEMOBJ_CPP_VG_MEMCHECK_ENABLED=1 -DLIBPMEMOBJ_CPP_VG_DRD_ENABLED=1 -DLIBPMEMOBJ_CPP_VG_HELGRIND_ENABLED=1 -Wall -Wpointer-arith -Wsign-compare -fno-common -Wunused-macros -Wsign-conversion -Wno-maybe-uninitialized -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -rdynamic "CMakeFiles/benchmark-concurrent_hash_map_insert_open.dir/concurrent_hash_map/insert_open.cpp.o" -o benchmark-concurrent_hash_map_insert_open -lpmemobj -lpthread
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Built target ex-pman
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Built target benchmark-concurrent_hash_map_insert_open
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2