From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lien Subject: Re: FTBFS on GNU/Hurd Date: Wed, 3 Jul 2013 15:42:35 +0800 Message-ID: References: <51D321A0.3090804@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9c09114ec770304e0969ab4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuHiC-000099-JU for bug-guix@gnu.org; Wed, 03 Jul 2013 03:42:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuHi6-0000SN-TE for bug-guix@gnu.org; Wed, 03 Jul 2013 03:42:48 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:50902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuHi6-0000Rc-H2 for bug-guix@gnu.org; Wed, 03 Jul 2013 03:42:42 -0400 Received: by mail-bk0-f46.google.com with SMTP id na10so2708738bkb.33 for ; Wed, 03 Jul 2013 00:42:41 -0700 (PDT) In-Reply-To: <51D321A0.3090804@gmail.com> 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: Cyril Roelandt Cc: bug-guix@gnu.org --14dae9c09114ec770304e0969ab4 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi Cyril, Thanks for your quick reply. :-) In past years I usually do have LightningTalk to introduce GNU related projects in COSCUP , the biggest open source conference in my country, which will have more than 1000 attendees. I think Guix is a cool project with it's Version Control (?) function so people can revert their package status if they did something wrong and broke something, so I would like to have a short presentation about Guix onGNU/Hurd to COSCUP. Thanks for your amazing works, and hope the problem could be solved recently. :-) Best wishes, BlueT 2013/7/3 Cyril Roelandt > Hello! > > First of all, thanks for trying Guix on GNU/Hurd! There is no bug trackin= g > system, just this mailing list. > > On 07/02/2013 05:06 PM, Matthew Lien wrote: > >> nix/nix-daemon/guix-daemon.cc: In function =A1=AEerror_t parse_opt(int, = char*, >> argp_state*)=A1=AF: >> nix/nix-daemon/guix-daemon.cc:**174:14: error: invalid conversion from >> =A1=AEint=A1=AF to =A1=AEerror_t {aka __error_t_codes}=A1=AF [-fpermissi= ve] >> return ARGP_ERR_UNKNOWN; >> ^ >> nix/nix-daemon/guix-daemon.cc:**177:10: error: invalid conversion from >> =A1=AEint=A1=AF to =A1=AEerror_t {aka __error_t_codes}=A1=AF [-fpermissi= ve] >> 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-Function= s), > the parse_opt function is fine. Should we ask the Hurd people how they > handle this ? > > Cyril Roelandt. > > --=20 / Just another [ Perl | FOSS | Security ] Hacker. / / BlueT =3D Matthew Lien =3D =BE=9A=86=B4=C3=F7 / / http://BlueT.org / / GPG: 4A293CBD / --14dae9c09114ec770304e0969ab4 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
Hi Cyril,

Thanks for your= quick reply. :-)

In past years I usually do have LightningTal= k to introduce GNU related projects in COSCUP <http://coscup.org>, the biggest open source conference in my co= untry, which will have more than 1000 attendees.

I think Guix is a cool project with it's Version Control (?) = function so people can revert their package status if they did something wr= ong and broke something, so I would like to have a short presentation about= Guix onGNU/Hurd to COSCUP.

Thanks for your amazing works, and hope the problem could be solv= ed recently. :-)


Best wishes,
BlueT




2013/7/3 C= yril Roelandt <tipecaml@gmail.com>
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, ch= ar*, argp_state*)’:
nix/nix-daemon/guix-daemon.cc:174:14: error: invalid conversion from= ‘int’ to ‘error_t {aka __error_t_codes}’ [-fpermis= sive]
        return ARGP_ERR_UNKNOWN;
               ^
nix/nix-daemon/guix-daemon.cc:177:10: error: invalid conversion from= ‘int’ to ‘error_t {aka __error_t_codes}’ [-fpermis= sive]
    return 0;
           ^

In /usr/include/errno.h:

/* The Hurd <bits/errno.h> defines `error_t' as an enumerated typ= e so
   that printing `error_t' values in the debugger shows the n= ames.  We
   might need this definition sometimes even if this file was inc= luded
   before.  */

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

Cyril Roelandt.




--
/ Just anot= her [ Perl | FOSS | Security ] Hacker. /
/ BlueT =3D Matthew Lien =3D =BE=9A= =86=B4=C3=F7 /
/ GPG: 4A293CBD /
--14dae9c09114ec770304e0969ab4--