From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Cross-compilation broken on canonical packages. Date: Thu, 19 Dec 2019 17:48:49 +0100 Message-ID: <871rt0ntvy.fsf@gnu.org> References: <878snff7pv.fsf@gmail.com> <877e2zf7kv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41016) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihyyp-00059A-PJ for guix-devel@gnu.org; Thu, 19 Dec 2019 11:48:52 -0500 In-Reply-To: <877e2zf7kv.fsf@gmail.com> (Mathieu Othacehe's message of "Sat, 14 Dec 2019 12:52:00 +0100") 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" To: Mathieu Othacehe Cc: guix-devel@gnu.org Hi Mathieu, Mathieu Othacehe skribis: > Small mistake sorry. This fails: > > guix build --target=3Daarch64-linux-gnu -e "((@ (gnu packages base) canon= ical-package) (@ (gnu packages base) grep))" > > > while this succeeds: > > guix build -e "((@ (gnu packages base) canonical-package) (@ (gnu package= s base) grep))" This is expected: packages in =E2=80=98%final-inputs=E2=80=99 (those return= ed by =E2=80=98canonical-package=E2=80=99) are rooted in the bootstrap graph and = cannot be cross-compiled. Perhaps =E2=80=98%base-packages=E2=80=99 should use packages form (gnu pack= ages base) instead? The reason it uses =E2=80=98canonical-package=E2=80=99 is just to= avoid introducing redundant packages in the system, but I don=E2=80=99t think it = makes that much sense. Thanks, Ludo=E2=80=99.