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

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1015605: qca2: ftbfs with LTO (link time optimization) enabled
Reply-To: Matthias Klose <[email protected]>, [email protected]
Resent-From: Matthias Klose <[email protected]>
Resent-To: Debian Qt/KDE Maintainers <[email protected]>
Resent-Date: Tue, 19 Jul 2022 17:04:28 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Loop: [email protected]
X-Debian-PR-Message: report 1015605
X-Debian-PR-Package: src:qca2
X-Debian-PR-Keywords: bookworm sid
X-Debian-PR-Source: qca2
Received: via spool by [email protected] id=M.165824993530596
          (code M); Tue, 19 Jul 2022 17:04:28 +0000
Received: (at maintonly) by bugs.debian.org; 19 Jul 2022 16:58:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-122.0 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_PACKAGE,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,TXREP,
	USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
	autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 79; hammy, 150; neutral, 85; spammy,
	0. spammytokens: hammytokens:0.000-+--H*F:U*doko, 0.000-+--bookworm,
	0.000-+--H*m:paradis, 0.000-+--H*MI:paradis, 0.000-+--qalogsdebiannet
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:59790)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1oDqYh-0007vA-BW
	for [email protected]; Tue, 19 Jul 2022 16:58:55 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:38372)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1oDqYh-00Bpx5-6t
	for [email protected]; Tue, 19 Jul 2022 16:58:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	 s=smtpauto.paradis; h=Date:Message-Id:Content-Transfer-Encoding:Content-Type
	:MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
	In-Reply-To:References; bh=1VBabgN+/mAbkkG3KY9plAn0rX0lWXljohhstqiO070=; b=Pp
	ckZOYtXAP/zd4HUFPWEvNcn2DtVjrjro40kBwf/rOzKyOQuuUiovMTsIE0z26IvDuQz4VFHzQJbnT
	ZtkDJH8i4REw4tPcr7c1AjFvUlwoW7Dg9S8+TUo24nGwS2bsbbft+WJ3Rflay8AK1vN+hgslNdr4I
	F3jU6IT9hFuGHc3S3VwR54ttwSf7emKh48PsVZWOe1cCbI5GOiCQMqPPx2DPywPBn6iOkJZ1dKxOo
	wczKiQFmnpXcjPe/mGcBTdSlyueA0B5OHI10MGLtYEc6ShdAXA8HfhdbJgeJ1o10JfcmceU1sphC/
	+N9RK+jxLnj80pJpSL44IFKmLO0/jsqQ==;
Received: from doko by paradis.debian.org with local (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1oDqYd-0007kj-IO
	for [email protected]; Tue, 19 Jul 2022 16:58:51 +0000
To: [email protected]
From: Matthias Klose <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Date: Tue, 19 Jul 2022 16:58:51 +0000
Delivered-To: [email protected]
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

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:50:25 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.