From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH 4/5] gnu: openssl: Fixed cross-compile issues. Date: Sat, 14 Dec 2013 19:02:59 +0100 Message-ID: <20131214180259.GA6637@intra> References: <1387043002-6138-1-git-send-email-john@darrington.wattle.id.au> <1387043002-6138-4-git-send-email-john@darrington.wattle.id.au> <8761qruxg8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrtYQ-00014I-MX for guix-devel@gnu.org; Sat, 14 Dec 2013 13:03:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrtYM-0005IQ-8m for guix-devel@gnu.org; Sat, 14 Dec 2013 13:03:06 -0500 Content-Disposition: inline In-Reply-To: <8761qruxg8.fsf@gnu.org> 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: Ludovic Court??s Cc: guix-devel@gnu.org --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 14, 2013 at 06:57:59PM +0100, Ludovic Court??s wrote: =20 > @@ -52,8 +52,8 @@ > (string-append "--prefix=3D" out))))) > (alist-cons-before > 'patch-source-shebangs 'patch-tests > - (lambda* (#:key inputs #:allow-other-keys) > - (let ((bash (assoc-ref inputs "bash"))) > + (lambda* (#:key inputs native-inputs #:allow-other-keys) > + (let ((bash (assoc-ref ,@(if (%current-target-system) '(n= ative-inputs) '(inputs)) "bash"))) =20 This can???t possibly work. I did test it, both for native compilation and cross-compilation. In both = cases it built succesfully (unlike before the patch). =20 J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKsnVIACgkQimdxnC3oJ7NT/ACfaCJ4LvqgVBR0B28Rnba0Uuvn V1QAn2xfYIFrXZl56P0uRUoDkaotzALx =EImh -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--