From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target Date: Wed, 22 Nov 2017 08:57:46 -0800 Message-ID: <877euixncl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHYMc-0007wK-Sk for bug-guix@gnu.org; Wed, 22 Nov 2017 11:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHYMZ-0007oJ-0Z for bug-guix@gnu.org; Wed, 22 Nov 2017 11:59:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHYMY-0007oD-TN for bug-guix@gnu.org; Wed, 22 Nov 2017 11:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHYMY-0003Dv-MS for bug-guix@gnu.org; Wed, 22 Nov 2017 11:59:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHYLW-0007sx-Lo for bug-guix@gnu.org; Wed, 22 Nov 2017 11:57:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHYLS-0007Nt-Jd for bug-guix@gnu.org; Wed, 22 Nov 2017 11:57:58 -0500 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:34587) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHYLS-0007NU-Cu for bug-guix@gnu.org; Wed, 22 Nov 2017 11:57:54 -0500 Received: by mail-pf0-x22b.google.com with SMTP id k24so2574447pfb.1 for ; Wed, 22 Nov 2017 08:57:54 -0800 (PST) Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net. [24.18.253.84]) by smtp.gmail.com with ESMTPSA id p10sm15979374pfl.32.2017.11.22.08.57.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 08:57:51 -0800 (PST) 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" To: 29402@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, On my x86_64 GuixSD machine, using Guix commit 77f921587c6b784e84b98a9f2e9c821f73114340, GNU Hello fails to build for the armhf-linux target. It builds for the i686-linux, aarch64-linux, and mip64el-linux targets. I'm trying to build it using the following command, invoked from the Guix source tree: ./pre-inst-env guix build --no-substitutes --target=3Darmhf-linux hello Here are the last few lines of output: =2D-8<---------------cut here---------------start------------->8--- starting phase `configure' source directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.28.drv-0/bi= nutils-2.28" (relative from build: ".") build directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.28.drv-0/bin= utils-2.28" configure flags: ("CONFIG_SHELL=3D/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdy= yn-bash-minimal-4.4.12/bin/bash" "SHELL=3D/gnu/store/kpxi8h3669afr9r1bgvaf9= ij3y4wdyyn-bash-minimal-4.4.12/bin/bash" "--prefix=3D/gnu/store/gaap2chgcwk= hk6z0vp4z47cy6rsxds1q-binutils-cross-armhf-linux-2.28" "--enable-fast-insta= ll" "--build=3Dx86_64-unknown-linux-gnu" "--target=3Darmhf-linux" "--with-s= ysroot=3D/" "LDFLAGS=3D-static-libgcc" "--with-lib-path=3D/no-ld-lib-path" = "--enable-install-libbfd" "--enable-deterministic-archives") checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... Invalid configuration `armhf-linux': machine= `armhf' not recognized configure: error: /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-= 4.4.12/bin/bash ./config.sub armhf-linux failed phase `configure' failed after 0.2 seconds builder for `/gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2ls8s1-binutils-cross-arm= hf-linux-2.28.drv' failed with exit code 1 @ build-failed /gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2ls8s1-binutils-cross-a= rmhf-linux-2.28.drv - 1 builder for `/gnu/store/3gqs8b7ch1w8xsc2adjnn8v7gm2= ls8s1-binutils-cross-armhf-linux-2.28.drv' failed with exit code 1 cannot build derivation `/gnu/store/qhqngzgc0q7c1s3l25sm5y7mhqp99ciy-hello-= 2.10.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/qhqngzgc0q7c1s3l25sm5= y7mhqp99ciy-hello-2.10.drv' failed =2D-8<---------------cut here---------------end--------------->8--- It looks like the configure phase of the derivation that builds binutils-cross-armhf-linux-2.28 failed because "armhf" is supposedly not a recognized machine. However, "armhf-linux" is listed as a supported platform in the Guix manual ((guix) GNU Distribution), so I expected this to work. What's going on here? GNU Hello successfully builds on my machine for the x86_64-linux, i686-linux, aarch64-linux, and mips64el-linux platforms (i.e., all of the other platforms listed as supported in the Guix manual). =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAloVrIoACgkQ3UCaFdgi Rp2cOhAAyf+/6H+zRmlJzENtVavOnw7/bdhtXKUSnQ2PJqnKfHQDntj84m2BoL5L dUsF+CE/nqz2Ta7pgjE7z17jRth2w519NAP9/efMEA3+cSMVgUZPKuQOAzgYkkMs jVhnO04A8Ixy4albqdMOEfO+stSKpRKF+0HX50POodC7vtmws6BaqSdkx4oMo7AQ Et7eD1Q69rn9pifqkIUCIRWFzROiQYlHXmCGul5RZRvOFKzo/bDoI5024iPh/Ot4 BZS9LswU/BrdQLW6dwgzVOaKvdYwQ1WM9S5kq0jPdrnwiyzT8+OA+y5XtsZrU96t 7+VN/kCHqbIfQUL9VrHVxPBT9AgMDdkWN+6g2CzTn2SajpSn1IWmvuAoQi/MtQ5r +smDd3ez9H9aZm0TmwvpkVDAllskJoT3pZw4VUupbUzPtZzZRirNOnl43jewGhKa yQdYCRJnm4Uiyl38M2r7fgNx6r0f7f7rpsAL498DSRT2qYyTkrgNC0nN8B9hyy6M MsZjscfSUoq9sDMSGRQmOD8NQR1Wp5shnwyDiZvTJ0fnE8BAcKR/Lq42bOPwRghT HciKzpoIlK4NuhBDsA35pxZ9iIJDjV1uIyJWs8LAQZS1oxRoJSL8JgtvgSFcSNH6 WhvgUI9G6xWR79wEblm0ygR9VLrWKO8jvKkUii9BmuwmoydHfkQ= =a26Y -----END PGP SIGNATURE----- --=-=-=--