Package: findutils
Version: 4.6.0+git+20160126-2
Severity: important
Hello,
kfreebsd & hurd both get the following issue in the testsuite:
Running ./find.gnu/samefile-p-brokenlink.exp ...
ERROR: tcl error sourcing ./find.gnu/samefile-p-brokenlink.exp.
ERROR: ln: failed to access 'tmp/broken': No such file or directory
while executing
"exec ln tmp/broken tmp/blink"
(file "./find.gnu/samefile-p-brokenlink.exp" line 8)
invoked from within
"source ./find.gnu/samefile-p-brokenlink.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source ./find.gnu/samefile-p-brokenlink.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
Here is the script:
exec rm -rf tmp
exec mkdir tmp
exec touch tmp/file1
exec ln tmp/file1 tmp/link
exec ln -s tmp/file1 tmp/symlink
exec ln -s tmp/file2 tmp/broken
exec ln tmp/broken tmp/blink
That last ln is failing, because both BSD and Hurd's link() follow
symlinks (here broken, thus the error), while Linux doesn't. POSIX says
that it is implementation-defined whether link() follows symlinks, so
findutils should not assume one way or the other.
Oddly enough, this does not seem to be fatal on kfreebsd,
https://buildd.debian.org/status/fetch.php?pkg=findutils&arch=kfreebsd-amd64&ver=4.6.0%2Bgit%2B20160126-2&stamp=1454863852
shows that the build continues, but on hurd-i386, the build stops:
=== find Summary ===
# of expected passes 949
find (GNU findutils) 4.7.0-git
Makefile:2068: recipe for target 'check-DEJAGNU' failed
make[1]: *** [check-DEJAGNU] Error 1
make[1]: Leaving directory
'/var/tmp/findutils-4.6.0+git+20160126/find/testsuite'
Makefile:2310: recipe for target 'check-am' failed
make: *** [check-am] Error 2
I haven't found what could be making runtest ignore the issue on
kfreebsd.
Samuel
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages findutils depends on:
ii libc6 2.22-9
ii libselinux1 2.5-3
findutils recommends no packages.
Versions of packages findutils suggests:
ii locate 4.6.0+git+20160126-2
-- no debconf information
--
Samuel
SL> Au fait elle est mieux ma signature maintenant ?
Oui. T'enlève encore les conneries que t'as écrit dedans et c'est bon.
-+- JB in <http://neuneu.mine.nu> : Le neueuttoyage par le vide -+-