[Debian-med-packaging] Bug#1074835: bali-phy: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:22:44 BST 2024
Package: src:bali-phy
Version: 3.6.1+dfsg-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/bali-phy_3.6.1+dfsg-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
Program /<<PKGBUILDDIR>>/tests/run-tests.py found: YES (/<<PKGBUILDDIR>>/tests/run-tests.py)
Build targets in project: 87
NOTICE: Future-deprecated features used:
* 0.56.0: {'meson.build_root', 'meson.source_root'}
bali-phy 3.6.1
Architecture
host : linux
Libraries
BOOST : system
Eigen : system
nlohmann::json : system
range v3 : system
cairo : system
Directories
prefix : /usr
Configuration
optimization : 3
debug : false
assertions : disabled
User defined options
buildtype : release
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
sysconfdir : /etc
wrap_mode : nodownload
python.bytecompile: -1
b_ndebug : true
extra-tools : false
Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--buildsystem=meson
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
[1/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/log-level.cc.o -MF src/util/libutil.a.p/log-level.cc.o.d -o src/util/libutil.a.p/log-level.cc.o -c ../src/util/log-level.cc
[2/297] /usr/bin/meson --internal vcstagger ../src/git-version.h.in src/git-version.h 3.6.1 /<<PKGBUILDDIR>>/src @git_message@ '(.*)' git log -n1 '--date=format:%b %d %Y %k:%M:%S' '--pretty=format:[%D commit %h] (%cd)'
[3/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/range.cc.o -MF src/util/libutil.a.p/range.cc.o.d -o src/util/libutil.a.p/range.cc.o -c ../src/util/range.cc
FAILED: src/util/libutil.a.p/range.cc.o
c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/range.cc.o -MF src/util/libutil.a.p/range.cc.o.d -o src/util/libutil.a.p/range.cc.o -c ../src/util/range.cc
In file included from ../src/util/range.cc:1:
../src/util/include/util/range.H: In function ‘std::vector<T> select(std::vector<T>, const F&)’:
../src/util/include/util/range.H:42:10: error: ‘copy_if’ is not a member of ‘std’; did you mean ‘copy’?
42 | std::copy_if(inVec.begin(), inVec.end(), back_inserter(result), std::function<bool(const T&)>(predicate));
| ^~~~~~~
| copy
[4/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/string_pred.cc.o -MF src/util/libutil.a.p/string_pred.cc.o.d -o src/util/libutil.a.p/string_pred.cc.o -c ../src/util/string/pred.cc
[5/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/string_strip.cc.o -MF src/util/libutil.a.p/string_strip.cc.o.d -o src/util/libutil.a.p/string_strip.cc.o -c ../src/util/string/strip.cc
[6/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/demangle.cc.o -MF src/util/libutil.a.p/demangle.cc.o.d -o src/util/libutil.a.p/demangle.cc.o -c ../src/util/demangle.cc
[7/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/string_sanitize.cc.o -MF src/util/libutil.a.p/string_sanitize.cc.o.d -o src/util/libutil.a.p/string_sanitize.cc.o -c ../src/util/string/sanitize.cc
[8/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/io.cc.o -MF src/util/libutil.a.p/io.cc.o.d -o src/util/libutil.a.p/io.cc.o -c ../src/util/io.cc
../src/util/io.cc: In function ‘std::vector<std::__cxx11::basic_string<char> > load_lines(std::istream&, int, int, int)’:
../src/util/io.cc:113:21: warning: redundant move in return statement [-Wredundant-move]
113 | return std::move(lines);
| ~~~~~~~~~^~~~~~~
../src/util/io.cc:113:21: note: remove ‘std::move’ call
[9/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/graph.cc.o -MF src/util/libutil.a.p/graph.cc.o.d -o src/util/libutil.a.p/graph.cc.o -c ../src/util/graph.cc
[10/297] c++ -Isrc/util/libutil.a.p -Isrc/util -I../src/util -I../src/util/include -I/usr/include -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -isystem/usr/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/util/libutil.a.p/string_split.cc.o -MF src/util/libutil.a.p/string_split.cc.o.d -o src/util/libutil.a.p/string_split.cc.o -c ../src/util/string/split.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list