https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/zxing-cpp-1.2.0 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 712704 [details] build.log build log and emerge --info
Created attachment 712707 [details] 1-CMakeError.log 1-CMakeError.log
Created attachment 712710 [details] 1-CMakeOutput.log 1-CMakeOutput.log
Created attachment 712713 [details] 2-CMakeOutput.log 2-CMakeOutput.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8488497cc29da9301c84812f504d813f816bff commit 2b8488497cc29da9301c84812f504d813f816bff Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-06-24 09:06:31 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-06-24 09:06:31 +0000 media-libs/zxing-cpp: Drop tests due to upstream use of FetchContent Upstream commits: fad045ff2e53e2a69f7b091cfe77e8bea31222b6 c0c3e0b306d78efae9f0af02e3cc20126ff8ebe4 Closes: https://bugs.gentoo.org/793173 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c62bd26e15d585d1516010cdbde0d809fd5ae8 commit d5c62bd26e15d585d1516010cdbde0d809fd5ae8 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-17 20:10:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-17 20:18:24 +0000 media-libs/zxing-cpp: wire up tests Fortunately, the situation has improved since bug #793173. Wire up the tests accordingly. Note that upstream do say that the unit tests option "shouldn't be used in production builds". My assumption is that this is because of it setting ZXING_BUILD_FOR_TEST, but when looking at use of that, I can't see anything harmful. Bug: https://bugs.gentoo.org/793173 Signed-off-by: Sam James <sam@gentoo.org> media-libs/zxing-cpp/Manifest | 1 + media-libs/zxing-cpp/zxing-cpp-2.2.1-r1.ebuild | 48 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+)