Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/a/android-platform-frameworks-base/android-platform-frameworks-base_10.0.0+r36-3_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/android-platform-frameworks-base-10.0.0+r36-3ofybldv0/android-platform-frameworks-base_10.0.0+r36-3_all.buildinfo Get source package info: android-platform-frameworks-base=1:10.0.0+r36-3 Source URL: http://snapshot.notset.fr/mr/package/android-platform-frameworks-base/1:10.0.0+r36-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=android-libbacktrace=1:10.0.0+r36-4 android-libbacktrace-dev=1:10.0.0+r36-4 android-libbase=1:10.0.0+r36-4 android-libbase-dev=1:10.0.0+r36-4 android-libcutils=1:10.0.0+r36-4 android-libcutils-dev=1:10.0.0+r36-4 android-liblog=1:10.0.0+r36-4 android-liblog-dev=1:10.0.0+r36-4 android-libunwind=10.0.0+r36-4 android-libutils=1:10.0.0+r36-4 android-libutils-dev=1:10.0.0+r36-4 android-libziparchive=1:10.0.0+r36-4 android-libziparchive-dev=1:10.0.0+r36-4 android-platform-frameworks-native-headers=1:10.0.0+r36-1 android-platform-system-core-headers=1:10.0.0+r36-4 autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 bash-completion=1:2.11-2 binutils=2.35.1-6 binutils-common=2.35.1-6 binutils-x86-64-linux-gnu=2.35.1-6 bsdextrautils=2.36.1-4 bsdutils=1:2.36.1-4 build-essential=12.9 bzip2=1.0.8-4 chrpath=0.16-2+b1 clang=1:11.0-51+nmu1 clang-11=1:11.0.1~+rc2-1 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.1-3 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-exec=0.23.2 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-5 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.1-3 gcc=4:10.2.0-1 gcc-10=10.2.1-3 gcc-10-base=10.2.1-3 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 lib32gcc-s1=10.2.1-3 lib32stdc++6=10.2.1-3 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-3 libatomic1=10.2.1-3 libattr1=1:2.4.48-6 libaudit-common=1:3.0-1 libaudit1=1:3.0-1 libbinutils=2.35.1-6 libblkid1=2.36.1-4 libbsd-dev=0.10.0-1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-7 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libc6-i386=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-3 libclang-common-11-dev=1:11.0.1~+rc2-1 libclang-cpp11=1:11.0.1~+rc2-1 libclang1-11=1:11.0.1~+rc2-1 libcmark-gfm-extensions0=0.29.0.gfm.0-6 libcmark-gfm0=0.29.0.gfm.0-6 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-6 libctf0=2.35.1-6 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdpkg-perl=1.20.5 libedit2=3.1-20191231-2+b1 libelf1=0.182-2 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libgc1=1:8.0.4-3 libgcc-10-dev=10.2.1-3 libgcc-s1=10.2.1-3 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-3 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-5 libisl23=0.23-1 libitm1=10.2.1-3 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libllvm11=1:11.0.1~+rc2-1 liblsan0=10.2.1-3 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-4 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libobjc-10-dev=10.2.1-3 libobjc4=10.2.1-3 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libprotobuf-dev=3.12.3-2+b2 libprotobuf-lite23=3.12.3-2+b2 libprotobuf23=3.12.3-2+b2 libprotoc23=3.12.3-2+b2 libquadmath0=10.2.1-3 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-4 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-3 libstdc++6=10.2.1-3 libsub-override-perl=0.09-2 libsystemd0=247.2-4 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-14 libtsan0=10.2.1-3 libubsan1=10.2.1-3 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 libuuid1=2.36.1-4 libxml2=2.9.10+dfsg-6.3+b1 libz3-4=4.8.9-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.4-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 p7zip=16.02+dfsg-8 p7zip-full=16.02+dfsg-8 pandoc=2.9.2.1-1+b1 pandoc-data=2.9.2.1-1 patch=2.7.6-6 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.3-2+b2 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-4 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210106T083010Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210105T023154Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d android-platform-frameworks-base=1:10.0.0+r36-3 && mkdir -p /build/android-platform-frameworks-base-sbVDSn && dpkg-source --no-check -x /*.dsc /build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36 && chown -R builduser:builduser /build/android-platform-frameworks-base-sbVDSn" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609877202" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/android-platform-frameworks-base-sbVDSn /tmp/android-platform-frameworks-base-10.0.0+r36-3ofybldv0 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.SJbYu5Ypvd as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.SJbYu5Ypvd Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (865 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4647 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-7) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210106T083010Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210105T023154Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.SJbYu5Ypvd Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210106T083010Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210106T083010Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210106T083010Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210106T083010Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210106T083010Z unstable/main amd64 Packages [11.6 MB] Fetched 34.3 MB in 28s (1218 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.SJbYu5Ypvd I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d android-platform-frameworks-base=1:10.0.0+r36-3 && mkdir -p /build/android-platform-frameworks-base-sbVDSn && dpkg-source --no-check -x /*.dsc /build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36 && chown -R builduser:builduser /build/android-platform-frameworks-base-sbVDSn"' exec /tmp/mmdebstrap.SJbYu5Ypvd Reading package lists... NOTICE: 'android-platform-frameworks-base' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/android-tools-team/android-platform-frameworks-base.git Please use: git clone https://salsa.debian.org/android-tools-team/android-platform-frameworks-base.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 45.0 MB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main android-platform-frameworks-base 1:10.0.0+r36-3 (dsc) [2939 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main android-platform-frameworks-base 1:10.0.0+r36-3 (tar) [44.9 MB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main android-platform-frameworks-base 1:10.0.0+r36-3 (diff) [15.6 kB] Fetched 45.0 MB in 35s (1268 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'android-platform-frameworks-base_10.0.0+r36-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting android-platform-frameworks-base in /build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36 dpkg-source: info: unpacking android-platform-frameworks-base_10.0.0+r36.orig.tar.xz dpkg-source: info: unpacking android-platform-frameworks-base_10.0.0+r36-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying hard-code-versions.patch dpkg-source: info: applying aapt_typo.diff dpkg-source: info: applying fix-compile-error.patch dpkg-source: info: applying fix-proto-import-paths.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609877202" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.SJbYu5Ypvd dpkg-buildpackage: info: source package android-platform-frameworks-base dpkg-buildpackage: info: source version 1:10.0.0+r36-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Hans-Christoph Steiner dpkg-source --before-build . debian/rules clean dh clean --with bash-completion dh_clean debian/rules binary-indep dh binary-indep --with bash-completion dh_update_autotools_config -i dh_autoreconf -i debian/rules override_dh_auto_build-indep make[1]: Entering directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' dh_auto_build --buildsystem=makefile -- -f debian/libandroidfw.mk make -j4 -f debian/libandroidfw.mk make[2]: Entering directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' mkdir --parents debian/out clang++ libs/androidfw/ApkAssets.cpp libs/androidfw/Asset.cpp libs/androidfw/AssetDir.cpp libs/androidfw/AssetManager.cpp libs/androidfw/AssetManager2.cpp libs/androidfw/AttributeResolution.cpp libs/androidfw/ChunkIterator.cpp libs/androidfw/ConfigDescription.cpp libs/androidfw/Idmap.cpp libs/androidfw/LoadedArsc.cpp libs/androidfw/Locale.cpp libs/androidfw/LocaleData.cpp libs/androidfw/misc.cpp libs/androidfw/ObbFile.cpp libs/androidfw/PosixUtils.cpp libs/androidfw/ResourceTypes.cpp libs/androidfw/ResourceUtils.cpp libs/androidfw/StreamingZipInflater.cpp libs/androidfw/TypeWrappers.cpp libs/androidfw/Util.cpp libs/androidfw/ZipFileRO.cpp libs/androidfw/ZipUtils.cpp -o debian/out/libandroidfw.so.0 -g -O2 -fdebug-prefix-map=/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36=. -fstack-protector-strong -Wformat -Werror=format-security -DSTATIC_ANDROIDFW_FOR_TOOLS -std=gnu++17 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -fno-strict-aliasing -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -fno-strict-aliasing -Ilibs/androidfw/include -I/usr/include/android -Wl,-z,relro -fPIC -shared -Wl,-soname,libandroidfw.so.0 -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -lz -L/usr/lib/x86_64-linux-gnu/android -lziparchive -lutils -llog -lbase libs/androidfw/AssetManager2.cpp:1380:30: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] for (size_t e = 0; e < type->entry_count; e++) { ~ ^ ~~~~~~~~~~~~~~~~~ libs/androidfw/AssetManager2.cpp:1489:21: warning: comparison of integers of different signs: 'int' and 'std::array::size_type' (aka 'unsigned long') [-Wsign-compare] for (int p = 0; p < packages_.size(); p++) { ~ ^ ~~~~~~~~~~~~~~~~ libs/androidfw/AssetManager2.cpp:1495:23: warning: comparison of integers of different signs: 'int' and 'std::array::size_type' (aka 'unsigned long') [-Wsign-compare] for (int t = 0; t < package->types.size(); t++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. libs/androidfw/ResourceTypes.cpp:7411:13: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] || value.dataType <= Res_value::TYPE_LAST_INT) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/androidfw/ResourceTypes.cpp:7406:13: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] || value.dataType <= Res_value::TYPE_LAST_COLOR_INT) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. ln -s libandroidfw.so.0 debian/out/libandroidfw.so make[2]: Leaving directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' dh_auto_build --buildsystem=makefile -- -f debian/aapt2.mk make -j4 -f debian/aapt2.mk make[2]: Entering directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' mkdir --parents debian/out/proto/frameworks/base/tools/aapt2 mkdir --parents debian/out/proto/frameworks/base/tools/aapt2 mkdir --parents debian/out/proto/frameworks/base/tools/aapt2 protoc --cpp_out=debian/out/proto/frameworks/base/tools/aapt2 \ --proto_path=tools/aapt2 tools/aapt2/Configuration.proto protoc --cpp_out=debian/out/proto/frameworks/base/tools/aapt2 \ --proto_path=tools/aapt2 tools/aapt2/Resources.proto protoc --cpp_out=debian/out/proto/frameworks/base/tools/aapt2 \ --proto_path=tools/aapt2 tools/aapt2/ResourcesInternal.proto clang++ tools/aapt2/cmd/Command.cpp tools/aapt2/cmd/Compile.cpp tools/aapt2/cmd/Convert.cpp tools/aapt2/cmd/Diff.cpp tools/aapt2/cmd/Dump.cpp tools/aapt2/cmd/Link.cpp tools/aapt2/cmd/Optimize.cpp tools/aapt2/cmd/Util.cpp tools/aapt2/compile/IdAssigner.cpp tools/aapt2/compile/InlineXmlFormatParser.cpp tools/aapt2/compile/NinePatch.cpp tools/aapt2/compile/Png.cpp tools/aapt2/compile/PngChunkFilter.cpp tools/aapt2/compile/PngCrunch.cpp tools/aapt2/compile/PseudolocaleGenerator.cpp tools/aapt2/compile/Pseudolocalizer.cpp tools/aapt2/compile/XmlIdCollector.cpp tools/aapt2/configuration/ConfigurationParser.cpp tools/aapt2/dump/DumpManifest.cpp tools/aapt2/filter/AbiFilter.cpp tools/aapt2/filter/ConfigFilter.cpp tools/aapt2/format/Archive.cpp tools/aapt2/format/Container.cpp tools/aapt2/format/binary/BinaryResourceParser.cpp tools/aapt2/format/binary/ResChunkPullParser.cpp tools/aapt2/format/binary/TableFlattener.cpp tools/aapt2/format/binary/XmlFlattener.cpp tools/aapt2/format/proto/ProtoDeserialize.cpp tools/aapt2/format/proto/ProtoSerialize.cpp tools/aapt2/io/BigBufferStream.cpp tools/aapt2/io/File.cpp tools/aapt2/io/FileStream.cpp tools/aapt2/io/FileSystem.cpp tools/aapt2/io/StringStream.cpp tools/aapt2/io/Util.cpp tools/aapt2/io/ZipArchive.cpp tools/aapt2/link/AutoVersioner.cpp tools/aapt2/link/ManifestFixer.cpp tools/aapt2/link/NoDefaultResourceRemover.cpp tools/aapt2/link/ProductFilter.cpp tools/aapt2/link/PrivateAttributeMover.cpp tools/aapt2/link/ReferenceLinker.cpp tools/aapt2/link/ResourceExcluder.cpp tools/aapt2/link/TableMerger.cpp tools/aapt2/link/XmlCompatVersioner.cpp tools/aapt2/link/XmlNamespaceRemover.cpp tools/aapt2/link/XmlReferenceLinker.cpp tools/aapt2/optimize/MultiApkGenerator.cpp tools/aapt2/optimize/ResourceDeduper.cpp tools/aapt2/optimize/ResourceFilter.cpp tools/aapt2/optimize/ResourcePathShortener.cpp tools/aapt2/optimize/VersionCollapser.cpp tools/aapt2/process/SymbolTable.cpp tools/aapt2/split/TableSplitter.cpp tools/aapt2/text/Printer.cpp tools/aapt2/text/Unicode.cpp tools/aapt2/text/Utf8Iterator.cpp tools/aapt2/util/BigBuffer.cpp tools/aapt2/util/Files.cpp tools/aapt2/util/Util.cpp tools/aapt2/Debug.cpp tools/aapt2/DominatorTree.cpp tools/aapt2/java/AnnotationProcessor.cpp tools/aapt2/java/ClassDefinition.cpp tools/aapt2/java/JavaClassGenerator.cpp tools/aapt2/java/ManifestClassGenerator.cpp tools/aapt2/java/ProguardRules.cpp tools/aapt2/LoadedApk.cpp tools/aapt2/Resource.cpp tools/aapt2/ResourceParser.cpp tools/aapt2/ResourceTable.cpp tools/aapt2/ResourceUtils.cpp tools/aapt2/ResourceValues.cpp tools/aapt2/SdkConstants.cpp tools/aapt2/StringPool.cpp tools/aapt2/trace/TraceBuffer.cpp tools/aapt2/xml/XmlActionExecutor.cpp tools/aapt2/xml/XmlDom.cpp tools/aapt2/xml/XmlPullParser.cpp tools/aapt2/xml/XmlUtil.cpp tools/aapt2/Main.cpp debian/out/proto/frameworks/base/tools/aapt2/Configuration.pb.cc debian/out/proto/frameworks/base/tools/aapt2/Resources.pb.cc debian/out/proto/frameworks/base/tools/aapt2/ResourcesInternal.pb.cc -o debian/out/aapt2 -g -O2 -fdebug-prefix-map=/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++17 -fno-exceptions -fno-rtti -Wno-missing-field-initializers -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -fno-strict-aliasing -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -fno-strict-aliasing -Ilibs/androidfw/include -Itools/aapt2 -Idebian/out/proto/frameworks/base/tools/aapt2 -I/usr/include/android -Wno-unused-parameter -Wno-missing-field-initializers -Wl,-z,relro -fPIC -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -lexpat -lpng -lprotobuf-lite -Ldebian/out -landroidfw -L/usr/lib/x86_64-linux-gnu/android -lutils -lbase -lziparchive -llog In file included from tools/aapt2/cmd/Compile.cpp:40: In file included from tools/aapt2/format/Container.h:28: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. In file included from tools/aapt2/cmd/Convert.cpp:32: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ In file included from tools/aapt2/cmd/Convert.cpp:32: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ tools/aapt2/cmd/Convert.cpp:106:25: note: in instantiation of function template specialization 'aapt::io::ProtoInputStreamReader::ReadMessage' requested here if (!proto_reader.ReadMessage(&pb_node)) { ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 2 warnings generated. In file included from tools/aapt2/cmd/Diff.cpp:21: In file included from tools/aapt2/LoadedApk.h:22: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/cmd/Diff.cpp:337:17: note: in instantiation of member function 'aapt::Maybe::operator=' requested here ref->id = {}; ^ 1 warning generated. In file included from tools/aapt2/cmd/Dump.cpp:30: In file included from tools/aapt2/format/Container.h:28: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. In file included from tools/aapt2/cmd/Link.cpp:45: In file included from tools/aapt2/format/Container.h:28: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ In file included from tools/aapt2/cmd/Link.cpp:17: In file included from tools/aapt2/cmd/Link.h:24: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/cmd/Link.cpp:202:13: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here *id = rewritten_id; ^ 2 warnings generated. In file included from tools/aapt2/cmd/Optimize.cpp:40: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. In file included from tools/aapt2/compile/IdAssigner.cpp:17: In file included from tools/aapt2/compile/IdAssigner.h:24: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/compile/IdAssigner.cpp:169:19: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here resource_id = ResourceId(package->id.value(), type->id.value(), 0); ^ 1 warning generated. In file included from tools/aapt2/filter/AbiFilter.cpp:21: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. In file included from tools/aapt2/format/Container.cpp:17: In file included from tools/aapt2/format/Container.h:28: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ tools/aapt2/format/Container.cpp:72:49: warning: 'ByteSize' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] const ::google::protobuf::uint64 size = table.ByteSize(); ^ /usr/include/google/protobuf/message_lite.h:419:3: note: 'ByteSize' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG("Please use ByteSizeLong() instead") ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ tools/aapt2/format/Container.cpp:105:55: warning: 'ByteSize' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] const ::google::protobuf::uint32 header_size = file.ByteSize(); ^ /usr/include/google/protobuf/message_lite.h:419:3: note: 'ByteSize' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG("Please use ByteSizeLong() instead") ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 3 warnings generated. In file included from tools/aapt2/format/binary/BinaryResourceParser.cpp:17: In file included from tools/aapt2/format/binary/BinaryResourceParser.h:26: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/ResourceValues.h:150:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct Reference : public BaseItem { ^ 1 warning generated. In file included from tools/aapt2/format/binary/TableFlattener.cpp:17: In file included from tools/aapt2/format/binary/TableFlattener.h:22: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/ResourceValues.h:150:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct Reference : public BaseItem { ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_heap.h:355:9: note: in instantiation of function template specialization 'std::__adjust_heap<__gnu_cxx::__normal_iterator>>, long, aapt::Style::Entry, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__adjust_heap(__first, __parent, __len, _GLIBCXX_MOVE(__value), ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:1666:12: note: in instantiation of function template specialization 'std::__make_heap<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__make_heap(__first, __middle, __comp); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:1937:12: note: in instantiation of function template specialization 'std::__heap_select<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__heap_select(__first, __middle, __last, __comp); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:1953:13: note: in instantiation of function template specialization 'std::__partial_sort<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__partial_sort(__first, __last, __last, __comp); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:1974:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator>>, long, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__introsort_loop(__first, __last, ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:4894:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__ops::_Iter_comp_iter>' requested here std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp)); ^ tools/aapt2/format/binary/TableFlattener.cpp:123:10: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator>>, bool (*)(const aapt::Style::Entry &, const aapt::Style::Entry &)>' requested here std::sort(style->entries.begin(), style->entries.end(), cmp_style_entries); ^ 1 warning generated. tools/aapt2/format/proto/ProtoDeserialize.cpp:880:37: warning: 'dimension_value_deprecated' is deprecated [-Wdeprecated-declarations] float dimen_val = pb_prim.dimension_value_deprecated(); ^ debian/out/proto/frameworks/base/tools/aapt2/Resources.pb.h:5208:3: note: 'dimension_value_deprecated' has been explicitly marked deprecated here PROTOBUF_DEPRECATED float dimension_value_deprecated() const; ^ /usr/include/google/protobuf/port_def.inc:154:44: note: expanded from macro 'PROTOBUF_DEPRECATED' #define PROTOBUF_DEPRECATED __attribute__((deprecated)) ^ tools/aapt2/format/proto/ProtoDeserialize.cpp:885:40: warning: 'fraction_value_deprecated' is deprecated [-Wdeprecated-declarations] float fraction_val = pb_prim.fraction_value_deprecated(); ^ debian/out/proto/frameworks/base/tools/aapt2/Resources.pb.h:5220:3: note: 'fraction_value_deprecated' has been explicitly marked deprecated here PROTOBUF_DEPRECATED float fraction_value_deprecated() const; ^ /usr/include/google/protobuf/port_def.inc:154:44: note: expanded from macro 'PROTOBUF_DEPRECATED' #define PROTOBUF_DEPRECATED __attribute__((deprecated)) ^ In file included from tools/aapt2/format/proto/ProtoDeserialize.cpp:17: In file included from tools/aapt2/format/proto/ProtoDeserialize.h:25: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/format/proto/ProtoDeserialize.cpp:639:17: note: in instantiation of member function 'aapt::Maybe::operator=' requested here out_ref->id = ResourceId(pb_ref.id()); ^ 3 warnings generated. In file included from tools/aapt2/io/Util.cpp:17: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. In file included from tools/aapt2/link/AutoVersioner.cpp:17: In file included from tools/aapt2/link/Linkers.h:27: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/ResourceValues.h:150:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct Reference : public BaseItem { ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algobase.h:472:22: note: in instantiation of function template specialization 'std::__copy_move::__copy_m' requested here _Category>::__copy_m(__first, __last, __result); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algobase.h:506:19: note: in instantiation of function template specialization 'std::__copy_move_a2' requested here { return std::__copy_move_a2<_IsMove>(__first, __last, __result); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algobase.h:514:8: note: in instantiation of function template specialization 'std::__copy_move_a1' requested here std::__copy_move_a1<_IsMove>(std::__niter_base(__first), ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algobase.h:601:19: note: in instantiation of function template specialization 'std::__copy_move_a>>, __gnu_cxx::__normal_iterator>>>' requested here return std::__copy_move_a(std::__miter_base(__first), ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/vector.tcc:175:2: note: in instantiation of function template specialization 'std::move<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__normal_iterator>>>' requested here _GLIBCXX_MOVE3(__position + 1, end(), __position); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algobase.h:605:44: note: expanded from macro '_GLIBCXX_MOVE3' #define _GLIBCXX_MOVE3(_Tp, _Up, _Vp) std::move(_Tp, _Up, _Vp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:1431:16: note: in instantiation of member function 'std::vector>::_M_erase' requested here { return _M_erase(begin() + (__position - cbegin())); } ^ tools/aapt2/link/AutoVersioner.cpp:114:39: note: in instantiation of member function 'std::vector>::erase' requested here iter = style->entries.erase(iter); ^ 1 warning generated. In file included from tools/aapt2/link/ReferenceLinker.cpp:17: In file included from tools/aapt2/link/ReferenceLinker.h:22: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:179:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = reinterpret_cast(rhs.storage_); ^ tools/aapt2/util/Maybe.h:162:10: note: in instantiation of function template specialization 'aapt::Maybe::copy' requested here return copy(rhs); ^ tools/aapt2/link/ReferenceLinker.cpp:87:22: note: in instantiation of member function 'aapt::Maybe::operator=' requested here entry.key.id = symbol->id; ^ 1 warning generated. In file included from tools/aapt2/link/XmlCompatVersioner.cpp:17: In file included from tools/aapt2/link/XmlCompatVersioner.h:26: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:179:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = reinterpret_cast(rhs.storage_); ^ tools/aapt2/util/Maybe.h:162:10: note: in instantiation of function template specialization 'aapt::Maybe::copy' requested here return copy(rhs); ^ tools/aapt2/xml/XmlDom.h:67:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct AaptAttribute { ^ tools/aapt2/util/Maybe.h:162:10: note: in instantiation of function template specialization 'aapt::Maybe::copy' requested here return copy(rhs); ^ tools/aapt2/link/XmlCompatVersioner.cpp:42:36: note: in instantiation of member function 'aapt::Maybe::operator=' requested here dst_attr->compiled_attribute = src_attr.compiled_attribute; ^ 1 warning generated. In file included from tools/aapt2/link/XmlReferenceLinker.cpp:17: In file included from tools/aapt2/link/Linkers.h:27: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.h:67:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct AaptAttribute { ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/link/XmlReferenceLinker.cpp:101:33: note: in instantiation of member function 'aapt::Maybe::operator=' requested here attr.compiled_attribute = ^ 1 warning generated. In file included from tools/aapt2/optimize/MultiApkGenerator.cpp:17: In file included from tools/aapt2/optimize/MultiApkGenerator.h:28: In file included from tools/aapt2/LoadedApk.h:22: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.h:67:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct AaptAttribute { ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/optimize/MultiApkGenerator.cpp:382:30: note: in instantiation of member function 'aapt::Maybe::operator=' requested here size->compiled_attribute = xml::AaptAttribute(Attribute(), {kScreenSizeResourceId}); ^ 1 warning generated. tools/aapt2/process/SymbolTable.cpp:256:21: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (packageId == loaded_package->GetPackageId() && loaded_package->IsDynamic()) { ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/aapt2/process/SymbolTable.cpp:17: In file included from tools/aapt2/process/SymbolTable.h:30: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/process/SymbolTable.cpp:341:12: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here res_id = asset_manager_.GetResourceId(real_name.to_string()); ^ 2 warnings generated. In file included from tools/aapt2/text/Printer.cpp:21: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. tools/aapt2/util/Files.cpp:197:21: warning: comparison of integers of different signs: 'int' and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < args.size(); i++) { ~ ^ ~~~~~~~~~~~ 1 warning generated. In file included from tools/aapt2/java/JavaClassGenerator.cpp:17: In file included from tools/aapt2/java/JavaClassGenerator.h:24: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/java/JavaClassGenerator.cpp:447:13: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here real_id = ResourceId(kAppPackageId, id.package_id(), id.entry_id()); ^ 1 warning generated. In file included from tools/aapt2/LoadedApk.cpp:27: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ In file included from tools/aapt2/LoadedApk.cpp:27: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ tools/aapt2/LoadedApk.cpp:55:24: note: in instantiation of function template specialization 'aapt::io::ProtoInputStreamReader::ReadMessage' requested here if (proto_reader.ReadMessage(&pb_node)) { ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ In file included from tools/aapt2/LoadedApk.cpp:27: tools/aapt2/io/Util.h:134:18: warning: 'SetTotalBytesLimit' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations] coded_stream.SetTotalBytesLimit(std::numeric_limits::max(), ^ tools/aapt2/LoadedApk.cpp:110:23: note: in instantiation of function template specialization 'aapt::io::ProtoInputStreamReader::ReadMessage' requested here if (!proto_reader.ReadMessage(&pb_table)) { ^ /usr/include/google/protobuf/io/coded_stream.h:394:3: note: 'SetTotalBytesLimit' has been explicitly marked deprecated here PROTOBUF_DEPRECATED_MSG( ^ /usr/include/google/protobuf/port_def.inc:156:53: note: expanded from macro 'PROTOBUF_DEPRECATED_MSG' #define PROTOBUF_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) ^ 3 warnings generated. In file included from tools/aapt2/ResourceParser.cpp:17: In file included from tools/aapt2/ResourceParser.h:27: In file included from tools/aapt2/ResourceTable.h:21: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/ResourceParser.cpp:878:22: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here out_resource->id = maybe_id.value(); ^ 1 warning generated. In file included from tools/aapt2/ResourceValues.cpp:17: In file included from tools/aapt2/ResourceValues.h:29: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:179:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = reinterpret_cast(rhs.storage_); ^ tools/aapt2/util/Maybe.h:162:10: note: in instantiation of function template specialization 'aapt::Maybe::copy' requested here return copy(rhs); ^ tools/aapt2/ResourceValues.h:150:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct Reference : public BaseItem { ^ tools/aapt2/util/Maybe.h:162:10: note: in instantiation of function template specialization 'aapt::Maybe::copy' requested here return copy(rhs); ^ tools/aapt2/ResourceValues.cpp:902:17: note: in instantiation of member function 'aapt::Maybe::operator=' requested here style->parent = parent; ^ 1 warning generated. In file included from tools/aapt2/xml/XmlDom.cpp:17: In file included from tools/aapt2/xml/XmlDom.h:27: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.h:67:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct AaptAttribute { ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.cpp:242:33: note: in instantiation of member function 'aapt::Maybe::operator=' requested here attr.compiled_attribute = AaptAttribute(::aapt::Attribute(), {res_id}); ^ 1 warning generated. In file included from tools/aapt2/xml/XmlUtil.cpp:17: In file included from tools/aapt2/xml/XmlUtil.h:22: In file included from tools/aapt2/ResourceValues.h:29: tools/aapt2/Resource.h:146:3: warning: definition of implicit copy assignment operator for 'ResourceId' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] ResourceId(const ResourceId& rhs); ^ tools/aapt2/util/Maybe.h:215:36: note: in implicit copy assignment operator for 'aapt::ResourceId' first required here reinterpret_cast(storage_) = ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.h:67:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct AaptAttribute { ^ tools/aapt2/util/Maybe.h:197:10: note: in instantiation of function template specialization 'aapt::Maybe::move' requested here return move(std::forward>(rhs)); ^ tools/aapt2/xml/XmlDom.h:77:8: note: in instantiation of member function 'aapt::Maybe::operator=' requested here struct Attribute { ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_algo.h:914:19: note: in instantiation of function template specialization 'std::__remove_if<__gnu_cxx::__normal_iterator>>, __gnu_cxx::__ops::_Iter_pred<(lambda at tools/aapt2/xml/XmlUtil.cpp:91:9)>>' requested here return std::__remove_if(__first, __last, ^ tools/aapt2/xml/XmlUtil.cpp:89:30: note: in instantiation of function template specialization 'std::remove_if<__gnu_cxx::__normal_iterator>>, (lambda at tools/aapt2/xml/XmlUtil.cpp:91:9)>' requested here auto new_attr_end = std::remove_if( ^ 1 warning generated. make[2]: Leaving directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' mkdir --parents debian/out cp /usr/lib/x86_64-linux-gnu/android/*.so.0 debian/out ln -s /usr/lib/p7zip/7z.so debian/out/7z.so chrpath --replace debian/out debian/out/aapt2 debian/out/aapt2: RUNPATH=/usr/lib/x86_64-linux-gnu/android debian/out/aapt2: new RUNPATH: debian/out debian/out/aapt2 compile --dir core/res/res \ -o debian/out/resources.zip debian/out/aapt2 link --manifest core/res/AndroidManifest.xml \ debian/out/resources.zip \ -o debian/out/framework-res.apk \ -A core/res/assets \ --min-sdk-version 29 --target-sdk-version 29 \ --product default \ --version-code 29 --version-name 10.0.0 chrpath --replace /usr/lib/x86_64-linux-gnu/android debian/out/aapt2 debian/out/aapt2: RUNPATH=debian/out debian/out/aapt2: new RUNPATH: /usr/lib/x86_64-linux-gnu/android make[1]: Leaving directory '/build/android-platform-frameworks-base-sbVDSn/android-platform-frameworks-base-10.0.0+r36' create-stamp debian/debhelper-build-stamp dh_prep -i dh_install -i dh_installdocs -i dh_installchangelogs -i dh_installman -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'android-framework-res' in '../android-framework-res_10.0.0+r36-3_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../android-platform-frameworks-base_10.0.0+r36-3_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/android-platform-frameworks-base-sbVDSn /tmp/android-platform-frameworks-base-10.0.0+r36-3ofybldv0 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.SJbYu5Ypvd... I: success in 1420.2375 seconds md5: android-framework-res_10.0.0+r36-3_all.deb: OK sha1: android-framework-res_10.0.0+r36-3_all.deb: OK sha256: android-framework-res_10.0.0+r36-3_all.deb: OK Checksums: OK