Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180412 - sys-apps/findutils-4.3.6-r1 - TEST "fprint-unwritable.exp" fails
Summary: sys-apps/findutils-4.3.6-r1 - TEST "fprint-unwritable.exp" fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 06:23 UTC by Steffen Bergner
Modified: 2007-06-11 07:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info and additional info (log_text.txt,17.32 KB, text/plain)
2007-05-31 06:25 UTC, Steffen Bergner
Details
findutils-4.3.6-r1.ebuild-fprint-unwritable.patch (findutils-4.3.6-r1.ebuild-fprint-unwritable.patch,517 bytes, patch)
2007-06-04 17:19 UTC, Togge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Bergner 2007-05-31 06:23:27 UTC
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.
Comment 1 Steffen Bergner 2007-05-31 06:25:00 UTC
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)
Comment 2 Togge 2007-05-31 07:39:43 UTC
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
Comment 3 Togge 2007-05-31 07:45:15 UTC
Sorry didn't know I hit that button.
Comment 4 Steffen Bergner 2007-06-01 05:49:31 UTC
(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 ...
Comment 5 Steffen Bergner 2007-06-01 09:52:09 UTC
(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
Comment 6 Matti Bickel (RETIRED) gentoo-dev 2007-06-02 11:03:55 UTC
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
Comment 7 Steffen Bergner 2007-06-04 06:11:13 UTC
same with findutils-4.3.6-r1
Comment 8 Steffen Bergner 2007-06-04 13:37:06 UTC
(In reply to comment #7)
> same with findutils-4.3.6-r1
> 

No problem on ext3-partition and testing enabled. (~x86)
Comment 9 Togge 2007-06-04 17:19:56 UTC
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.
Comment 10 Steffen Bergner 2007-06-06 09:34:12 UTC
(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?
Comment 11 Togge 2007-06-06 11:46:43 UTC
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.
Comment 12 Steffen Bergner 2007-06-08 07:00:11 UTC
(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?)
Comment 13 Matti Bickel (RETIRED) gentoo-dev 2007-06-08 08:21:03 UTC
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.
Comment 14 Steffen Bergner 2007-06-08 08:24:36 UTC
That's fine then. Thank you and enjoy the weekend with less bugs ;)
Comment 15 SpanKY gentoo-dev 2007-06-11 05:35:25 UTC
added a fix like access.exp and mailed upstream
Comment 16 Steffen Bergner 2007-06-11 07:29:45 UTC
(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!