From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Problem with removing from gen-scmconfig when cross-compiling Date: Thu, 13 Mar 2014 19:23:12 +0100 Message-ID: <87eh26nejz.fsf@gnu.org> References: <87ob1a7uy9.fsf@yeeloong.lan> <87fvmmxlro.fsf@gnu.org> <877g7y6sdx.fsf@yeeloong.lan> <878useumma.fsf@gnu.org> <87y50e590i.fsf@yeeloong.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1394735002 5164 80.91.229.3 (13 Mar 2014 18:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2014 18:23:22 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 13 19:23:30 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WOAHw-0000Bw-6J for guile-devel@m.gmane.org; Thu, 13 Mar 2014 19:23:28 +0100 Original-Received: from localhost ([::1]:41058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOAHv-0003LX-OC for guile-devel@m.gmane.org; Thu, 13 Mar 2014 14:23:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOAHn-0003Gd-Mb for guile-devel@gnu.org; Thu, 13 Mar 2014 14:23:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOAHi-00036C-Vw for guile-devel@gnu.org; Thu, 13 Mar 2014 14:23:19 -0400 Original-Received: from hera.aquilenet.fr ([2a01:474::1]:33948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOAHi-000362-Ie for guile-devel@gnu.org; Thu, 13 Mar 2014 14:23:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3A5F715A1; Thu, 13 Mar 2014 19:23:13 +0100 (CET) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LDxxdOW3kLxJ; Thu, 13 Mar 2014 19:23:13 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C6A27508; Thu, 13 Mar 2014 19:23:12 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?utf-8?Q?Vent=C3=B4se?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87y50e590i.fsf@yeeloong.lan> (Mark H. Weaver's message of "Thu, 13 Mar 2014 13:00:13 -0400") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:474::1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16974 Archived-At: Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> (BTW, we can test cross-compilation to GNU/Linux with >> guix build guile --with-source=3Dguile-2.0.9.xyz.tar.xz --target=3Dmips6= 4el-linux-gnu.) > > I tried this on my x86_64 box with guix master (v0.5-355-g9037ea2), > freshly built (autoreconf -vfi, configure, make clean, etc) and got > this: > > mhw@tines:~/guix$ ./pre-inst-env guix build -K guile --with-source=3D/hom= e/mhw/guile-2.0.9.239-21a7b-dirty.tar.xz --target=3Dmips64el-linux-gnu > guix build: warning: ambiguous package specification `guile' > guix build: warning: choosing guile-2.0.9 from gnu/packages/base.scm:1044= :33 > guix build: error: gnu/packages/bootstrap.scm:201:3: guile-bootstrap-2.0:= build system `raw' does not support cross builds Oh, funny. Here=E2=80=99s what I get: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build -K guile --with-source=3D$HOME/src/guile/guile-= 2.0.9.239-21a7b.tar.xz --target=3Dmips64el-linux-gnu -n guix build: warning: ambiguous package specification `guile' guix build: warning: choosing guile-2.0.9 from gnu/packages/guile.scm:183:43 The following derivations would be built: /nix/store/ygji7r8cw9kq53r3y00fyksdck9rbs2l-guile-2.0.9.239-21a7b.drv /nix/store/h1f4d4l69svgj4rszz6pdyhz7rahcf2z-binutils-2.23.2.tar.bz2.drv /nix/store/gclaxgj109jmrrx795cg254vfykqwmn4-binutils-2.23.2.tar.xz.drv /nix/store/zj9nd1ysr1ga8w775l0b0q9m2jncvj5l-libelf-0.8.13.tar.gz.drv /nix/store/9zz4g05zagndaklff8jn695r46q85mf4-gcc-4.8.2.tar.xz.drv /nix/store/yivpp34iw8f13sf40mrxx0f92mpzmazs-libelf-0.8.13.drv /nix/store/9yccsrz3h41wd8nilnlyg4nva5gr9184-bash-light-4.2.drv /nix/store/ipy04pgr0r23nprwh39ijzwmikklxvyj-glibc-2.18.tar.xz.drv /nix/store/shm0vybdx80h4s5sagk1pk5mfvhkfa7l-gcc-cross-sans-libc-mips64el= -linux-gnu-4.8.2.drv /nix/store/6f572clhayc3689i2jz3djqcslh4dn88-libtool-2.4.2.tar.xz.drv /nix/store/yifk89n5yn9ibjslkk4s0xn4giq9z6k5-readline-6.2.tar.xz.drv /nix/store/mrv5y4brg6cbx7kvib2f2l99v0wispyn-libffi-3.0.13.tar.xz.drv /nix/store/ycpg9709lzcvb8mxj50ims0kfs9h2bn2-libffi-3.0.13.drv /nix/store/v0jaav7l1vk0bjb9wm6vhac4kpj72cvl-readline-6.2.drv /nix/store/a6l4wslz8fh4fvb7xz2dnlb951nrgsbs-ncurses-5.9.drv /nix/store/p1k3b0xc1fjfdyy68vjzpbadysbjqzyc-bash-4.2.drv /nix/store/9w09gdiz6wabv3r82w2fk67plnck5zm1-libunistring-0.9.3.drv /nix/store/qx2a27higncxn4yybcx9402b9fwlm590-libtool-2.4.2.drv /nix/store/0lbhn2gifq7bdls5jafjk1gzkcp3zdc0-libgc-7.2d.drv /nix/store/kjg76c3wjpy5nx22jbp14ii9j55irs4i-gmp-5.1.3.drv /nix/store/2vrxad9jb73d4x5vicnpbbj638cvm0iw-glibc-cross-mips64el-linux-g= nu-2.18.drv /nix/store/pm908g3hjclq5zvzri2n58icb1l2q8zm-linux-libre-headers-cross-mi= ps64el-linux-gnu-3.3.8.drv /nix/store/293bbw8x4vmpg1kdjps31sw8r55527ml-guile-2.0.9.239-21a7b.drv /nix/store/ys42q97jxxylrgg9a021zih6pnwphszd-pkg-config-mips64el-linux-gn= u-0.27.1.drv /nix/store/j4c0j5annyf1gvrpr9jfwmxan0ggv5w5-gcc-cross-mips64el-linux-gnu= -4.8.2.drv /nix/store/x0fvh7r5nmac8r5f621vhdxw5mqgpk95-binutils-cross-mips64el-linu= x-gnu-2.23.2.drv --8<---------------cut here---------------end--------------->8--- The solution is to specify the =E2=80=9Cright=E2=80=9D Guile, unambiguously= , with: -e '(@ (gnu packages guile) guile-2.0)' and things should work as expected (with Guix commit 257b934 or later, that is ;-)). Thanks, Ludo=E2=80=99.