Package: coreutils Version: 9.4-3.1 Hi.
Shouldn't dates past 2038 work on armhf? I tried the following commands in a sid chroot on abel.debian.org -- it seems 'date' handles y2k38 properly, but not 'touch --date'. I couldn't find any earlier bug report about touch --date not handling y2k38. (sid_armhf-dchroot)jas@abel:~$ uname -m armv7l (sid_armhf-dchroot)jas@abel:~$ dpkg -l|grep coreutils ii coreutils 9.4-3.1 armhf GNU core utilities (sid_armhf-dchroot)jas@abel:~$ date --date="2040-01-01 UTC" Sun Jan 1 00:00:00 UTC 2040 (sid_armhf-dchroot)jas@abel:~$ touch --date="2040-01-01 UTC" foo touch: setting times of 'foo': Value too large for defined data type (sid_armhf-dchroot)jas@abel:~$ touch --date="2030-01-01 UTC" bar (sid_armhf-dchroot)jas@abel:~$ stat bar File: bar Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 254,1 Inode: 3147091 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 3199/ jas) Gid: ( 3199/ jas) Access: 2030-01-01 00:00:00.000000000 +0000 Modify: 2030-01-01 00:00:00.000000000 +0000 Change: 2024-03-26 08:57:51.462926483 +0000 Birth: 2024-03-26 08:57:51.462926483 +0000 (sid_armhf-dchroot)jas@abel:~$ For comparison, i386 seems fine: # podman run --arch 386 -it --rm debian:stable root@c4e57630f3b3:/# date --date="2040-01-01 UTC" Sun Jan 1 00:00:00 UTC 2040 root@c4e57630f3b3:/# touch --date="2040-01-01 UTC" foo root@c4e57630f3b3:/# stat foo File: foo Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 0,87 Inode: 148779411 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2040-01-01 00:00:00.000000000 +0000 Modify: 2040-01-01 00:00:00.000000000 +0000 Change: 2024-03-26 08:53:50.702397815 +0000 Birth: 2024-03-26 08:53:50.702397815 +0000 root@c4e57630f3b3:/# #podman run --arch 386 -it --rm debian:unstable root@02f3d9940814:/# date --date="2040-01-01 UTC" Sun Jan 1 00:00:00 UTC 2040 root@02f3d9940814:/# touch --date="2040-01-01 UTC" foo root@02f3d9940814:/# stat foo File: foo Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 0,87 Inode: 148779411 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2040-01-01 00:00:00.000000000 +0000 Modify: 2040-01-01 00:00:00.000000000 +0000 Change: 2024-03-26 08:54:06.266397755 +0000 Birth: 2024-03-26 08:54:06.266397755 +0000 root@02f3d9940814:/# /Simon
signature.asc
Description: PGP signature