Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/follow-basic.exp ... Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/fprint-unwritable.exp ... FAIL: fprint-unwritable.old-O0, FAIL: fprint-unwritable.new-O0, FAIL: fprint-unwritable.old-O1, FAIL: fprint-unwritable.new-O1, FAIL: fprint-unwritable.old-O2, FAIL: fprint-unwritable.new-O2, FAIL: fprint-unwritable.old-O3, FAIL: fprint-unwritable.new-O3, Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/fprint0_stdout.exp ... Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/gnu-or.exp ... Reproducible: Always Steps to Reproduce: 1. FEATURES="test" emerge "=sys-apps/findutils-4.3.6" Expected Results: No failed tests. Please see attached log/text for more information.
Created attachment 120745 [details] emerge info and additional info Maybe important: filesystem - XFS Fails findutils like e2fsprogs on xfs-partitions now? (because a file handling test fails)
This seems to be a kernel (or where is open declared?) bug. mkdir tmp touch tmp/unt chmod 444 tmp/unt strace sh -c 'echo J >> tmp/unt ' open("tmp/unt", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied) sudo strace sh -c 'echo J >> tmp/unt ' open("tmp/unt", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
Sorry didn't know I hit that button.
(In reply to comment #2) > This seems to be a kernel (or where is open declared?) bug. > Same with: uname -a Linux ggpappdev1 2.6.21-gentoo-r1 #2 SMP Mon May 21 10:56:43 CEST 2007 i686 Intel(R) Xeon(R) CPU 5150 @ 2.66GHz GenuineIntel GNU/Linux (ccache and test enabled) Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/follow-basic.exp ... Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/fprint-unwritable.exp ... FAIL: fprint-unwritable.old-O0, FAIL: fprint-unwritable.new-O0, FAIL: fprint-unwritable.old-O1, FAIL: fprint-unwritable.new-O1, FAIL: fprint-unwritable.old-O2, FAIL: fprint-unwritable.new-O2, FAIL: fprint-unwritable.old-O3, FAIL: fprint-unwritable.new-O3, Running /var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find/testsuite/find.gnu/fprint0_stdout.exp ...
(In reply to comment #4) > (In reply to comment #2) > > This seems to be a kernel (or where is open declared?) bug. > > > > Same with: uname -a > Linux ggpappdev1 2.6.21-gentoo-r1 #2 SMP Mon May 21 10:56:43 CEST 2007 i686 > Intel(R) Xeon(R) CPU 5150 @ 2.66GHz GenuineIntel GNU/Linux and once before with System uname: 2.6.22-rc2-mm1 i686 Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
Same here with Linux pluto 2.6.21-20070427 #4 Fri Apr 27 11:02:19 CEST 2007 ppc 7455, altivec supported PowerBook6,3 GNU/Linux using a ext3 filesystem
same with findutils-4.3.6-r1
(In reply to comment #7) > same with findutils-4.3.6-r1 > No problem on ext3-partition and testing enabled. (~x86)
Created attachment 121159 [details, diff] findutils-4.3.6-r1.ebuild-fprint-unwritable.patch Adds fprint-unwritable to tests only run when userprivs is set.
(In reply to comment #9) > Created an attachment (id=121159) [edit] > findutils-4.3.6-r1.ebuild-fprint-unwritable.patch > > Adds fprint-unwritable to tests only run when userprivs is set. > The patch works for me. (manually changed *.ebuild and did digest/unpack/compile/test) It doesn't matter whether "userprivs" is set in "FEATURES=" or "USE=" or not. Always drops the fprint-unwritable test and so has no problem with test suite. Thank you. How will it be included in next findutils release?
Reopen to let base-system close when ebuild is fixed. In reply to comment #10: You are most welcome, but since I'm just an AT I can't "fix" the bug, just research and provide a patch. So I have no idea as to if and when the fix will be in the package.
(In reply to comment #11) > Reopen to let base-system close when ebuild is fixed. > > In reply to comment #10: You are most welcome, but since I'm just an AT I can't > "fix" the bug, just research and provide a patch. So I have no idea as to if > and when the fix will be in the package. > Would it help to bring this "ticket" to the attention of Mike Frysinger <vapier@gentoo.org>? (Is he the maintainer?)
He isn't the maintainer, but every member of base-system (and thus vapier) receives every comment. They'll get to the bug when they have time.
That's fine then. Thank you and enjoy the weekend with less bugs ;)
added a fix like access.exp and mailed upstream
(In reply to comment #15) > added a fix like access.exp and mailed upstream > Installed and tested findutils 4.3.7 and works like a dream now. Wonderful. Thank you all!