Hi,

with this setup:

fink -V
Package manager version: 0.24.24
Distribution version: 0.8.1.rsync powerpc

I get errors during "fink selfupdate" while trying to upgrade to fink 
0.24.25:

...
./Services/execute_nonroot_okay........ok 9/12sudo: unable to execute 
/sw/bin/env: Permission denied
./Services/execute_nonroot_okay........ok 10/12sudo: unable to execute 
/sw/bin/env: Permission denied
#     Failed test (./Services/execute_nonroot_okay.t at line 115)
./Services/execute_nonroot_okay........NOK 11#          got: 127 

#     expected: 0
sudo: unable to execute /sw/bin/env: Permission denied
./Services/execute_nonroot_okay........NOK 12#     Failed test 
(./Services/execute_nonroot_okay.t at line 128)
#          got: 127
#     expected: 0
# Looks like you failed 2 tests of 12.
./Services/execute_nonroot_okay........dubious 

        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 11-12
        Failed 2/12 tests, 83.33% okay (less 1 skipped test: 9 okay, 75.00%)
./Services/expand_percent..............ok 

./Services/prepare_script..............ok 

./Text/DelimMatch......................ok 

./users_groups.........................ok 

Failed Test                       Stat Wstat Total Fail  Failed  List of 
Failed
...

I don't understand why the tests fail:

% ll /sw/bin/env
lrwxr-xr-x 1 root admin 24 2006-06-29 22:40 /sw/bin/env -> 
../lib/coreutils/bin/env*
% ll /sw/lib/coreutils/bin/env
-rwxr-xr-x 1 root admin 66792 2006-06-29 22:27 /sw/lib/coreutils/bin/env*
% fink list coreutils
Information about 5965 packages read in 2 seconds.
(i)  coreutils                1:5.96-5           GNU flavoured basic 
commands
(i)  coreutils-default        1:5.96-5           GNU flavoured basic 
commands without 'g' prefix
% sudo /sw/bin/env
PATH=/sw/bin:/sw/sbin:/Users/hgd/bin/powerpc-apple-darwin:/Users/hgd/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/Developer/Tools:/usr/X11R6/bin
...

So it seems to work. I tried upgrading coreutils, but that fails as well:

...
SKIP: unread3
PASS: no-give-up
PASS: dir-no-w
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
./fail-2eperm: cannot access required version (5.96) 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
./cycle: 
/Volumes/Datengrab/sw/src/fink.build/coreutils-5.96-5/coreutils-5.96/tests/rm: 
not writable by user `nobody'
./cycle: skipping this test
SKIP: cycle
...

Somehow the tests seem to use the wrong version of "rm". I don't know if 
the two issues are related.

% which rm
/sw/bin/rm
% rm --version
rm (GNU coreutils) 5.96
...
--
Sebastian Hagedorn
Ehrenfeldgürtel 156, 50823 Köln, Germany
http://www.spinfo.uni-koeln.de/~hgd/

"Being just contaminates the void" - Robyn Hitchcock

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to