#1015610 qoauth: ftbfs with LTO (link time optimization) enabled

#1015610#5
Date:
2022-07-19 16:59:03 UTC
From:
To:
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/qoauth_2.0.1~1-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_makeshlibs -O--parallel
dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqoauth2/DEBIAN/symbols doesn't match completely debian/libqoauth2.symbols
--- debian/libqoauth2.symbols (libqoauth2_2.0.1~1-3_amd64)
+++ dpkg-gensymbolsxXxQ5f	2022-06-10 09:01:52.538080385 +0000
@@ -1,18 +1,18 @@
 libqoauth.so.2 libqoauth2 #MINVER#
- _ZN10QByteArrayD1Ev@Base 2.0.1~1
- _ZN10QByteArrayD2Ev@Base 2.0.1~1
- (optional=templinst)_ZN18QAlgorithmsPrivate11qSortHelperIN5QListI10QByteArrayE8iteratorES2_5qLessIS2_EEEvT_S7_RKT0_T1_@Base 2.0.1~1
- (optional=templinst)_ZN4QMapI10QByteArrayS0_EC1ERKS1_@Base 2.0.1~1
- (optional=templinst)_ZN4QMapI10QByteArrayS0_EC2ERKS1_@Base 2.0.1~1
- (optional=templinst)_ZN4QMapI10QByteArrayS0_ED1Ev@Base 2.0.1~1
- (optional=templinst)_ZN4QMapI10QByteArrayS0_ED2Ev@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayE13detach_helperEi@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayE18detach_helper_growEii@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayE6appendERKS0_@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayEC1ERKS1_@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayEC2ERKS1_@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayED1Ev@Base 2.0.1~1
- (optional=templinst)_ZN5QListI10QByteArrayED2Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# _ZN10QByteArrayD1Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# _ZN10QByteArrayD2Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN18QAlgorithmsPrivate11qSortHelperIN5QListI10QByteArrayE8iteratorES2_5qLessIS2_EEEvT_S7_RKT0_T1_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN4QMapI10QByteArrayS0_EC1ERKS1_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN4QMapI10QByteArrayS0_EC2ERKS1_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN4QMapI10QByteArrayS0_ED1Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN4QMapI10QByteArrayS0_ED2Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayE13detach_helperEi@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayE18detach_helper_growEii@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayE6appendERKS0_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayEC1ERKS1_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayEC2ERKS1_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayED1Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN5QListI10QByteArrayED2Ev@Base 2.0.1~1
  _ZN6QOAuth16InterfacePrivate10ParamNonceE@Base 2.0.1~1
  _ZN6QOAuth16InterfacePrivate10ParamTokenE@Base 2.0.1~1
  _ZN6QOAuth16InterfacePrivate10replyToMapERK10QByteArray@Base 2.0.1~1
@@ -62,10 +62,10 @@
  _ZN6QOAuth9InterfaceD0Ev@Base 2.0.1~1
  _ZN6QOAuth9InterfaceD1Ev@Base 2.0.1~1
  _ZN6QOAuth9InterfaceD2Ev@Base 2.0.1~1
- _ZN7QStringD1Ev@Base 2.0.1~1
- _ZN7QStringD2Ev@Base 2.0.1~1
- (optional=templinst)_ZN8QMapNodeI10QByteArrayS0_E14destroySubTreeEv@Base 2.0.1~1
- (optional=templinst)_ZNK4QMapI10QByteArrayS0_E10uniqueKeysEv@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# _ZN7QStringD1Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# _ZN7QStringD2Ev@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZN8QMapNodeI10QByteArrayS0_E14destroySubTreeEv@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZNK4QMapI10QByteArrayS0_E10uniqueKeysEv@Base 2.0.1~1
  _ZNK6QOAuth9Interface10metaObjectEv@Base 2.0.1~1
  _ZNK6QOAuth9Interface11consumerKeyEv@Base 2.0.1~1
  _ZNK6QOAuth9Interface14consumerSecretEv@Base 2.0.1~1
@@ -73,8 +73,8 @@
  _ZNK6QOAuth9Interface15ignoreSslErrorsEv@Base 2.0.1~1
  _ZNK6QOAuth9Interface20networkAccessManagerEv@Base 2.0.1~1
  _ZNK6QOAuth9Interface5errorEv@Base 2.0.1~1
- (optional=templinst)_ZNK8QMapDataI10QByteArrayS0_E8findNodeERKS0_@Base 2.0.1~1
- (optional=templinst)_ZNK8QMapNodeI10QByteArrayS0_E4copyEP8QMapDataIS0_S0_E@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZNK8QMapDataI10QByteArrayS0_E8findNodeERKS0_@Base 2.0.1~1
+#MISSING: 2.0.1~1-3# (optional=templinst)_ZNK8QMapNodeI10QByteArrayS0_E4copyEP8QMapDataIS0_S0_E@Base 2.0.1~1
  _ZTIN6QOAuth9InterfaceE@Base 2.0.1~1
  _ZTSN6QOAuth9InterfaceE@Base 2.0.1~1
  _ZTVN6QOAuth9InterfaceE@Base 2.0.1~1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

