Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1136513

Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source

From Axel Beckert <abe@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source
Date 2023-02-05 22:10 +0100
Message-ID <FVUqR-3HAY-17@gated-at.bofh.it> (permalink)
References <FVLGV-3BWM-7@gated-at.bofh.it> <FVQGB-3FfL-9@gated-at.bofh.it> <FVLGV-3BWM-7@gated-at.bofh.it> <FVQGB-3FfL-9@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


Hi Russ,

Russ Allbery wrote:
> > # -ancient-source (source): unpack-message-for-source tar: ancient-source-1.0/README: implausibly old time stamp 1969-12-31 23:59:59
> > # +ancient-source (source): unpack-message-for-source tar: ancient-source-1.0/README: implausibly old time stamp 1970-01-01 00:59:59
> 
> The exactly one hour difference makes me suspicious something is going on
> with time zone conversions.  That's also consistent with the one hour time
> difference between UTC and Europe/Zurich at New Years.
> 
> Looking at the source of tar, the output timestamp for this error seems to
> be in local time by default, which would certainly explain the problem but
> not why we're not seeing it everywhere.  I would be curious if it went
> away if you added --utc to the flags to tar in
> Lintian::IO::Select::unpack_and_index_piped_tar

Nice idea! Will definitely try.

> or (bigger hammer) just set TZ=UTC when running Lintian.

I tried with TZ=GMT. I also tried TZ=UTC, but that had no effect. I
think you need to use TZ=Etc/UTC there instead.

> Lintian should probably force all output it controls to UTC for
> reproducibility, including tar's, but I'm still mystified as to why it
> works on the other system.  This part of tar doesn't seem to have changed,
> and as you mentioned replacing tar didn't change anything.

Exactly. All of that. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source Axel Beckert <abe@debian.org> - 2023-02-05 12:50 +0100
  Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source Russ Allbery <rra@debian.org> - 2023-02-05 18:10 +0100
    Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source Axel Beckert <abe@debian.org> - 2023-02-05 22:10 +0100
  Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source Vagrant Cascadian <vagrant@reproducible-builds.org> - 2023-02-05 21:40 +0100
    Bug#1030586: lintian: Testsuite failure on some systems: 1h time offset in test ancient-source Axel Beckert <abe@debian.org> - 2023-02-05 22:10 +0100

csiph-web