guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix-0.11 help2man errors during compilation


From: Alex Vong
Subject: Re: guix-0.11 help2man errors during compilation
Date: Mon, 08 Aug 2016 16:13:55 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mathieu Lirzin <address@hidden> writes:

> Alex Vong <address@hidden> writes:
>
>> Mathieu Lirzin <address@hidden> writes:
>>
>>> Hello,
>>>
>>> Jan Synáček <address@hidden> 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.
>
Perhaps it is due to missing make flags? This commands works for me when
I run make:
  $ make AR=gcc-ar NM=gcc-nm RANLIB=gcc-ranlib

> can you print the output of:
>
>  ./pre-inst-env which guix-daemon
>
> and
>
>  ./pre-inst-env guix-daemon --version
>
> Thanks.

Sure.

  address@hidden:~/scm/guix$ ./pre-inst-env which guix-daemon
  /home/alexvong1995/scm/guix/guix-daemon

  address@hidden:~/scm/guix$ LC_ALL=C ./pre-inst-env guix-daemon --version
  guix-daemon: unrecognized option '--version'
  Try `guix-daemon --help' or `guix-daemon --usage' for more information.

Cheers,
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]