[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[coreutils,hppa] - touch broken on hppa



Hello,

  It seems that touch(1) is broken on hppa:

grendel@paer:~/tmp/pike7.2-7.2.546$ ls -l
build/linux-2.4.20-64-parisc64/precompile.sh
-rwxr-xr-x    1 grendel  Debian       3475 Nov  5 22:47	build/linux-2.4.20-64-parisc64/precompile.sh
grendel@paer:~/tmp/pike7.2-7.2.546$ touch 0103000070 build/linux-2.4.20-64-parisc64/precompile.sh
touch: warning: touch 0103000070' is obsolete; use touch -t 197001030000.00'
grendel@paer:~/tmp/pike7.2-7.2.546$ ls -l build/linux-2.4.20-64-parisc64/precompile.sh
-rwxr-xr-x    1 grendel  Debian       3475 Nov  5 22:47 build/linux-2.4.20-64-parisc64/precompile.sh 
grendel@paer:~/tmp/pike7.2-7.2.546$ touch -t 197001030000.00 build/linux-2.4.20-64-parisc64/precompile.sh
grendel@paer:~/tmp/pike7.2-7.2.546$ ls -l build/linux-2.4.20-64-parisc64/precompile.sh 
-rwxr-xr-x    1 grendel  Debian       3475 Nov  5 22:47 build/linux-2.4.20-64-parisc64/precompile.sh
grendel@paer:~/tmp/pike7.2-7.2.546$ touch 0103000080 build/linux-2.4.20-64-parisc64/precompile.sh
touch: warning: touch 0103000080' is obsolete; use touch -t 198001030000.00'
grendel@paer:~/tmp/pike7.2-7.2.546$ ls -l build/linux-2.4.20-64-parisc64/precompile.sh
-rwxr-xr-x    1 grendel  Debian       3475 Nov  5 22:47 build/linux-2.4.20-64-parisc64/precompile.sh
grendel@paer:~/tmp/pike7.2-7.2.546$ uname -a
Linux paer 2.4.20-64 #1 Fri Aug 1 23:40:10 UTC 2003 parisc64 GNU/Linux

The above is inside the sid chroot and is consistent with the autobuild
error at
http://buildd.debian.org/fetch.php?&pkg=pike7.2&ver=7.2.546-1&arch=hppa&stamp=1067951372&file=log&as=raw

grendel@paer:~/tmp/pike7.2-7.2.546$ touch 0103000080 build/linux-2.4.20-64-parisc64/precompile.sh
touch: warning: touch 0103000080' is obsolete; use touch -t 198001030000.00'
grendel@paer:~/tmp/pike7.2-7.2.546$ ls -l build/linux-2.4.20-64-parisc64/precompile.sh
-rwxr-xr-x    1 grendel  Debian       3475 Jan  3  1980 build/linux-2.4.20-64-parisc64/precompile.sh

The above is on the same machine but not inside the chroot. In the first
case the version of coreutils is 5.0, in the latter 5.0.91. Looking at the
changelog, the strace output and the source code it seem that what's changed
between the versions in touch.c is that the later version uses utimes
instead of utime the 5.0 version calls. Strangely, the problem occurs only
on hppa. Does anybody have access to any other hppa machines except for
those which are accessible for the DDs to confirm the above problem?

thanks,

marek


Attachment: signature.asc
Description: Digital signature


Reply to: