de translation breaking the build

  • Done
  • quality assurance status badge
Details
3 participants
  • Jesse Millwood
  • pelzflorian (Florian Pelz)
  • King, Spencer
Owner
unassigned
Submitted by
King, Spencer
Severity
normal

Debbugs page

K
K
King, Spencer wrote on 13 Jan 15:15 -0800
(name . King, Spencer via Guix-patches via)(address . guix-patches@gnu.org)
CYYPR02MB976392E7090AA20553DF0E18901F2@CYYPR02MB9763.namprd02.prod.outlook.com
Hello,

I just checked out a clean copy of the guix repo and am getting an error when trying to build following the instructions in the documentation https://guix.gnu.org/manual/en/html_node/Building-from-Git.html.I'm seeing several warnings ending in an error when building some of the de translation files, snippet below:

MAKEINFO doc/guix.de.info
doc/contributing.de.texi:2188: @menu reference to nonexistent node `Configuring Git'
doc/contributing.de.texi:3873: @menu reference to nonexistent node `Coding'
doc/contributing.de.texi:3874: @menu reference to nonexistent node `System Administration'
doc/contributing.de.texi:2192: warning: node `Senden einer Patch-Reihe' is next for `Git einrichten' in sectioning but not in menu
doc/contributing.de.texi:2192: warning: node `Einreichen von Patches' is up for `Git einrichten' in sectioning but not in menu
doc/contributing.de.texi:1973: node `Einreichen von Patches' lacks menu item for `Git einrichten' despite being its Up target
doc/contributing.de.texi:2219: warning: node `Git einrichten' is prev for `Senden einer Patch-Reihe' in sectioning but not in menu
doc/contributing.de.texi:3881: warning: node `Systemadministration' is next for `Programmieren' in sectioning but not in menu
Wide character in warn at /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/makeinfo line 632.
doc/contributing.de.texi:3881: warning: node `Zu Guix’ Infrastruktur beitragen' is up for `Programmieren' in sectioning but not in menu
Wide character in warn at /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/makeinfo line 632.
doc/contributing.de.texi:3860: node `Zu Guix’ Infrastruktur beitragen' lacks menu item for `Programmieren' despite being its Up target
doc/contributing.de.texi:3927: warning: node `Day-to-Day System Administration' is next for `Systemadministration' in sectioning but not in menu
doc/contributing.de.texi:3927: warning: node `Programmieren' is prev for `Systemadministration' in sectioning but not in menu
Wide character in warn at /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/makeinfo line 632.
doc/contributing.de.texi:3927: warning: node `Zu Guix’ Infrastruktur beitragen' is up for `Systemadministration' in sectioning but not in menu
Wide character in warn at /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/makeinfo line 632.
doc/contributing.de.texi:3860: node `Zu Guix’ Infrastruktur beitragen' lacks menu item for `Systemadministration' despite being its Up target
doc/contributing.de.texi:3981: warning: node `Systemadministration' is prev for `Day-to-Day System Administration' in sectioning but not in menu
make[2]: *** [Makefile:5350: doc/guix.de.info] Error 1

I'm not sure how to further debug this, but wanted to ensure the team is aware of this issue.

Best,
Spencer
P
P
pelzflorian (Florian Pelz) wrote on 13 Jan 23:51 -0800
(name . King, Spencer)(address . spencer.king@wustl.edu)(address . 75549@debbugs.gnu.org)
875xmhde9k.fsf@pelzflorian.de
Hello Spencer. I suspect your po4a has not been installed from Guix.
Guix needs a recent (maybe 0.70) version of PO4A. If this turns out to
be the reason, then we should put it in the Guix manual.

Regards,
Florian
J
J
Jesse Millwood wrote on 1 Aug 06:41 -0700
de translation breaking the build
(address . 75549@debbugs.gnu.org)
65402019-f8e9-4517-9cc0-04e3ae4728f9@app.fastmail.com
For what it's worth I checked out a recent commit of guix source (97fe03d536) upgraded all of my packages with "guix upgrade", and dropped to a pure shell to compile guix:

