Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Krap Maintainers <[email protected]>.
(Tue, 19 Jul 2022 16:57:01 GMT) (full text, mbox, link).
Subject: grantlee5: ftbfs with LTO (link time optimization) enabled
Date: Tue, 19 Jul 2022 16:52:41 +0000
Package: src:grantlee5
Version: 5.2.0-3
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/grantlee5_5.2.0-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag02)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag03)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag04)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag05)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag06)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag07)
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag08)
4: QWARN : TestDefaultTags::testAutoescapeTag(autoescape-tag09) grantlee.template: "autoescape takes two arguments., line 0, autoescape-tag09"
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag09)
4: QWARN : TestDefaultTags::testAutoescapeTag(autoescape-tag10) grantlee.template: "argument must be 'on' or 'off', line 0, autoescape-tag10"
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-tag10)
4: QWARN : TestDefaultTags::testAutoescapeTag(autoescape-filtertag01) grantlee.template: "Use the \"autoescape\" tag instead., line 0, autoescape-filtertag01"
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-filtertag01)
4: QWARN : TestDefaultTags::testAutoescapeTag(autoescape-filtertag02) grantlee.template: "Use the \"autoescape\" tag instead., line 0, autoescape-filtertag02"
4: PASS : TestDefaultTags::testAutoescapeTag(autoescape-filtertag02)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag01)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag02)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag03)
4: QWARN : TestDefaultTags::testMediaFinderTag(media_finder-tag04) grantlee.template: "'media_finder' tag requires at least one argument, line 0, media_finder-tag04"
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag04)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag05)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag06)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag07)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag08)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag09)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag10)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag11)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag12)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag13)
4: PASS : TestDefaultTags::testMediaFinderTag(media_finder-tag14)
4: PASS : TestDefaultTags::testRangeTag(range-tag01)
4: PASS : TestDefaultTags::testRangeTag(range-tag02)
4: PASS : TestDefaultTags::testRangeTag(range-tag03)
4: PASS : TestDefaultTags::testRangeTag(range-tag04)
4: PASS : TestDefaultTags::testRangeTag(range-tag05)
4: QWARN : TestDefaultTags::testRangeTag(range-tag06) grantlee.template: "'range' tag requires at least three arguments, line 0, range-tag06"
4: PASS : TestDefaultTags::testRangeTag(range-tag06)
4: QWARN : TestDefaultTags::testRangeTag(range-tag07) grantlee.template: "Invalid arguments to 'range' tag, line 0, range-tag07"
4: PASS : TestDefaultTags::testRangeTag(range-tag07)
4: PASS : TestDefaultTags::testDebugTag(debug-tag01)
4: PASS : TestDefaultTags::testDebugTag(debug-tag02)
4: QWARN : TestDefaultTags::testLoadTag(load-tag01) grantlee.template: "Plugin library 'does_not_exist' not found., line 0, load-tag01"
4: PASS : TestDefaultTags::testLoadTag(load-tag01)
4: PASS : TestDefaultTags::testUrlTypes(url-types01)
4: PASS : TestDefaultTags::testUrlTypes(url-types02)
4: PASS : TestDefaultTags::testUrlTypes(url-types03)
4: PASS : TestDefaultTags::testUrlTypes(url-types04)
4: PASS : TestDefaultTags::testRelativePaths(relativepaths01)
4: PASS : TestDefaultTags::testRelativePaths(relativepaths02)
4: PASS : TestDefaultTags::testRelativePaths(relativepaths03)
4: PASS : TestDefaultTags::testRelativePaths(relativepaths04)
4: PASS : TestDefaultTags::cleanupTestCase()
4: Totals: 342 passed, 0 failed, 0 skipped, 0 blacklisted, 142ms
4: ********* Finished testing of TestDefaultTags *********
12/12 Test #4: testdefaulttags .................. Passed 0.16 sec
92% tests passed, 1 tests failed out of 12
Total Test time (real) = 0.16 sec
The following tests FAILED:
12 - plainmarkupbuildertest (Subprocess aborted)
Errors while running CTest
make[2]: *** [Makefile:94: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
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/.