First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 180412
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Steffen Bergner <steffen.bergner@bertelsmann.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
log_text.txt emerge info and additional info text/plain Steffen Bergner 2007-05-31 06:25 0000 17.32 KB Details
findutils-4.3.6-r1.ebuild-fprint-unwritable.patch findutils-4.3.6-r1.ebuild-fprint-unwritable.patch patch Togge 2007-06-04 17:19 0000 517 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180412 depends on: Show dependency tree
Bug 180412 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-31 06:23 0000
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 From Steffen Bergner 2007-05-31 06:25:00 0000 -------
Created an attachment (id=120745) [edit]
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 From Togge 2007-05-31 07:39:43 0000 -------
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 From Togge 2007-05-31 07:45:15 0000 -------
Sorry didn't know I hit that button.

------- Comment #4 From Steffen Bergner 2007-06-01 05:49:31 0000 -------
(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 From Steffen Bergner 2007-06-01 09:52:09 0000 -------
(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 From Matti Bickel 2007-06-02 11:03:55 0000 -------
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 From Steffen Bergner 2007-06-04 06:11:13 0000 -------
same with findutils-4.3.6-r1

------- Comment #8 From Steffen Bergner 2007-06-04 13:37:06 0000 -------
(In reply to comment #7)
> same with findutils-4.3.6-r1
> 

No problem on ext3-partition and testing enabled. (~x86)

------- Comment #9 From Togge 2007-06-04 17:19:56 0000 -------
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.

------- Comment #10 From Steffen Bergner 2007-06-06 09:34:12 0000 -------
(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 From Togge 2007-06-06 11:46:43 0000 -------
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 From Steffen Bergner 2007-06-08 07:00:11 0000 -------
(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 From Matti Bickel 2007-06-08 08:21:03 0000 -------
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 From Steffen Bergner 2007-06-08 08:24:36 0000 -------
That's fine then. Thank you and enjoy the weekend with less bugs ;)

------- Comment #15 From SpanKY 2007-06-11 05:35:25 0000 -------
added a fix like access.exp and mailed upstream

------- Comment #16 From Steffen Bergner 2007-06-11 07:29:45 0000 -------
(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!

First Last Prev Next    No search results available      Search page      Enter new bug