Hi,
A "fink update-all" tries to update coreutils, and fails because of a
problem of internationalization : the output of "chgrp" is in French,
which defeats the tests (see details at end if needed).
tests/chgrp/basic
calls
. $srcdir/../lang-default
which forces all LANG related variables to a null string.
In these circumstances, chgrp uses... French.
I've introduced this into the script "tests/chgrp/basic" :
echo hi > toto
chgrp -c www toto
LANG=C
export LANG
chgrp -c staff toto
The result :
+ echo hi
+ chgrp -c www toto
Changement de groupe de `toto' vers www
+ LANG=C
+ export LANG
+ chgrp -c staff toto
changed group of `toto' to staff
I don't know how chgrp can know I'm French when nothing
is set to tell it, but it seems that a default behavior
(I mean English) would be reached more safely with a "C"
setting, at least for LANG, in tests/lang-default (BTW,
I guess that some other tests would fail for the same
reason).
I know what to do, but don't know how to insert it properly
into the fink system... please someone make an update !
Pascal
Package manager version: 0.24.18
Distribution version: 0.8.0.rsync
G4 under 10.4.6
fink selfupdate (ok)
fink update-all
...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
coreutils-5.96-1_2006.06.16-23.47.27_darwin-powerpc.deb
... all goes well until :
Making check in tests
../src/printenv POSIXLY_CORRECT >/dev/null \
&& sed s/%%/POSIXLY_CORRECT/ ./.env-warn || :
test "${CDPATH+set}" = set \
&& sed s/%%/CDPATH/ ./.env-warn || :
***********************************************************
NOTICE: Some tests may be run only as root.
Do `make check-root' as `root' to run these tests.
***********************************************************
Making check in basename
make check-TESTS
PASS: basic
==================
All 1 tests passed
==================
Making check in chgrp
make check-TESTS
./no-x: /sw/src/fink.build/coreutils-5.96-1/coreutils-5.96/tests/
chgrp: not writable by user `nobody'
./no-x: skipping this test
SKIP: no-x
PASS: posix-H
expected actual differ: char 1, line 1
1,19c1,19
< changed group of `f' to G1
< changed group of `f' to G2
< ownership of `f' retained
< changed group of `f' to G1
< group of `f' retained as G1
< changed group of `f' to SOMENAME
< changed group of `d/f3' to G2
< changed group of `d' to G2
< changed group of `d/f3' to G1
< changed group of `d' to G1
< changed group of `d/f3' to G2
< changed group of `d' to G2
< changed group of `d/f3' to G1
< changed group of `d' to G1
< changed group of `d' to G2
< changed ownership of `f' to :G2
< changed group of `symlink' to G1
< changed ownership of `f' to :G2
< changed ownership of `f' to :G2
---
> Changement de groupe de `f' vers G1
> Changement de groupe de `f' vers G2
> l'appartenance de `f' a 'et'e retenue
> Changement de groupe de `f' vers G1
> Le groupe d'appartenance de `f' qui a 'et'e retenu est 0.
> Changement de groupe de `f' vers distcc
> Changement de groupe de `d/f3' vers G2
> Changement de groupe de `d' vers G2
> Changement de groupe de `d/f3' vers G1
> Changement de groupe de `d' vers G1
> Changement de groupe de `d/f3' vers G2
> Changement de groupe de `d' vers G2
> Changement de groupe de `d/f3' vers G1
> Changement de groupe de `d' vers G1
> Changement de groupe de `d' vers G2
> Changement de propri'etaire de `f' vers :G2
> Changement de groupe de `symlink' vers G1
> Changement de propri'etaire de `f' vers :G2
> Changement de propri'etaire de `f' vers :G2
FAIL: basic
PASS: deref
PASS: recurse
======================================
1 of 4 tests failed
(1 tests were not run)
Please report to [email protected]
======================================
make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
### execution of case failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-coreutils-5.96-1
(Lecture de la base de donn?es... 81770 fichiers et r?pertoires d?j?
install?s.)
Suppression de fink-buildlock-coreutils-5.96-1 ...
Failed: phase compiling: coreutils-5.96-1 failed
--
=============================
Les standards, c'est bien.
Chacun devrait avoir le sien.
=============================
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users