bugfindutils - Bugs: bug #19619, findutils-4.3.3 does not build on...

 
 

bug #19619: findutils-4.3.3 does not build on Cygwin

Submitted by:  James Youngman <jay>
Submitted on:  Tue 17 Apr 2007 02:02:18 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Compilation FailureStatus: Fixed
Privacy: PublicAssigned to: Eric Blake <ericb>
Originator Name: Eric BlakeOpen/Closed: Closed
Release: 4.3.3Fixed Release: 4.3.4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 18 Apr 2007 03:05:09 PM UTC, comment #2:

As of Apr 18, CVS findutils builds fine on cygwin, but the testsuite still fails due to bug #18414 when run as a user with admin privileges (where access(R_OK) succeeds on any file, regardless of mode).

FAIL: access.new-O3, --- find.out 2007-04-18 08:58:32.353530000 -0600
+++ cmp.out 2007-04-18 08:58:32.369149500 -0600
@@ -1,10 +1,7 @@
r tmp
-r tmp/0
r tmp/r
r tmp/rw
r tmp/rwx
-r tmp/w
-r tmp/x
w tmp
w tmp/rw
w tmp/rwx

Also, several tests fail when CDPATH contains ., rather than gracefully skipping those tests; contrast the output of two different tests in this snippet:

FAIL: execdir-in-unreadable.new-O3, /home/eblake/findutils/find/testsuite/../find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove the current directory from your $PATH (that is, remove "." or leading or trailing colons)
Running /home/eblake/findutils/find/testsuite/find.gnu/execdir-one.exp ...
WARNING: Cannot perform test as your $PATH environment variable includes a reference to the current directory or a directory name which is not absolute

As those are both testsuite failures (and one already has a separate bug open), and not build failures, this bug is fixed once you release 4.3.4.

Eric Blake <ericb>
Project AdministratorIn charge of this item.
Tue 17 Apr 2007 11:05:54 PM UTC, comment #1:

I have applied the suggected change to 4.3.x but have no access to a Cygwin system to test this. Could you verify that the problem is fixed?

James Youngman <jay>
Project Administrator
Tue 17 Apr 2007 02:02:18 PM UTC, original submission:

Eric Blake writes:

4.3.3 will not build out-of-the-box on cygwin, because it relies on
gnulib's tests, which had a bug at the time you ran gnulib-tool:

make[3]: Entering directory `/home/eblake/findutils-4.3.3-1/build/tests'
...
gcc -O2 -pipe -o test-dirname.exe test-dirname.o -lintl
../gnulib/lib/libgnulib.a
../gnulib/lib/libgnulib.a(xalloc-die.o):xalloc-die.c:(.text+0xe):
undefined reference to `_libintl_gettext'
collect2: ld returned 1 exit status

This is fixed by making sure that 4.3.4 uses gnulib from Apr 17 or later.

James Youngman <jay>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ericb (Posted a comment)
  • -unavailable- added by jay (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Apr 2007 01:53:26 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.3.4
    Wed 18 Apr 2007 03:05:09 PM UTCericbStatusNeed Info=>Fixed
      Originator Name=>Eric Blake
    Tue 17 Apr 2007 11:05:54 PM UTCjayStatusNone=>Need Info
      Assigned toNone=>ericb

    Back to the top


    Powered by Savane 3.1-cleanup1