Cannot build Guix from source (error messages about the translations)

  • Done
  • quality assurance status badge
Details
7 participants
  • Denis 'GNUtoo' Carikli
  • Julien Lepiller
  • Leo Famulari
  • Tobias Geerinckx-Rice
  • Raphaël Mélotte
  • Ricardo Wurmus
  • Simon Streit
Owner
unassigned
Submitted by
Leo Famulari
Severity
normal
Merged with
L
L
Leo Famulari wrote on 18 Oct 2021 06:01
(address . bug-guix@gnu.org)
YWzxmEQB0aX7H04a@jasmine.lan
Attachment: file
J
J
Julien Lepiller wrote on 18 Oct 2021 13:23
Re: bug#51259: Cannot build Guix from sour ce (error messages about the translations)
47872B94-A818-4F3D-A136-B581C21FFB39@lepiller.eu
Hi Leo,

Looks like something is wrong with your setup… are you running in "guix environment guix"? What's your $LANG?

Le 18 octobre 2021 00:01:28 GMT-04:00, Leo Famulari <leo@famulari.name> a écrit :
Toggle quote (210 lines)
>I noticed today that I can't build Guix from a fresh Git checkout in the
>usual manner. Something goes wrong while building the Korean language
>info manual. I tested it several times and on two different computers,
>both x86_64.
>
>------
>$ guix describe
>Generation 23 Oct 18 2021 00:23:51 (current)
> guix 473ea16
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 473ea161a15a13e7d5e7e0724693c1931ff8daaa
>$ git describe
>v1.3.0-7022-g473ea161a1
>$ guix environment --pure guix
>$ ./bootstrap && ./configure --localstatedir=/var && make -j1
>[... bootstrap and configure succeed ...]
>Updating ./doc/version.texi
> MAKEINFO doc/guix.de.info
> MAKEINFO doc/guix.es.info
>./doc/guix.es.texi:16554: warning: `.' or `,' must follow @xref, not p
>./doc/guix.es.texi:37439: warning: `.' or `,' must follow @xref, not p
> MAKEINFO doc/guix.fa.info
> MAKEINFO doc/guix.fr.info
>./doc/guix.fr.texi:12628: warning: `.' or `,' must follow @xref, not p
> MAKEINFO doc/guix.it.info
> MAKEINFO doc/guix.ko.info
>Use of uninitialized value in hash element at /gnu/store/w8k9hcigvhzrlrblv8lgqj77sm3833rs-texinfo-6.7/share/texinfo/Texinfo/Structuring.pm line 639.
>Use of uninitialized value in hash element at /gnu/store/w8k9hcigvhzrlrblv8lgqj77sm3833rs-texinfo-6.7/share/texinfo/Texinfo/Structuring.pm line 639.
>Use of uninitialized value in hash element at /gnu/store/w8k9hcigvhzrlrblv8lgqj77sm3833rs-texinfo-6.7/share/texinfo/Texinfo/Structuring.pm line 639.
>./doc/guix.ko.texi:604: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:2065: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:2538: @node `?????? ??????' previously defined
>./doc/guix.ko.texi:2262: here is the previous definition as @node
>./doc/guix.ko.texi:2739: @node `????????????' previously defined
>./doc/guix.ko.texi:884: here is the previous definition as @node
>./doc/guix.ko.texi:2940: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>./doc/guix.ko.texi:2973: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:4933: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:5459: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:10011: @node `????????????' previously defined
>./doc/guix.ko.texi:884: here is the previous definition as @node
>./doc/guix.ko.texi:13272: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>./doc/guix.ko.texi:14606: @node `????????????' previously defined
>./doc/guix.ko.texi:884: here is the previous definition as @node
>./doc/guix.ko.texi:31230: @node `?????? ?????????' previously defined
>./doc/guix.ko.texi:13804: here is the previous definition as @node
>./doc/guix.ko.texi:35444: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>./doc/guix.ko.texi:35642: @node `?????? ?????????' previously defined
>./doc/guix.ko.texi:13804: here is the previous definition as @node
>doc/contributing.ko.texi:1: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>doc/contributing.ko.texi:31: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>doc/contributing.ko.texi:229: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>doc/contributing.ko.texi:318: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>doc/contributing.ko.texi:423: @node `????????? ?????? ?????????' previously defined
>./doc/guix.ko.texi:2623: here is the previous definition as @node
>doc/contributing.ko.texi:690: @node `????????? ??????' previously defined
>./doc/guix.ko.texi:2029: here is the previous definition as @node
>doc/contributing.ko.texi:777: @node `?????? ?????????' previously defined
>./doc/guix.ko.texi:13804: here is the previous definition as @node
>doc/contributing.ko.texi:796: @node `??? ??????' previously defined
>doc/contributing.ko.texi:762: here is the previous definition as @node
>doc/contributing.ko.texi:833: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>doc/contributing.ko.texi:869: @node `?????? ??????' previously defined
>./doc/guix.ko.texi:2262: here is the previous definition as @node
>doc/contributing.ko.texi:883: @node `??????????????? ????????????' previously defined
>./doc/guix.ko.texi:6295: here is the previous definition as @node
>doc/contributing.ko.texi:890: @node `??????' previously defined
>./doc/guix.ko.texi:431: here is the previous definition as @node
>doc/contributing.ko.texi:967: @node `?????? ??????' previously defined
>./doc/guix.ko.texi:2262: here is the previous definition as @node
>doc/contributing.ko.texi:1347: @node `?????? ??????' previously defined
>./doc/guix.ko.texi:2262: here is the previous definition as @node
>doc/contributing.ko.texi:1605: @node `Guix ????????????' previously defined
>./doc/guix.ko.texi:1993: here is the previous definition as @node
>./doc/guix.ko.texi:36119: @node `?????? ??????' previously defined
>./doc/guix.ko.texi:2262: here is the previous definition as @node
>./doc/guix.ko.texi:36123: @node `??????????????? ??????' previously defined
>doc/contributing.ko.texi:396: here is the previous definition as @node
>./doc/guix.ko.texi:431: warning: node next `??????' in menu `???????????? ????????????' and in sectioning `' differ
>./doc/guix.ko.texi:431: warning: node up `??????' in menu `????????? ??????' and in sectioning `Top' differ
>./doc/guix.ko.texi:647: warning: node `????????????' is next for `???????????? ??????' in sectioning but not in menu
>./doc/guix.ko.texi:647: warning: node `' is up for `???????????? ??????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `???????????? ??????' despite being its Up target
>./doc/guix.ko.texi:884: warning: node next `????????????' in menu `????????? ??????' and in sectioning `????????? ????????? ????????????' differ
>./doc/guix.ko.texi:884: warning: node prev `????????????' in menu `??????????????? ????????????' and in sectioning `???????????? ??????' differ
>./doc/guix.ko.texi:884: warning: node up `????????????' in menu `Top' and in sectioning `' differ
>./doc/guix.ko.texi:604: node `' lacks menu item for `????????????' despite being its Up target
>./doc/guix.ko.texi:970: warning: node `?????? ????????????' is next for `????????? ????????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:970: warning: node `????????????' is prev for `????????? ????????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:970: warning: node `' is up for `????????? ????????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `????????? ????????? ????????????' despite being its Up target
>./doc/guix.ko.texi:1065: warning: node `guix-?????? ????????????' is next for `?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:1065: warning: node `????????? ????????? ????????????' is prev for `?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:1065: warning: node `' is up for `?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `?????? ????????????' despite being its Up target
>./doc/guix.ko.texi:1524: warning: node `?????????????????? ??????' is next for `guix-?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:1524: warning: node `?????? ????????????' is prev for `guix-?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:1524: warning: node `' is up for `guix-?????? ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `guix-?????? ????????????' despite being its Up target
>./doc/guix.ko.texi:1814: warning: node `Guix ????????????' is next for `?????????????????? ??????' in sectioning but not in menu
>./doc/guix.ko.texi:1814: warning: node `guix-?????? ????????????' is prev for `?????????????????? ??????' in sectioning but not in menu
>./doc/guix.ko.texi:1814: warning: node `' is up for `?????????????????? ??????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `?????????????????? ??????' despite being its Up target
>./doc/guix.ko.texi:1993: warning: node `?????????????????? ??????' is prev for `Guix ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:1993: warning: node `' is up for `Guix ????????????' in sectioning but not in menu
>./doc/guix.ko.texi:604: node `' lacks menu item for `Guix ????????????' despite being its Up target
>./doc/guix.ko.texi:2029: warning: node next `????????? ??????' in menu `Home Configuration' and in sectioning `' differ
>./doc/guix.ko.texi:2029: warning: node prev `????????? ??????' in menu `????????????' and in sectioning `' differ
>./doc/guix.ko.texi:2090: warning: node prev `???????????? ????????????' in menu `??????' and in sectioning `' differ
>./doc/guix.ko.texi:2262: warning: node prev `?????? ??????' in menu `????????? ????????? ??????????????? ?????????' and in sectioning `????????? ????????? ??????' differ
>./doc/guix.ko.texi:2262: warning: node up `?????? ??????' in menu `?????? ??????' and in sectioning `????????? ??????' differ
>./doc/guix.ko.texi:2281: warning: node next `????????? ????????? ??????????????? ?????????' in menu `?????? ??????' and in sectioning `' differ
>./doc/guix.ko.texi:3059: warning: node `Substitutes' is next for `Invoking guix package' in sectioning but not in menu
>./doc/guix.ko.texi:3059: warning: node `' is prev for `Invoking guix package' in sectioning but not in menu
>./doc/guix.ko.texi:3059: warning: node `' is up for `Invoking guix package' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix package' despite being its Up target
>./doc/guix.ko.texi:3655: warning: node `Packages with Multiple Outputs' is next for `Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:3655: warning: node `Invoking guix package' is prev for `Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:3655: warning: node `' is up for `Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Substitutes' despite being its Up target
>./doc/guix.ko.texi:3978: warning: node `Invoking guix gc' is next for `Packages with Multiple Outputs' in sectioning but not in menu
>./doc/guix.ko.texi:3978: warning: node `Substitutes' is prev for `Packages with Multiple Outputs' in sectioning but not in menu
>./doc/guix.ko.texi:3978: warning: node `' is up for `Packages with Multiple Outputs' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Packages with Multiple Outputs' despite being its Up target
>./doc/guix.ko.texi:4030: warning: node `Invoking guix pull' is next for `Invoking guix gc' in sectioning but not in menu
>./doc/guix.ko.texi:4030: warning: node `Packages with Multiple Outputs' is prev for `Invoking guix gc' in sectioning but not in menu
>./doc/guix.ko.texi:4030: warning: node `' is up for `Invoking guix gc' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix gc' despite being its Up target
>./doc/guix.ko.texi:4234: warning: node `Invoking guix time-machine' is next for `Invoking guix pull' in sectioning but not in menu
>./doc/guix.ko.texi:4234: warning: node `Invoking guix gc' is prev for `Invoking guix pull' in sectioning but not in menu
>./doc/guix.ko.texi:4234: warning: node `' is up for `Invoking guix pull' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix pull' despite being its Up target
>./doc/guix.ko.texi:4476: warning: node `Inferiors' is next for `Invoking guix time-machine' in sectioning but not in menu
>./doc/guix.ko.texi:4476: warning: node `Invoking guix pull' is prev for `Invoking guix time-machine' in sectioning but not in menu
>./doc/guix.ko.texi:4476: warning: node `' is up for `Invoking guix time-machine' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix time-machine' despite being its Up target
>./doc/guix.ko.texi:4531: warning: node `Invoking guix describe' is next for `Inferiors' in sectioning but not in menu
>./doc/guix.ko.texi:4531: warning: node `Invoking guix time-machine' is prev for `Inferiors' in sectioning but not in menu
>./doc/guix.ko.texi:4531: warning: node `' is up for `Inferiors' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Inferiors' despite being its Up target
>./doc/guix.ko.texi:4658: warning: node `Invoking guix archive' is next for `Invoking guix describe' in sectioning but not in menu
>./doc/guix.ko.texi:4658: warning: node `Inferiors' is prev for `Invoking guix describe' in sectioning but not in menu
>./doc/guix.ko.texi:4658: warning: node `' is up for `Invoking guix describe' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix describe' despite being its Up target
>./doc/guix.ko.texi:4753: warning: node `Invoking guix describe' is prev for `Invoking guix archive' in sectioning but not in menu
>./doc/guix.ko.texi:4753: warning: node `' is up for `Invoking guix archive' in sectioning but not in menu
>./doc/guix.ko.texi:2940: node `' lacks menu item for `Invoking guix archive' despite being its Up target
>./doc/guix.ko.texi:4968: warning: node `Using a Custom Guix Channel' is next for `Specifying Additional Channels' in sectioning but not in menu
>./doc/guix.ko.texi:4968: warning: node `' is up for `Specifying Additional Channels' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Specifying Additional Channels' despite being its Up target
>./doc/guix.ko.texi:5019: warning: node `Replicating Guix' is next for `Using a Custom Guix Channel' in sectioning but not in menu
>./doc/guix.ko.texi:5019: warning: node `Specifying Additional Channels' is prev for `Using a Custom Guix Channel' in sectioning but not in menu
>./doc/guix.ko.texi:5019: warning: node `' is up for `Using a Custom Guix Channel' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Using a Custom Guix Channel' despite being its Up target
>./doc/guix.ko.texi:5042: warning: node `Channel Authentication' is next for `Replicating Guix' in sectioning but not in menu
>./doc/guix.ko.texi:5042: warning: node `Using a Custom Guix Channel' is prev for `Replicating Guix' in sectioning but not in menu
>./doc/guix.ko.texi:5042: warning: node `' is up for `Replicating Guix' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Replicating Guix' despite being its Up target
>./doc/guix.ko.texi:5081: warning: node `Channels with Substitutes' is next for `Channel Authentication' in sectioning but not in menu
>./doc/guix.ko.texi:5081: warning: node `Replicating Guix' is prev for `Channel Authentication' in sectioning but not in menu
>./doc/guix.ko.texi:5081: warning: node `' is up for `Channel Authentication' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Channel Authentication' despite being its Up target
>./doc/guix.ko.texi:5121: warning: node `Creating a Channel' is next for `Channels with Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:5121: warning: node `Channel Authentication' is prev for `Channels with Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:5121: warning: node `' is up for `Channels with Substitutes' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Channels with Substitutes' despite being its Up target
>./doc/guix.ko.texi:5146: warning: node `Package Modules in a Sub-directory' is next for `Creating a Channel' in sectioning but not in menu
>./doc/guix.ko.texi:5146: warning: node `Channels with Substitutes' is prev for `Creating a Channel' in sectioning but not in menu
>./doc/guix.ko.texi:5146: warning: node `' is up for `Creating a Channel' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Creating a Channel' despite being its Up target
>./doc/guix.ko.texi:5212: warning: node `Declaring Channel Dependencies' is next for `Package Modules in a Sub-directory' in sectioning but not in menu
>./doc/guix.ko.texi:5212: warning: node `Creating a Channel' is prev for `Package Modules in a Sub-directory' in sectioning but not in menu
>./doc/guix.ko.texi:5212: warning: node `' is up for `Package Modules in a Sub-directory' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Package Modules in a Sub-directory' despite being its Up target
>./doc/guix.ko.texi:5226: warning: node `Specifying Channel Authorizations' is next for `Declaring Channel Dependencies' in sectioning but not in menu
>./doc/guix.ko.texi:5226: warning: node `Package Modules in a Sub-directory' is prev for `Declaring Channel Dependencies' in sectioning but not in menu
>./doc/guix.ko.texi:5226: warning: node `' is up for `Declaring Channel Dependencies' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Declaring Channel Dependencies' despite being its Up target
>./doc/guix.ko.texi:5268: warning: node `Primary URL' is next for `Specifying Channel Authorizations' in sectioning but not in menu
>./doc/guix.ko.texi:5268: warning: node `Declaring Channel Dependencies' is prev for `Specifying Channel Authorizations' in sectioning but not in menu
>./doc/guix.ko.texi:5268: warning: node `' is up for `Specifying Channel Authorizations' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Specifying Channel Authorizations' despite being its Up target
>./doc/guix.ko.texi:5367: warning: node `Writing Channel News' is next for `Primary URL' in sectioning but not in menu
>./doc/guix.ko.texi:5367: warning: node `Specifying Channel Authorizations' is prev for `Primary URL' in sectioning but not in menu
>./doc/guix.ko.texi:5367: warning: node `' is up for `Primary URL' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Primary URL' despite being its Up target
>./doc/guix.ko.texi:5390: warning: node `Primary URL' is prev for `Writing Channel News' in sectioning but not in menu
>./doc/guix.ko.texi:5390: warning: node `' is up for `Writing Channel News' in sectioning but not in menu
>./doc/guix.ko.texi:4933: node `' lacks menu item for `Writing Channel News' despite being its Up target
>./doc/guix.ko.texi:5480: warning: node `Invoking guix pack' is next for `Invoking guix environment' in sectioning but not in menu
>./doc/guix.ko.texi:5480: warning: node `' is up for `Invoking guix environment' in sectioning but not in menu
>./doc/guix.ko.texi:5459: node `' lacks menu item for `Invoking guix environment' despite being its Up target
>./doc/guix.ko.texi:5830: warning: node `The GCC toolchain' is next for `Invoking guix pack' in sectioning but not in menu
>./doc/guix.ko.texi:5830: warning: node `Invoking guix environment' is prev for `Invoking guix pack' in sectioning but not in menu
>./doc/guix.ko.texi:5830: warning: node `' is up for `Invoking guix pack' in sectioning but not in menu
>./doc/guix.ko.texi:5459: node `' lacks menu item for `Invoking guix
This message was truncated. Download the full message here.
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 18 Oct 2021 13:54
Re: bug#51259: Cannot build Guix from source (error messages about the translations)
(name . Leo Famulari)(address . leo@famulari.name)
8735oybl41.fsf@nckx
Leo Famulari ???
Toggle quote (3 lines)
> ./doc/guix.ko.texi:431: here is the previous definition as @node
> ./doc/guix.ko.texi:2065: @node `??????' previously defined

This seems to hint at a locale error, and indeed it was: when I
check out a fresh guix.git and build it in a recent ‘guix
environment guix’ on Guix System, I get the same error as you.

When I repeat the exact same steps but first set

$ export LC_ALL=en_IE.utf8

in the environment, the build goes swimmingly.

I only ran each test once so it could be a coincidence, but I
doubt it.

As for the actual error…

Toggle quote (3 lines)
> ./doc/guix.ko.texi:431: here is the previous definition as @node
> ./doc/guix.ko.texi:2065: @node `??????' previously defined

