[Android-tools-devel] Bug#1074809: android-platform-build-kati: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:21:54 BST 2024
Package: src:android-platform-build-kati
Version: 10.0.0+r32+git20220314.09dfa26c4e59-7
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/android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7_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
[...]
text/tabwriter
hash/crc32
container/heap
internal/saferio
crypto
reflect
github.com/golang/glog/internal/stackdump
bufio
regexp/syntax
internal/syscall/execenv
internal/syscall/unix
time
regexp
context
io/fs
internal/poll
encoding/binary
internal/fmtsort
os
crypto/cipher
encoding/base64
crypto/internal/boring
crypto/sha1
io/ioutil
path/filepath
fmt
os/exec
flag
log
github.com/golang/glog/internal/logsink
net/url
encoding/gob
encoding/json
os/user
compress/flate
text/template/parse
compress/gzip
runtime/pprof
text/template
github.com/golang/glog
github.com/google/kati/golang/kati
github.com/google/kati/golang/cmd/kati
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/sh: 1: git: not found
realpath: missing operand
Try 'realpath --help' for more information.
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/command.o src/command.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/affinity.o src/affinity.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/dep.o src/dep.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/eval.o src/eval.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/exec.o src/exec.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/expr.o src/expr.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/file.o src/file.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/file_cache.o src/file_cache.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/fileutil.o src/fileutil.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/find.o src/find.cc
g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/flags.o src/flags.cc
src/eval.cc: In member function ‘void Evaluator::EvalIf(const IfStmt*)’:
src/eval.cc:576:16: error: ‘find_if’ is not a member of ‘std’
576 | std::find_if(s.begin(), s.end(), ::isspace) != s.end()) {
| ^~~~~~~
make[1]: *** [Makefile.ckati:88: out/eval.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Android-tools-devel
mailing list