Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 891999

Summary: sys-libs/pkgcraft-0.0.4 fails tests (MUSL-SYSTEM): fatal runtime error: failed to initiate panic, error 5
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-25 10:28:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/pkgcraft-0.0.4 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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-25 10:28:46 UTC
Created attachment 849179 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-25 10:28:46 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


thread '<unnamed>' panicked at 'failed creating shm: shm_open(): EACCES: Permission denied', /var/tmp/portage/sys-libs/pkgcraft-0.0.4/work/cargo_home/gentoo/scallop-0.0.3/src/shell.rs:18:62
fatal runtime error: failed to initiate panic, error 5
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-26 08:06:36 UTC
Why can't it open /dev/shm?
Comment 4 Tim Harder gentoo-dev 2023-09-23 18:31:57 UTC
Closing this because:

1. sys-libs/pkgcraft shouldn't run tests as none exist for it upstream, it's tested via the bindings that make use of it
2. A static binary version of pkgcraft-tools is built using musl upstream and doesn't appear to have any issues.