Description of problem: While rebuilding latest coreutils from Rawhide, I get the following error messages: [...] make[3]: Leaving directory `/usr/src/redhat/BUILD/coreutils-5.92/tests/misc' make[2]: Leaving directory `/usr/src/redhat/BUILD/coreutils-5.92/tests/misc' Making check in mkdir make[2]: Entering directory `/usr/src/redhat/BUILD/coreutils-5.92/tests/mkdir' make check-TESTS make[3]: Entering directory `/usr/src/redhat/BUILD/coreutils-5.92/tests/mkdir' FAIL: p-3 PASS: p-1 PASS: p-2 PASS: special-1 PASS: perm PASS: parents PASS: t-slash ====================================== 1 of 7 tests failed Please report to bug-coreutils ====================================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/coreutils-5.92/tests/mkdir' [...] Version-Release number of selected component (if applicable): coreutils-5.92-1 How reproducible: Everytime, try to rebuild latest coreutils. Actual results: Rebuilding of coreutils 5.92 fails at mkdir testing Expected results: Building without failure... ;-)
I am faced with this problem, too, if rebuilding rpm as root. This is because root can execute "mkdir" on the directory of no permission ( perhaps this is the default ). So the failure occurs at the line 29 of p-3 test.
This bug is perhaps fixed in coreutils-5.93-1 (at least for me, rebuilding coreutils 5.93-1 suceeds.) From /usr/share/doc/coreutils-5.93/ChangeLog.bz2: 2005-10-30 Paul Eggert <eggert.edu> * tests/mkdir/p-3: Require that the test be run as non-root. Problem and trivial fix reported by Theodoros V. Kalamatianos.