From unknown Sun Jun 22 00:44:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Nov 2017 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29402 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 29402@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151136988912314 (code B ref -1); Wed, 22 Nov 2017 16:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Nov 2017 16:58:09 +0000 Received: from localhost ([127.0.0.1]:52992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYLh-0003CY-Am for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYLe-0003C4-4T for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHYLY-0007PB-7O for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHYLY-0007P5-2y for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:00 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=egMZtiKvw7Xi0/5pJld7YMXtpNDOQv0zCYKMbFGCATI=; b=U5GVc36Fq8HxM0EFQCshEB2O1xdcU0hyNVFaaNxbUuYBxzsX0kkAi8qbv25BZwe5gK ENlJJ4yEC6Kec09C2gb/kTW3pPcHoXVga7PEXyYpy5zHCntv/fnl6BZ3mW3ztnNUgXj4 W27dpdWOjr99WqwO2rd2L8wX89gc6BLp+iDnf4of97Usg5OixCgn4x9VS55wK3kNMu+0 BzypDKPQlPHcULiPKGUK/rYplqPM9FgcIIrbXQ4j9hzgrzv7KsGKYjH8KjJHaCn3j++N QSVnzHhQQbLrCKSmVqNnAOI4HJrqJQB04ROSFTtedj0a5+eCA4xhrHd3X3vbp7xrhi6Y TFcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=egMZtiKvw7Xi0/5pJld7YMXtpNDOQv0zCYKMbFGCATI=; b=lChZ1Ku2SDmKA7URNTVFjE7iHmIYffKxxP4BgCCZXxRsBMRM5SpH9TrFQ3uSjtPQBW YAD3D19C1lFT4+Ed/u3ePnNKDA/plpEdQwqfh8uxplQ0NOj7Gam44vSBjD/qJc15zDkX kHr/3yXsPdZTLcPCQYhejb5Z9hPhZgQJQIK9OPwuHXmf+ItzpxSBr/nXts3uX+rxeTeH +mAPZbOmmVQi+ea/b980xEPOV050wnoB0pEyTwbCXOkScSPJUHtDpsL0fndhRbTbnXYP AJw1yCQX+JRWriPy8kfVx6V81emXCxMjQ3Vvujp0wJThBQdTu80ncA2EZSV74SqxJX5o MhgA== X-Gm-Message-State: AJaThX6ivDx/NQxnaSbAS98XX4A1vNfkLAoVNZdHK7rCSsEo5cjtS6GE 0fSLyqTw56FwEBaYqTm5QL9pqg== X-Google-Smtp-Source: AGs4zMYzINuy9tUFWUiiZpLIZE43U3goZuBvjEtYC1/nTcPJwJT0TidMXefBHdyP3WG8rmsS52eDcw== X-Received: by 10.99.189.65 with SMTP id d1mr21709990pgp.48.1511369872623; Wed, 22 Nov 2017 08:57:52 -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) From: Chris Marusich Date: Wed, 22 Nov 2017 08:57:46 -0800 Message-ID: <877euixncl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= 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----- --=-=-=-- From unknown Sun Jun 22 00:44:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Nov 2017 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29402 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: 29402@debbugs.gnu.org Received: via spool by 29402-submit@debbugs.gnu.org id=B29402.151143563524212 (code B ref 29402); Thu, 23 Nov 2017 11:14:02 +0000 Received: (at 29402) by debbugs.gnu.org; 23 Nov 2017 11:13:55 +0000 Received: from localhost ([127.0.0.1]:53414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHpS6-0006IR-Sz for submit@debbugs.gnu.org; Thu, 23 Nov 2017 06:13:55 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:35142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHpS4-0006II-AO for 29402@debbugs.gnu.org; Thu, 23 Nov 2017 06:13:52 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B082EFFB8; Thu, 23 Nov 2017 12:13:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr 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 9aMlQ7Rg2Rsm; Thu, 23 Nov 2017 12:13:53 +0100 (CET) Received: from ribbon (unknown [193.50.110.61]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 19799F438; Thu, 23 Nov 2017 12:13:53 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877euixncl.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Frimaire an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 23 Nov 2017 12:13:50 +0100 In-Reply-To: <877euixncl.fsf@gmail.com> (Chris Marusich's message of "Wed, 22 Nov 2017 08:57:46 -0800") Message-ID: <87po89w8lt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Chris, Chris Marusich skribis: > 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 [...] > 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': machi= ne `armhf' not recognized The argument to --target must be a GNU triplet, not a Guix =E2=80=9Csystem type.=E2=80=9D GNU triplets have the form CPU-VENDOR-OS, which often looks like CPU-KERNEL-OSABI. In this case, you want --target=3Darm-linux-gnueabihf HTH! Ludo=E2=80=99. From unknown Sun Jun 22 00:44:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chris Marusich Subject: bug#29402: closed (Re: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target) Message-ID: References: <87efoosdky.fsf@gmail.com> <877euixncl.fsf@gmail.com> X-Gnu-PR-Message: they-closed 29402 X-Gnu-PR-Package: guix Reply-To: 29402@debbugs.gnu.org Date: Fri, 24 Nov 2017 00:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1511484782-12676-1" This is a multi-part message in MIME format... ------------=_1511484782-12676-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29402: Failure to cross-compile GNU Hello for armhf-linux target which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 29402@debbugs.gnu.org. --=20 29402: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29402 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1511484782-12676-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29402-done) by debbugs.gnu.org; 24 Nov 2017 00:52:24 +0000 Received: from localhost ([127.0.0.1]:54408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eI2EB-0003Hd-LT for submit@debbugs.gnu.org; Thu, 23 Nov 2017 19:52:23 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:46708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eI2EA-0003HO-G8 for 29402-done@debbugs.gnu.org; Thu, 23 Nov 2017 19:52:22 -0500 Received: by mail-pf0-f180.google.com with SMTP id q4so14077014pfg.13 for <29402-done@debbugs.gnu.org>; Thu, 23 Nov 2017 16:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=WGVCPbubP0iePXjaC5GvWmnNUm+awIkCyBepDXaOACI=; b=pxmE8wGGrWiyXWULGOdz8R5dEoawA+AweZuDIjl/0leVmNY1/nvsXl+/2oyEfGiKmO BdrjoIHuyPZVTjWpLffvkhme8mv5UxRNIggRE6XdLlXca7p8GZKwGaaOXq2NHe2bjSbQ A9UA1Y0AaAtHWnef41vYRs0GX3dXJoHMhqnWWBQywIazKdnHgriwhnoVtmJsbfJR5pCv tIx20VQd1rP5fvIZT+DEYxRY+NRdIjy7a1IkxpsrTrGcE6/bXEQGMu6lHl/UTy3TActo 5VyIhC3oyrr+yjGxvSiZoDvXr8OAAWlxbS6Tp4cwMmYfaID2C2VLaNej3IbY54UGRCDs ZGWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=WGVCPbubP0iePXjaC5GvWmnNUm+awIkCyBepDXaOACI=; b=sxUtKNf2hTepDIcOP4EnsmBfufRXhFLOMnfe+F36x4gRxK08j6gKQ1gJRqVdWJKE+2 GwYw1AfZczyObtIc/zO3a5ZMZnYZ8pmvDC0VSJBuHDHfdYkSbafBurSFEdupZTi0WU6R yXpQryPPpozkOAJ++G1KKB3BQ1BZw0BNj7itcHAQ3mcSIMvLP9RNJA2SknsGKR2BpA1Y qoY95qI0QJOar5Gwq/8Sh+DGEsSgmuDeAFNKsNth7xYmIuGGg7gRDG85xlBgkYPeUB7R Ecmdhmcvy7bdmbQwRHY857L5e9/SNcB1OEW7YUzpz2H3L3sw+Dmb6j7palL/X9Rg80nH TNKg== X-Gm-Message-State: AJaThX7YMP22qSB83EC+rXJT2xNq2OSIt+Ed733dPrd7KIBN8IYk3uoh MDnZQ92x6bNVmIyHZm3f/uJerA== X-Google-Smtp-Source: AGs4zMZQtwTabid3Zs+NwVJlIWz/Fx0Ji/6Pxk/JEINsXJWE+/WdcgsjIIVMaXitiXJxxMOQrvFMTQ== X-Received: by 10.98.58.29 with SMTP id h29mr24954341pfa.121.1511484736148; Thu, 23 Nov 2017 16:52:16 -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 r80sm39895751pfa.169.2017.11.23.16.52.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Nov 2017 16:52:14 -0800 (PST) From: Chris Marusich To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target References: <877euixncl.fsf@gmail.com> <87po89w8lt.fsf@gnu.org> Date: Thu, 23 Nov 2017 16:52:13 -0800 Message-ID: <87efoosdky.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29402-done Cc: 29402-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > The argument to --target must be a GNU triplet, not a Guix =E2=80=9Csystem > type.=E2=80=9D Ah, I see! Thank you. When I tried again using the target you suggested, it worked. I have some follow-up questions, so I've sent a a follow-up email to guix-devel. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAloXbT0ACgkQ3UCaFdgi Rp3ZUg/+O6Lc+2PErvGw57UiTa+zrYCmkuarsS++o4+BKFZKPQ/atyMPysU+Z6tE SGJesE0fnBQe8UlVynN56b/HVZhEQpaiPgZkiXt9GntXyjoMuFeDELZTnVZyj7Xt v6b0xPG87Am0iqqsQBaMNu+V4GKDHk6ATYLobD42ZkvYE8JtL/QC7rUcSp8MEIQG Y5KTxwFtuWfDDHDofFg8csSdoHOre2DK8m2Rt9SuHuzW7Hl65s/XBRqgPqWawWsB JT03o85w2aatvxT7kg6Qg0+l3Bh540glHjeeVqJgbkmV2NWRJaATuMW1Nw9KYsaA nfmixkagtE5vkdlId88mYuqrmXeeSQzH0dQSiQf93PM2XhkkL9DYZBB1EL0jz9uC WfaYM3ehrcCE8dJrlMvMGuluM1mdCDGnpY9jMG4I3rDqbXzeQEibXQRAaTt+qVGO ChTiEb93i+DFfYRXw26PnwITt14Ee7bBcJ6rPM3X8u/INILKm+bvii9DBh4ZhBAh UQ7WaASX3QgKCFZrObwEENHY5F472WQRM6ytdoic0tcNjCdDddG9yHLrRWkuzBq4 fUjH0xz9KnCiErs/HRxiH28NCZsmMSCAIYdRgJz1X8F52zuLCjQ8lHMM7ZRNwWJ2 Vi7nthr0JbmkB8F78iNtAgs4yumRJTbLkxQ5Dhfaewg8qKQxHkE= =eUiO -----END PGP SIGNATURE----- --=-=-=-- ------------=_1511484782-12676-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Nov 2017 16:58:09 +0000 Received: from localhost ([127.0.0.1]:52992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYLh-0003CY-Am for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHYLe-0003C4-4T for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHYLY-0007PB-7O for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHYLY-0007P5-2y for submit@debbugs.gnu.org; Wed, 22 Nov 2017 11:58:00 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=egMZtiKvw7Xi0/5pJld7YMXtpNDOQv0zCYKMbFGCATI=; b=U5GVc36Fq8HxM0EFQCshEB2O1xdcU0hyNVFaaNxbUuYBxzsX0kkAi8qbv25BZwe5gK ENlJJ4yEC6Kec09C2gb/kTW3pPcHoXVga7PEXyYpy5zHCntv/fnl6BZ3mW3ztnNUgXj4 W27dpdWOjr99WqwO2rd2L8wX89gc6BLp+iDnf4of97Usg5OixCgn4x9VS55wK3kNMu+0 BzypDKPQlPHcULiPKGUK/rYplqPM9FgcIIrbXQ4j9hzgrzv7KsGKYjH8KjJHaCn3j++N QSVnzHhQQbLrCKSmVqNnAOI4HJrqJQB04ROSFTtedj0a5+eCA4xhrHd3X3vbp7xrhi6Y TFcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=egMZtiKvw7Xi0/5pJld7YMXtpNDOQv0zCYKMbFGCATI=; b=lChZ1Ku2SDmKA7URNTVFjE7iHmIYffKxxP4BgCCZXxRsBMRM5SpH9TrFQ3uSjtPQBW YAD3D19C1lFT4+Ed/u3ePnNKDA/plpEdQwqfh8uxplQ0NOj7Gam44vSBjD/qJc15zDkX kHr/3yXsPdZTLcPCQYhejb5Z9hPhZgQJQIK9OPwuHXmf+ItzpxSBr/nXts3uX+rxeTeH +mAPZbOmmVQi+ea/b980xEPOV050wnoB0pEyTwbCXOkScSPJUHtDpsL0fndhRbTbnXYP AJw1yCQX+JRWriPy8kfVx6V81emXCxMjQ3Vvujp0wJThBQdTu80ncA2EZSV74SqxJX5o MhgA== X-Gm-Message-State: AJaThX6ivDx/NQxnaSbAS98XX4A1vNfkLAoVNZdHK7rCSsEo5cjtS6GE 0fSLyqTw56FwEBaYqTm5QL9pqg== X-Google-Smtp-Source: AGs4zMYzINuy9tUFWUiiZpLIZE43U3goZuBvjEtYC1/nTcPJwJT0TidMXefBHdyP3WG8rmsS52eDcw== X-Received: by 10.99.189.65 with SMTP id d1mr21709990pgp.48.1511369872623; Wed, 22 Nov 2017 08:57:52 -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) From: Chris Marusich To: bug-guix@gnu.org Subject: 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= 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----- --=-=-=-- ------------=_1511484782-12676-1--