https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-cpp/scitokens-cpp-1.1.0 fails tests (MUSL-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Created attachment 882825 [details] build.log build log and emerge --info
Created attachment 882826 [details] 1-LastTest.log 1-LastTest.log
Thanks for the report! Sadly, trying to reproduce with the latest Gentoo Docker images (stage3:musl and portage), I can't reproduce the test failures (tested via GitHub Actions at https://github.com/olifre/gentoo-musl-test ). I'll try to find whether there's a clean-cut difference between the Docker containers and the Tinderbox (one difference, for example, is that the Docker containers use stable versions which means a slightly older patchset of gcc 13.2.1). @Guilherme: Du you have an unstable musl system at hand on which it may be easier to reproduce?
Got it — this is not MUSL specific, and even hits the current stable version in tree, i.e. =dev-cpp/scitokens-cpp-1.0.2-r1. It appears on all hardened systems, and is very likely fixed via: https://github.com/scitokens/scitokens-cpp/pull/126 (which has not been reviewed by upstream in the past half year, likely due to upstream developer overload). I'll validate that this does indeed fix it and prepare a backport / downstream patch shortly (and also bump upstream). Thanks again!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6402e212219a2e9faa61f02099c0455e84817b7e commit 6402e212219a2e9faa61f02099c0455e84817b7e Author: Oliver Freyermuth <o.freyermuth@googlemail.com> AuthorDate: 2024-01-23 19:57:35 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2024-01-30 08:23:58 +0000 dev-cpp/scitokens-cpp: backport fix for invalid vector access Fixes tests on hardened systems and potential runtime errors. Closes: https://bugs.gentoo.org/922679 Closes: https://github.com/gentoo/gentoo/pull/34980 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org> ...scitokens-cpp-1.1.0-invalid-vector-access.patch | 24 +++++++++ .../scitokens-cpp/scitokens-cpp-1.0.2-r2.ebuild | 61 ++++++++++++++++++++++ .../scitokens-cpp/scitokens-cpp-1.1.0-r1.ebuild | 61 ++++++++++++++++++++++ 3 files changed, 146 insertions(+)