At the risk of being naive: could it simply be that the missing
locale turns the Korean UTF-8 into a literal ‘??????’, which of
course matches another mangled @node string of the same length?

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYW1hXg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW152lgA/RjThaTrq7XHtbr931IhTLGWjYMBeA1YshD4YEXw
3LPRAQC3uCI8V/L0d0bBsyxHmzHBh6+nMo3mWHBDRpcq25cNBQ==
=6EbV
-----END PGP SIGNATURE-----

J
J
Julien Lepiller wrote on 18 Oct 2021 14:57
Re: bug#51259: Cannot build Guix from sour ce (error messages about the translations)
(address . 51259@debbugs.gnu.org)
9A2AACA6-D952-46B2-A618-3547CCBCD7AA@lepiller.eu
I managed to reproduce the issue on fedora, in a broken pure environmert. In a pure environment, fedora gives error messages about software that doesn't exist, and asks if I want to install them. If I ^C at that point, I enter the environment, but some things are missing.

There are litteral ?? in manuals that don't use ascii, and this is especially visible in the korean manual. Po4a works fine in my experimentation, but it looks like the po parser or regular expression matching is broken at the POXREF phase, and everything is copied as literal ??.

Maybe setting LANG to a UTF-8 locale in the poxref rule would help? It didn't hix the issue in my case, but I think that's because I'm missing even more variables.

