From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues. Date: Sat, 14 Dec 2013 19:19:03 +0100 Message-ID: <87y53nthwo.fsf@gnu.org> References: <1387043002-6138-1-git-send-email-john@darrington.wattle.id.au> <1387043002-6138-2-git-send-email-john@darrington.wattle.id.au> 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]:34041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrtnz-0004DV-4U for guix-devel@gnu.org; Sat, 14 Dec 2013 13:19:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vrtns-0001PT-VS for guix-devel@gnu.org; Sat, 14 Dec 2013 13:19:11 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:12591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrtns-0001PN-Os for guix-devel@gnu.org; Sat, 14 Dec 2013 13:19:04 -0500 In-Reply-To: <1387043002-6138-2-git-send-email-john@darrington.wattle.id.au> (John Darrington's message of "Sat, 14 Dec 2013 18:43:19 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: John Darrington Cc: guix-devel@gnu.org John Darrington skribis: > *gnu/packages/gnupg.scm (libgpg-error): Added gcc as a native input, > and set the CC_FOR_BUILD variable. The implicit inputs when cross-compiling include both the cross-gcc and the native gcc (see build-system/gnu.scm.) AFAICS setting CC_FOR_BUILD=3Dgcc should be enough (it uses =E2=80=98cc=E2= =80=99 by default.) Can you confirm. > *gnu/packages/gnupg.scm (libgcrypt): Added libgpg-error as a native input= and > set the --with-gpg-error-prefix configure option. This is wrong: libgcrypt would end up linking against the native libgpg-err= or. > *gnu/packages/gnupg.scm (libksba): Added libgpg-error as a native input a= nd > set the --with-gpg-error-prefix configure option. Ditto. Also, please make sure to follow GNU ChangeLog style (star followed by space, present tense, etc.) Thanks for looking into this! Ludo=E2=80=99.