[Android-tools-devel] Bug#1132063: android-platform-tools: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Fri Mar 27 17:18:06 GMT 2026
Package: src:android-platform-tools
Version: 34.0.5-12
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
android-platform-tools fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/android-platform-tools_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
make -j128 INSTALL="install --strip-program=true" --file=debian/external/libcpu_features.mk
make[2]: Entering directory '/build/reproducible-path/android-platform-tools-34.0.5'
clang -c -o external/cpu_features/src/filesystem.o external/cpu_features/src/filesystem.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DHAVE_DLFCN_H -DHAVE_STRONG_GETAUXVAL -DSTACK_LINE_READER_BUFFER_SIZE=1024 -Iexternal/cpu_features/include
clang -c -o external/cpu_features/src/stack_line_reader.o external/cpu_features/src/stack_line_reader.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DHAVE_DLFCN_H -DHAVE_STRONG_GETAUXVAL -DSTACK_LINE_READER_BUFFER_SIZE=1024 -Iexternal/cpu_features/include
clang -c -o external/cpu_features/src/string_view.o external/cpu_features/src/string_view.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DHAVE_DLFCN_H -DHAVE_STRONG_GETAUXVAL -DSTACK_LINE_READER_BUFFER_SIZE=1024 -Iexternal/cpu_features/include
clang -c -o external/cpu_features/src/hwcaps.o external/cpu_features/src/hwcaps.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DHAVE_DLFCN_H -DHAVE_STRONG_GETAUXVAL -DSTACK_LINE_READER_BUFFER_SIZE=1024 -Iexternal/cpu_features/include
clang -c -o external/cpu_features/src/impl_aarch64_linux_or_android.o external/cpu_features/src/impl_aarch64_linux_or_android.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu17 -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DHAVE_DLFCN_H -DHAVE_STRONG_GETAUXVAL -DSTACK_LINE_READER_BUFFER_SIZE=1024 -Iexternal/cpu_features/include
clang++ external/cpu_features/src/filesystem.o external/cpu_features/src/stack_line_reader.o external/cpu_features/src/string_view.o external/cpu_features/src/hwcaps.o external/cpu_features/src/impl_aarch64_linux_or_android.o -o debian/out/external/libcpu_features.so.0 -Wl,-z,relro -Wl,-z,now -fPIC -fuse-ld=lld -Wl,--build-id=sha1 -Wl,-soname,libcpu_features.so.0 -shared
ln -sf libcpu_features.so.0 debian/out/external/libcpu_features.so
make[2]: Leaving directory '/build/reproducible-path/android-platform-tools-34.0.5'
dh_auto_build --buildsystem=makefile -- --file=debian/system/liblog.mk
make -j128 INSTALL="install --strip-program=true" --file=debian/system/liblog.mk
make[2]: Entering directory '/build/reproducible-path/android-platform-tools-34.0.5'
clang++ -c -o system/logging/liblog/log_event_list.o system/logging/liblog/log_event_list.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/log_event_write.o system/logging/liblog/log_event_write.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/logger_name.o system/logging/liblog/logger_name.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/logger_read.o system/logging/liblog/logger_read.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/logger_write.o system/logging/liblog/logger_write.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/logprint.o system/logging/liblog/logprint.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/properties.o system/logging/liblog/properties.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/logging/liblog/event_tag_map.o system/logging/liblog/event_tag_map.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DLIBLOG_LOG_TAG=1006 -DSNET_EVENT_LOG_TAG=1397638484 -Isystem/core/include -Isystem/core/libcutils/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ system/logging/liblog/log_event_list.o system/logging/liblog/log_event_write.o system/logging/liblog/logger_name.o system/logging/liblog/logger_read.o system/logging/liblog/logger_write.o system/logging/liblog/logprint.o system/logging/liblog/properties.o system/logging/liblog/event_tag_map.o -o debian/out/system/liblog.so.0 -Wl,-z,relro -Wl,-z,now -fPIC -fuse-ld=lld -Wl,--build-id=sha1 -Wl,-soname,liblog.so.0 -lpthread -shared
ln -sf liblog.so.0 debian/out/system/liblog.so
make[2]: Leaving directory '/build/reproducible-path/android-platform-tools-34.0.5'
dh_auto_build --buildsystem=makefile -- --file=debian/system/libbase.mk
make -j128 INSTALL="install --strip-program=true" --file=debian/system/libbase.mk
make[2]: Entering directory '/build/reproducible-path/android-platform-tools-34.0.5'
clang++ -c -o external/fmtlib/src/format.o external/fmtlib/src/format.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/abi_compatibility.o system/libbase/abi_compatibility.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/chrono_utils.o system/libbase/chrono_utils.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/cmsg.o system/libbase/cmsg.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/file.o system/libbase/file.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/hex.o system/libbase/hex.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/logging.o system/libbase/logging.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/mapped_file.o system/libbase/mapped_file.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/parsebool.o system/libbase/parsebool.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/parsenetaddress.o system/libbase/parsenetaddress.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/posix_strerror_r.o system/libbase/posix_strerror_r.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/process.o system/libbase/process.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/properties.o system/libbase/properties.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/stringprintf.o system/libbase/stringprintf.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/strings.o system/libbase/strings.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/threads.o system/libbase/threads.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/test_utils.o system/libbase/test_utils.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
clang++ -c -o system/libbase/errors_unix.o system/libbase/errors_unix.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-tools-34.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu++2a -gdwarf-4 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_FILE_OFFSET_BITS=64 -Iexternal/fmtlib/include -Isystem/core/include -Isystem/libbase/include -Isystem/logging/liblog/include
system/libbase/hex.cpp:28:9: error: unknown type name 'uint8_t'
28 | const uint8_t* bytes8 = static_cast<const uint8_t*>(bytes);
| ^
system/libbase/hex.cpp:28:45: error: unknown type name 'uint8_t'
28 | const uint8_t* bytes8 = static_cast<const uint8_t*>(bytes);
| ^
2 errors generated.
make[2]: *** [debian/system/libbase.mk:61: system/libbase/hex.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from external/fmtlib/src/format.cc:8:
In file included from external/fmtlib/include/fmt/format-inl.h:28:
external/fmtlib/include/fmt/format.h:3943:48: warning: identifier '_a' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator]
3943 | FMT_CONSTEXPR detail::udl_arg<char> operator"" _a(const char* s, size_t) {
| ~~~~~~~~~~~^~
| operator""_a
external/fmtlib/include/fmt/format.h:3946:51: warning: identifier '_a' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator]
3946 | FMT_CONSTEXPR detail::udl_arg<wchar_t> operator"" _a(const wchar_t* s, size_t) {
| ~~~~~~~~~~~^~
| operator""_a
2 warnings generated.
make[2]: Leaving directory '/build/reproducible-path/android-platform-tools-34.0.5'
dh_auto_build: error: make -j128 INSTALL="install --strip-program=true" --file=debian/system/libbase.mk returned exit code 2
make[1]: *** [debian/rules:80: s/libbase.so] Error 25
make[1]: Leaving directory '/build/reproducible-path/android-platform-tools-34.0.5'
make: *** [debian/rules:43: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Android-tools-devel
mailing list