Le 18 octobre 2021 07:54:08 GMT-04:00, Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org> a écrit :
Toggle quote (29 lines)
>Leo Famulari ???
>> ./doc/guix.ko.texi:431: here is the previous definition as @node
>> ./doc/guix.ko.texi:2065: @node `??????' previously defined
>
>This seems to hint at a locale error, and indeed it was: when I
>check out a fresh guix.git and build it in a recent ‘guix
>environment guix’ on Guix System, I get the same error as you.
>
>When I repeat the exact same steps but first set
>
> $ export LC_ALL=en_IE.utf8
>
>in the environment, the build goes swimmingly.
>
>I only ran each test once so it could be a coincidence, but I
>doubt it.
>
>As for the actual error…
>
>> ./doc/guix.ko.texi:431: here is the previous definition as @node
>> ./doc/guix.ko.texi:2065: @node `??????' previously defined
>
>At the risk of being naive: could it simply be that the missing
>locale turns the Korean UTF-8 into a literal ‘??????’, which of
>course matches another mangled @node string of the same length?
>
>Kind regards,
>
>T G-R
Attachment: file
L
L
Leo Famulari wrote on 18 Oct 2021 16:37
Re: bug#51259: Cannot build Guix from source (error messages about the translations)
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 51259@debbugs.gnu.org)
YW2GlDIKrFefniN9@jasmine.lan
On Mon, Oct 18, 2021 at 07:23:40AM -0400, Julien Lepiller wrote:
Toggle quote (4 lines)
> Hi Leo,
>
> Looks like something is wrong with your setup… are you running in "guix environment guix"? What's your $LANG?

Yes, it's in a "pure" environment.

Normally LANG=en_US.UTF-8, but in the pure environment, LANG is unset.
In both cases, LC_ALL is unset.
S
S
Simon Streit wrote on 19 Oct 2021 10:18
(name . Leo Famulari)(address . leo@famulari.name)(address . 51259@debbugs.gnu.org)
ygu1r4h4ecd.fsf@netpanic.org
Hello,

Leo Famulari <leo@famulari.name> writes:

Toggle quote (5 lines)
> I noticed today that I can't build Guix from a fresh Git checkout in the
> usual manner. Something goes wrong while building the Korean language
> info manual. I tested it several times and on two different computers,
> both x86_64.

