bug-guix
[Top][All Lists]
Advanced

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

Re: FTBFS on GNU/Hurd


From: Cyril Roelandt
Subject: Re: FTBFS on GNU/Hurd
Date: Tue, 02 Jul 2013 20:53:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5

Hello!

First of all, thanks for trying Guix on GNU/Hurd! There is no bug tracking system, just this mailing list.

On 07/02/2013 05:06 PM, Matthew Lien wrote:
nix/nix-daemon/guix-daemon.cc: In function ‘error_t parse_opt(int, char*, 
argp_state*)’:
nix/nix-daemon/guix-daemon.cc:174:14: error: invalid conversion from ‘int’ to 
‘error_t {aka __error_t_codes}’ [-fpermissive]
        return ARGP_ERR_UNKNOWN;
               ^
nix/nix-daemon/guix-daemon.cc:177:10: error: invalid conversion from ‘int’ to 
‘error_t {aka __error_t_codes}’ [-fpermissive]
    return 0;
           ^

In /usr/include/errno.h:

/* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
   that printing `error_t' values in the debugger shows the names.  We
   might need this definition sometimes even if this file was included
   before.  */

Which explains your issue. I think this is more of a Nix or GNU bug. According to the GNU documentation (http://www.gnu.org/software/libc/manual/html_node/Argp-Parser-Functions.html#Argp-Parser-Functions), the parse_opt function is fine. Should we ask the Hurd people how they handle this ?

Cyril Roelandt.



reply via email to

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