From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: FTBFS on GNU/Hurd Date: Tue, 02 Jul 2013 20:53:20 +0200 Message-ID: <51D321A0.3090804@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu5wu-0000gK-58 for bug-guix@gnu.org; Tue, 02 Jul 2013 15:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uu5ws-0005jw-RT for bug-guix@gnu.org; Tue, 02 Jul 2013 15:09:12 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:65082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu5ws-0005j6-L4 for bug-guix@gnu.org; Tue, 02 Jul 2013 15:09:10 -0400 Received: by mail-we0-f179.google.com with SMTP id w59so4670834wes.10 for ; Tue, 02 Jul 2013 12:09:09 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id o10sm22526377wiz.5.2013.07.02.12.09.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 12:09:08 -0700 (PDT) In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org 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 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.