Can confirm that I can't build on a fresh Guix or on another machine.

I just had a look into the file guix.ko.texi. Unfortunately the file
itself is indeed full of question marks:
Toggle snippet (12 lines)
@menu
* ???????????? ??????:: Guix ?????? ????????????!
* ????????????:: Guix??? ???????????? ??????????????? ?????????
???????????????.
* ????????? ????????? ????????????:: Guix ????????????.
* ?????? ????????????:: ?????? ????????? ?????? ????????????.
* guix-?????? ????????????:: ?????? ?????? ????????????.
* ?????????????????? ??????:: ??????????????????-?????? ??????.
* Guix ????????????:: Guix ????????? ?????? ????????????.
@end menu

Chances are something wrong?


Kind regards,
Simon
S
S
Simon Streit wrote on 19 Oct 2021 11:59
(name . Leo Famulari)(address . leo@famulari.name)(address . 51259@debbugs.gnu.org)
yguwnm92v3t.fsf@netpanic.org
Simon Streit <simon@netpanic.org> writes:
Toggle quote (23 lines)
> Leo Famulari <leo@famulari.name> writes:
>
>> I noticed today that I can't build Guix from a fresh Git checkout in the
>> usual manner. Something goes wrong while building the Korean language
>> info manual. I tested it several times and on two different computers,
>> both x86_64.
>
> Can confirm that I can't build on a fresh Guix or on another machine.
>
> I just had a look into the file guix.ko.texi. Unfortunately the file
> itself is indeed full of question marks:
>
> @menu
> * ???????????? ??????:: Guix ?????? ????????????!
> * ????????????:: Guix??? ???????????? ??????????????? ?????????
> ???????????????.
> * ????????? ????????? ????????????:: Guix ????????????.
> * ?????? ????????????:: ?????? ????????? ?????? ????????????.
> * guix-?????? ????????????:: ?????? ?????? ????????????.
> * ?????????????????? ??????:: ??????????????????-?????? ??????.
> * Guix ????????????:: Guix ????????? ?????? ????????????.
> @end menu

Extending my previous message:

I first thought that it had to do with commit
15c91189cb61c579f4289047c79530cefe75215f, but it turns out that commit
0623138ffa5b066afc25547ffdeb97753cb0ee9a creates these errors.

Commit d1b375402f5680b1e5a77dd1fb77e1e9d94625d1 is okay.


Kind regards
Simon
R
R
Raphaël Mélotte wrote on 19 Oct 2021 12:29
(address . 51259@debbugs.gnu.org)
a6f6f214-bc23-74dc-49b2-b77306cbd085@mind.be
On 10/19/21 11:59 AM, Simon Streit wrote:
Toggle quote (7 lines)
> Extending my previous message:
>
> I first thought that it had to do with commit
> 15c91189cb61c579f4289047c79530cefe75215f, but it turns out that commit
> 0623138ffa5b066afc25547ffdeb97753cb0ee9a creates these errors.
>
> Commit d1b375402f5680b1e5a77dd1fb77e1e9d94625d1 is okay.
Building on Debian 10, I was about to report the same.
From a git bisect I got:
"0623138ffa5b066afc25547ffdeb97753cb0ee9a is the first bad commit".

I can confirm that in the meantime, compiling with $LC_ALL set manually (to the
value of $LANG outside the environment) also worked for me:
---
guix environment guix --pure --ad-hoc help2man git strace bash -- sh -c "export
LC_ALL=$LANG && ./bootstrap && ./configure --localstatedir=/var && make
---


Kind regards,

Raphaël
R
R
Ricardo Wurmus wrote on 19 Oct 2021 23:35
Cannot build Guix from source (error messages about the translations)
(address . 51259@debbugs.gnu.org)
8735owpug1.fsf@elephly.net
I had the same problem with my checkout of the “master” branch
after I ran “guix pull --branch=core-updates-frozen”.

I worked around this by running

rm doc/contributing.*.texi

and then ./bootstrap, ./configure …, make. This made PO4A
regenerate these files correctly.

--
Ricardo
J
J
Julien Lepiller wrote on 20 Oct 2021 04:06
(name . Raphaël Mélotte)(address . raphael.melotte@mind.be)
20211020040615.48fc8045@tachikoma.lepiller.eu
Le Tue, 19 Oct 2021 12:29:47 +0200,
Raphaël Mélotte <raphael.melotte@mind.be> a écrit :

Toggle quote (28 lines)
> On 10/19/21 11:59 AM, Simon Streit wrote:
> > Extending my previous message:
> >
> > I first thought that it had to do with commit
> > 15c91189cb61c579f4289047c79530cefe75215f, but it turns out that
> > commit 0623138ffa5b066afc25547ffdeb97753cb0ee9a creates these
> > errors.
> >
> > Commit d1b375402f5680b1e5a77dd1fb77e1e9d94625d1 is okay.
> Building on Debian 10, I was about to report the same.
> From a git bisect I got:
> "0623138ffa5b066afc25547ffdeb97753cb0ee9a is the first bad commit".
>
> I can confirm that in the meantime, compiling with $LC_ALL set
> manually (to the value of $LANG outside the environment) also worked
> for me: ---
> guix environment guix --pure --ad-hoc help2man git strace bash -- sh
> -c "export LC_ALL=$LANG && ./bootstrap && ./configure
> --localstatedir=/var && make ---
>
>
> Kind regards,
>
> Raphaël
>
>
>

Since it seems this is due to the lack of the LC_ALL variable in the
pure environment, how about the attached patch?
From bcabc8a22e8462e9398d09efa1c9eef450fb02c4 Mon Sep 17 00:00:00 2001
Message-Id: <bcabc8a22e8462e9398d09efa1c9eef450fb02c4.1634695362.git.julien@lepiller.eu>
From: Julien Lepiller <julien@lepiller.eu>
Date: Wed, 20 Oct 2021 04:02:06 +0200
Subject: [PATCH] doc: Set LC_ALL when translating xref commands.

* doc/local.mk (xref_command): Set LC_ALL.
---
doc/local.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/doc/local.mk b/doc/local.mk
index fff11f8183..751d0e5f90 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -102,7 +102,7 @@ PO4A_PARAMS += -f texinfo # texinfo format
# reference is not translated, which means it references a section that does not
# exist.
define xref_command
-$(top_srcdir)/pre-inst-env $(GUILE) --no-auto-compile \
+LC_ALL=en_US.UTF-8 $(top_srcdir)/pre-inst-env $(GUILE) --no-auto-compile \
"$(top_srcdir)/build-aux/convert-xref.scm" \
$@.tmp $<
endef
--
2.33.0
L
L
Leo Famulari wrote on 20 Oct 2021 06:01
(no subject)
(address . control@debbugs.gnu.org)
YW+UpLaZU19BCDoD@jasmine.lan
merge 51294 51259
R
R
Raphaël Mélotte wrote on 20 Oct 2021 12:40
Re: bug#51259: Cannot build Guix from source (error messages about the translations)
(name . Julien Lepiller)(address . julien@lepiller.eu)
545366bf-bd00-ac11-d65c-181fd5ba7dd9@mind.be
Hello,

On 10/20/21 4:06 AM, Julien Lepiller wrote:

Toggle quote (4 lines)
>
> Since it seems this is due to the lack of the LC_ALL variable in the
> pure environment, how about the attached patch?

