[From nobody Thu Oct  1 18:23:05 2026
Received: (at maintonly) by bugs.debian.org; 19 Jul 2022 16:51:40 +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=-123.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,HAS_PACKAGE,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, 88; hammy, 150; neutral, 168; spammy,
 0. spammytokens: hammytokens:0.000-+--H*F:U*doko,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--bookworm, 0.000-+--H*MI:paradis
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:57712)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=mailly.debian.org, EMAIL=hostmaster@mailly.debian.org (verified)
 by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1oDqRg-0005PP-1G
 for maintonly@bugs.debian.org; Tue, 19 Jul 2022 16:51:40 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:42464)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1oDqRf-00CA9H-JI
 for maintonly@bugs.debian.org; Tue, 19 Jul 2022 16:51:38 +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=SuitNsFm5SchW2KXgSeV3MOPqZiQDBxpvSnSAtXzpSQ=; b=Nf
 nsRnJCkHdE/naBMRZCTuS7HZpfSWm9w74Mzl3DAZIDM4sxGD7uTI5JbXfOAOLeZZZkJxc00oOJBo9
 IVZ67ef4piolTo17elmwuebZye37o4h1uYki10WA/WxuAfqQZ7wK/pbXhN1zBIV6fj/C+KEQEYzjY
 qppsRnCYcp+i373ZNQGQk3VJqUoV0tDaWLaJNiKRcrC/vNyCSdn7GODoZEjOjoShNJVKZJhXRb+cr
 5kvE/jBZdBdOShvVhHZwoe0sA3Tf8yim4njKodP7KcZeruV1uDz2izTXG+aJVLAJKU/FAz0vH31qe
 4qOd4bch9e6K5q4vX3TAZo/PhX+GVi7g==;
Received: from doko by paradis.debian.org with local (Exim 4.92)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1oDqRc-0006PJ-V7
 for maintonly@bugs.debian.org; Tue, 19 Jul 2022 16:51:36 +0000
To: maintonly@bugs.debian.org
Subject: dtkcore: ftbfs with LTO (link time optimization) enabled
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1oDqRc-0006PJ-V7@paradis.debian.org&gt;
Date: Tue, 19 Jul 2022 16:51:36 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:dtkcore
Version: 5.5.31-1
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
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 &quot;optimize=+lto&quot; 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/dtkcore_5.5.31-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
    Which is: {}
  QString(&quot;FileBackend&quot;)
    Which is: { 2-byte object &lt;46-00&gt;, 2-byte object &lt;69-00&gt;, 2-byte object &lt;6C-00&gt;, 2-byte object &lt;65-00&gt;, 2-byte object &lt;42-00&gt;, 2-byte object &lt;61-00&gt;, 2-byte object &lt;63-00&gt;, 2-byte object &lt;6B-00&gt;, 2-byte object &lt;65-00&gt;, 2-byte object &lt;6E-00&gt;, 2-byte object &lt;64-00&gt; }
[  FAILED  ] ut_DConfig.backend (0 ms)
[ RUN      ] ut_DConfig.isValid
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; Can't load meta file from local prefix: &quot;/tmp/example&quot;
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; DConfig is invalid of appid=deepin-test-dtk name=example, subpath=
ut_dconfig.cpp:72: Failure
Value of: config.isValid()
  Actual: false
Expected: true
[  FAILED  ] ut_DConfig.isValid (0 ms)
[ RUN      ] ut_DConfig.value
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; Can't load meta file from local prefix: &quot;/tmp/example&quot;
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; DConfig is invalid of appid=deepin-test-dtk name=example, subpath=
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; DConfig is invalid of appid=deepin-test-dtk name=example, subpath=
ut_dconfig.cpp:83: Failure
Expected equality of these values:
  config.value(&quot;key2&quot;).toString()
    Which is: {}
  QString(&quot;126&quot;)
    Which is: { 2-byte object &lt;31-00&gt;, 2-byte object &lt;32-00&gt;, 2-byte object &lt;36-00&gt; }
[  FAILED  ] ut_DConfig.value (0 ms)
[ RUN      ] ut_DConfig.keyList
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; Can't load meta file from local prefix: &quot;/tmp/example&quot;
No appenders assotiated with category dtk.dsg.config
[Warning] &lt;&gt; DConfig is invalid of appid=deepin-test-dtk name=example, subpath=
ut_dconfig.cpp:125: Failure
Value of: config.keyList().contains(item)
  Actual: false
Expected: true
[  FAILED  ] ut_DConfig.keyList (1 ms)
[ RUN      ] ut_DConfig.OtherAppConfigfile
[       OK ] ut_DConfig.OtherAppConfigfile (0 ms)
[----------] 5 tests from ut_DConfig (3 ms total)

[----------] 4 tests from ut_DAsync
[ RUN      ] ut_DAsync.testRunInCorrectThread
[       OK ] ut_DAsync.testRunInCorrectThread (0 ms)
[ RUN      ] ut_DAsync.testRunInSubThread
[       OK ] ut_DAsync.testRunInSubThread (400 ms)
[ RUN      ] ut_DAsync.testOneTimeTask
[       OK ] ut_DAsync.testOneTimeTask (0 ms)
[ RUN      ] ut_DAsync.testFixedApi
[       OK ] ut_DAsync.testFixedApi (302 ms)
[----------] 4 tests from ut_DAsync (704 ms total)

[----------] Global test environment tear-down
[==========] 107 tests from 22 test suites ran. (2508 ms total)
[  PASSED  ] 103 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] ut_DConfig.backend
[  FAILED  ] ut_DConfig.isValid
[  FAILED  ] ut_DConfig.value
[  FAILED  ] ut_DConfig.keyList

 4 FAILED TESTS
make[2]: *** [Makefile:582: check] Error 1
make[2]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;/tests'
make[1]: *** [Makefile:381: sub-tests-check_ordered] Error 2
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
dh_auto_test: error: make -j8 check returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]