From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Cross compiling libxml2 Date: Thu, 12 Dec 2013 19:05:52 +0100 Message-ID: <20131212180550.GA4062@intra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAeB-0003oP-Mr for guix-devel@gnu.org; Thu, 12 Dec 2013 13:06:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrAe5-0004Jt-Qn for guix-devel@gnu.org; Thu, 12 Dec 2013 13:06:03 -0500 Received: from de.cellform.com ([88.217.224.109]:57498 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAe5-0004JV-CR for guix-devel@gnu.org; Thu, 12 Dec 2013 13:05:57 -0500 Received: from muse.intra (muse.intra [192.168.0.6]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id rBCI5rtc018125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 12 Dec 2013 19:05:53 +0100 Received: from john by muse.intra with local (Exim 4.80) (envelope-from ) id 1VrAe0-000143-R3 for guix-devel@gnu.org; Thu, 12 Dec 2013 19:05:52 +0100 Content-Disposition: inline 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: guix-devel@gnu.org --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Trying to cross-compile several packages fails. One reason is that many (i= nputs ...) should be declared as (native-inputs ...) - I'm working on this problem. But another problem which I'm not sure how to fix is that (assoc-ref inputs= "libc") returns false. Hence the build fails: Backtrace: In ice-9/boot-9.scm: 63: 19 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 18 [eval # #] In ice-9/boot-9.scm: 2320: 17 [save-module-excursion #] 3966: 16 [#] 1645: 15 [%start-stack load-stack ...] 1650: 14 [#] In unknown file: ?: 13 [primitive-load "/nix/store/3kpip8ls3nixclhi44qg9lnb5bfraca5-libxm= l2-2.9.0-guile-builder"] In ice-9/eval.scm: 387: 12 [eval # ()] In srfi/srfi-1.scm: 830: 11 [every1 # In ice-9/eval.scm: 432: 9 [eval # #] In ice-9/boot-9.scm: 171: 8 [with-throw-handler #t ...] 793: 7 [call-with-input-file "setup.py" ...] In /nix/store/d1qnsj2wf59m067qilasi61kgqs5wy3p-module-import/guix/build/uti= ls.scm: 339: 6 [# # # . In ice-9/eval.scm: 387: 3 [eval # #] 387: 2 [eval # #] In unknown file: ?: 1 [string-append #f "/include"] In ice-9/boot-9.scm: 106: 0 [# wr= ong-type-arg ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure string-append: Wrong type (expecting = string): #f builder for `/nix/store/2phv2v237jb92cnd7c1f8fjhn1a3mgvx-libxml2-2.9.0.drv'= failed with exit code 1 So it would seem that the alist inputs is incorrect when cross-compiling. 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. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKp+voACgkQimdxnC3oJ7OH8wCeNOhutyT+DFGnjdXWG68ym60P WT8AnAwZ3UCMlIG+lp+6XwQbUXyuUd0R =19ok -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--