GNU bug report logs - #41527
‘file-append’ expansion is incorrect when passed a store item

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Mon, 25 May 2020 13:10:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41527 in the body.
You can then email your comments to 41527 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to rekado <at> elephly.net, bug-guix <at> gnu.org:
bug#41527; Package guix. (Mon, 25 May 2020 13:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to rekado <at> elephly.net, bug-guix <at> gnu.org. (Mon, 25 May 2020 13:10:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ‘file-append’ expansion is incorrect
 when passed a store item
Date: Mon, 25 May 2020 15:09:11 +0200
Since commit d03001a31a6d460b712825640dba11e3f1a53a14, an object like:

  (file-append (local-file …) "/foo/bar")

where (local-file …) is lowered to a store item, say,
/gnu/store/…-example, would wrongfully expand to:

  /gnu/store/…-example

IOW, the second argument to ‘file-append’ is ignored.

Ricardo noticed it in ‘doc/build.scm’, in ‘guix-manual-text-domain’.

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 26 May 2020 07:57:01 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
bug acknowledged by developer. (Tue, 26 May 2020 07:57:01 GMT) Full text and rfc822 format available.

Message #10 received at 41527-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 41527-done <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: bug#41527: ‘file-append’ expansion
 is incorrect when passed a store item
Date: Tue, 26 May 2020 09:56:02 +0200
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> Since commit d03001a31a6d460b712825640dba11e3f1a53a14, an object like:
>
>   (file-append (local-file …) "/foo/bar")
>
> where (local-file …) is lowered to a store item, say,
> /gnu/store/…-example, would wrongfully expand to:
>
>   /gnu/store/…-example
>
> IOW, the second argument to ‘file-append’ is ignored.

Fixed in abf43d4511566e97f09049aa8b29453a2ed5ed16.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 57 days ago.

Previous Next


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