all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21111: possibly bogus in binary tarball
@ 2015-07-22 11:55 Dave Love
  2015-07-22 12:27 ` Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Love @ 2015-07-22 11:55 UTC (permalink / raw)
  To: 21111

The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
all at the epoch, so unpacking it spews messages like

  tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00

I guess that's not intentional, but if it is, it's probably worth a note
in the installation instructions.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21111: possibly bogus in binary tarball
  2015-07-22 11:55 bug#21111: possibly bogus in binary tarball Dave Love
@ 2015-07-22 12:27 ` Andreas Enge
  2015-07-22 15:55   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2015-07-22 12:27 UTC (permalink / raw)
  To: Dave Love; +Cc: 21111

On Wed, Jul 22, 2015 at 12:55:13PM +0100, Dave Love wrote:
> The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
> all at the epoch, so unpacking it spews messages like
> 
>   tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00
> 
> I guess that's not intentional, but if it is, it's probably worth a note
> in the installation instructions.

It is intentional, as part of making things deterministic.

Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21111: possibly bogus in binary tarball
  2015-07-22 12:27 ` Andreas Enge
@ 2015-07-22 15:55   ` Ludovic Courtès
  2015-07-22 20:26     ` Dave Love
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2015-07-22 15:55 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 21111, Dave Love

Andreas Enge <andreas@enge.fr> skribis:

> On Wed, Jul 22, 2015 at 12:55:13PM +0100, Dave Love wrote:
>> The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
>> all at the epoch, so unpacking it spews messages like
>> 
>>   tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00
>> 
>> I guess that's not intentional, but if it is, it's probably worth a note
>> in the installation instructions.
>
> It is intentional, as part of making things deterministic.

Right.

Interestingly, I do not get this message, both with ‘tar xf’ and
‘tar xvf’ with GNU tar 1.28.

I tried with different timezones, and I can’t trigger it.

Dave: What version of GNU tar do you use, and in what timezone?

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21111: possibly bogus in binary tarball
  2015-07-22 15:55   ` Ludovic Courtès
@ 2015-07-22 20:26     ` Dave Love
  2015-07-22 20:59       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Love @ 2015-07-22 20:26 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 21111

Ludovic Courtès <ludo@gnu.org> writes:

> Interestingly, I do not get this message, both with ‘tar xf’ and
> ‘tar xvf’ with GNU tar 1.28.
>
> I tried with different timezones, and I can’t trigger it.
>
> Dave: What version of GNU tar do you use, and in what timezone?
>
> TIA,
> Ludo’.

It was on RHEL6 in the UK zone

  $ grep -I zone /etc/sysconfig/clock
  ZONE="Europe/London"
  
with:

  $ rpm -q tar
  tar-1.23-11.el6.x86_64

There aren't any obviously-relevant patches in the tar package changelog.

I think it would be worth a note on the timestamps anyway to avoid
confusion and make sure they're maintained, if they should be.  (Excuse
me if that's done somewhere, but I just went to the current installation
instructions.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21111: possibly bogus in binary tarball
  2015-07-22 20:26     ` Dave Love
@ 2015-07-22 20:59       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-07-22 20:59 UTC (permalink / raw)
  To: Dave Love; +Cc: 21111-done

Dave Love <fx@gnu.org> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Interestingly, I do not get this message, both with ‘tar xf’ and
>> ‘tar xvf’ with GNU tar 1.28.
>>
>> I tried with different timezones, and I can’t trigger it.
>>
>> Dave: What version of GNU tar do you use, and in what timezone?
>>
>> TIA,
>> Ludo’.
>
> It was on RHEL6 in the UK zone
>
>   $ grep -I zone /etc/sysconfig/clock
>   ZONE="Europe/London"
>   
> with:
>
>   $ rpm -q tar
>   tar-1.23-11.el6.x86_64
>
> There aren't any obviously-relevant patches in the tar package changelog.

According to the 1.28 manual (info "(tar) warnings"), this specific
warning can be explicitly enabled with --warning=timestamp.

However, I tried variations of the following command with no luck:

  TZ=Europe/London tar --warning=timestamp --extract -f \
    guix-binary-0.8.3.i686-linux.tar.xz

So maybe the fact that 1.28 doesn’t emit the warning is a bug.

> I think it would be worth a note on the timestamps anyway to avoid
> confusion and make sure they're maintained, if they should be.  (Excuse
> me if that's done somewhere, but I just went to the current installation
> instructions.)

I’ve added this to the installation instructions in commit aafa0df:

   Some versions of GNU tar raise a warning about “implausibly old
   time stamps”.  This is because all the files in the archive have
   their modification time set to zero (which means January 1st,
   1970.)  This is done on purpose to make sure the archive content is
   independent of its creation time, thus making it reproducible.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-22 21:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 11:55 bug#21111: possibly bogus in binary tarball Dave Love
2015-07-22 12:27 ` Andreas Enge
2015-07-22 15:55   ` Ludovic Courtès
2015-07-22 20:26     ` Dave Love
2015-07-22 20:59       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.