From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: guix-0.11 help2man errors during compilation Date: Mon, 08 Aug 2016 16:13:55 +0800 Message-ID: <87popjbruk.fsf@gmail.com> References: <87h9azjtlh.fsf@gnu.org> <87a8gqd58a.fsf@gmail.com> <87wpjut233.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWfhE-0007kS-UF for guix-devel@gnu.org; Mon, 08 Aug 2016 04:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWfh9-0006Xt-NM for guix-devel@gnu.org; Mon, 08 Aug 2016 04:14:03 -0400 In-Reply-To: <87wpjut233.fsf@gnu.org> (Mathieu Lirzin's message of "Sat, 06 Aug 2016 16:16:16 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mathieu Lirzin Cc: guix-devel Mathieu Lirzin writes: > Alex Vong writes: > >> Mathieu Lirzin writes: >> >>> Hello, >>> >>> Jan Syn=C3=A1=C4=8Dek 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: >>>> >>>> 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=3D ./pre-inst-env /bin/bash >> /home/alexvong1995/scm/guix/build-aux/missing help2man --source=3DGNU >> --info-page=3Dguix --output=3D"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=3D-O2 -flto CXXFLAGS=3D-O2 >> -flto LDFLAGS=3D-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. > Perhaps it is due to missing make flags? This commands works for me when I run make: $ make AR=3Dgcc-ar NM=3Dgcc-nm RANLIB=3Dgcc-ranlib > can you print the output of: > > ./pre-inst-env which guix-daemon > > and > > ./pre-inst-env guix-daemon --version > > Thanks. Sure. alexvong1995@debian:~/scm/guix$ ./pre-inst-env which guix-daemon /home/alexvong1995/scm/guix/guix-daemon alexvong1995@debian:~/scm/guix$ LC_ALL=3DC ./pre-inst-env guix-daemon --v= ersion guix-daemon: unrecognized option '--version' Try `guix-daemon --help' or `guix-daemon --usage' for more information. Cheers, Alex