#1015610#14
Date:
2025-08-12 10:13:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
qoauth, 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 1015610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
наб <nabijaczleweli@nabijaczleweli.xyz> (supplier of updated qoauth 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 29 May 2025 17:43:59 +0200
Source: qoauth
Architecture: source
Version: 2.0.1~1-4
Distribution: unstable
Urgency: medium
Maintainer: Noah Meyerhans <noahm@debian.org>
Changed-By: наб <nabijaczleweli@nabijaczleweli.xyz>
Closes: 1015610 1102533
Changes:
 qoauth (2.0.1~1-4) unstable; urgency=medium
 .
   * Team upload of Debian team.
 .
   [ Jelmer Vernooij ]
   * Migrate repository from alioth to salsa.
 .
   [ наб ]
   * Standards-Version: 4.7.2 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Secure URI in copyright format (routine-update)
   * Rules-Requires-Root: no (routine-update)
   * Install qoauth.pc just once, in the multiarch path (Closes: #1102533)
   * d/p/0004: qSort -> std::sort per deprecation notice
   * d/rules: -fvisibility=hidden to no longer export random internal symbols
   * d/libqoauth2.symbols: remove spurious Qt symbols
     Closes: #1015610
   * priority-extra-is-replaced-by-priority-optional
 .
   [ Andreas Tille ]
   * Fix Homepage
   * Add watch file
   * d/copyright:
      - Secure URI
      - Review
Checksums-Sha1:
 1504fe12a467588767b79651d71f57d30935be21 2039 qoauth_2.0.1~1-4.dsc
 56153f2b0f09b8264206a08723910cb5308b4575 4632 qoauth_2.0.1~1-4.debian.tar.xz
 9674ddffd29f2c82d59f5080e997574f4259bd2e 10997 qoauth_2.0.1~1-4_amd64.buildinfo
Checksums-Sha256:
 c03a52e499b62440db41dcde274b084bd42282f71f750983f0fd37bc12d570b0 2039 qoauth_2.0.1~1-4.dsc
 81a84a6ab1f8ff23886123c6743e24251aaf7e5abfab0ce7a0594c83e8d9c7d0 4632 qoauth_2.0.1~1-4.debian.tar.xz
 856439fd507babbce480e4419ea7b1e51ceded0c13ef0f56243bb93a5ef7eac0 10997 qoauth_2.0.1~1-4_amd64.buildinfo
Files:
 1aef80550a4c5b0ab9295c90931db553 2039 libs optional qoauth_2.0.1~1-4.dsc
 138329795de89f986ea110c98a6d923b 4632 libs optional qoauth_2.0.1~1-4.debian.tar.xz
 79be295eccbb6a8f26318f538e6b11ae 10997 libs optional qoauth_2.0.1~1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmiHOv0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGucQ//XGEluD8I9CZ228Lf8uhKr/jKNNHiodCU
EDFQzSGxcvzErK1XO+FZ1W+zNZEtbFx/uFRdPuCF3UM2d7ybJ5tg1dhNgKZw+bby
D9inP0uwjbtu6eKJbWvy7zxRSHJ+hqWMz4uI8JC/1GZd4BH/5vlPwS84UQb9GOox
53ZQErWdlMJ5MM8xo7OXa23t2vrX43aqkiMH9ppSGDzda6P6BYWVvAYo88jEFOUZ
5+bkevT97i5qZVm/hPPedCTRVpWtBKMmXcUN9cqIU2CuG1Q0gXE8klFrP4BZKb35
HIXnCZF8COaSRbzvz2V9vLzh7U0dE3EsORRBSpV8F27aB9cEgioJlVc+yvkddnn6
fxihtvtsgmt9LcqSECOHQTr0dFUgRsxWK3u4lLon+nTJkD9PTcQ7DVhDRUXEt0MN
jP2oPm0IS3B1fDBl7d8Qa4ctQ+KU8rJDl7Ss5vV/o21x2Z+wns+L71VTPiZN/nbQ
BvpmF2GBVuomnQ7MUS4qGmrBm9ny52zlPwz0TkBwR2nFbaroXXJNZ1bE/Kv96IJW
obtvn054iwn+2+OlUEyV/sTIJ8/1h4zY1JaGhfh6zL/uuAdK+zEJ4BIHA5Vy5X/M
XEVD8b4fcvbVXKxeDjbHHaNqhW5HZ4/68s3pUoarkxnXAx1iyjp3rH3atXeUPyvQ
3nqP5YK9FUM=
=N9yk
-----END PGP SIGNATURE-----