With the attached patch on top of master (c650160abb), the build fails with
messages similar to this one:
./doc/guix.de.texi:158: @ref reference to nonexistent node `Translating Guix'

I attached the build logs.

I used the following to build, to make sure to start from a clean tree:
---
git clean -ffdx && guix environment guix --pure --ad-hoc help2man git strace --
sh -c './bootstrap && ./configure --localstatedir=/var && make' | tee build.log

---

Kind regards,

Raphaël
Attachment: build.log
J
J
Julien Lepiller wrote on 20 Oct 2021 13:12
Re: bug#51259: Cannot build Guix from sour ce (error messages about the translations)
(name . Raphaël Mélotte)(address . raphael.melotte@mind.be)
56C445E6-0B4E-4E66-9112-0164028F57C0@lepiller.eu
Arg, I don't get why you get that one… I'll see what I can find. In the meantime, you can build the rest of guix locally with "make make-go", which doesn't depend on the manuals, although you won't be able to push with the prepush hook.

Le 20 octobre 2021 06:40:17 GMT-04:00, "Raphaël Mélotte" <raphael.melotte@mind.be> a écrit :
Toggle quote (24 lines)
>Hello,
>
>On 10/20/21 4:06 AM, Julien Lepiller wrote:
>
>>
>> Since it seems this is due to the lack of the LC_ALL variable in the
>> pure environment, how about the attached patch?
>
>With the attached patch on top of master (c650160abb), the build fails with
>messages similar to this one:
>./doc/guix.de.texi:158: @ref reference to nonexistent node `Translating Guix'
>
>I attached the build logs.
>
>I used the following to build, to make sure to start from a clean tree:
>---
>git clean -ffdx && guix environment guix --pure --ad-hoc help2man git strace --
>sh -c './bootstrap && ./configure --localstatedir=/var && make' | tee build.log
>
>---
>
>Kind regards,
>
>Raphaël
Attachment: file
J
J
Julien Lepiller wrote on 20 Oct 2021 14:11
Re: bug#51259: Cannot build Guix from source (error messages about the translations)
(name . Raphaël Mélotte)(address . raphael.melotte@mind.be)
20211020141138.77a7021f@tachikoma.lepiller.eu
Le Wed, 20 Oct 2021 12:40:17 +0200,
Raphaël Mélotte <raphael.melotte@mind.be> a écrit :

