GNU bug report logs - #55968
Grafts don't support non-ASCII file name.

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Tue, 14 Jun 2022 12:18:01 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 55968 in the body.
You can then email your comments to 55968 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 bug-guix <at> gnu.org:
bug#55968; Package guix. (Tue, 14 Jun 2022 12:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 14 Jun 2022 12:18:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: Grafts don't support non-ASCII file name.
Date: Tue, 14 Jun 2022 14:17:28 +0200
[Message part 1 (text/plain, inline)]
Build a package whose store items contain non-ASCII file names and uses grafts:

$ guix build tectonic
[...]
De volgende transplantaat zal worden gemaakt:
   /gnu/store/p48cj1v9mk7g4hj4dcyv1azawcw6sk25-tectonic-0.8.2.drv
3 transplantaten aanbrengen voor tectonic-0.8.2 ...
grafting '/gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2' -> '/gnu/store/ybsgj73xxvin7cjnxabdawiadi08gd2v-tectonic-0.8.2'...
find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.xdv: No such file or directory
find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.tex: No such file or directory
find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.log: No such file or directory
/gnu/store/p48cj1v9mk7g4hj4dcyv1azawcw6sk25-tectonic-0.8.2.drv succesvol gebouwd
/gnu/store/ybsgj73xxvin7cjnxabdawiadi08gd2v-tectonic-0.8.2

The grafted version does not contain the file name starting with 'hall':

$ ls /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/
[ file is missing! ]

Now compare this with the original, non-grafted store item:

$ stat $(guix build --no-grafts tectonic)/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hallöchen\ 🐨\ welt\ 🌍.xdv
[ it exists! ]

A similar fix as in <https://issues.guix.gnu.org/54893> may be needed.

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

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 11 Nov 2022 22:22:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Fri, 11 Nov 2022 22:22:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 55968-done <at> debbugs.gnu.org
Subject: Re: bug#55968: Grafts don't support non-ASCII file name.
Date: Fri, 11 Nov 2022 23:21:24 +0100
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> Build a package whose store items contain non-ASCII file names and uses grafts:
>
> $ guix build tectonic
> [...]
> De volgende transplantaat zal worden gemaakt:
>    /gnu/store/p48cj1v9mk7g4hj4dcyv1azawcw6sk25-tectonic-0.8.2.drv
> 3 transplantaten aanbrengen voor tectonic-0.8.2 ...
> grafting '/gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2' -> '/gnu/store/ybsgj73xxvin7cjnxabdawiadi08gd2v-tectonic-0.8.2'...
> find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.xdv: No such file or directory
> find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.tex: No such file or directory
> find-files: /gnu/store/57rmskg2iybx4dzar8w868msxnc3z4b5-tectonic-0.8.2/share/cargo/src/tectonic-0.8.2/tests/tex-outputs/hall??chen ???? welt ????.log: No such file or directory
> /gnu/store/p48cj1v9mk7g4hj4dcyv1azawcw6sk25-tectonic-0.8.2.drv succesvol gebouwd
> /gnu/store/ybsgj73xxvin7cjnxabdawiadi08gd2v-tectonic-0.8.2

Fixed in 19206eee69e8c22d63104af1b7f1f815969bff7f, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Dec 2022 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 137 days ago.

Previous Next


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