Grafts don't support non-ASCII file name.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 14 Jun 2022 14:17
(address . bug-guix@gnu.org)
0c07bfed70b8289d2921789ccfeb5242241165ab.camel@telenet.be
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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYqh8WBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pk6AP9oIPOll4llwuKHvGV7VelzdB4j
qk6xnUr5yUhaH87xgwD/XAk3xeDoBipnqOQrqKKxaFI1NA+5ZbUzW4yZn4RCagE=
=V1DO
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 11 Nov 2022 23:21
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 55968-done@debbugs.gnu.org)
87wn81ceu3.fsf@gnu.org
Hi,

Maxime Devos <maximedevos@telenet.be> skribis:

Toggle quote (14 lines)
> 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’.
Closed
?