Toggle quote (27 lines)
> Hello,
>
> On 10/20/21 4:06 AM, Julien Lepiller wrote:
>
> >
> > Since it seems this is due to the lack of the LC_ALL variable in the
> > pure environment, how about the attached patch?
>
> With the attached patch on top of master (c650160abb), the build
> fails with messages similar to this one:
> ./doc/guix.de.texi:158: @ref reference to nonexistent node
> `Translating Guix'
>
> I attached the build logs.
>
> I used the following to build, to make sure to start from a clean
> tree: ---
> git clean -ffdx && guix environment guix --pure --ad-hoc help2man git
> strace -- sh -c './bootstrap && ./configure --localstatedir=/var &&
> make' | tee build.log
>
> ---
>
> Kind regards,
>
> Raphaël

So, it looks like my change prevented the xref command from running
altogether, which explains the error. Moving the variable definition
seems to help; I was able to build from a clean checkout in a pure
environment with the attached revised patch.
From 9cf411955afe9d3cb95d8060bb37ce97fdcbacb0 Mon Sep 17 00:00:00 2001
Message-Id: <9cf411955afe9d3cb95d8060bb37ce97fdcbacb0.1634731604.git.julien@lepiller.eu>
From: Julien Lepiller <julien@lepiller.eu>
Date: Wed, 20 Oct 2021 04:02:06 +0200
Subject: [PATCH] doc: Set LC_ALL when translating xref commands.

* doc/local.mk (xref_command): Set LC_ALL.
---
doc/local.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (28 lines)
diff --git a/doc/local.mk b/doc/local.mk
index fff11f8183..d0cab306a4 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -110,18 +110,18 @@ endef
$(srcdir)/%D%/guix.%.texi: po/doc/guix-manual.%.po $(srcdir)/%D%/contributing.%.texi guix/build/po.go
-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix.texi" -p "$<" -l "$@.tmp"
-sed -i "s|guix\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp"
- -$(AM_V_POXREF)$(xref_command)
+ -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command)
-mv "$@.tmp" "$@"
$(srcdir)/%D%/guix-cookbook.%.texi: po/doc/guix-cookbook.%.po guix/build/po.go
-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix-cookbook.texi" -p "$<" -l "$@.tmp"
-sed -i "s|guix-cookbook\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp"
- -$(AM_V_POXREF)$(xref_command)
+ -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command)
-mv "$@.tmp" "$@"
$(srcdir)/%D%/contributing.%.texi: po/doc/guix-manual.%.po guix/build/po.go
-$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/contributing.texi" -p "$<" -l "$@.tmp"
- -$(AM_V_POXREF)$(xref_command)
+ -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command)
-mv "$@.tmp" "$@"
%D%/os-config-%.texi: gnu/system/examples/%.tmpl
--
2.33.0
R
R
Raphaël Mélotte wrote on 20 Oct 2021 16:20
(name . Julien Lepiller)(address . julien@lepiller.eu)
db3c8fb4-8105-cec2-bbbc-c9a083ad5fef@mind.be
On 10/20/21 2:11 PM, Julien Lepiller wrote:
Toggle quote (6 lines)
> So, it looks like my change prevented the xref command from running
> altogether, which explains the error. Moving the variable definition
> seems to help; I was able to build from a clean checkout in a pure
> environment with the attached revised patch.
>

Indeed! With this change it compiles successfully on my side as well.

Thanks,

Raphaël
D
D
Denis 'GNUtoo' Carikli wrote on 20 Oct 2021 17:44
Re: Cannot build Guix from source (error messages about the translations)
(address . 51259@debbugs.gnu.org)
20211020174438.3cef8ecc@primarylaptop.localdomain
Hi,

I'm on i686, and I've tried all the approaches mentioned:
- export LC_ALL=en_US.utf8
- rm doc/contributing.*.texi
- the patch in doc/local.mk

on top of the following commit:
19d3cfec72 gnu: python-arrow: Move python-pytz to native-inputs.

I tried building Guix with both:
- guix environment guix -C guix
- guix environment --pure guix

And for building I use
export LC_ALL=en_US.utf8
rm -f doc/contributing.*.texi && \
./bootstrap && \
./configure --localstatedir=/var && \
make clean && \
make -j2

And that gives the following compilation error (with guix environment
guix -C guix):
Toggle quote (98 lines)
> ). Please consider running po4a-updatepo to refresh it.
> sed -i "s|guix\.info|$(basename "doc/guix.zh_CN.texi" | sed 's|texi$|info|')|" "doc/guix.zh_CN.texi.tmp"
> POXREF doc/guix.zh_CN.texi
> translated 914 cross-references in 'doc/guix.sk.texi.tmp'
> mv "doc/guix.sk.texi.tmp" "doc/guix.sk.texi"
> translated 914 cross-references in 'doc/guix.zh_CN.texi.tmp'
> mv "doc/guix.zh_CN.texi.tmp" "doc/guix.zh_CN.texi"
> make all-recursive
> make[1]: Entering directory '/home/gnutoo/work/projects/guix/guix'
> Making all in po/guix
> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix/po/guix'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix/po/guix'
> Making all in po/packages
> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix/po/packages'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix/po/packages'
> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix'
> MAKEINFO doc/guix-cookbook.ko.info
> MAKEINFO doc/guix-cookbook.zh_Hans.info
> ./doc/guix-cookbook.zh_Hans.texi:2892: @node `????????????' previously defined
> ./doc/guix-cookbook.zh_Hans.texi:1385: here is the previous definition as @node
> ./doc/guix-cookbook.zh_Hans.texi:1385: warning: node next `????????????' in menu `Acknowledgments' and in sectioning `Advanced package management' differ
> ./doc/guix-cookbook.zh_Hans.texi:1385: warning: node prev `????????????' in menu `Advanced package management' and in sectioning `??????' differ
> ./doc/guix-cookbook.zh_Hans.texi:2483: warning: node next `Advanced package management' in menu `????????????' and in sectioning `' differ
> ./doc/guix-cookbook.zh_Hans.texi:2902: warning: node `' is up for `Guix environment via direnv' in sectioning but not in menu
> ./doc/guix-cookbook.zh_Hans.texi:2892: node `' lacks menu item for `Guix environment via direnv' despite being its Up target
> ./doc/guix-cookbook.zh_Hans.texi:3014: warning: node prev `Acknowledgments' in menu `????????????' and in sectioning `' differ
> make[2]: *** [Makefile:5627: doc/guix-cookbook.zh_Hans.info] Error 1
> make[2]: *** Waiting for unfinished jobs....
> Use of uninitialized value in hash element at /gnu/store/0n07srrsfkh6mpzq9m78p18674bci39r-texinfo-6.7/share/texinfo/Texinfo/Structuring.pm line 639.
> ./doc/guix-cookbook.ko.texi:565: @node `??????' previously defined
> ./doc/guix-cookbook.ko.texi:319: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:781: @node `????????? ??????' previously defined
> ./doc/guix-cookbook.ko.texi:333: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:1332: @node `?????? ??????' previously defined
> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:1368: @node `??????' previously defined
> ./doc/guix-cookbook.ko.texi:319: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:1387: @node `????????? ??????' previously defined
> ./doc/guix-cookbook.ko.texi:333: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:2895: @node `?????? ??????' previously defined
> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:3048: @node `?????? ??????' previously defined
> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
> ./doc/guix-cookbook.ko.texi:319: warning: node next `??????' in menu `????????? ??????' and in sectioning `' differ
> ./doc/guix-cookbook.ko.texi:333: warning: node `????????? ????????? ??????' is next for `????????? ??????' in menu but not in sectioning
> ./doc/guix-cookbook.ko.texi:333: warning: node `??????' is prev for `????????? ??????' in menu but not in sectioning
> ./doc/guix-cookbook.ko.texi:579: warning: node next `?????? ??????' in menu `????????? ???' and in sectioning `@samp{GUIX_PACKAGE_PATH}' differ
> ./doc/guix-cookbook.ko.texi:579: warning: node `GNU ?????? ?????? ?????????' is prev for `?????? ??????' in menu but not in sectioning
> ./doc/guix-cookbook.ko.texi:579: warning: node up `?????? ??????' in menu `Top' and in sectioning `' differ
> ./doc/guix-cookbook.ko.texi:579: warning: for `?????? ??????', up in menu `Top' and up `' don't match
> ./doc/guix-cookbook.ko.texi:1417: warning: node `????????? ???????????????' is next for `????????? TTY??? ??????-?????????' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1417: warning: node `' is up for `????????? TTY??? ??????-?????????' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `????????? TTY??? ??????-?????????' despite being its Up target
> ./doc/guix-cookbook.ko.texi:1460: warning: node `Guix System Image API' is next for `????????? ???????????????' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1460: warning: node `????????? TTY??? ??????-?????????' is prev for `????????? ???????????????' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1460: warning: node `' is up for `????????? ???????????????' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `????????? ???????????????' despite being its Up target
> ./doc/guix-cookbook.ko.texi:1701: warning: node `Connecting to Wireguard VPN' is next for `Guix System Image API' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1701: warning: node `????????? ???????????????' is prev for `Guix System Image API' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1701: warning: node `' is up for `Guix System Image API' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Guix System Image API' despite being its Up target
> ./doc/guix-cookbook.ko.texi:1911: warning: node `Customizing a Window Manager' is next for `Connecting to Wireguard VPN' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1911: warning: node `Guix System Image API' is prev for `Connecting to Wireguard VPN' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1911: warning: node `' is up for `Connecting to Wireguard VPN' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Connecting to Wireguard VPN' despite being its Up target
> ./doc/guix-cookbook.ko.texi:1987: warning: node `Running Guix on a Linode Server' is next for `Customizing a Window Manager' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1987: warning: node `Connecting to Wireguard VPN' is prev for `Customizing a Window Manager' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1987: warning: node `' is up for `Customizing a Window Manager' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Customizing a Window Manager' despite being its Up target
> ./doc/guix-cookbook.ko.texi:2081: warning: node `Setting up a bind mount' is next for `Running Guix on a Linode Server' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2081: warning: node `Customizing a Window Manager' is prev for `Running Guix on a Linode Server' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2081: warning: node `' is up for `Running Guix on a Linode Server' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Running Guix on a Linode Server' despite being its Up target
> ./doc/guix-cookbook.ko.texi:2320: warning: node `Getting substitutes from Tor' is next for `Setting up a bind mount' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2320: warning: node `Running Guix on a Linode Server' is prev for `Setting up a bind mount' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2320: warning: node `' is up for `Setting up a bind mount' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Setting up a bind mount' despite being its Up target
> ./doc/guix-cookbook.ko.texi:2369: warning: node `Setting up NGINX with Lua' is next for `Getting substitutes from Tor' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2369: warning: node `Setting up a bind mount' is prev for `Getting substitutes from Tor' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2369: warning: node `' is up for `Getting substitutes from Tor' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Getting substitutes from Tor' despite being its Up target
> ./doc/guix-cookbook.ko.texi:2428: warning: node `Getting substitutes from Tor' is prev for `Setting up NGINX with Lua' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2428: warning: node `' is up for `Setting up NGINX with Lua' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Setting up NGINX with Lua' despite being its Up target
> ./doc/guix-cookbook.ko.texi:2486: warning: node next `????????? ????????? ??????' in menu `?????? ??????' and in sectioning `' differ
> ./doc/guix-cookbook.ko.texi:2486: warning: node prev `????????? ????????? ??????' in menu `????????? ??????' and in sectioning `' differ
> ./doc/guix-cookbook.ko.texi:2905: warning: node `' is up for `Guix environment via direnv' in sectioning but not in menu
> ./doc/guix-cookbook.ko.texi:2895: node `' lacks menu item for `Guix environment via direnv' despite being its Up target
> ./doc/guix-cookbook.ko.texi:3017: warning: node prev `????????? ???' in menu `?????? ??????' and in sectioning `' differ
> ./doc/guix-cookbook.ko.texi:3042: warning: node next `GNU ?????? ?????? ?????????' in menu `?????? ??????' and in sectioning `' differ
> make[2]: *** [Makefile:5495: doc/guix-cookbook.ko.info] Error 1
> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix'
> make[1]: *** [Makefile:6207: all-recursive] Error 1
> make[1]: Leaving directory '/home/gnutoo/work/projects/guix/guix'
> make: *** [Makefile:3904: all] Error 2

I'll then try 'make make-go' instead in order to be able to test
patches before sending them.

