Debian Bug report logs - #1015605
qca2: ftbfs with LTO (link time optimization) enabled

version graph

Package: src:qca2; Maintainer for src:qca2 is Debian Qt/KDE Maintainers <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Tue, 19 Jul 2022 17:04:28 UTC

Severity: minor

Tags: sid, trixie

Found in version qca2/2.3.4-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Qt/KDE Maintainers <[email protected]>:
Bug#1015605; Package src:qca2. (Tue, 19 Jul 2022 17:04:30 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Qt/KDE Maintainers <[email protected]>. (Tue, 19 Jul 2022 17:04:30 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: qca2: ftbfs with LTO (link time optimization) enabled
Date: Tue, 19 Jul 2022 16:58:51 +0000
Package: src:qca2
Version: 2.3.4-1
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/qca2_2.3.4-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
  _ZTIN3QCA12KeyGenerator7PrivateE@Base 2.0.2
  _ZTIN3QCA12KeyGeneratorE@Base 2.0.2
- _ZTIN3QCA12RSAPublicKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTIN3QCA12RSAPublicKeyE@Base 2.0.2
  _ZTIN3QCA12Synchronizer7PrivateE@Base 2.0.2
  _ZTIN3QCA12SynchronizerE@Base 2.0.2
  _ZTIN3QCA13CipherContextE@Base 2.0.2
  _ZTIN3QCA13ConsolePrompt7PrivateE@Base 2.0.2
  _ZTIN3QCA13ConsolePromptE@Base 2.0.2
- _ZTIN3QCA13DSAPrivateKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTIN3QCA13DSAPrivateKeyE@Base 2.0.2
  _ZTIN3QCA13KeyStoreEntryE@Base 2.0.2
  _ZTIN3QCA13PGPKeyContextE@Base 2.0.2
  _ZTIN3QCA13PKCS12ContextE@Base 2.0.2
  _ZTIN3QCA13PasswordAsker7PrivateE@Base 2.0.2
  _ZTIN3QCA13PasswordAskerE@Base 2.0.2
- _ZTIN3QCA13RSAPrivateKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTIN3QCA13RSAPrivateKeyE@Base 2.0.2
  _ZTIN3QCA13RandomContextE@Base 2.0.2
  _ZTIN3QCA13SecureMessage7PrivateE@Base 2.0.2
  _ZTIN3QCA13SecureMessageE@Base 2.0.2
@@ -1995,12 +1996,12 @@
  _ZTVN3QCA10SyncThreadE@Base 2.0.2
  _ZTVN3QCA10TLSContextE@Base 2.0.2
  _ZTVN3QCA10TLSSessionE@Base 2.0.2
- _ZTVN3QCA10TextFilterE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA10TextFilterE@Base 2.0.2
  _ZTVN3QCA10TokenAsker7PrivateE@Base 2.0.2
  _ZTVN3QCA10TokenAskerE@Base 2.0.2
  _ZTVN3QCA11CertContextE@Base 2.0.2
  _ZTVN3QCA11CertificateE@Base 2.0.2
- _ZTVN3QCA11DHPublicKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA11DHPublicKeyE@Base 2.0.2
  _ZTVN3QCA11HKDFContextE@Base 2.2.1
  _ZTVN3QCA11HashContextE@Base 2.0.2
  _ZTVN3QCA11InfoContextE@Base 2.0.2
@@ -2010,25 +2011,25 @@
  _ZTVN3QCA11SASLContextE@Base 2.0.2
  _ZTVN3QCA11SecureLayerE@Base 2.0.2
  _ZTVN3QCA12BasicContextE@Base 2.0.2
- _ZTVN3QCA12DHPrivateKeyE@Base 2.0.2
- _ZTVN3QCA12DSAPublicKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA12DHPrivateKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA12DSAPublicKeyE@Base 2.0.2
  _ZTVN3QCA12EventHandler7PrivateE@Base 2.0.2
  _ZTVN3QCA12EventHandlerE@Base 2.0.2
  _ZTVN3QCA12KeyGenerator7PrivateE@Base 2.0.2
  _ZTVN3QCA12KeyGeneratorE@Base 2.0.2
- _ZTVN3QCA12RSAPublicKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA12RSAPublicKeyE@Base 2.0.2
  _ZTVN3QCA12Synchronizer7PrivateE@Base 2.0.2
  _ZTVN3QCA12SynchronizerE@Base 2.0.2
  _ZTVN3QCA13CipherContextE@Base 2.0.2
  _ZTVN3QCA13ConsolePrompt7PrivateE@Base 2.0.2
  _ZTVN3QCA13ConsolePromptE@Base 2.0.2
- _ZTVN3QCA13DSAPrivateKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA13DSAPrivateKeyE@Base 2.0.2
  _ZTVN3QCA13KeyStoreEntryE@Base 2.0.2
  _ZTVN3QCA13PGPKeyContextE@Base 2.0.2
  _ZTVN3QCA13PKCS12ContextE@Base 2.0.2
  _ZTVN3QCA13PasswordAsker7PrivateE@Base 2.0.2
  _ZTVN3QCA13PasswordAskerE@Base 2.0.2
- _ZTVN3QCA13RSAPrivateKeyE@Base 2.0.2
+#MISSING: 2.3.4-1# _ZTVN3QCA13RSAPrivateKeyE@Base 2.0.2
  _ZTVN3QCA13RandomContextE@Base 2.0.2
  _ZTVN3QCA13SecureMessage7PrivateE@Base 2.0.2
  _ZTVN3QCA13SecureMessageE@Base 2.0.2
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Added tag(s) trixie. Request was from Sebastian Ramacher <[email protected]> to [email protected]. (Sun, 11 Jun 2023 15:49:06 GMT) (full text, mbox, link).


Removed tag(s) bookworm. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Fri, 13 Oct 2023 10:30:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:51:28 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.