Alex Vong <alexvong1...@gmail.com> writes: > Mathieu Lirzin <m...@gnu.org> writes: > >> Hello, >> >> Jan Synáček <jan.syna...@gmail.com> writes: >> >>> I'm getting strange errors: >>> >>> ... >>> HELP2MAN doc/guix-daemon.1 >>> help2man: can't get `--help' info from guix-daemon >>> Try `--no-discard-stderr' if option outputs to stderr >>> WARNING: 'help2man' is missing on your system. >>> You should only need it if you modified a dependency of a man page. >>> You may want to install the GNU Help2man package: >>> <http://www.gnu.org/software/help2man/> >>> Makefile:4893: recipe for target 'doc/guix-daemon.1' failed >>> make: [doc/guix-daemon.1] Error 127 (ignored) >>> ... >>> >>> help2man *is* present on my system. Later on, more man pages in doc/ >>> are built just fine. > > Hi, I get similar but not identical error from help2man when building > from the git repo. > > [...] > > LANGUAGE= ./pre-inst-env /bin/bash > /home/alexvong1995/scm/guix/build-aux/missing help2man --source=GNU > --info-page=guix --output="doc/guix-daemon.1" `basename "doc/guix-daemon.1" > .1` > help2man: can't get `--version' info from guix-daemon > Try `--no-discard-stderr' if option outputs to stderr > Makefile:4892: recipe for target 'doc/guix-daemon.1' failed > make[2]: [doc/guix-daemon.1] Error 64 (ignored) > make[2]: Leaving directory '/home/alexvong1995/scm/guix' > make[1]: Leaving directory '/home/alexvong1995/scm/guix'
[...] > # config.log > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by GNU Guix configure 0.11.0, which was > generated by GNU Autoconf 2.69. Invocation command line was > > $ ./configure --disable-silent-rules CFLAGS=-O2 -flto CXXFLAGS=-O2 -flto > LDFLAGS=-O2 -flto > When testing with this configuration on my Debian testing system, the build fails because guix-daemon fails to build due to "-flto" options. I am using GCC 5.4. I don't know anything about link time optimizations so maybe I am overlooking something. can you print the output of: ./pre-inst-env which guix-daemon and ./pre-inst-env guix-daemon --version Thanks. -- Mathieu Lirzin