Denis.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmFwOWcACgkQX138wUF3
4mME+BAAsB0wEpXSAVABMu87FDn5IZruoHlZxsj2snKQWrqZfjTOvZ5MbIq+RQX6
f0m282XcpxHLhNX87IbWapd6mS34SGzezt2JFZCfLkOMQZvY1DUZg/DlieDMtzpG
53XgpBnAYrCrEDbaUe3lIa6/rsPSUKaDkR9l1xbfb5W9cLhUiWPnJCS4q+oqxBBK
1JsL/PrWNUttdOKnx+OOAYZyXULht3MaR1BF/ABPbR7lPtECxIs1xh3lC87wXE+w
kJDLu1Ca1tNMt9U3QJSisUlLRlzgqJLI4WVZCdT1N8rYYGTGfEJHeK17NyHk2dAM
zHdM32Lr2o40E28B3OmgiOscwcNIUV8CBupcQ2x+hzpHJspmBnV6Hdu1KIuOiARA
ioftulBOqxtuvrdrBxPKJQ8z2BIli6hqLmHhuvPE7l130HwMssKKMikWjUBwKtM1
4y4gZPe7lNWlMVDIq/ueppgCkKGrFTJ9oktT9Xi6IMDPdecjuWlhNG9qVITSGTDE
UCUJWS1iUUaE0fy6EQzYibNnk5EMqI6vcxUHyxuxaSJXgI/xGNeC+OEIm/NGC/ww
mUXHtYifOg9pegR8M/+XVkyFJeE2OD21RQ+TImrKheCsUGD83O3097HFlKrj7lR6
K08rPOafs8kAsxuCr4pTTdm3l12NqXC8KcIwUcoatir8ytsVPog=
=FHjM
-----END PGP SIGNATURE-----


J
J
Julien Lepiller wrote on 20 Oct 2021 17:52
Re: bug#51259: Cannot build Guix from sour ce (error messages about the translations)
267DB191-1D85-4ADE-8FD6-741C7F8EF154@lepiller.eu
You might be running with modified files, or the container is doing something unexpected. Can you try again from a clean checkout, or after cleaning with "git clean -fdx"? This should put the repo back to the last commit, and remove any additional files, as if you just pulled it.

Le 20 octobre 2021 11:44:38 GMT-04:00, Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> a écrit :
Toggle quote (126 lines)
>Hi,
>
>I'm on i686, and I've tried all the approaches mentioned:
>- export LC_ALL=en_US.utf8
>- rm doc/contributing.*.texi
>- the patch in doc/local.mk
>
>on top of the following commit:
>19d3cfec72 gnu: python-arrow: Move python-pytz to native-inputs.
>
>I tried building Guix with both:
>- guix environment guix -C guix
>- guix environment --pure guix
>
>And for building I use
>export LC_ALL=en_US.utf8
>rm -f doc/contributing.*.texi && \
>./bootstrap && \
>./configure --localstatedir=/var && \
>make clean && \
>make -j2
>
>And that gives the following compilation error (with guix environment
>guix -C guix):
>> ). Please consider running po4a-updatepo to refresh it.
>> sed -i "s|guix\.info|$(basename "doc/guix.zh_CN.texi" | sed 's|texi$|info|')|" "doc/guix.zh_CN.texi.tmp"
>> POXREF doc/guix.zh_CN.texi
>> translated 914 cross-references in 'doc/guix.sk.texi.tmp'
>> mv "doc/guix.sk.texi.tmp" "doc/guix.sk.texi"
>> translated 914 cross-references in 'doc/guix.zh_CN.texi.tmp'
>> mv "doc/guix.zh_CN.texi.tmp" "doc/guix.zh_CN.texi"
>> make all-recursive
>> make[1]: Entering directory '/home/gnutoo/work/projects/guix/guix'
>> Making all in po/guix
>> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix/po/guix'
>> make[2]: Nothing to be done for 'all'.
>> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix/po/guix'
>> Making all in po/packages
>> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix/po/packages'
>> make[2]: Nothing to be done for 'all'.
>> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix/po/packages'
>> make[2]: Entering directory '/home/gnutoo/work/projects/guix/guix'
>> MAKEINFO doc/guix-cookbook.ko.info
>> MAKEINFO doc/guix-cookbook.zh_Hans.info
>> ./doc/guix-cookbook.zh_Hans.texi:2892: @node `????????????' previously defined
>> ./doc/guix-cookbook.zh_Hans.texi:1385: here is the previous definition as @node
>> ./doc/guix-cookbook.zh_Hans.texi:1385: warning: node next `????????????' in menu `Acknowledgments' and in sectioning `Advanced package management' differ
>> ./doc/guix-cookbook.zh_Hans.texi:1385: warning: node prev `????????????' in menu `Advanced package management' and in sectioning `??????' differ
>> ./doc/guix-cookbook.zh_Hans.texi:2483: warning: node next `Advanced package management' in menu `????????????' and in sectioning `' differ
>> ./doc/guix-cookbook.zh_Hans.texi:2902: warning: node `' is up for `Guix environment via direnv' in sectioning but not in menu
>> ./doc/guix-cookbook.zh_Hans.texi:2892: node `' lacks menu item for `Guix environment via direnv' despite being its Up target
>> ./doc/guix-cookbook.zh_Hans.texi:3014: warning: node prev `Acknowledgments' in menu `????????????' and in sectioning `' differ
>> make[2]: *** [Makefile:5627: doc/guix-cookbook.zh_Hans.info] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> Use of uninitialized value in hash element at /gnu/store/0n07srrsfkh6mpzq9m78p18674bci39r-texinfo-6.7/share/texinfo/Texinfo/Structuring.pm line 639.
>> ./doc/guix-cookbook.ko.texi:565: @node `??????' previously defined
>> ./doc/guix-cookbook.ko.texi:319: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:781: @node `????????? ??????' previously defined
>> ./doc/guix-cookbook.ko.texi:333: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:1332: @node `?????? ??????' previously defined
>> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:1368: @node `??????' previously defined
>> ./doc/guix-cookbook.ko.texi:319: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:1387: @node `????????? ??????' previously defined
>> ./doc/guix-cookbook.ko.texi:333: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:2895: @node `?????? ??????' previously defined
>> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:3048: @node `?????? ??????' previously defined
>> ./doc/guix-cookbook.ko.texi:579: here is the previous definition as @node
>> ./doc/guix-cookbook.ko.texi:319: warning: node next `??????' in menu `????????? ??????' and in sectioning `' differ
>> ./doc/guix-cookbook.ko.texi:333: warning: node `????????? ????????? ??????' is next for `????????? ??????' in menu but not in sectioning
>> ./doc/guix-cookbook.ko.texi:333: warning: node `??????' is prev for `????????? ??????' in menu but not in sectioning
>> ./doc/guix-cookbook.ko.texi:579: warning: node next `?????? ??????' in menu `????????? ???' and in sectioning `@samp{GUIX_PACKAGE_PATH}' differ
>> ./doc/guix-cookbook.ko.texi:579: warning: node `GNU ?????? ?????? ?????????' is prev for `?????? ??????' in menu but not in sectioning
>> ./doc/guix-cookbook.ko.texi:579: warning: node up `?????? ??????' in menu `Top' and in sectioning `' differ
>> ./doc/guix-cookbook.ko.texi:579: warning: for `?????? ??????', up in menu `Top' and up `' don't match
>> ./doc/guix-cookbook.ko.texi:1417: warning: node `????????? ???????????????' is next for `????????? TTY??? ??????-?????????' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1417: warning: node `' is up for `????????? TTY??? ??????-?????????' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `????????? TTY??? ??????-?????????' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:1460: warning: node `Guix System Image API' is next for `????????? ???????????????' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1460: warning: node `????????? TTY??? ??????-?????????' is prev for `????????? ???????????????' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1460: warning: node `' is up for `????????? ???????????????' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `????????? ???????????????' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:1701: warning: node `Connecting to Wireguard VPN' is next for `Guix System Image API' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1701: warning: node `????????? ???????????????' is prev for `Guix System Image API' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1701: warning: node `' is up for `Guix System Image API' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Guix System Image API' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:1911: warning: node `Customizing a Window Manager' is next for `Connecting to Wireguard VPN' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1911: warning: node `Guix System Image API' is prev for `Connecting to Wireguard VPN' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1911: warning: node `' is up for `Connecting to Wireguard VPN' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Connecting to Wireguard VPN' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:1987: warning: node `Running Guix on a Linode Server' is next for `Customizing a Window Manager' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1987: warning: node `Connecting to Wireguard VPN' is prev for `Customizing a Window Manager' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1987: warning: node `' is up for `Customizing a Window Manager' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Customizing a Window Manager' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:2081: warning: node `Setting up a bind mount' is next for `Running Guix on a Linode Server' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2081: warning: node `Customizing a Window Manager' is prev for `Running Guix on a Linode Server' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2081: warning: node `' is up for `Running Guix on a Linode Server' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Running Guix on a Linode Server' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:2320: warning: node `Getting substitutes from Tor' is next for `Setting up a bind mount' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2320: warning: node `Running Guix on a Linode Server' is prev for `Setting up a bind mount' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2320: warning: node `' is up for `Setting up a bind mount' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Setting up a bind mount' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:2369: warning: node `Setting up NGINX with Lua' is next for `Getting substitutes from Tor' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2369: warning: node `Setting up a bind mount' is prev for `Getting substitutes from Tor' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2369: warning: node `' is up for `Getting substitutes from Tor' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Getting substitutes from Tor' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:2428: warning: node `Getting substitutes from Tor' is prev for `Setting up NGINX with Lua' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2428: warning: node `' is up for `Setting up NGINX with Lua' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:1387: node `' lacks menu item for `Setting up NGINX with Lua' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:2486: warning: node next `????????? ????????? ??????' in menu `?????? ??????' and in sectioning `' differ
>> ./doc/guix-cookbook.ko.texi:2486: warning: node prev `????????? ????????? ??????' in menu `????????? ??????' and in sectioning `' differ
>> ./doc/guix-cookbook.ko.texi:2905: warning: node `' is up for `Guix environment via direnv' in sectioning but not in menu
>> ./doc/guix-cookbook.ko.texi:2895: node `' lacks menu item for `Guix environment via direnv' despite being its Up target
>> ./doc/guix-cookbook.ko.texi:3017: warning: node prev `????????? ???' in menu `?????? ??????' and in sectioning `' differ
>> ./doc/guix-cookbook.ko.texi:3042: warning: node next `GNU ?????? ?????? ?????????' in menu `?????? ??????' and in sectioning `' differ
>> make[2]: *** [Makefile:5495: doc/guix-cookbook.ko.info] Error 1
>> make[2]: Leaving directory '/home/gnutoo/work/projects/guix/guix'
>> make[1]: *** [Makefile:6207: all-recursive] Error 1
>> make[1]: Leaving directory '/home/gnutoo/work/projects/guix/guix'
>> make: *** [Makefile:3904: all] Error 2
>
>I'll then try 'make make-go' instead in order to be able to test
>patches before sending them.
>
>Denis.
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 20 Oct 2021 17:57
Re: bug#51259: Cannot build Guix from source (error messages about the translations)
(name . Denis 'GNUtoo' Carikli)(address . GNUtoo@cyberdimension.org)
87y26nhenm.fsf@nckx
Denis 'GNUtoo' Carikli ???
Toggle quote (2 lines)
> - rm doc/contributing.*.texi

