[Android-tools-devel] Bug#1037575: android-platform-external-boringssl: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:21:25 BST 2023


Package: src:android-platform-external-boringssl
Version: 13.0.0+r24-2
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/android-platform-external-boringssl_13.0.0+r24-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
clang++ -c -o src/crypto/blake2/blake2_test.o src/crypto/blake2/blake2_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/buf/buf_test.o src/crypto/buf/buf_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/bytestring/bytestring_test.o src/crypto/bytestring/bytestring_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/chacha/chacha_test.o src/crypto/chacha/chacha_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/cipher_extra/aead_test.o src/crypto/cipher_extra/aead_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/cipher_extra/cipher_test.o src/crypto/cipher_extra/cipher_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/conf/conf_test.o src/crypto/conf/conf_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/constant_time_test.o src/crypto/constant_time_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/cpu_arm_linux_test.o src/crypto/cpu_arm_linux_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/crypto_test.o src/crypto/crypto_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/curve25519/ed25519_test.o src/crypto/curve25519/ed25519_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/curve25519/spake25519_test.o src/crypto/curve25519/spake25519_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/curve25519/x25519_test.o src/crypto/curve25519/x25519_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/dh_extra/dh_test.o src/crypto/dh_extra/dh_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/digest_extra/digest_test.o src/crypto/digest_extra/digest_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/dsa/dsa_test.o src/crypto/dsa/dsa_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/ecdh_extra/ecdh_test.o src/crypto/ecdh_extra/ecdh_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/err/err_test.o src/crypto/err/err_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/evp/evp_extra_test.o src/crypto/evp/evp_extra_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/evp/evp_test.o src/crypto/evp/evp_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/evp/pbkdf_test.o src/crypto/evp/pbkdf_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/evp/scrypt_test.o src/crypto/evp/scrypt_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/aes/aes_test.o src/crypto/fipsmodule/aes/aes_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/bn/bn_test.o src/crypto/fipsmodule/bn/bn_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/cmac/cmac_test.o src/crypto/fipsmodule/cmac/cmac_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/ec/ec_test.o src/crypto/fipsmodule/ec/ec_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/ec/p256-nistz_test.o src/crypto/fipsmodule/ec/p256-nistz_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/ecdsa/ecdsa_test.o src/crypto/fipsmodule/ecdsa/ecdsa_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/md5/md5_test.o src/crypto/fipsmodule/md5/md5_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/modes/gcm_test.o src/crypto/fipsmodule/modes/gcm_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/rand/ctrdrbg_test.o src/crypto/fipsmodule/rand/ctrdrbg_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/rand/fork_detect_test.o src/crypto/fipsmodule/rand/fork_detect_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/service_indicator/service_indicator_test.o src/crypto/fipsmodule/service_indicator/service_indicator_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/fipsmodule/sha/sha_test.o src/crypto/fipsmodule/sha/sha_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/hkdf/hkdf_test.o src/crypto/hkdf/hkdf_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/hmac_extra/hmac_test.o src/crypto/hmac_extra/hmac_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/hpke/hpke_test.o src/crypto/hpke/hpke_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/hrss/hrss_test.o src/crypto/hrss/hrss_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/impl_dispatch_test.o src/crypto/impl_dispatch_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/lhash/lhash_test.o src/crypto/lhash/lhash_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/obj/obj_test.o src/crypto/obj/obj_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/pem/pem_test.o src/crypto/pem/pem_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/pkcs7/pkcs7_test.o src/crypto/pkcs7/pkcs7_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/pkcs8/pkcs12_test.o src/crypto/pkcs8/pkcs12_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/pkcs8/pkcs8_test.o src/crypto/pkcs8/pkcs8_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/poly1305/poly1305_test.o src/crypto/poly1305/poly1305_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/pool/pool_test.o src/crypto/pool/pool_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/rand_extra/rand_test.o src/crypto/rand_extra/rand_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/refcount_test.o src/crypto/refcount_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/rsa_extra/rsa_test.o src/crypto/rsa_extra/rsa_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
In file included from src/crypto/pool/pool_test.cc:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression
        static constexpr unsigned fractional_width = {_S_fractional_width()};
                                                      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here
        _S_fractional_width()
        ^
clang++ -c -o src/crypto/self_test.o src/crypto/self_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/siphash/siphash_test.o src/crypto/siphash/siphash_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
clang++ -c -o src/crypto/stack/stack_test.o src/crypto/stack/stack_test.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -gdwarf-4 -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -DBORINGSSL_ANDROID_SYSTEM -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_SHARED_LIBRARY -DOPENSSL_SMALL -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes  -Isrc/include 
1 error generated.
make[2]: *** [debian/crypto_test.mk:43: src/crypto/pool/pool_test.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" --file=debian/crypto_test.mk returned exit code 2
make[1]: *** [debian/rules:60: crypto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Android-tools-devel mailing list