Subject: bug#46835: Fwd: Debian Bug 983706: gzip FTBFS on mips64el: FAIL: timestamp

From: Milan Kupcevic <[email-masked]>
Date: Sun, 28 Feb 2021 14:59:03 -0500

A couple of timestamp tests are failing on mips64el. Please let me know
if you need more info.

Milan

-------- Forwarded Message --------
Subject: Bug#983706: gzip FTBFS on mips64el: FAIL: timestamp
Resent-Date: Sun, 28 Feb 2021 17:42:02 +0000
Resent-From: Adrian Bunk <[email-masked]>
Resent-To: [email-masked]
Resent-CC: [email-masked], Milan Kupcevic <[email-masked]>
Date: Sun, 28 Feb 2021 19:39:39 +0200
From: Adrian Bunk <[email-masked]>
Reply-To: Adrian Bunk <[email-masked]>, [email-masked]
To: Debian Bug Tracking System <[email-masked]>

Source: gzip
Version: 1.10-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=gzip&arch=mips64el&ver=1.10-3&stamp=1614531854&raw=0

...
FAIL: timestamp
===============

+ initial_cwd_=/<<PKGBUILDDIR>>/builddir/tests
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /<<PKGBUILDDIR>>/builddir/tests gt-timestamp.XXXX
+ destdir_=/<<PKGBUILDDIR>>/builddir/tests
+ template_=gt-timestamp.XXXX
+ MAX_TRIES_=4
+ destdir_slash_=/<<PKGBUILDDIR>>/builddir/tests/
+ unset TMPDIR
+ d=/<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ :
+ test -d /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ ls -dgo /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ perms=drwx------ 2 40 Feb 28 17:04
/<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ :
+ echo /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ return
+ test_dir_=/<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ cd /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ gl_init_sh_nl_=

+ IFS= 	

+ expr 1 + 128
+ eval trap 'Exit 129' 1
+ trap Exit 129 1
+ expr 2 + 128
+ eval trap 'Exit 130' 2
+ trap Exit 130 2
+ expr 3 + 128
+ eval trap 'Exit 131' 3
+ trap Exit 131 3
+ expr 13 + 128
+ eval trap 'Exit 141' 13
+ trap Exit 141 13
+ expr 15 + 128
+ eval trap 'Exit 143' 15
+ trap Exit 143 15
+ trap remove_tmp_ 0
+ path_prepend_ ..
+ test 1 != 0
+ path_dir_=..
+ abs_path_dir_=/<<PKGBUILDDIR>>/builddir/tests/..
+
PATH=/<<PKGBUILDDIR>>/builddir/tests/..:/<<PKGBUILDDIR>>/builddir:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ create_exe_shims_ /<<PKGBUILDDIR>>/builddir/tests/..
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ TZ=UTC0
+ export TZ
+ oldIFS= 	

+ IFS=~
+ set 190101010000 Jan  1  1901
+ time=190101010000
+ date=Jan  1  1901
+ IFS= 	

+ touch -t 190101010000 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Jan  1  1901 in
+ returns_ 2 gzip in
+ fail=1
+ rm -f in.gz in
+ IFS=~
+ set 196912312359.59 Dec 31  1969
+ time=196912312359.59
+ date=Dec 31  1969
+ IFS= 	

+ touch -t 196912312359.59 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Dec 31  1969 in
+ returns_ 2 gzip in
+ fail=1
+ rm -f in.gz in
+ IFS=~
+ set 197001010000 Jan  1  1970
+ time=197001010000
+ date=Jan  1  1970
+ IFS= 	

+ touch -t 197001010000 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Jan  1  1970 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ IFS=~
+ set 210602070628.16 Feb  7  2106
+ time=210602070628.16
+ date=Feb  7  2106
+ IFS= 	

+ touch -t 210602070628.16 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Feb  7  2106 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ IFS=~
+ set 197001010000.01 Jan  1  1970
+ time=197001010000.01
+ date=Jan  1  1970
+ IFS= 	

+ touch -t 197001010000.01 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Jan  1  1970 in
+ gzip in
+ rm -f in.gz in
+ IFS=~
+ set 203801190314.07 Jan 19  2038
+ time=203801190314.07
+ date=Jan 19  2038
+ IFS= 	

+ touch -t 203801190314.07 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Jan 19  2038 in
+ gzip in
+ rm -f in.gz in
+ IFS=~
+ set 203801190314.08 Jan 19  2038
+ time=203801190314.08
+ date=Jan 19  2038
+ IFS= 	

+ touch -t 203801190314.08 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Jan 19  2038 in
+ gzip in
+ rm -f in.gz in
+ IFS=~
+ set 210602070628.15 Feb  7  2106
+ time=210602070628.15
+ date=Feb  7  2106
+ IFS= 	

+ touch -t 210602070628.15 in
+ ls -l in
+ ls_l=-rw-rw-r-- 1 buildd buildd 0 Feb  7  2106 in
+ gzip in
+ rm -f in.gz in
+ printf \037\213\10\0\377\377\377\377\0\377\3\0\0\0\0\0\0\0\0\0
+ gzip -Nlv
method  crc     date  time           compressed        uncompressed
ratio uncompressed_name
defla 00000000 Feb  7 06:28                  20                   0
0.0% stdout
+ status=0
+ test 0 -eq 0
+ :
+ gzip --no-name
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test  = yes
+ cd /<<PKGBUILDDIR>>/builddir/tests
+ chmod -R u+rwx /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ rm -rf /<<PKGBUILDDIR>>/builddir/tests/gt-timestamp.TDZE
+ exit 1
FAIL timestamp (exit status: 1)

============================================================================
Testsuite summary for gzip 1.10
============================================================================
# TOTAL: 22
# PASS:  21
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to [email-masked]
============================================================================
make[5]: *** [Makefile:1674: test-suite.log] Error 1

On the porterbox eller, 1.10-2 fails the same as 1.10-3.
1.10-3 builds in a buster chroot.

The breakage is likely caused or triggered by a change to
some other package like gcc/glibc/...

The linux-mips list is CC'ed.