From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gAKSEyQEvWF3+wAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 22:41:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6CwxDyQEvWE/DAAAbx9fmQ (envelope-from ) for ; Fri, 17 Dec 2021 21:41:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F1E6D123AA for ; Fri, 17 Dec 2021 22:41:55 +0100 (CET) Received: from localhost ([::1]:40878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myKzC-0003Eb-5u for larch@yhetil.org; Fri, 17 Dec 2021 16:41:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myKyM-0003EP-S0 for bug-guix@gnu.org; Fri, 17 Dec 2021 16:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myKyM-0006bc-J7 for bug-guix@gnu.org; Fri, 17 Dec 2021 16:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myKyM-0007cV-9H for bug-guix@gnu.org; Fri, 17 Dec 2021 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52574: Cross-compiling glib failure Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52574 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: L p R n d n , 52574@debbugs.gnu.org Received: via spool by 52574-submit@debbugs.gnu.org id=B52574.163977722229228 (code B ref 52574); Fri, 17 Dec 2021 21:41:02 +0000 Received: (at 52574) by debbugs.gnu.org; 17 Dec 2021 21:40:22 +0000 Received: from localhost ([127.0.0.1]:40745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myKxh-0007bM-RL for submit@debbugs.gnu.org; Fri, 17 Dec 2021 16:40:22 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:44212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myKxg-0007bC-22 for 52574@debbugs.gnu.org; Fri, 17 Dec 2021 16:40:21 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id XZgH2600E4UW6Th01ZgHZR; Fri, 17 Dec 2021 22:40:18 +0100 Message-ID: From: Maxime Devos Date: Fri, 17 Dec 2021 21:40:17 +0000 In-Reply-To: <87k0g3fl7c.fsf@lprndn.info> References: <87k0g3fl7c.fsf@lprndn.info> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1639777218; bh=1SwaIPUxHMofxAP+/2cZ47nIBkiCNu+Lx36sSBYaonQ=; h=Subject:From:To:Date:In-Reply-To:References; b=TgjLO4hF36dKPv5K2Aq4NS8M4lulz8IR9mlF+jGd5zRnW2LDiwnaPOhNP2La6HRNn NQ4hLJIcCYIDBOpdLNdWCEPIyufmaiIgE3hcyO+/mQmr0zhY8sXiu9vOpKh+PPsb8e o6aHAd7XSkF7MSFgsEwwkwH8cr9zEtHy9nFYzL2U7dE5ekI/Xng57tsPpiXJdSb+CT hBYw0o3QAtAZLRmnw9s9PgUY7Pdn4kjO7a9KpFCALXLaUKr7SkJJ9JMlQMBGxv6f34 jFriPezaESQwW/5NMb5dNwV6DRIewivOlfGQRLiDNLRqkMDEyD6jN3vqf+Oqy29+7F q+ZMuJgSc42Mg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639777316; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1SwaIPUxHMofxAP+/2cZ47nIBkiCNu+Lx36sSBYaonQ=; b=ZlIFr29ufUJQL3EbMnwsTcKquEe0Gn/mFs9c3KHMfBWk1zjlGZyObpw/Wg0j5ZWoIsh+8m CROiXA++eoSg4T0cJ/OxkBicpTPdikkm8uAUF+hOx/syA+4lCiv7NmLN17tw4LUvnzOt83 4pgL8zk4NH3GElxHhgjooVqasvvsMh9np+dVf0Ink2G3k+YMLVGntKV8b8dGYRVserdnax EUUp4mWgpA5/ywRnQp4BQ5YJcHLCQekzGCrxp32GRVPDqATMKpbBtNdxmOegd/c/zSdpm1 BU+KvxdsfdNpZWtg3G6E4RT3fhCJivS7DvXiD2h9R2l1suvSh9DY3mS/oE1QIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639777316; a=rsa-sha256; cv=none; b=cvfgPQ7McD7M30IMmCWfVldthEKBs4HMTNCiVBuebt0P5/apX4mXUbqy2Bv7T/+2G8KigT p7nQ8Rg2WRraArCAw/xh78sAJIgcvirYLZiPIhmCV4/J4HhTrM5u+TpOIR0u7CBRAnSUNU sbx1Jkzm15jV42XkQ5e6YWKYkMXlnWbGnLtJd+BOR78+EK3d211QSYFEMMQD5cHmJrea6V Dcex0E1ReeurzVFmqtGSF6uS7rsd6lNhxisj9OhTZsiLJeluuFGPu3ma6reWyQ0gTtXYrN yPluPTMVH7n9kmP1Pv99u1HlGTY3ruN3I9oj2rWULTYOhsID9aQitnDUtSxbMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=TgjLO4hF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=TgjLO4hF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F1E6D123AA X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: EYThodtiSXGP L p R n d n schreef op vr 17-12-2021 om 12:51 [+0000]: > > Hello guix, > > Trying to cross-compile glib to aarch64with: > > guix build --target=aarch64-linux-gnu glib > > I get this error: > > `Unbound variable: %outputs > > I suppose the glib’s definition needs to be adapted to Guix’s new > style > which was merged a few days ago? > Actually, glib's build system (meson-build-system) did not support cross-compilation at all before the merge. Cross-compilation support was added on that branch, but glib's package broke later, presumably in . The fix would be to replace to wrap the configure flags in a #~, instead of a ´,replace (assoc-ref %outputs "bin") by #$output:bin and adjust the configure flags of glib-with-documentation to use #~ and #$ instead of ´ and ,. To avoid rebuilds, some (if (%current-target-system) #~#$output:bin #~(assoc-ref %outputs "bin")) may be needed. Greetings, Maxime.