Your message dated Tue, 02 Aug 2022 15:35:31 +0000
with message-id <[email protected]>
and subject line Bug#1015355: fixed in android-platform-tools 29.0.6-21
has caused the Debian Bug report #1015355,
regarding android-platform-tools: ftbfs with LTO (link time optimization)
enabled
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1015355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015355
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:android-platform-tools
Version: 29.0.6-18
Severity: minor
Tags: sid bookworm
User: [email protected]
Usertags: ftbfs-lto
This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled. For a background
for LTO please see
https://wiki.debian.org/ToolChain/LTO
The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures. The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.
To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:
export DEB_BUILD_MAINT_OPTIONS = optimize=+lto
Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/android-platform-tools_29.0.6-18_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
clang++ -c -o system/core/base/liblog_symbols.o
system/core/base/liblog_symbols.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -std=gnu++2a -Wdate-time -D_FORTIFY_SOURCE=2
-DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64 -Isystem/core/base/include
-Isystem/core/include
clang++ -c -o system/core/base/logging.o system/core/base/logging.cpp -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang++ -c -o system/core/base/mapped_file.o system/core/base/mapped_file.cpp
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang++ -c -o system/core/base/parsebool.o system/core/base/parsebool.cpp -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clangclang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clangclang: : warning: warning: optimization flag '-ffat-lto-objects' is not
supported [-Wignored-optimization-argument]optimization flag
'-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang++ -c -o system/core/base/parsenetaddress.o
system/core/base/parsenetaddress.cpp -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang++ -c -o system/core/base/process.o system/core/base/process.cpp -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang++ -c -o system/core/base/properties.o system/core/base/properties.cpp -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang++ -c -o system/core/base/stringprintf.o system/core/base/stringprintf.cpp
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang++ -c -o system/core/base/strings.o system/core/base/strings.cpp -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang++ -c -o system/core/base/threads.o system/core/base/threads.cpp -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
system/core/base/logging.cpp:248:7: warning: array designators are a C99
extension [-Wc99-designator]
[android::base::VERBOSE] = 7, // KERN_DEBUG (there is no
verbose kernel log
^~~~~~~~~~~~~~~~~~~~~~~~
clang++ -c -o system/core/base/test_utils.o system/core/base/test_utils.cpp -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang++ -c -o system/core/base/errors_unix.o system/core/base/errors_unix.cpp
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++2a
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_FILE_OFFSET_BITS=64
-Isystem/core/base/include -Isystem/core/include
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
clang: warning: optimization flag '-ffat-lto-objects' is not supported
[-Wignored-optimization-argument]
1 warning generated.
clang++ system/core/base/abi_compatibility.o system/core/base/chrono_utils.o
system/core/base/cmsg.o system/core/base/file.o
system/core/base/liblog_symbols.o system/core/base/logging.o
system/core/base/mapped_file.o system/core/base/parsebool.o
system/core/base/parsenetaddress.o system/core/base/process.o
system/core/base/properties.o system/core/base/stringprintf.o
system/core/base/strings.o system/core/base/threads.o
system/core/base/test_utils.o system/core/base/errors_unix.o -o
debian/out/system/core/libbase.so.0 -flto=auto -ffat-lto-objects -Wl,-z,relro
-Wl,-z,now -fPIC -pie -Ldebian/out/system/core
-Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -Wl,-soname,libbase.so.0 -llog
-lpthread -shared
clang: warning: argument unused during compilation: '-pie'
[-Wunused-command-line-argument]
ln -sf libbase.so.0 debian/out/system/core/libbase.so
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=makefile --
--file=debian/external/libunwind/libunwind.mk
make -j8 "INSTALL=install --strip-program=true"
--file=debian/external/libunwind/libunwind.mk
make[2]: Entering directory '/<<PKGBUILDDIR>>'
clang -c -o external/libunwind/src/mi/init.o external/libunwind/src/mi/init.c
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/flush_cache.o
external/libunwind/src/mi/flush_cache.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/mempool.o
external/libunwind/src/mi/mempool.c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -fcommon -Werror -Wno-absolute-value
-Wno-header-guard -Wno-inline-asm -Wno-unused-parameter -Wdate-time
-D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG
-Idebian/include/external/libunwind -Iexternal/libunwind/include
-Iexternal/libunwind/src -Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/strerror.o
external/libunwind/src/mi/strerror.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/backtrace.o
external/libunwind/src/mi/backtrace.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/dyn-cancel.o
external/libunwind/src/mi/dyn-cancel.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/dyn-info-list.o
external/libunwind/src/mi/dyn-info-list.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang -c -o external/libunwind/src/mi/dyn-register.o
external/libunwind/src/mi/dyn-register.c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -fcommon
-Werror -Wno-absolute-value -Wno-header-guard -Wno-inline-asm
-Wno-unused-parameter -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG
-D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -Idebian/include/external/libunwind
-Iexternal/libunwind/include -Iexternal/libunwind/src
-Iexternal/libunwind/include/tdep-x86_64
clang: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
clangclang: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
clangclang: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
clang: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]clang: error: optimization flag
'-ffat-lto-objects' is not supported [-Werror,-Wignored-optimization-argument]
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/mempool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/dyn-register.o] Error 1
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/flush_cache.o] Error 1
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/dyn-cancel.o] Error 1
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/dyn-info-list.o] Error 1
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/init.o] Error 1
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/backtrace.o] Error 1
clang: error: optimization flag '-ffat-lto-objects' is not supported
[-Werror,-Wignored-optimization-argument]
make[2]: *** [debian/external/libunwind/libunwind.mk:175:
external/libunwind/src/mi/strerror.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true"
--file=debian/external/libunwind/libunwind.mk returned exit code 2
make[1]: *** [debian/rules:130: e/libunwind/libunwind.a] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:31: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: android-platform-tools
Source-Version: 29.0.6-21
Done: Roger Shimizu <[email protected]>
We believe that the bug you reported is fixed in the latest version of
android-platform-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roger Shimizu <[email protected]> (supplier of updated android-platform-tools
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 03 Aug 2022 00:23:27 +0900
Source: android-platform-tools
Architecture: source
Version: 29.0.6-21
Distribution: unstable
Urgency: medium
Maintainer: Android Tools Maintainers
<[email protected]>
Changed-By: Roger Shimizu <[email protected]>
Closes: 1015355 1016468
Changes:
android-platform-tools (29.0.6-21) unstable; urgency=medium
.
* Team upload.
* debian/{control,rules}: Sync with debian/exp branch.
* debian/rules: Export gdwarf-4 instead of ignoring dwz
(Closes: #1016468, #1015355).
Checksums-Sha1:
7bb3fc79993d002360fac9869d4813693fd0101d 4512
android-platform-tools_29.0.6-21.dsc
55bce0ffefb713504510e24df2a847d222c68323 102104
android-platform-tools_29.0.6-21.debian.tar.xz
8f347ea262e436995b5cc60bb6b042cd89376f88 5776
android-platform-tools_29.0.6-21_source.buildinfo
Checksums-Sha256:
da210c57c36c4863d9427c663258a7fe6c7501c4390a12c11bffb862e35d73d4 4512
android-platform-tools_29.0.6-21.dsc
1a91407e98bfb161da71e58c80ffc13a810eb7a451466fa8a188a469250688cc 102104
android-platform-tools_29.0.6-21.debian.tar.xz
f4d9a3153e9da0bb053148f2e4555e81ad9fe5264dd85c5c5d95fc6df6ee5fda 5776
android-platform-tools_29.0.6-21_source.buildinfo
Files:
0b9cff49b686f4aa740bd443c7c753f6 4512 devel optional
android-platform-tools_29.0.6-21.dsc
24695f68a7c02731206a3388c053dd00 102104 devel optional
android-platform-tools_29.0.6-21.debian.tar.xz
9ad31ae0615459b0a3e86115a59501b6 5776 devel optional
android-platform-tools_29.0.6-21_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEECjKtvoA5m+cWOFnspHhrDacDNKgFAmLpQeYQHHJvc2hAZGVi
aWFuLm9yZwAKCRCkeGsNpwM0qEHvEACPEYtklGOLAXbslCFAJiKDOSt54+BmT2vZ
63IRm52kAmy6qdHvs1LOwXgxtylWfKZhKgSyqeiDF+QmwFG1Xn6gUjtEaSZl3oh9
2RQUg177sJ/SI9RrV3/C/EICoksEonhqCcGWn/B22TiZL1t9wfKvz3JB+y7Bp7US
XgMaIyjsohin4QaTQ1wu9d5R7GjTP6BJONjOt33QuOR8xUDef3L0haFBoacq50Ug
y/2q83zAeJ0f0+F7uMZBgbft7dQwtsOFGowQ1ewFK/UM1YuYU/2REdWh6BQNy6M/
ZkHdlSRnPUXO9381ad/2lJtUxw7a0Ll+chRoObXwAP34A2XAvTqJroDUwA71494D
j9OD8BAwi5WhRssRqftnl3XoXWPtD7+jjuV/YZZwD5kxqqp5if5KYWYSNA7uu48o
azNRVO/JisK7pU4LdJCi2FQ7zVD+gUmJG4tkBG9urCLL3TlO6nhvrweyN7gNsolN
4nlPCoynf4vaEwzdOh9jLwtg+8zHnvAFyRgw2KLVz+4QCxBQNWzC84s7KZSUoxgz
jeW8AmqeBjWGWXjTyilNE7Epqecd0eeM9XeK7bQaEmCanddkVDAZym8sTJGKtJx1
524C2Vn8HO6LS5dyk38rIXzf9ah2qYRfmNl7puNKRIVRI6ApC55x/sl1G4Xy+LeS
/8fihb7CjA==
=liO0
-----END PGP SIGNATURE-----
--- End Message ---