Hi, Quoting Johannes Schauer Marin Rodrigues (2022-11-01 21:29:41) > Do you have a patch for fakeroot that I can try?
to make sure this doesn't happen again and to allow for easier testing that this issue is fixed, I created a test case for fakeroot that shows the problem on i386 (but not on amd64): diff --git a/test/t.chown b/test/t.chown new file mode 100755 --- /dev/null +++ b/test/t.chown @@ -0,0 +1,15 @@ +#!/bin/sh +. ./defs || exit 1 + +mkdir $tmp + +# starting with glibc 2.34, __stat64_time64 is used on 32 bit architectures +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023286 +echo "echo foo > $tmp/bar && + echo baz > $tmp/blub && + chown --reference=$tmp/bar $tmp/blub && + stat -c owner:%u $tmp/blub" > $tmp/sh +run_fakeroot -- \ + ${posixshell} $tmp/sh > $tmp/out +cat $tmp/out > /tmp/foo +grep "^owner:0$" /tmp/foo I also submitted this on salsa as a merge request where you can see in the pipeline results that the test suite passes on amd64 but not on i386: https://salsa.debian.org/clint/fakeroot/-/merge_requests/18 Thanks! cheers, josch
signature.asc
Description: signature