From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OPKuCBHvi2IqXgAAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 22:31:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WMqYCBHvi2L3FQEA9RJhRA (envelope-from ) for ; Mon, 23 May 2022 22:31:13 +0200 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 A61731B3C3 for ; Mon, 23 May 2022 22:31:12 +0200 (CEST) Received: from localhost ([::1]:47668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntEhq-0007Sa-Pv for larch@yhetil.org; Mon, 23 May 2022 16:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntEgl-0007Rx-4e for guix-patches@gnu.org; Mon, 23 May 2022 16:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntEgk-0001yv-RV for guix-patches@gnu.org; Mon, 23 May 2022 16:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntEgk-0002U1-Ee for guix-patches@gnu.org; Mon, 23 May 2022 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55602] [PATCH 0/2] Move (gnu platform) and friends to guix, and fix linux module build system. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 May 2022 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55602@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16533377599463 (code B ref -1); Mon, 23 May 2022 20:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 May 2022 20:29:19 +0000 Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntEg3-0002SY-Ev for submit@debbugs.gnu.org; Mon, 23 May 2022 16:29:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:47728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntEg0-0002SP-Au for submit@debbugs.gnu.org; Mon, 23 May 2022 16:29:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntEg0-0007Ig-45 for guix-patches@gnu.org; Mon, 23 May 2022 16:29:16 -0400 Received: from jpoiret.xyz ([206.189.101.64]:49270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntEfy-0001sO-13 for guix-patches@gnu.org; Mon, 23 May 2022 16:29:15 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 34E92185182; Mon, 23 May 2022 20:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1653337748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sqVSo7n8CtpMlMVME+3x+y6ZfWSQo8linkivr5941Vo=; b=Sqau5xiB/FxXhantnHQRtfnJrD6gCs34M6+fnZ8tEqI4eoLNM3uR86T8NrO4+wNPDEOOAq TqsS7ngxZkTpJj4S9/yDVEfoIFQJAZwAsZAJ+nPszJFFH4f46v5tgaGoexdKtWrHfPxDXJ HbYXzA6oCnYQY1RXhPF4Bl0PEM/Y4bHLRhIYtD2BrKW+vTCd9oV5B8w3on/OQ9CrMrTst0 atcIrEEhOVO0fhwJlr1Ob9ZiknitazlcJnqyymyP9Tv2ckVywufnGIUDEU0woH8v8/A0d1 RZ65bfV4nHLi0qNBREYfiPAzY15bvWUdPtI41QZP8vglv0258sEwkhIp0XeQ3A== Date: Mon, 23 May 2022 22:29:02 +0200 Message-Id: <20220523202902.32411-1-dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653337872; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sqVSo7n8CtpMlMVME+3x+y6ZfWSQo8linkivr5941Vo=; b=GvccxBCu3kDzgAvR42iketEC+/xeEUnKZo2a/nnB0U+I2IEa/cAju25NMrgAXJ0IBSml7r PspPThzlOAGTZbR66IyFwRC4Gu/TKCbjbuFXkM2wvsWBaSv1oFC9KhoTZ9EEG9Ry4raGjZ F0xkqWz/6xGaW+I1+H0nU8wFHuIH2eaXU5TJfIQYifu+cuXC1jbDS6Yzw/S+HKHubvU1RJ xdyEwsN3gkXRLSojs64/pa5+GditXRiiBjvTm8huVMYtelXBXssj5uXRY9yXU1Bi5Br8d5 jo0WllXsVvbNPbV8cRIcfoNYGzKgM/q+m7kL361DtXay0U+7B8mLJX7ycbG32Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653337872; a=rsa-sha256; cv=none; b=a/AaYW5hHBo2BGvOheF8icQ3dpJHtwv6LrcPDbeiYuxrQWPYEfT/g3RXXnEWjUuHlaTEC2 Xczx5/7k5Wo832/7EbytpY+V7euU72zha4rxStgKl/A49AgfqwD/1JsjxunpvauJ90P081 6+/W+t3lGyX1hvUMtyAOYc7G5R4NypgwrXQqLiG9QQH4kixh+NH0p20siUAoFT6qkPmcnq 7iIOKgDtZc4qyMToOMyqZR4jGGBPQ0/UX2lwxY79LOc2Do1rcLYxFPNV2MjnaYyZygC349 BbSSIeLXysHYpWeRmvfFsRtvnd1xjb8yDjzqvPetOWeF8/6U7gpjDbXoIgszWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Sqau5xiB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Sqau5xiB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A61731B3C3 X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2d8fCc5NDNZR Hi everyone, The linux-module-build-system broke because we're now using platform records, and the accessor platform-glibc-dynamic-linker is syntax. The build system cannot invoke it through module-ref shenanigans (done previously to avoid some circular dependencies), because as everyone knows syntax expands at compile/expand-time only. Since the platform code has moved to its own cozy (gnu platform) in the meantime, I figured that it could very well be simply use-module'd, but then it'd have to end up in (guix ...) to follow the rule that guix modules should never directly use-module gnu modules. Hence this quite big patchset. This addresses the same issue as [1]. [1] https://issues.guix.gnu.org/55591 Best, Josselin Poiret (2): Move (gnu platform) and (gnu platforms ...) to guix/. build-system: linux-module: Directly use-module (guix platform). doc/guix.texi | 2 +- etc/release-manifest.scm | 2 +- gnu/ci.scm | 2 +- gnu/image.scm | 2 +- gnu/local.mk | 8 -------- gnu/packages/bioinformatics.scm | 2 +- gnu/packages/bootstrap.scm | 2 +- gnu/packages/cross-base.scm | 2 +- gnu/packages/instrumentation.scm | 2 +- gnu/packages/linux.scm | 2 +- gnu/system/image.scm | 2 +- gnu/system/images/hurd.scm | 2 +- gnu/system/images/novena.scm | 2 +- gnu/system/images/pine64.scm | 2 +- gnu/system/images/pinebook-pro.scm | 2 +- gnu/system/images/rock64.scm | 2 +- guix/build-system/linux-module.scm | 4 ++-- {gnu => guix}/platform.scm | 4 ++-- {gnu => guix}/platforms/arm.scm | 5 ++--- {gnu => guix}/platforms/hurd.scm | 5 ++--- {gnu => guix}/platforms/mips.scm | 5 ++--- {gnu => guix}/platforms/powerpc.scm | 5 ++--- {gnu => guix}/platforms/riscv.scm | 5 ++--- {gnu => guix}/platforms/s390.scm | 5 ++--- {gnu => guix}/platforms/x86.scm | 5 ++--- guix/scripts/build.scm | 2 +- guix/scripts/system.scm | 2 +- guix/self.scm | 2 +- 28 files changed, 36 insertions(+), 51 deletions(-) rename {gnu => guix}/platform.scm (98%) rename {gnu => guix}/platforms/arm.scm (92%) rename {gnu => guix}/platforms/hurd.scm (90%) rename {gnu => guix}/platforms/mips.scm (90%) rename {gnu => guix}/platforms/powerpc.scm (92%) rename {gnu => guix}/platforms/riscv.scm (91%) rename {gnu => guix}/platforms/s390.scm (90%) rename {gnu => guix}/platforms/x86.scm (94%) -- 2.36.0