Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895128 - media-gfx/netgen-6.2.2204 fails tests (HARDENED-SYSTEM): 2 - unit_archive (Subprocess aborted)
Summary: media-gfx/netgen-6.2.2204 fails tests (HARDENED-SYSTEM): 2 - unit_archive (Su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL: https://github.com/NGSolve/netgen/pul...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 884417
  Show dependency tree
 
Reported: 2023-02-17 13:56 UTC by Agostino Sarubbo
Modified: 2023-02-23 11:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,216.08 KB, text/plain)
2023-02-17 13:56 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,5.63 KB, text/plain)
2023-02-17 13:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-17 13:56:56 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-17 13:56:59 UTC
Created attachment 852238 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-17 13:57:00 UTC
Created attachment 852240 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-18 15:18:51 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2023-02-23 11:33:28 UTC
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(-)