GNU bug report logs - #50597
different fixed-output when using ’--with-source’ transformation

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Wed, 15 Sep 2021 05:52:02 UTC

Severity: normal

Full log


Message #11 received at 50597 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>, zimoun
 <zimon.toutoune <at> gmail.com>
Cc: 50597 <at> debbugs.gnu.org
Subject: Re: bug#50597: different fixed-output when using
 ’--with-source’ transformation
Date: Sat, 18 Sep 2021 19:35:12 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès schreef op za 18-09-2021 om 18:06 [+0200]:
> Hello!
> 
> zimoun <zimon.toutoune <at> gmail.com> skribis:
> 
> > Why the store item of source tarball is it different when applying the
> > transformation?
> > 
> > Maxime provided a clue [1].
> 
> Maxime is right: ‘--with-source’ passes #:recursive? #t unconditionally,
> whereas it’s usually #f for a ‘url-fetch’ kind of URI.
> 
> What we could do is make it #t if and only if the URL denotes a local
> file and that file is a directory.  I think that would achieve what you
> want without any observable regression in practice.
>
> WDYT?

This seems reasonable to me.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.