unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: 55968@debbugs.gnu.org
Subject: bug#55968: Grafts don't support non-ASCII file name.
Date: Tue, 14 Jun 2022 14:17:28 +0200	[thread overview]
Message-ID: <0c07bfed70b8289d2921789ccfeb5242241165ab.camel@telenet.be> (raw)

[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

             reply	other threads:[~2022-06-14 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14 12:17 Maxime Devos [this message]
2022-11-11 22:21 ` bug#55968: Grafts don't support non-ASCII file name Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c07bfed70b8289d2921789ccfeb5242241165ab.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=55968@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).