Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923231 - dev-python/pythonnet-3.0.3 fails tests: test_codec.py::test_sequence Fatal Python error: Aborted
Summary: dev-python/pythonnet-3.0.3 fails tests: test_codec.py::test_sequence Fatal Py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 08:15 UTC by Agostino Sarubbo
Modified: 2024-01-31 18:54 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,83.67 KB, text/plain)
2024-01-29 08:15 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 2024-01-29 08:15:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pythonnet-3.0.3 installs shared libraries that lack NEEDED entries.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM
Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0011
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-29 08:15:17 UTC
Created attachment 883527 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-29 08:15:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/dev-python/pythonnet-3.0.3/temp/environment: line 3122: 10783 Segmentation fault      "${@}"
Fatal Python error: Segmentation fault
tests/test_codec.py::test_sequence Fatal Python error: Aborted
Comment 3 Maciej Barć gentoo-dev 2024-01-30 14:06:11 UTC
> installs shared libraries that lack NEEDED entries

Where is that? All I see in the log is a test failure.
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-30 14:19:01 UTC
(In reply to Maciej Barć from comment #3)
> > installs shared libraries that lack NEEDED entries
> 
> Where is that? All I see in the log is a test failure.

It is just an error, thanks for let me know.
Comment 5 Larry the Git Cow gentoo-dev 2024-01-30 19:58:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f63fe941833f3cd698a7e7dab7ebf0d2cb3a3c9

commit 4f63fe941833f3cd698a7e7dab7ebf0d2cb3a3c9
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-01-30 15:01:52 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-01-30 19:58:38 +0000

    dev-python/pythonnet: deselect test_sequence
    
    Closes: https://bugs.gentoo.org/923231
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-python/pythonnet/pythonnet-3.0.3.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-31 13:46:20 UTC
Please include some rationale when skipping a test because it segfaulted.

Segfaults are serious and need to be investigated, really.
Comment 7 Maciej Barć gentoo-dev 2024-01-31 13:49:02 UTC
(In reply to Sam James from comment #6)
> Please include some rationale when skipping a test because it segfaulted.
> 
> Segfaults are serious and need to be investigated, really.

I think musl devs interested in .NET will gladly look into this issue, I could not reproduce on my machine.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-31 13:55:01 UTC
Then you should only skip it on musl and add an explanation in the commit message and comment?

And ideally ask some musl people to look..
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-31 13:55:41 UTC
In fact, didn't vimproved mention lots of musl segfaults since the Patchelf hack?
Comment 10 Maciej Barć gentoo-dev 2024-01-31 13:56:32 UTC
(In reply to Sam James from comment #9)
> In fact, didn't vimproved mention lots of musl segfaults since the Patchelf
> hack?

I know nothing about that. That would be quite interesting.