debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07699
[Bug 2124952] Re: graphite2 ftbfs in questing archive rebuild
The Debian maintainer tried to use g++ 14 to workaround the arm64 build
failure. This worked for Debian, but this error was produced in
Ubuntu(which enables LTO by default):
lto1: fatal error: bytecode stream in file
‘CMakeFiles/graphite2.dir/direct_machine.cpp.o’ generated with LTO
version 14.0 instead of the expected 15.1
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to graphite2 in Ubuntu.
https://bugs.launchpad.net/bugs/2124952
Title:
graphite2 ftbfs in questing archive rebuild
Status in graphite2 package in Ubuntu:
Triaged
Bug description:
The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html
/<<PKGBUILDDIR>>/tests/featuremap/featuremaptest.cpp: In function ‘void testFeatTable(const T&, const std::string&)’:
/<<PKGBUILDDIR>>/tests/featuremap/featuremaptest.cpp:310:14: error: ‘uint16_t’ was not declared in this scope [-Wtemplate-body]
310 | for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
| ^~~~~~~~
/<<PKGBUILDDIR>>/tests/featuremap/featuremaptest.cpp:310:14: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/<<PKGBUILDDIR>>/tests/featuremap/featuremaptest.cpp:310:30: error: ‘j’ was not declared in this scope [-Wtemplate-body]
310 | for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
| ^
make[3]: *** [tests/featuremap/CMakeFiles/featuremaptest.dir/build.make:82: tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:741: tests/featuremap/CMakeFiles/featuremaptest.dir/all] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphite2/+bug/2124952/+subscriptions
References