fakeroot tests fail with coreutils 9.5
After upgrading coreutils to 9.5 fakefoot test t.tar started to fail:
make check-TESTS
make[2]: Entering directory '/home/ncopa/aports/main/fakeroot/src/fakeroot-1.34/test'
make[3]: Entering directory '/home/ncopa/aports/main/fakeroot/src/fakeroot-1.34/test'
PASS: t.falsereturn
PASS: t.option
PASS: t.truereturn
PASS: t.echoarg
PASS: t.chown
PASS: t.chmod_dev
PASS: t.mknod
PASS: t.no_ld_preload_link
PASS: t.touchinstall
PASS: t.no_ld_preload
PASS: t.cp-a
FAIL: t.tar
============================================================================
Testsuite summary for fakeroot 1.34
============================================================================
# TOTAL: 12
# PASS: 11
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to clint@debian.org
============================================================================
make[3]: *** [Makefile:554: test-suite.log] Error 1
make[3]: Leaving directory '/home/ncopa/aports/main/fakeroot/src/fakeroot-1.34/test'
make[2]: *** [Makefile:662: check-TESTS] Error 2
make[2]: Leaving directory '/home/ncopa/aports/main/fakeroot/src/fakeroot-1.34/test'
make[1]: *** [Makefile:812: check-am] Error 2
make[1]: Leaving directory '/home/ncopa/aports/main/fakeroot/src/fakeroot-1.34/test'
make: *** [Makefile:711: check-recursive] Error 1
========================================
fakeroot 1.34: test/test-suite.log
========================================
# TOTAL: 12
# PASS: 11
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: t.tar
===========
FAIL t.tar (exit status: 1)
Same thing is observed with coreutils 9.5 and fakeroot 1.32.1. It happens on many architectures (arm64, armv6, armv7, riscv64, ppc64le, s390x, x86 and x86_64).
I analyzed the test, disabled the removal of t.tar.dir and compare the output:
ncopa-desktop:~/aports/main/fakeroot/src/fakeroot-1.34/test/t.tar.dir (master)$ diff -u tmp-1 tmp-2
--- tmp-1 2024-04-18 13:32:14.936776639 +0200
+++ tmp-2 2024-04-18 13:32:14.943443431 +0200
@@ -1,34 +1,34 @@
---------- root/root 0 tar/hello/
+--------- daemon/sys 0 tar/hello/
+--------- daemon/sys 0 tar/hello/2/
+--------- daemon/sys 0 tar/hello/4/
--------- root/root 0 tar/hello/1/
--------- root/root 0 tar/hello/1289/
---------- root/root 0 tar/hello/2/
--------- root/root 0 tar/hello/3/
---------- root/root 0 tar/hello/4/
--------- root/root 0 tar/hello/5/
--------- root/root 0 tar/hello/6/
--------- root/root 0 tar/hello/fjsdk/
--------- root/root 0 tar/hello/vn.34.654l./
rw-r--r-- daemon/root 0 tar/3/3/file
rw-r--r-- daemon/root 0 tar/4/4/file
+rw-r--r-- daemon/sys 0 tar/2.file
+rw-r--r-- daemon/sys 0 tar/4.file
+rw-r--r-- daemon/sys 0 tar/hello/1/file
+rw-r--r-- daemon/sys 0 tar/hello/3/file
+rw-r--r-- daemon/sys 0 tar/hello/5/file
rw-r--r-- root/root 0 tar/1.file
rw-r--r-- root/root 0 tar/1/1/file
rw-r--r-- root/root 0 tar/1289.file
rw-r--r-- root/root 0 tar/1289/1289/file
-rw-r--r-- root/root 0 tar/2.file
rw-r--r-- root/root 0 tar/3.file
-rw-r--r-- root/root 0 tar/4.file
rw-r--r-- root/root 0 tar/5.file
rw-r--r-- root/root 0 tar/5/5/file
rw-r--r-- root/root 0 tar/6.file
rw-r--r-- root/root 0 tar/6/6/file
rw-r--r-- root/root 0 tar/fjsdk.file
rw-r--r-- root/root 0 tar/fjsdk/fjsdk/file
-rw-r--r-- root/root 0 tar/hello/1/file
rw-r--r-- root/root 0 tar/hello/1289/file
rw-r--r-- root/root 0 tar/hello/2/file
-rw-r--r-- root/root 0 tar/hello/3/file
rw-r--r-- root/root 0 tar/hello/4/file
-rw-r--r-- root/root 0 tar/hello/5/file
rw-r--r-- root/root 0 tar/hello/6/file
rw-r--r-- root/root 0 tar/hello/fjsdk/file
rw-r--r-- root/root 0 tar/hello/vn.34.654l./file