bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed: phase compiling: coreutils-6.9-3 failed


From: AIDA Shinra
Subject: Re: Failed: phase compiling: coreutils-6.9-3 failed
Date: Wed, 02 May 2007 14:07:28 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 MULE XEmacs/21.4 (patch 17) (Jumbo Shrimp) (powerpc-apple-darwin7.8.0)

At Tue, 1 May 2007 17:56:03 +0200,
Peter Dyballa wrote:
> 
> Hello!
> 
> On Mac OS X 10.4.9 with gcc 4.0.1 making ends in:
(snip)
>       rm: illegal option -- -
>       usage: rm [-f | -i] [-dPRrvW] file ...
>              unlink file
>       ./fail-2eperm: cannot access required version (6.9) of rm
>       out exp differ: char 5, line 1
>       1,2c1
>       < rm: a/b: Operation not permitted
>       < rm: a: Directory not empty
>       ---
>       > rm: cannot remove `a/b': Operation not permitted
>       FAIL: fail-2eperm

I can't reproduce your problem, but I the attached patch will fix it.
I committed the patch to Fink just now.

diff -Naur coreutils-6.9.orig/tests/rm/fail-2eperm 
coreutils-6.9/tests/rm/fail-2eperm
--- coreutils-6.9.orig/tests/rm/fail-2eperm     2007-03-18 21:36:44.000000000 
+0000
+++ coreutils-6.9/tests/rm/fail-2eperm  2007-05-02 04:56:38.000000000 +0000
@@ -52,13 +52,13 @@
 
 # Try to ensure that $NON_ROOT_USERNAME can access
 # the required version of rm.
-rm_version=`setuidgid $NON_ROOT_USERNAME rm --version|sed -n '1s/.* //p'`
+rm_version=`setuidgid $NON_ROOT_USERNAME env PATH="$PATH" rm --version|sed -n 
'1s/.* //p'`
 case $rm_version in
   $PACKAGE_VERSION) ;;
   *) echo "$0: cannot access required version ($PACKAGE_VERSION) of rm" 1>&2
      fail=1 ;;
 esac
-setuidgid $NON_ROOT_USERNAME rm -rf a 2> out-t && fail=1
+setuidgid $NON_ROOT_USERNAME env PATH="$PATH" rm -rf a 2> out-t && fail=1
 
 # On some systems, we get `Not owner'.  Convert it.
 # On other systems (HPUX), we get `Permission denied'.  Convert it, too.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]