Subject: Re: bug#51259: Cannot build Guix from source (error messages about the translations)

From: Julien Lepiller <[email-masked]>
Date: Wed, 20 Oct 2021 11:52:54 -0400

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 <[email-masked]> a écrit :
>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.