#+begin_src
guix shell -D guix help2man git strace po4a --pure
#+end_src

My po4a is updated:
#+begin_src
jesse in guix
➜ which po4a
/gnu/store/ffsnnknb33mka58z9ch6wl6149zxg2ls-profile/bin/po4a

jesse in guix
➜ po4a --version
po4a version 0.74.
Written by Martin Quinson and Denis Barbier.

Copyright © 2002-2022 Software in the Public Interest, Inc.
This is free software; see source code for copying
conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#+end_src

I get the same when building:

#+begin_src
./bootstrap
./configure
make
➜ make
GEN nix/libstore/schema.sql.hh
GEN .version
make all-recursive
make[1]: Entering directory '/home/jesse/Code/guix'
Making all in po/guix
make[2]: Entering directory '/home/jesse/Code/guix/po/guix'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jesse/Code/guix/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/jesse/Code/guix/po/packages'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jesse/Code/guix/po/packages'
make[2]: Entering directory '/home/jesse/Code/guix'
MAKEINFO doc/guix.info
MAKEINFO doc/guix.de.info
contributing.de.texi:2188: @menu reference to nonexistent node `Configuring Git'
contributing.de.texi:3873: @menu reference to nonexistent node `Coding'
contributing.de.texi:3874: @menu reference to nonexistent node `System Administration'
make[2]: *** [Makefile:5366: doc/guix.de.info] Error 1
make[2]: Leaving directory '/home/jesse/Code/guix'
make[1]: *** [Makefile:6560: all-recursive] Error 1
make[1]: Leaving directory '/home/jesse/Code/guix'
make: *** [Makefile:4601: all] Error 2
#+begin_src
Attachment: file
J
J
Jesse Millwood wrote on 1 Aug 11:02 -0700
(address . 75549@debbugs.gnu.org)
a0b7cb89-8d7f-479b-80f0-cc03314d7fe0@app.fastmail.com
Actually, scratch that. I didn't have a clean environment. "make clean" didn't seem to clean out the doc artifacts. I did "git clean -dXf " and that seemed to give me a clean environment. So it must have been the po4a version.
Attachment: file
P
P
pelzflorian (Florian Pelz) wrote on 2 Aug 08:13 -0700
(name . Jesse Millwood)(address . dev@millwood.earth)(address . 75549@debbugs.gnu.org)
878qk1kb8c.fsf@pelzflorian.de
"Jesse Millwood" <dev@millwood.earth> writes:

Toggle quote (2 lines)
> […] So it must have been the po4a version.

Glad you got your build to work. But I am now more puzzled how it had
broken before. I believe documentation regarding PO4A is not needed.
Instead I tend to close this bug soon. Because:

It turns out PO4A is not a requirement to build Guix. With no PO4A,

guix shell --pure coreutils sed grep gawk tar xz findutils git-minimal make pkg-config guile guile-gnutls guile-avahi guile-gcrypt guile-json@4 guile-lib guile-sqlite3 guile-zlib guile-lzlib guile-zstd guile-ssh guile-git guile-semver autoconf automake gettext-minimal texinfo graphviz-minimal font-ghostscript help2man gcc-toolchain zlib sqlite libgcrypt slirp4netns guix

can do the ./bootstrap ; ./configure ; make. guix.de.texi et al. just
stay empty.

When I then add po4a 0.69 before patch

guix time-machine -q --commit=2c662629804f1bb73fe10b8454d1b9a0bed8b768 -- shell po4a
git clean -dfx

the above also works, because PO4A options are invalid and
guix.de.texi remains empty.

Regards,
Florian
P
P
pelzflorian (Florian Pelz) wrote on 5 Aug 04:09 -0700
(name . Jesse Millwood)(address . dev@millwood.earth)(address . 75549-done@debbugs.gnu.org)
878qjyja9c.fsf@pelzflorian.de
Closing. But please tell if you two know how this happened and we
should document it.

Regards,
Florian
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 75549@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75549
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch