[Android-tools-devel] Bug#1074811: android-platform-tools: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:21:56 BST 2024
Package: src:android-platform-tools
Version: 34.0.4-1
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-tools_34.0.4-1_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
[...]
echo 'std::optional<MdnsInfo> mdns_get_connect_service_info(const std::string& name) {return std::nullopt;}' >> debian/out/system/dummy.cpp
echo 'std::optional<MdnsInfo> mdns_get_pairing_service_info(const std::string& name) {return std::nullopt;}' >> debian/out/system/dummy.cpp
echo 'bool adb_secure_connect_by_service_name(const std::string& instance_name) {return false;}' >> debian/out/system/dummy.cpp
clang++ -c -o debian/out/system/dummy.o debian/out/system/dummy.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -Wexit-time-destructors -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -DPLATFORM_TOOLS_VERSION='"34.0.4"' -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION=1 -Ipackages/modules/adb -Ipackages/modules/adb/crypto/include -Ipackages/modules/adb/pairing_auth/include -Ipackages/modules/adb/pairing_connection/include -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/diagnose_usb/include -Isystem/core/include -Isystem/core/libcrypto_utils/include -Isystem/core/libcutils/include -Isystem/libbase/include -I/usr/include/android
ar -rcs debian/out/system/libadb.a packages/modules/adb/adb.o packages/modules/adb/adb_io.o packages/modules/adb/adb_listeners.o packages/modules/adb/adb_trace.o packages/modules/adb/adb_unique_fd.o packages/modules/adb/adb_utils.o packages/modules/adb/fdevent/fdevent.o packages/modules/adb/services.o packages/modules/adb/sockets.o packages/modules/adb/socket_spec.o packages/modules/adb/sysdeps/env.o packages/modules/adb/sysdeps/errno.o packages/modules/adb/transport.o packages/modules/adb/transport_fd.o packages/modules/adb/types.o packages/modules/adb/sysdeps_unix.o packages/modules/adb/sysdeps/posix/network.o packages/modules/adb/fdevent/fdevent_epoll.o packages/modules/adb/client/usb_linux.o packages/modules/adb/client/auth.o packages/modules/adb/client/adb_wifi.o packages/modules/adb/client/usb_libusb.o packages/modules/adb/client/transport_local.o packages/modules/adb/client/mdns_utils.o packages/modules/adb/client/transport_usb.o packages/modules/adb/client/pairing/pairing_client.o packages/modules/adb/pairing_auth/aes_128_gcm.o packages/modules/adb/pairing_auth/pairing_auth.o packages/modules/adb/pairing_connection/pairing_connection.o packages/modules/adb/pairing_connection/pairing_server.o packages/modules/adb/crypto/key.o packages/modules/adb/crypto/rsa_2048_key.o packages/modules/adb/crypto/x509_generator.o packages/modules/adb/tls/adb_ca_list.o packages/modules/adb/tls/tls_connection.o system/core/diagnose_usb/diagnose_usb.o debian/out/system/dummy.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=makefile -- --file=debian/system/libcrypto_utils.mk
make -j8 "INSTALL=install --strip-program=true" --file=debian/system/libcrypto_utils.mk
make[2]: Entering directory '/<<PKGBUILDDIR>>'
clang++ -c -o system/core/libcrypto_utils/android_pubkey.o system/core/libcrypto_utils/android_pubkey.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -Isystem/core/include -Isystem/core/libcrypto_utils/include -I/usr/include/android
ar -rcs debian/out/system/libcrypto_utils.a system/core/libcrypto_utils/android_pubkey.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
pandoc --standalone --from=markdown-smart --to=man --output=debian/manpages/system/adb.1 debian/manpages/system/adb.1.md
dh_auto_build --buildsystem=makefile -- --file=debian/system/adb.mk
make -j8 "INSTALL=install --strip-program=true" --file=debian/system/adb.mk
make[2]: Entering directory '/<<PKGBUILDDIR>>'
clang++ -c -o packages/modules/adb/proto/adb_known_hosts.pb.o packages/modules/adb/proto/adb_known_hosts.pb.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/proto/app_processes.pb.o packages/modules/adb/proto/app_processes.pb.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/proto/key_type.pb.o packages/modules/adb/proto/key_type.pb.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/proto/pairing.pb.o packages/modules/adb/proto/pairing.pb.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/adb_client.o packages/modules/adb/client/adb_client.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/bugreport.o packages/modules/adb/client/bugreport.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/commandline.o packages/modules/adb/client/commandline.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/file_sync_client.o packages/modules/adb/client/file_sync_client.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/main.o packages/modules/adb/client/main.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/console.o packages/modules/adb/client/console.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/adb_install.o packages/modules/adb/client/adb_install.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/line_printer.o packages/modules/adb/client/line_printer.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/fastdeploycallbacks.o packages/modules/adb/client/fastdeploycallbacks.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/incremental.o packages/modules/adb/client/incremental.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/incremental_server.o packages/modules/adb/client/incremental_server.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/client/incremental_utils.o packages/modules/adb/client/incremental_utils.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
clang++ -c -o packages/modules/adb/shell_service_protocol.o packages/modules/adb/shell_service_protocol.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -std=gnu++2a -gdwarf-4 -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -fmessage-length=0 -fno-exceptions -fno-strict-aliasing -no-canonical-prefixes -Idebian/include -Wno-c99-designator -Wno-gnu-designator -Wno-gnu-folding-constant -D_GNU_SOURCE -DADB_HOST=1 -DADB_VERSION='"34.0.4-1"' -Ifastdeploy/proto -Ipackages/modules/adb -Ipackages/modules/adb/proto -Ipackages/modules/adb/tls/include -Isystem/core/include -Isystem/libbase/include -Isystem/libziparchive/include -I/usr/include/android
packages/modules/adb/client/incremental_utils.cpp:159:18: error: no member named 'remove_if' in namespace 'std'; did you mean 'remove'?
v.erase(std::remove_if(v.begin(), v.end(),
~~~~~^~~~~~~~~
remove
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/cstdio:131:11: note: 'remove' declared here
using ::remove;
^
packages/modules/adb/client/incremental_utils.cpp:330:21: error: no member named 'any_of' in namespace 'std'
return std::any_of(additional_matches.begin(), additional_matches.end(),
~~~~~^
packages/modules/adb/client/incremental_utils.cpp:335:9: error: no matching function for call to 'StartIteration'
if (StartIteration(zip, &cookie, std::move(matcher)) != 0) {
^~~~~~~~~~~~~~
system/libziparchive/include/ziparchive/zip_archive.h:231:9: note: candidate function not viable: no known conversion from 'typename std::remove_reference<(lambda at packages/modules/adb/client/incremental_utils.cpp:326:20) &>::type' (aka '(lambda at packages/modules/adb/client/incremental_utils.cpp:326:20)') to 'const std::string_view' (aka 'const basic_string_view<char>') for 3rd argument
int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
^
system/libziparchive/include/ziparchive/zip_archive.h:241:9: note: candidate function not viable: no known conversion from 'typename std::remove_reference<(lambda at packages/modules/adb/client/incremental_utils.cpp:326:20) &>::type' (aka '(lambda at packages/modules/adb/client/incremental_utils.cpp:326:20)') to 'std::function<bool (std::string_view)>' (aka 'function<bool (basic_string_view<char>)>') for 3rd argument
int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
^
packages/modules/adb/client/incremental_utils.cpp:159:39: error: too many arguments to function call, expected single argument '__filename', have 3 arguments
v.erase(std::remove_if(v.begin(), v.end(),
~~~~~~~~~~~~~~ ^~~~~~~~
packages/modules/adb/client/incremental_utils.cpp:387:5: note: in instantiation of function template specialization 'incremental::unduplicate<int>' requested here
unduplicate(priorityBlocks);
^
/usr/include/stdio.h:157:12: note: 'remove' declared here
extern int remove (const char *__filename) __THROW;
^
4 errors generated.
make[2]: *** [debian/system/adb.mk:80: packages/modules/adb/client/incremental_utils.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/system/adb.mk returned exit code 2
make[1]: *** [debian/rules:88: s/adb] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:45: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Android-tools-devel
mailing list