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

Bug 837392

Summary: sys-apps/findutils-4.9.0 fails tests on MUSL
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-test-suite.log
2-test-suite.log

Description Agostino Sarubbo gentoo-dev 2022-04-09 11:30:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/findutils-4.9.0 fails tests on MUSL.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-09 11:30:48 UTC
Created attachment 769634 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-04-09 11:30:49 UTC
Created attachment 769637 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-04-09 11:30:50 UTC
Created attachment 769640 [details]
2-test-suite.log

2-test-suite.log
Comment 4 Agostino Sarubbo gentoo-dev 2022-04-09 11:30:51 UTC
Error(s) that match a know pattern:


220 test files configured for find, 220 files on-diskWARNING: could not find 'runtest'
FAIL: test-getcwd.sh
WARNING: could not find 'runtest'
else echo "WARNING: could not find 'runtest'" 1>&2; :;\
Comment 5 Mike Gilbert gentoo-dev 2022-04-09 16:29:03 UTC
test-getcwd fails with exit status 7. It looks like a getcwd() call is failing with ENAMETOOLONG when it isn't supposed to.
Comment 6 Mike Gilbert gentoo-dev 2022-04-12 18:18:31 UTC
I can only reproduce this on musl with FEATURES="usersandbox". I works fine on glibc, and it works fine with the sandbox disabled.