This isn't enough, you need to rm doc/guix*.*.texi as well:

Toggle quote (3 lines)
>> ./doc/guix-cookbook.zh_Hans.texi:2892: @node `????????????'
>> previously defined

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXA8jQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15unIBALcLmVZmiXhYghXLuVEDZI+JIFuaYMyy08wbUvFz
pz78AP0X68UQcNj3+n5HVIiTNHJ5Gt44YYoO24z/I8eSIsNsDg==
=0MsW
-----END PGP SIGNATURE-----

D
D
Denis 'GNUtoo' Carikli wrote on 21 Oct 2021 01:36
(name . Julien Lepiller)(address . julien@lepiller.eu)
20211021013638.3852c9f9@primarylaptop.localdomain
On Wed, 20 Oct 2021 11:52:54 -0400
Julien Lepiller <julien@lepiller.eu> wrote:

Toggle quote (5 lines)
> You might be running with modified files, or the container is doing
> something unexpected. Can you try again from a clean checkout, or
> after cleaning with "git clean -fdx"? This should put the repo back
> to the last commit, and remove any additional files, as if you just
> pulled it.
I tried many things (including git clean -dfx) and at the end I don't
know exactly what made it compile but it works now and I suspect that
it's either removing GUIX_PACKAGE_PATH or using guix pull && guix
package -u that fixed it for me.

Denis.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmFwqAYACgkQX138wUF3
4mO8Eg/8Ci9zGpfBI3z6n4/r4Ue6XhpJP5FZEtulhHnhSgcrm5uXS9Kr11jWTv8e
asCgrR5zHIoBBAdC9ptLS2NNTXk+wl559HXCUE2UbYYi8HQGg6/wMeeHge1VtxZl
mv9s3h92dF7e/FvXYSTtXXfAnH65qzZyum8/ShA5VNrTvOE4FGZ/mRV1obP2Ns/o
F51cS+46dsEKANCXm8O0GlYJq1OPEqlZbAporVhe5jwKwxoLay8F+j3pAHPgL8yP
h+e4JRyr164OUH98UPo9t7nAQxTzZ20Vu8TbdK5nowH/Z/IIPMcWqyP5tk4n1eWA
D33s3FdGbq7jlIa3HOLOVgG01SlaQGs00s5u34p7T6ics4cI+bggCLDR/Gv7t0FU
6UePOqaYKpEWeBKyjOGmr0xsEpnoNva96eblBBWkB4qg/U6t2Ez6WPlprmhO2f59
4/fGCx6+zAF09hFg32zrTLb0tVO/s6a+OfGPCqIzx6F53IdcVyJnaKrFXLfk8UqZ
99VQfMBflwq55IxYVlCnFLHf+qB4vIAKoyxdzCKy4ABHUDGblk+FrLw5z/OHH7vL
vRuJKv0UZ0wCDhGz9k3gaK3ybzeJwe/lIrtQAH+mFO7gWdZQf8zJi7yKX01sbV5I
2sZOXbLlR1yLGORWjq0Ir8m40dDYzVQPB5mnxM67rnrvZEJzlF4=
=FDo8
-----END PGP SIGNATURE-----


J
J
Julien Lepiller wrote on 22 Oct 2021 02:37
(name . Raphaël Mélotte)(address . raphael.melotte@mind.be)
20211022023733.521d4428@tachikoma.lepiller.eu
I pushed my patch to master as
c5881ff1f3ea321401b0f040c4e795bcd452ef5d, so tentatively closing this
bug.

Note that, if you encountered the issue, this patch is not enough: you
already have .texi files that contain lots of "??". You'll need to
start from a clean checkout, or at least clean the texi files with
something like:

git pull # to get the patch
rm doc/*.texi # remove texi files
git checkout doc # reinstate those that are commited
./bootstrap # recreate dummy files for the Makefile to be happy
make # should now be working

Sorry for the inconvenience!
Closed
?