https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/netgen-6.2.2204 fails tests (HARDENED-SYSTEM). Discovered on: amd64 (internal ref: hardened_tinderbox) NOTE: (HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Created attachment 852238 [details] build.log build log and emerge --info
Created attachment 852240 [details] 1-LastTest.log 1-LastTest.log
2/6 Testing: unit_archive 2/6 Test: unit_archive Command: "/var/tmp/portage/media-gfx/netgen-6.2.2204/work/netgen-6.2.2204_build/tests/catch/test_archive" Directory: /var/tmp/portage/media-gfx/netgen-6.2.2204/work/netgen-6.2.2204_build/tests/catch "unit_archive" start time: Feb 17 14:35 CET Output: ---------------------------------------------------------- /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = int*; _Alloc = std::allocator<int*>; reference = int*&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58fa2c46450b4fc8c410a8307fc9099af7e8f27 commit b58fa2c46450b4fc8c410a8307fc9099af7e8f27 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2023-02-15 12:49:47 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-02-23 11:33:19 +0000 media-gfx/netgen: add 6.2.2301 - enable support for py3.11 Closes: https://bugs.gentoo.org/895128 Closes: https://bugs.gentoo.org/894586 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/29593 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> media-gfx/netgen/Manifest | 2 +- .../netgen-6.2.2204-use-external-pybind11.patch | 30 ---- ...tgen-6.2.2301-find-libjpeg-turbo-library.patch} | 10 +- ...gen-6.2.2301-fix-nullptr-deref-in-archive.patch | 31 ++++ media-gfx/netgen/netgen-6.2.2301.ebuild | 157 +++++++++++++++++++++ 5 files changed, 194 insertions(+), 36 deletions(-)