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 device
else
    echo Original is not device
    res=1
fi
ls -l newdev/null
if [ -c newdev/null ] ; then
    echo Copy is device
else
    echo Copy is not device
    res=1
fi
rm -rf newdev
exit $res

On most architectures this works as expected:

$ fakeroot ./fakeroot-test.sh 
crw-rw-rw- 1 root root 1, 3 17 maj 10.09 /dev/null
Original is device
crw-rw-rw- 1 root root 1, 3 17 maj 10.09 newdev/null
Copy is device
$ echo $?
0

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
ellert@yttrium:~$ echo $?
1

fakeroot 1.26-1 is the latest version of fakeroot built for ia64.

        Mattias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to