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

Bug 182103

Summary: sys-apps/coreutils-6.9-r1 userpriv+usersandbox+test = failure
Product: Gentoo Linux Reporter: Steffen Bergner <steffen.bergner>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, esqualante, jakub.januszkiewicz, mrdanwallis
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: logfiles

Description Steffen Bergner 2007-06-15 09:38:11 UTC
problem:
 coreutils tests fail when using FEATURES="userpriv"

steps to reproduce:
 FEATURES="test userpriv usersandbox" emerge "=sys-apps/coreutils-6.9-r1"

additional info:
 filesystem xfs
 tested with *FLAGS="-march=i386"

failure screen:
==================
All 1 tests passed
==================
make[3]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/head'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/head'
Making check in install
make[2]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/install'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/install'
PASS: trap
ginstall: cannot create directory `rel': Permission denied
ginstall: cannot create directory `rel': Permission denied
FAIL: basic-1
PASS: create-leading
PASS: d-slashdot
======================================
1 of 4 tests failed
Please report to bug-coreutils@gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/install'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/install'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-6.9-r1 failed.
Call stack:
  ebuild.sh, line 1629:   Called dyn_test
  ebuild.sh, line 1035:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  coreutils-6.9-r1.ebuild, line 114:   Called die

!!! make check failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/coreutils-6.9-r1/temp/build.log'.
Comment 1 Steffen Bergner 2007-06-15 09:43:23 UTC
Created attachment 122120 [details]
logfiles

- attached zip with 2 logs

  FEATURES="userpriv test usersandbox" emerge "=sys-apps/coreutils-6.9-r1" | tee coreutils-6_9-r1_i386_userpriv_FAILED.log

  emerge --info >emerge_info.txt
Comment 2 Jakub Januszkiewicz 2007-12-06 01:23:54 UTC
A dupe of #152111?
Comment 3 Dan Wallis 2007-12-12 17:35:59 UTC
I get this too; same exact error. Looks different (but probably related) to bug 152111.
Comment 4 MichaƂ Kiedrowicz 2008-03-18 22:52:50 UTC
For me, make check with userpriv && usersandbox fails following tests:
FAIL: basic-1.log
FAIL: p-3.log
FAIL: not-owner.log
FAIL: fail-diag.log
FAIL: test-getaddrinfo

make check run without this FEATURES succeeds.
Comment 5 SpanKY gentoo-dev 2009-03-12 13:15:33 UTC
should be fixed with sandbox-1.6 and coreutils-7.1