Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-22 Thread Clint Adams
On Thu, May 19, 2022 at 10:48:13AM +0200, Mattias Ellert wrote: > According to > > https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/ia64/xstatver.h;h=f24ab4a9ee158d7f0890cd228b20bf1e278d332b;hb=HEAD > > _STAT_VER should be 1 for ia64. > > The libfakeroot.c has no check fo

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-19 Thread Mattias Ellert
Control: tag 1011234 +patch The attached patch fixes the issue: Mattias diff -ur fakeroot-1.28.orig/libfakeroot.c fakeroot-1.28/libfakeroot.c --- fakeroot-1.28.orig/libfakeroot.c 2022-03-04 14:21:41.0 + +++ fakeroot-1.28/libfakeroot.c 2022-05-20 04:57:29.491263557 + @@ -9

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-19 Thread Mattias Ellert
tor 2022-05-19 klockan 07:46 +0200 skrev Mattias Ellert: > Is _STAT_VER correct for ia64? > > https://salsa.debian.org/clint/fakeroot/-/blob/master/libfakeroot.c#L98-L116 > > Mattias > According to https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/ia64/xstatver.h

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Mattias Ellert
Is _STAT_VER correct for ia64? https://salsa.debian.org/clint/fakeroot/-/blob/master/libfakeroot.c#L98-L116 Mattias signature.asc Description: This is a digitally signed message part

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Mattias Ellert
tor 2022-05-19 klockan 00:02 + skrev Clint Adams: > Is the output of > >     strace -e '%%stat' sh -c 'test -c /dev/null' > > conspicuously different on ia64 in contrast with other architectures? There is no major difference: x86_64: ellert@debian-unstable:~$ uname -a Linux debian-unstable

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Clint Adams
Is the output of strace -e '%%stat' sh -c 'test -c /dev/null' conspicuously different on ia64 in contrast with other architectures?

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Mattias Ellert
ons 2022-05-18 klockan 15:03 + skrev Clint Adams: > On Wed, May 18, 2022 at 04:43:08PM +0200, Mattias Ellert wrote: > > However, on ia64 it fails: > > > > ellert@yttrium:~$ fakeroot ./fakeroot-test.sh > > crw-rw-rw- 1 root root 1, 3 May 10 06:51 /dev/null > > Original is device > > crw-rw-rw-

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Clint Adams
On Wed, May 18, 2022 at 04:43:08PM +0200, Mattias Ellert wrote: > However, on ia64 it fails: > > ellert@yttrium:~$ fakeroot ./fakeroot-test.sh > crw-rw-rw- 1 root root 1, 3 May 10 06:51 /dev/null > Original is device > crw-rw-rw- 1 root root 1, 3 May 10 06:51 newdev/null > Copy is not device > el

Bug#1011234: fakeroot doesn't correctly detect copied device nodes on ia64

2022-05-18 Thread Mattias Ellert
Package: fakeroot Version: 1.26-1 Severity: important Control: affects -1 globus-gridftp-server Using the following test script: $ cat fakeroot-test.sh #! /bin/sh res=0 mkdir newdev (cd /dev; tar chf - null) | (cd newdev; tar xf -) ls -l /dev/null if [ -c /dev/null ] ; then echo Original is