From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 30 18:53:26 2021 Received: (at submit) by debbugs.gnu.org; 30 Dec 2021 23:53:26 +0000 Received: from localhost ([127.0.0.1]:54782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n35Ec-0001Z7-32 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 18:53:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:55834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n35Ea-0001Z0-P4 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 18:53:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n35Ea-0008BL-HY for bug-guix@gnu.org; Thu, 30 Dec 2021 18:53:24 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:51075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n35ES-00072n-1n for bug-guix@gnu.org; Thu, 30 Dec 2021 18:53:24 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1C90B3200E31; Thu, 30 Dec 2021 18:53:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 30 Dec 2021 18:53:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=RFj2MVZG40ahhIJ2iwBmKGd8syqVuVGpU+UVkcyxEF0=; b=FS30B y5TcEYwe09gCOiGjHr6NdfWgbKCyS/hQHvGsJW/JUZxanjfojAzTEKOkGWja+sWj Z/lU/DBcBPPMfsokQxf8xhoZylU0Sp5L/l7SSp1/cZTRQQG1xF9e98ZCqsaBKEim LB+CZ6swJv9D2omjEmDPbCHgWu5dTmtxWpsBzg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=RFj2MVZG40ahhIJ2iwBmKGd8syqVu VGpU+UVkcyxEF0=; b=MgOfluFLnqs9L5wB0JhY7cbCrDC+1nhKtRN5RlG2kW805 EhwvCY30UYPf2dTYhThsJQ9l/RPFx+q3NUDXDBdxYpQW+4jCtmzg8snZHXdePr2r 4/QiqXr0WintLcFcDdPdBgDOYmZ/i+CDPaC6bX549dXaQ/LM4IjRFqJY4sRlz6Fe UWMXbglgTZ58UvmLwqQnFj3weIoUY1bbwvINV5LNv0zHxstRZu0BHD4TFAtd9wov ccVUa6QfaT/Dpn/Zb0n342nO2i2igVGBPfMyCSf24FIJGuFj/eY71XhhF4pxksoL +26C/RIiN+uwVAzK7oOfxnStK8QLaOrwuW4p6avgw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvgedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepueeiudeijeduffdvhfejvdegvdehgffgje dvveekfeefleefkeeuieejudevtedunecuffhomhgrihhnpehgnhhurdhorhhgnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmh hulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 30 Dec 2021 18:53:11 -0500 (EST) Date: Thu, 30 Dec 2021 18:52:57 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: 'tests/guix-system.sh' fails on aarch64-linux Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=64.147.123.20; envelope-from=leo@famulari.name; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) The Guix test 'tests/guix-system.sh' fails on aarch64-linux, like this: ------ + for example in gnu/system/examples/*.tmpl + grep hurd + echo gnu/system/examples/desktop.tmpl + target= + guix system -n disk-image gnu/system/examples/desktop.tmpl accepted connection from pid 23537, user nixbld guix system: warning: 'disk-image' is deprecated: use 'image' instead spurious SIGPOLL spurious SIGPOLL spurious SIGPOLL guix system: error: service 'xorg-server' provided more than once + rm -f t-guix-system-22708 t-guix-system-error-22708 /tmp/guix-build-guix-1.3.0-17.2a49ddb.drv-0/t-guix-system-22708/config.scm /tmp/guix-build-guix-1.3.0-17.2a49ddb.drv-0/t-guix-system-22708 /my-torrc + rmdir /tmp/guix-build-guix-1.3.0-17.2a49ddb.drv-0/t-guix-system-22708 FAIL tests/guix-system.sh (exit status: 1) ------ This manifests while building the 'guix' package itself. Specifically this derivation: /gnu/store/i8rjwl9fmm4b6icvry8l2wlz2dwq09ic-guix-1.3.0-17.2a49ddb.drv ... which is based on commit 9f6532c77d35603f5e5d190616e0c6b1740e82bd: https://ci.guix.gnu.org/build/251537/details It doesn't happen on x86_64-linux: https://ci.guix.gnu.org/build/251564/details From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 01 21:14:33 2022 Received: (at control) by debbugs.gnu.org; 2 Jan 2022 02:14:33 +0000 Received: from localhost ([127.0.0.1]:59684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3qOH-0006rb-HN for submit@debbugs.gnu.org; Sat, 01 Jan 2022 21:14:33 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3qOF-0006rN-It for control@debbugs.gnu.org; Sat, 01 Jan 2022 21:14:31 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 874825C0080; Sat, 1 Jan 2022 21:14:26 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 01 Jan 2022 21:14:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=VbJSAPl04T9IuD/yZQty+0ZkR7dhzQrLEKSH6+zsFi0=; b=C773H77Mrvo1 jjwrwCLOEwpcYc0q6Qv0+L66ThIRDMObtgpMgDzB69XNHBdzQhg6+vLVBWgnXPil pp0T+/3u3YkB93+KALrd5QYXok/mMKQppyMXtycxuegdsQipE5IRPG8BsJgG2fuv z5+zGP0AKMZrzFTEUF7/ww6vtjYqSgQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=VbJSAPl04T9IuD/yZQty+0ZkR7dhzQrLEKSH6+zsF i0=; b=nCEAdXF0ouZ0KqMCK7RjNLVh+PkIH0uschIXZ8h0Wd/EPG3cr7X2Eer1+ R+KgBhpejEkFL+01PKMthTmRxAq4hBdq9Zzgu8//4LJMl/CY//xoQl+pXkOocwRK vG2w/txi5007GZHpl1AYWmE19qWUWudovpN+tUHRxJiRm22rwjGUU4qXqtJFLR1K qMSvGl5srQk9zqXyoGXxCN4Ku2c94SOf8Ztli7aF81NgguxszJ7YB+CLtuviCcxN 9qV+Xbe0KsxYxxwDI8ZH7ufoWN4NOnf5qCT9JCKYUG+XPLwJ6gj/9sTc4f6LW5Ty AivK1Jq/b5IvSNI6l3DfZfdtLNC2g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvkedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne fgmhhpthihuchsuhgsjhgvtghtucdluddtmdenucfjughrpeffhffvkfggtggusehttder tddttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrg hrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefhjeeigfefvedvfeetheegledtkeev uddtgedtudeiteehteegvdefffduffefffenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 1 Jan 2022 21:14:26 -0500 (EST) Date: Sat, 1 Jan 2022 21:14:24 -0500 From: Leo Famulari To: GNU bug tracker automated control server Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 52908 52943 Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.27 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control 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.2 (/) merge 52908 52943 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 03 21:16:22 2022 Received: (at 52908) by debbugs.gnu.org; 4 Jan 2022 02:16:22 +0000 Received: from localhost ([127.0.0.1]:36651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ZMv-00082s-Qh for submit@debbugs.gnu.org; Mon, 03 Jan 2022 21:16:22 -0500 Received: from mail-pg1-f171.google.com ([209.85.215.171]:46981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ZMp-000823-P7 for 52908@debbugs.gnu.org; Mon, 03 Jan 2022 21:16:08 -0500 Received: by mail-pg1-f171.google.com with SMTP id i8so22930462pgt.13 for <52908@debbugs.gnu.org>; Mon, 03 Jan 2022 18:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5gltP0rVW7XfNnKcG9LWiTY5/iSuNdCxTYjqFm6vUeU=; b=BuiMRZ3eqFthavsn+DYn53jctl/pA7cIQwEwE8rom5ypuDpIUeCM2eAKJ294yqtfFn r2a3TPK/jPbp3iUsgh5rz/pojc1fPD/gMxZd7iIV8B7caFZzw10VJmyCN4kGMEUy8avF RALy1mLnCyV4UeFEejeum3oQQ5EtWzbD84VHb22FXzcDCYxCLkJwSexy09NDl4/WbBnA PTDQuvvpkDe32MdXNYmKlAun85+Dfc9m/sEcTJK0u76A5BKWI5mjrtx2uNSxd5fyEpYN 6Zx6DfopW6r2JjHRxx54utX1vfUxMrmvAA16DRElH4uABhrE+5VzSp2o9yspoUL+boDK zI9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5gltP0rVW7XfNnKcG9LWiTY5/iSuNdCxTYjqFm6vUeU=; b=cIssKKlSmgiuQV4hmD59uhBgQSVIVpBhZ7/jEAGzvXNCDORHkuXKPwrwpbftgbt1M4 iX4uwUyRP3jfGWOdUYCggYOM7Nqt3KMUskw6HJdbjEJS/nxpBKrEr4X3nTa6g3SFroGC kPQ2AgkqAHm1ID3f8pcZ4uzfeOrW7Gfhup5H7+pcqgLSHQi7oBsKpbyEn+8jDQ8g41pG vCOUBaZtucMGMZ0b2ea6sNpG9HoMKzgsipUAU5ny+YQZZPjZUduihrI5iotKRhk4mmjI 2/rjMl5snPhnxJLLqLbkE5nh824qdiXbHKfswP7GiyTK7Qs92zOQg6/VXBWz4JghhPQd QBeA== X-Gm-Message-State: AOAM530f0b6UveYG7Fp7g8evNAKrN/3r5+K04EYPxOkcqSZQMk3LimbP ydEJZ5IkiRjpsrHToksCuUkksdQm+vA= X-Google-Smtp-Source: ABdhPJz89Pg06wDrUjshaqK8LJDSCdEKSce/floRHT9KlB8HgPJXYCCHF4IsL8I6tZbmsCjeEExbHw== X-Received: by 2002:a05:6a00:1592:b0:4bb:361b:b381 with SMTP id u18-20020a056a00159200b004bb361bb381mr49653036pfk.33.1641262557682; Mon, 03 Jan 2022 18:15:57 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id 13sm40438956pfm.161.2022.01.03.18.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 18:15:57 -0800 (PST) From: Chris Marusich To: Leo Famulari , Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: Date: Mon, 03 Jan 2022 18:15:52 -0800 In-Reply-To: (Leo Famulari's message of "Thu, 30 Dec 2021 18:52:57 -0500") Message-ID: <87wnjgqm93.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 52908 Cc: 52908@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: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Leo and Aiko, This issue also affects powerpc64le-linux. Aiko's patch would indeed fix the failing test. Thank you, Aiko, for taking the initiative to help investigate and solve the issue! However, even though that patch would fix the test, anyone who is using set-xorg-configuration on a non-x86_64 system would still need to change the way they call it, which is not ideal. I've attached a different patch that attempts to fix the issue without requiring callers of set-xorg-configuration to update their code. I believe this is more consistent with the intent of Ludo's original change in commit 49599fab564f203b8e92d32e9b28c99e99849bfb. You'll notice that this patch moves the (gnu services sddm) code into (gnu services xorg) and deprecates (gnu services sddm). I did this in order to avoid a circular dependency between the two modules. Perhaps there's a better way. However, many of the existing display managers already live in (gnu services xorg), so it seemed reasonable to me. I've verified that the tests/guix-system.sh test passes on powerpc64le-linux after applying this patch to current master branch (on top of commit 9309b488ca4ceef4fcc9283546e3b05c57b16ca8). I've also verified that the deprecation warnings are being emitted, and that the existing bindings in (gnu services sddm) are still usable, at the REPL: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix repl GNU Guile 3.0.7 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,use (gnu services sddm) scheme@(guix-user)> (sddm-configuration) guix repl: warning: 'sddm-configuration' is deprecated, use '(@ (gnu servic= es xorg) sddm-configuration)' instead $1 =3D #< sddm: [... omitted for brevity ...] scheme@(guix-user)> (sddm-configuration? $1) guix repl: warning: 'sddm-configuration?' is deprecated, use '(@ (gnu servi= ces xorg) sddm-configuration?)' instead $2 =3D #t scheme@(guix-user)> sddm-service-type guix repl: warning: 'sddm-service-type' is deprecated, use '(@ (gnu service= s xorg) sddm-service-type)' instead $3 =3D # scheme@(guix-user)> (sddm-service) guix repl: warning: 'sddm-service' is deprecated, use '(@ (gnu services xor= g) sddm-service)' instead guix repl: warning: 'sddm-service' is deprecated, use 'sddm-service-type' i= nstead $4 =3D #< type: # value: #< sddm: [... omitted for brevity ...] scheme@(guix-user)> =2D-8<---------------cut here---------------end--------------->8--- What do you think? =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-services-Consistently-use-SDDM-rather-than-GDM-on-no.patch Content-Transfer-Encoding: quoted-printable From=2009091cc8495e0b4c302a58961e79ac8455ecd208 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Mon, 3 Jan 2022 14:59:35 -0800 Subject: [PATCH] services: Consistently use SDDM rather than GDM on non-x86_64. This is a follow-up to 49599fab564f203b8e92d32e9b28c99e99849bfb. Notably, = it also deprecates (gnu services sddm) and moves what was there into (gnu services xorg). Fixes: . * gnu/services/sddm.scm (sddm-configuration, sddm-configuration?) (sddm-service-type, sddm-service): Move the code for these exported bindings to gnu/services/xorg.scm. Use (guix deprecation) to ensure that existing c= ode can continue to call these original bindings in the (gnu services sddm) module, in which case a deprecation warning will be issued to the caller. (gnu-services-sddm-sentinel): New exported variable. * gnu/services/xorg.scm (sddm-configuration, sddm-configuration?) (sddm-service-type, sddm-service): New exported bindings. The code was mov= ed verbatim from gnu/services/sddm.scm. These bindings were moved here to avo= id introducing a circular dependency between the (gnu services sddm) and (gnu services xorg) modules. (set-xorg-configuration)[login-manager-service-type]: When the current syst= em or target system begins with the string "x86_64", use gdm-service type as before; otherwise, use sddm-service-type (i.e., the one from the (gnu servi= ces xorg) module). * gnu/system/examples/vm-image.tmpl (services): Add sddm-service-type to the list of service types to remove. * gnu/services/desktop.scm: Remove the #:autoload for (gnu services sddm). = It is no longer required, since (gnu services xorg) exports sddm-service-type. =2D-- gnu/services/desktop.scm | 1 - gnu/services/sddm.scm | 320 ++---------------------------- gnu/services/xorg.scm | 311 ++++++++++++++++++++++++++++- gnu/system/examples/vm-image.tmpl | 4 +- 4 files changed, 332 insertions(+), 304 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index c6761ca784..8395b51242 100644 =2D-- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -40,7 +40,6 @@ #:use-module (gnu services sound) #:use-module ((gnu system file-systems) #:select (%elogind-file-systems file-system)) =2D #:autoload (gnu services sddm) (sddm-service-type) #:use-module (gnu system) #:use-module (gnu system setuid) #:use-module (gnu system shadow) diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm index 694ad736dc..54c0f1b594 100644 =2D-- a/gnu/services/sddm.scm +++ b/gnu/services/sddm.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2019 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2019 Jesse Gildersleve ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka +;;; Copyright =C2=A9 2022 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,313 +21,32 @@ ;;; along with GNU Guix. If not, see . =20 (define-module (gnu services sddm) =2D #:use-module (gnu packages admin) =2D #:use-module (gnu packages display-managers) =2D #:use-module (gnu packages freedesktop) =2D #:use-module (gnu packages xorg) =2D #:use-module (gnu services) =2D #:use-module (gnu services shepherd) =2D #:use-module (gnu services xorg) =2D #:use-module (gnu system pam) =2D #:use-module (gnu system shadow) =2D #:use-module (guix gexp) =2D #:use-module (guix records) #:use-module (guix deprecation) + #:use-module (gnu services xorg) #:export (sddm-configuration sddm-configuration? sddm-service-type =2D sddm-service)) =2D =2D(define-record-type* =2D sddm-configuration make-sddm-configuration =2D sddm-configuration? =2D (sddm sddm-configuration-sddm =2D (default sddm)) =2D =2D ;; [General] =2D ;; valid values are x11 and wayland =2D ;; currently doesn't do anything is enabled by wayland greeter PR =2D (display-server sddm-configuration-display-server =2D (default "x11")) =2D ;; valid values are on, off or none =2D (numlock sddm-configuration-numlock =2D (default "on")) =2D (halt-command sddm-configuration-halt-command =2D (default (file-append shepherd "/sbin/halt"))) =2D (reboot-command sddm-configuration-reboot-command =2D (default (file-append shepherd "/sbin/reboot")= )) =2D =2D ;; [Theme] =2D ;; valid values are elarun, maldives or maya =2D (theme sddm-configuration-theme =2D (default "maldives")) =2D (themes-directory sddm-configuration-themes-directory =2D (default "/run/current-system/profile/share/sd= dm/themes")) =2D (faces-directory sddm-configuration-faces-directory =2D (default "/run/current-system/profile/share/sd= dm/faces")) =2D =2D ;; [Users] =2D (default-path sddm-configuration-default-path =2D (default "/run/current-system/profile/bin")) =2D (minimum-uid sddm-configuration-minimum-uid =2D (default 1000)) =2D (maximum-uid sddm-configuration-maximum-uid =2D (default 2000)) =2D (remember-last-user? sddm-configuration-remember-last-user? =2D (default #t)) =2D (remember-last-session? sddm-configuration-remember-last-session? =2D (default #t)) =2D (hide-users sddm-configuration-hide-users =2D (default "")) =2D (hide-shells sddm-configuration-hide-shells =2D (default (file-append shadow "/sbin/nologin"))) =2D =2D ;; [Wayland] =2D (session-command sddm-configuration-session-command =2D (default (file-append sddm "/share/sddm/script= s/wayland-session"))) =2D (sessions-directory sddm-configuration-sessions-directory =2D (default "/run/current-system/profile/share/wa= yland-sessions")) =2D ;; [X11] =2D (xorg-configuration sddm-configuration-xorg =2D (default (xorg-configuration))) =2D (xauth-path sddm-configuration-xauth-path =2D (default (file-append xauth "/bin/xauth"))) =2D (xephyr-path sddm-configuration-xephyr-path =2D (default (file-append xorg-server "/bin/Xephyr= "))) =2D (xdisplay-start sddm-configuration-xdisplay-start =2D (default (file-append sddm "/share/sddm/script= s/Xsetup"))) =2D (xdisplay-stop sddm-configuration-xdisplay-stop =2D (default (file-append sddm "/share/sddm/script= s/Xstop"))) =2D (xsession-command sddm-configuration-xsession-command =2D (default (xinitrc))) =2D (xsessions-directory sddm-configuration-xsessions-directory =2D (default "/run/current-system/profile/share/xs= essions")) =2D (minimum-vt sddm-configuration-minimum-vt =2D (default 7)) =2D =2D ;; [Autologin] =2D (auto-login-user sddm-configuration-auto-login-user =2D (default "")) =2D ;; valid values are xfce.desktop gnome.desktop weston.desktop hawaii.d= esktop =2D (auto-login-session sddm-configuration-auto-login-session =2D (default "")) =2D (relogin? sddm-configuration-relogin? =2D (default #f))) =2D =2D(define (sddm-configuration-file config) =2D (mixed-text-file "sddm.conf" " =2D[General] =2DDisplayServer=3D" (sddm-configuration-display-server config) = " =2DNumlock=3D" (sddm-configuration-numlock config) = " =2DHaltCommand=3D" (sddm-configuration-halt-command config) = " =2DRebootCommand=3D" (sddm-configuration-reboot-command config) = " =2D =2D[Users] =2DDefaultPath=3D" (sddm-configuration-default-path config) = " =2DMinimumUid=3D" (number->string (sddm-configuration-minimum-uid= config))" =2DMaximumUid=3D" (number->string (sddm-configuration-maximum-uid= config))" =2DRememberLastUser=3D" (if (sddm-configuration-remember-last-user? con= fig) =2D "true" "false") = " =2DRememberLastSession=3D" (if (sddm-configuration-remember-last-session? = config) =2D "true" "false") = " =2DHideUsers=3D" (sddm-configuration-hide-users config) = " =2DHideshells=3D" (sddm-configuration-hide-shells config) = " =2D =2D[Theme] =2DCurrent=3D" (sddm-configuration-theme config) = " =2DThemeDir=3D" (sddm-configuration-themes-directory config) = " =2DFacesDir=3D" (sddm-configuration-faces-directory config) = " =2D =2D[Wayland] =2DSessionCommand=3D" (sddm-configuration-session-command config) = " =2DSessionDir=3D" (sddm-configuration-sessions-directory config) = " =2D =2D[X11] =2DServerPath=3D" (xorg-start-command (sddm-configuration-xorg co= nfig)) " =2DXauthPath=3D" (sddm-configuration-xauth-path config) = " =2DXephyrPath=3D" (sddm-configuration-xephyr-path config) = " =2DDisplayCommand=3D" (sddm-configuration-xdisplay-start config) = " =2DDisplayStopCommand=3D" (sddm-configuration-xdisplay-stop config) = " =2DSessionCommand=3D" (sddm-configuration-xsession-command config) = " =2DSessionDir=3D" (sddm-configuration-xsessions-directory config)= " =2DMinimumVT=3D" (number->string (sddm-configuration-minimum-vt = config)) " =2DServerArguments=3D" (string-join =2D (xorg-configuration-server-arguments =2D (sddm-configuration-xorg config))) " =2D =2D[Autologin] =2DUser=3D" (sddm-configuration-auto-login-user config) = " =2DSession=3D" (sddm-configuration-auto-login-session config) = " =2DRelogin=3D" (if (sddm-configuration-relogin? config) =2D "true" "false") = " =2D")) =2D =2D(define (sddm-shepherd-service config) =2D "Return a for sddm with CONFIG." =2D =2D (define sddm-command =2D #~(list (string-append #$(sddm-configuration-sddm config) "/bin/sddm= "))) =2D =2D (list (shepherd-service =2D (documentation "SDDM display manager.") =2D (requirement '(user-processes elogind)) =2D (provision '(xorg-server display-manager)) =2D (start #~(make-forkexec-constructor #$sddm-command)) =2D (stop #~(make-kill-destructor))))) =2D =2D(define (sddm-etc-service config) =2D (list `("sddm.conf" ,(sddm-configuration-file config)))) =2D =2D(define (sddm-pam-service config) =2D "Return a PAM service for @command{sddm}." =2D (pam-service =2D (name "sddm") =2D (auth =2D (list =2D (pam-entry =2D (control "requisite") =2D (module "pam_nologin.so")) =2D (pam-entry =2D (control "required") =2D (module "pam_env.so")) =2D (pam-entry =2D (control "required") =2D (module "pam_succeed_if.so") =2D (arguments (list (string-append "uid >=3D " =2D (number->string (sddm-configuratio= n-minimum-uid config))) =2D "quiet"))) =2D ;; should be factored out into system-auth =2D (pam-entry =2D (control "required") =2D (module "pam_unix.so")))) =2D (account =2D (list =2D ;; should be factored out into system-account =2D (pam-entry =2D (control "required") =2D (module "pam_unix.so")))) =2D (password =2D (list =2D ;; should be factored out into system-password =2D (pam-entry =2D (control "required") =2D (module "pam_unix.so") =2D (arguments (list "sha512" "shadow" "try_first_pass"))))) =2D (session =2D (list =2D ;; lfs has a required pam_limits.so =2D ;; should be factored out into system-session =2D (pam-entry =2D (control "required") =2D (module "pam_unix.so")))))) =2D =2D(define (sddm-greeter-pam-service) =2D "Return a PAM service for @command{sddm-greeter}." =2D (pam-service =2D (name "sddm-greeter") =2D (auth =2D (list =2D ;; Load environment from /etc/environment and ~/.pam_environment =2D (pam-entry =2D (control "required") =2D (module "pam_env.so")) =2D ;; Always let the greeter start without authentication =2D (pam-entry =2D (control "required") =2D (module "pam_permit.so")))) =2D (account =2D (list =2D ;; No action required for account management =2D (pam-entry =2D (control "required") =2D (module "pam_permit.so")))) =2D (password =2D (list =2D ;; Can't change password =2D (pam-entry =2D (control "required") =2D (module "pam_deny.so")))) =2D (session =2D (list =2D ;; Setup session =2D (pam-entry =2D (control "required") =2D (module "pam_unix.so")))))) + sddm-service + gnu-services-sddm-sentinel)) =20 =2D(define (sddm-autologin-pam-service config) =2D "Return a PAM service for @command{sddm-autologin}" =2D (pam-service =2D (name "sddm-autologin") =2D (auth =2D (list =2D (pam-entry =2D (control "requisite") =2D (module "pam_nologin.so")) =2D (pam-entry =2D (control "required") =2D (module "pam_succeed_if.so") =2D (arguments (list (string-append "uid >=3D " =2D (number->string (sddm-configuratio= n-minimum-uid config))) =2D "quiet"))) =2D (pam-entry =2D (control "required") =2D (module "pam_permit.so")))) =2D (account =2D (list =2D (pam-entry =2D (control "include") =2D (module "sddm")))) =2D (password =2D (list =2D (pam-entry =2D (control "required") =2D (module "pam_deny.so")))) =2D (session =2D (list =2D (pam-entry =2D (control "include") =2D (module "sddm")))))) +;; All bindings originally exported by this module have been moved to (gnu +;; services xorg). They were moved to avoid a circular dependency between +;; (gnu services xorg) and this module. After a deprecation period has +;; passed, we can remove this module entirely. =20 =2D(define (sddm-pam-services config) =2D (list (sddm-pam-service config) =2D (sddm-greeter-pam-service) =2D (sddm-autologin-pam-service config))) +(define-deprecated/alias sddm-configuration + (@ (gnu services xorg) sddm-configuration)) =20 =2D(define %sddm-accounts =2D (list (user-group (name "sddm") (system? #t)) =2D (user-account =2D (name "sddm") =2D (group "sddm") =2D (system? #t) =2D (comment "SDDM user") =2D (home-directory "/var/lib/sddm") =2D (shell (file-append shadow "/sbin/nologin"))))) +(define-deprecated/alias sddm-configuration? + (@ (gnu services xorg) sddm-configuration?)) =20 =2D;; Add default themes to profile =2D(define sddm-profile-service =2D (compose list sddm-configuration-sddm)) +(define-deprecated/alias sddm-service-type + (@ (gnu services xorg) sddm-service-type)) =20 =2D(define sddm-service-type =2D (handle-xorg-configuration sddm-configuration =2D (service-type (name 'sddm) =2D (extensions =2D (list (service-extension shepherd-root-service-type =2D sddm-shepherd-service) =2D (service-extension etc-service-type =2D sddm-etc-service) =2D (service-extension pam-root-service-type =2D sddm-pam-services) =2D (service-extension account-service-type =2D (const %sddm-accounts)) =2D (service-extension profile-service-type =2D sddm-profile-service))) =2D (default-value (sddm-configuration)) =2D (description =2D "Run SDDM, a display and log-in manager for X11 and =2DWayland.")))) +(define-deprecated/alias sddm-service + (@ (gnu services xorg) sddm-service)) =20 =2D(define-deprecated (sddm-service #:optional (config (sddm-configuration)= )) =2D sddm-service-type =2D "Run the @uref{https://github.com/sddm/sddm,SDDM display manager} =2Dwith the given @var{config}, a @code{} object." =2D (service sddm-service-type config)) +;; The forms above only define macros. To ensure that the (guix +;; discovery) machinery finds this module, we must export at least one +;; public variable. Its value does not matter. +(define gnu-services-sddm-sentinel #t) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 82a7d25602..cbe77f1891 100644 =2D-- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -2,8 +2,10 @@ ;;; Copyright =C2=A9 2017 Andy Wingo ;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017, 2019, 2020 Ludovic Cour= t=C3=A8s ;;; Copyright =C2=A9 2015 Sou Bunnbu +;;; Copyright =C2=A9 2016 David Craven ;;; Copyright =C2=A9 2018, 2019 Timothy Sample ;;; Copyright =C2=A9 2019 Jan (janneke) Nieuwenhuizen +;;; Copyright =C2=A9 2019 Jesse Gildersleve ;;; Copyright =C2=A9 2019 Tim Gesthuizen ;;; Copyright =C2=A9 2020 shtwzrd ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka @@ -11,6 +13,7 @@ ;;; Copyright =C2=A9 2021 Brice Waegeneire ;;; Copyright =C2=A9 2021 Oleg Pykhalov ;;; Copyright =C2=A9 2021 Josselin Poiret +;;; Copyright =C2=A9 2022 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -113,6 +116,11 @@ gdm-configuration gdm-service-type =20 + sddm-configuration + sddm-configuration? + sddm-service-type + sddm-service + handle-xorg-configuration set-xorg-configuration)) =20 @@ -1040,10 +1048,311 @@ the GNOME desktop environment.") "Run the GNOME Desktop Manager (GDM), a program that al= lows you to log in in a graphical session, whether or not you use GNOME.")))) =20 +(define-record-type* + sddm-configuration make-sddm-configuration + sddm-configuration? + (sddm sddm-configuration-sddm + (default sddm)) + + ;; [General] + ;; valid values are x11 and wayland + ;; currently doesn't do anything is enabled by wayland greeter PR + (display-server sddm-configuration-display-server + (default "x11")) + ;; valid values are on, off or none + (numlock sddm-configuration-numlock + (default "on")) + (halt-command sddm-configuration-halt-command + (default (file-append shepherd "/sbin/halt"))) + (reboot-command sddm-configuration-reboot-command + (default (file-append shepherd "/sbin/reboot"))) + + ;; [Theme] + ;; valid values are elarun, maldives or maya + (theme sddm-configuration-theme + (default "maldives")) + (themes-directory sddm-configuration-themes-directory + (default "/run/current-system/profile/share/sddm= /themes")) + (faces-directory sddm-configuration-faces-directory + (default "/run/current-system/profile/share/sddm= /faces")) + + ;; [Users] + (default-path sddm-configuration-default-path + (default "/run/current-system/profile/bin")) + (minimum-uid sddm-configuration-minimum-uid + (default 1000)) + (maximum-uid sddm-configuration-maximum-uid + (default 2000)) + (remember-last-user? sddm-configuration-remember-last-user? + (default #t)) + (remember-last-session? sddm-configuration-remember-last-session? + (default #t)) + (hide-users sddm-configuration-hide-users + (default "")) + (hide-shells sddm-configuration-hide-shells + (default (file-append shadow "/sbin/nologin"))) + + ;; [Wayland] + (session-command sddm-configuration-session-command + (default (file-append sddm "/share/sddm/scripts/= wayland-session"))) + (sessions-directory sddm-configuration-sessions-directory + (default "/run/current-system/profile/share/wayl= and-sessions")) + ;; [X11] + (xorg-configuration sddm-configuration-xorg + (default (xorg-configuration))) + (xauth-path sddm-configuration-xauth-path + (default (file-append xauth "/bin/xauth"))) + (xephyr-path sddm-configuration-xephyr-path + (default (file-append xorg-server "/bin/Xephyr")= )) + (xdisplay-start sddm-configuration-xdisplay-start + (default (file-append sddm "/share/sddm/scripts/= Xsetup"))) + (xdisplay-stop sddm-configuration-xdisplay-stop + (default (file-append sddm "/share/sddm/scripts/= Xstop"))) + (xsession-command sddm-configuration-xsession-command + (default (xinitrc))) + (xsessions-directory sddm-configuration-xsessions-directory + (default "/run/current-system/profile/share/xses= sions")) + (minimum-vt sddm-configuration-minimum-vt + (default 7)) + + ;; [Autologin] + (auto-login-user sddm-configuration-auto-login-user + (default "")) + ;; valid values are xfce.desktop gnome.desktop weston.desktop hawaii.des= ktop + (auto-login-session sddm-configuration-auto-login-session + (default "")) + (relogin? sddm-configuration-relogin? + (default #f))) + +(define (sddm-configuration-file config) + (mixed-text-file "sddm.conf" " +[General] +DisplayServer=3D" (sddm-configuration-display-server config) = " +Numlock=3D" (sddm-configuration-numlock config) = " +HaltCommand=3D" (sddm-configuration-halt-command config) = " +RebootCommand=3D" (sddm-configuration-reboot-command config) = " + +[Users] +DefaultPath=3D" (sddm-configuration-default-path config) = " +MinimumUid=3D" (number->string (sddm-configuration-minimum-uid c= onfig))" +MaximumUid=3D" (number->string (sddm-configuration-maximum-uid c= onfig))" +RememberLastUser=3D" (if (sddm-configuration-remember-last-user? confi= g) + "true" "false") = " +RememberLastSession=3D" (if (sddm-configuration-remember-last-session? co= nfig) + "true" "false") = " +HideUsers=3D" (sddm-configuration-hide-users config) = " +Hideshells=3D" (sddm-configuration-hide-shells config) = " + +[Theme] +Current=3D" (sddm-configuration-theme config) = " +ThemeDir=3D" (sddm-configuration-themes-directory config) = " +FacesDir=3D" (sddm-configuration-faces-directory config) = " + +[Wayland] +SessionCommand=3D" (sddm-configuration-session-command config) = " +SessionDir=3D" (sddm-configuration-sessions-directory config) = " + +[X11] +ServerPath=3D" (xorg-start-command (sddm-configuration-xorg conf= ig)) " +XauthPath=3D" (sddm-configuration-xauth-path config) = " +XephyrPath=3D" (sddm-configuration-xephyr-path config) = " +DisplayCommand=3D" (sddm-configuration-xdisplay-start config) = " +DisplayStopCommand=3D" (sddm-configuration-xdisplay-stop config) = " +SessionCommand=3D" (sddm-configuration-xsession-command config) = " +SessionDir=3D" (sddm-configuration-xsessions-directory config) = " +MinimumVT=3D" (number->string (sddm-configuration-minimum-vt co= nfig)) " +ServerArguments=3D" (string-join + (xorg-configuration-server-arguments + (sddm-configuration-xorg config))) " + +[Autologin] +User=3D" (sddm-configuration-auto-login-user config) = " +Session=3D" (sddm-configuration-auto-login-session config) = " +Relogin=3D" (if (sddm-configuration-relogin? config) + "true" "false") = " +")) + +(define (sddm-shepherd-service config) + "Return a for sddm with CONFIG." + + (define sddm-command + #~(list (string-append #$(sddm-configuration-sddm config) "/bin/sddm")= )) + + (list (shepherd-service + (documentation "SDDM display manager.") + (requirement '(user-processes elogind)) + (provision '(xorg-server display-manager)) + (start #~(make-forkexec-constructor #$sddm-command)) + (stop #~(make-kill-destructor))))) + +(define (sddm-etc-service config) + (list `("sddm.conf" ,(sddm-configuration-file config)))) + +(define (sddm-pam-service config) + "Return a PAM service for @command{sddm}." + (pam-service + (name "sddm") + (auth + (list + (pam-entry + (control "requisite") + (module "pam_nologin.so")) + (pam-entry + (control "required") + (module "pam_env.so")) + (pam-entry + (control "required") + (module "pam_succeed_if.so") + (arguments (list (string-append "uid >=3D " + (number->string (sddm-configuration-= minimum-uid config))) + "quiet"))) + ;; should be factored out into system-auth + (pam-entry + (control "required") + (module "pam_unix.so")))) + (account + (list + ;; should be factored out into system-account + (pam-entry + (control "required") + (module "pam_unix.so")))) + (password + (list + ;; should be factored out into system-password + (pam-entry + (control "required") + (module "pam_unix.so") + (arguments (list "sha512" "shadow" "try_first_pass"))))) + (session + (list + ;; lfs has a required pam_limits.so + ;; should be factored out into system-session + (pam-entry + (control "required") + (module "pam_unix.so")))))) + +(define (sddm-greeter-pam-service) + "Return a PAM service for @command{sddm-greeter}." + (pam-service + (name "sddm-greeter") + (auth + (list + ;; Load environment from /etc/environment and ~/.pam_environment + (pam-entry + (control "required") + (module "pam_env.so")) + ;; Always let the greeter start without authentication + (pam-entry + (control "required") + (module "pam_permit.so")))) + (account + (list + ;; No action required for account management + (pam-entry + (control "required") + (module "pam_permit.so")))) + (password + (list + ;; Can't change password + (pam-entry + (control "required") + (module "pam_deny.so")))) + (session + (list + ;; Setup session + (pam-entry + (control "required") + (module "pam_unix.so")))))) + +(define (sddm-autologin-pam-service config) + "Return a PAM service for @command{sddm-autologin}" + (pam-service + (name "sddm-autologin") + (auth + (list + (pam-entry + (control "requisite") + (module "pam_nologin.so")) + (pam-entry + (control "required") + (module "pam_succeed_if.so") + (arguments (list (string-append "uid >=3D " + (number->string (sddm-configuration-= minimum-uid config))) + "quiet"))) + (pam-entry + (control "required") + (module "pam_permit.so")))) + (account + (list + (pam-entry + (control "include") + (module "sddm")))) + (password + (list + (pam-entry + (control "required") + (module "pam_deny.so")))) + (session + (list + (pam-entry + (control "include") + (module "sddm")))))) + +(define (sddm-pam-services config) + (list (sddm-pam-service config) + (sddm-greeter-pam-service) + (sddm-autologin-pam-service config))) + +(define %sddm-accounts + (list (user-group (name "sddm") (system? #t)) + (user-account + (name "sddm") + (group "sddm") + (system? #t) + (comment "SDDM user") + (home-directory "/var/lib/sddm") + (shell (file-append shadow "/sbin/nologin"))))) + +;; Add default themes to profile +(define sddm-profile-service + (compose list sddm-configuration-sddm)) + +(define sddm-service-type + (handle-xorg-configuration sddm-configuration + (service-type (name 'sddm) + (extensions + (list (service-extension shepherd-root-service-type + sddm-shepherd-service) + (service-extension etc-service-type + sddm-etc-service) + (service-extension pam-root-service-type + sddm-pam-services) + (service-extension account-service-type + (const %sddm-accounts)) + (service-extension profile-service-type + sddm-profile-service))) + (default-value (sddm-configuration)) + (description + "Run SDDM, a display and log-in manager for X11 and +Wayland.")))) + +(define-deprecated (sddm-service #:optional (config (sddm-configuration))) + sddm-service-type + "Run the @uref{https://github.com/sddm/sddm,SDDM display manager} +with the given @var{config}, a @code{} object." + (service sddm-service-type config)) + +;; Since GDM depends on Rust (gdm -> gnome-shell -> gjs -> mozjs -> rust) +;; and Rust is currently unavailable on non-x86_64 platforms, default to +;; SDDM there (FIXME). (define* (set-xorg-configuration config #:optional (login-manager-service-type =2D gdm-service-type)) + (let ((system (or (%current-target-syste= m) + (%current-system)))) + (if (string-prefix? "x86_64" system) + gdm-service-type + sddm-service-type)))) "Tell the log-in manager (of type @var{login-manager-service-type}) to u= se @var{config}, an record." (simple-service 'set-xorg-configuration diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-ima= ge.tmpl index a59d91587b..07cf718466 100644 =2D-- a/gnu/system/examples/vm-image.tmpl +++ b/gnu/system/examples/vm-image.tmpl @@ -107,12 +107,12 @@ root ALL=3D(ALL) ALL ;; Use the DHCP client service rather than NetworkManager. (service dhcp-client-service-type)) =20 =2D ;; Remove GDM, ModemManager, NetworkManager, and wpa-supplica= nt, =2D ;; which don't make sense in a VM. + ;; Remove some services that don't make sense in a VM. (remove (lambda (service) (let ((type (service-kind service))) (or (memq type (list gdm-service-type + sddm-service-type wpa-supplicant-service-type cups-pk-helper-service-type network-manager-service-type =2D-=20 2.26.3 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHTrdgVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadvM0P/0V/0ObQP0GEn9FOzMDjy7ZrCO7M Zi999aV4epia4cGzYsYb+fFNcSrXJ1fQu6hKG0QIdZGqLhLkdaXfnTcDdhPx2TDJ sEVsjisfpd1IX+JazYmQTVQzeySaBqyIJy9f/YRrkbrCVlVNyRpDwEWztCBajKtN CDeAhNG2/e9egHiq5em8D/D7ZC/QdfwRgYPUxJS3xdBEQu0XYHjziNtunDz7YVfl l3B1Xc2K20sH5qy/Rl54BUq7riIC54MzCbRYJ5MLDobv9XWSUkv/MXQPvsYNBxQS MF0ECJKDRwVJNVZsXUGoKPIvdzMO8K1VJ1Hc1mdQRPG7lARx5cQK0PfGpJiRghde ST8QNMsKhJPKejKgmCy1/fUp+Ujdr0qBS0DSim6ZrWy3j87jE4KT88zUMlRXiMBQ hLE4m4fUN0qyrl49aobDEjNbeP2MCl3Oqss8mNtxFwSFoBlseva68jLpI+EPoRlf JbMJfnwdAdm7mS3LHwaBLgRlOqQVd1hR4FUC7zaR7WTk6E+tT3GZdTCZqK9blXlQ T6GKQfNobA/asT6y8849ixLZ52Kf+KB2oopDlFjP7Y8gSTODiIv2wiWI6Ex4Visf HXR0xXCChdJSJDf+HRpw1dDF3JfvZb90zXMgbkTZ/XLC+LiTih/hMsJ5EsWsRHa6 h192cJ5SECgoVh6y =/KpX -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 03 22:43:49 2022 Received: (at 52908) by debbugs.gnu.org; 4 Jan 2022 03:43:49 +0000 Received: from localhost ([127.0.0.1]:36692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ajl-000484-0m for submit@debbugs.gnu.org; Mon, 03 Jan 2022 22:43:49 -0500 Received: from mail-lf1-f41.google.com ([209.85.167.41]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ajh-00047o-40 for 52908@debbugs.gnu.org; Mon, 03 Jan 2022 22:43:47 -0500 Received: by mail-lf1-f41.google.com with SMTP id o12so78911311lfk.1 for <52908@debbugs.gnu.org>; Mon, 03 Jan 2022 19:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l+VRunWDV5E6pGoz5vX42GAZk5me7+HwUHKSlspTeUM=; b=Mgm99X96sdOhtGxTxtYswz3JavtLl7B2GNEZuZ4I7pF0wL25asN2Ka3otee4Va/jDL D6VIZ9mv/kkhjmm6lLxAzSlm4yAJb5aB/ehbJmPX4AJbLkY+92puXQI+U5WfGKhmU6x1 MChjdQnUO8ACNRWZmR7UgclefW9QI4xbVEIGQxX/QG8FxpFekio7DHc9GvInqFah9qDh TtPmna4mVvJG5mje05i1bQBHVCXCW1qS2drteA5QkvBCLEHLyywXQrPiuqpCiMkmB7HN wdXpRMLXUTIh2bzG5vMfM4d0tdI9wbgjdwAFQIXxVno+ZpXwgBQoAwDm6YaU8bWcJHGX AaDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l+VRunWDV5E6pGoz5vX42GAZk5me7+HwUHKSlspTeUM=; b=haiFzRPder48V1D+UaNw2ITNNyLUSN45Fxu8O5A8AV/cXKyzh7mtkpXjFzXczvLFl6 V3umBJv9r6W88xDNG7omQjF8OhbXa3D43iNv/UexBYsFamyu4ao63CCr3FkWg33U3xTJ XDFy3d5a5pUcnKDvpeE3XhI44DUe7ozfNgGblWniv+Z37KmI/s6bnB0FqSUotmOKAJ1y wy52zMiWgDFb3bralQKMjyAjTHra8bmyFTqc50gTE1+VOlIqt0/HW6dhOGQm8bMgJ+3u A8Q9h9wXyhUE4q4yBDM18CIJK2bJrvcltC+6kmM6OHE9ZWTYlZCgFWzBBDwQ98qJwGBM wfcA== X-Gm-Message-State: AOAM530xkFhrAYndvcI7C3sT17HNP7/NO21TFAbRLs1V+b5gz3cTKaVG LzRQMduO7Ayf3tuDdZrRMcnoevYrKmK6WLcvtw4= X-Google-Smtp-Source: ABdhPJyCi0x5/viFfJhNRqjWvxqgBksLj7284etZQYB6YlxqjzLgKENpRq3GHaTrp2mh56SQqAma84fS5AQr9VJZjg8= X-Received: by 2002:a05:6512:3182:: with SMTP id i2mr40243523lfe.673.1641267819005; Mon, 03 Jan 2022 19:43:39 -0800 (PST) MIME-Version: 1.0 References: <87wnjgqm93.fsf@gmail.com> In-Reply-To: <87wnjgqm93.fsf@gmail.com> From: Aiko Kyle Date: Mon, 3 Jan 2022 20:43:27 -0700 Message-ID: Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux To: Chris Marusich Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@debbugs.gnu.org, Leo Famulari 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 (-) On Mon, Jan 3, 2022 at 7:15 PM Chris Marusich wrote: > > Aiko's patch would indeed fix the failing test. Thank you, Aiko, for > taking the initiative to help investigate and solve the issue! However, > even though that patch would fix the test, anyone who is using > set-xorg-configuration on a non-x86_64 system would still need to change > the way they call it, which is not ideal. > > I've attached a different patch that attempts to fix the issue without > requiring callers of set-xorg-configuration to update their code. I > believe this is more consistent with the intent of Ludo's original > change in commit 49599fab564f203b8e92d32e9b28c99e99849bfb. > > You'll notice that this patch moves the (gnu services sddm) code into > (gnu services xorg) and deprecates (gnu services sddm). I did this in > order to avoid a circular dependency between the two modules. Perhaps > there's a better way. However, many of the existing display managers > already live in (gnu services xorg), so it seemed reasonable to me. > I originally tried to implement this patch, but as a relative newcomer to guix and guile scheme, I went for the easier patch of changing the tests since I wasn't sure which would be the preferred way to fix this issue. I'll defer to you and Leo for that judgment! > I've verified that the tests/guix-system.sh test passes on > powerpc64le-linux after applying this patch to current master branch (on > top of commit 9309b488ca4ceef4fcc9283546e3b05c57b16ca8). I've also > verified that the deprecation warnings are being emitted, and that the > existing bindings in (gnu services sddm) are still usable, at the REPL: > Commit 9309b48 seems to be a week old and I can't seem to apply this patch on top of the latest commit on master e6fe4e5819. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 03 23:53:32 2022 Received: (at 52908) by debbugs.gnu.org; 4 Jan 2022 04:53:32 +0000 Received: from localhost ([127.0.0.1]:36724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4bpE-00066i-Bk for submit@debbugs.gnu.org; Mon, 03 Jan 2022 23:53:32 -0500 Received: from mail-pj1-f46.google.com ([209.85.216.46]:46784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4bpC-00066T-Cu for 52908@debbugs.gnu.org; Mon, 03 Jan 2022 23:53:31 -0500 Received: by mail-pj1-f46.google.com with SMTP id rj2-20020a17090b3e8200b001b1944bad25so1862075pjb.5 for <52908@debbugs.gnu.org>; Mon, 03 Jan 2022 20:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=u6HpUm76n56c5feDR9eopoHra3ZXVJ/kJ4cPU36uAC4=; b=NdmErEZIygAMWQtbFaXvUCp/kYsuCXZKIXQQ4dhACQeqL3uQslDMwrh3IKDNGqa4Ot 4aE4GU/Kzp9WjADCOpUO1wN7Q4LGQAcFCOxjAZGCp0TfNL6u2xj3uV8QYoIkE/YQYLAF f81WOql+GLEaOQuj86Kbnmn0xIrqF8e5MljDbNxU1YSKuFgGYE47YXtiW1sHC+Aso48D 1dOvP42Y/tD7kNsTAGnPAPQXv5+IgD0tGmlHIvKFB6QqJ4INkrjq83kiQPHKVzxpUBes BrUIS5Z47YVDxjbLxgTVsBtFrI3aYLtiIFlrXEOs2Qhnd3XQiyv6mYEywXdGN5FR7VoD Lphg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=u6HpUm76n56c5feDR9eopoHra3ZXVJ/kJ4cPU36uAC4=; b=jXarcFpgj4CDkpACKFRSOgry+TOZBXl2/+8re8cStRKL4nYjs91D0QX7jEfWfbScHe yAvS4IO9j94lLjkeGnmjI1ELatvr51GE5HUcrH6GoOtOetZoVe88J1WPHjeTvAfSilPd PthxoBQtN3TLOTrd7TcGeer1rE/4aodVSg4KVxOhpj4mxB2FTABe9B79N1QTUOKNoyI6 GEo4PJhoBFNCkqjlnn31W7c1LePkpKHdnrE3JO9hWNMhGhfhveMiSAgZWoTaERS4ZrFS 46hef0sGccuz+hUesBRLhNHOSSPWONuSxAW19roBnbXMtcDeynA2IrTLsuQmkVflaori 1N6g== X-Gm-Message-State: AOAM532mbLV3OGljz7w5Bv6DCr8BCnbWv1gyrT6hZaOuQr5ryP3xTLE6 F6Eq520uUcKgGFmismxLpYg= X-Google-Smtp-Source: ABdhPJyP8IeUryHX+od8FDNxFRLJHcCpnoOottDp11WQ75qMDhN0bznRYQQcthn39UL2AKvTjHKxaA== X-Received: by 2002:a17:902:6b03:b0:149:7cf7:a17f with SMTP id o3-20020a1709026b0300b001497cf7a17fmr36083923plk.173.1641272004496; Mon, 03 Jan 2022 20:53:24 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id y9sm27556799pfm.140.2022.01.03.20.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 20:53:23 -0800 (PST) From: Chris Marusich To: Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: <87wnjgqm93.fsf@gmail.com> Date: Mon, 03 Jan 2022 20:53:22 -0800 In-Reply-To: (Aiko Kyle's message of "Mon, 3 Jan 2022 20:43:27 -0700") Message-ID: <87bl0s5cfx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 52908 Cc: 52908@debbugs.gnu.org, Leo Famulari 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Aiko, Aiko Kyle writes: > Commit 9309b48 seems to be a week old and I can't seem to apply this > patch on top of the latest commit on master e6fe4e5819. How did you apply the patch? I was able to apply the patch locally to commit 80ebf564e3e264a006d7c7b1f7f2e57fc2468ef1 (".guix-authorizations: Remove Miguel =C3=81ngel Arruga Vivas due to inactivity."), which is currently the latest commit on master. I applied by patch by saving the MIME part to a file named "/tmp/patch". Then I ran the following command from a clean Git checkout of commit 80ebf564e3e264a006d7c7b1f7f2e57fc2468ef1: git am /tmp/patch For the record, the SHA-256 hash value of the patch file is 6650872d41068f6031633d2720553eeb05e7d650a51723dfdd2a3c2df3df294e. If you run "sha256sum /tmp/patch", do you see the same hash value? =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHT0sIVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadi6MQALDdnhKKxeUW1tI+/PS9igWPUNIL /6MLH9Bp3WCRQCGBWyl1e9OLoMKfnbZyYfzrX7gmiLzQh+1Of2b+lEfCRqC43XJZ ccD1OI94R89NTv75aLx0dmYa9DvBN8Yj1GEqj4jkmmJkjRnvmQiyLFUDv2EJj468 xhfRn7Cq3Gl5vuhFBBt3FsjK8x233PXGQEOEhJ8FUKd62RXSyBXKYniadJ+5h7WI qaeRDvJOpAHgd3Tr6lFTQIucaCsMvc2MdifXps6p0TW6nckHH9XItX9ZaBZGfmYg XluWw2jco5/PYBoebaNm41FZwBSRjPCni4lzNyhlYNOTvaAJmW2yEvwy2biWwMsB Ogyc6hUAebeCr53VqL3DzMFsNI5d+cOhXPoalVwn3ewBY1D2QoDStHNZdW/kOO9/ kDNK+hs7igfUgAJX0SXCz3mH3LjbmM/imX5HQ2/Kpa+3QwjyPQJGt2xgI6Bes01Q yTB+D0XQ8u3JWKYzCJdykKTWGrIIoWSEyBC3gFJohdCuqtFgL7tqjCSb8Km03X0F RTSqqVwjFVyLzX9Npv+2cqk/WxPUgd8tx6SDg/5Pi28N2mXpcKIZc9jB3MmMHaea PQtpyAyD4y/h0fafd5ksBiG287CHc+GR3icP3GHMAWatsCCj3N+QH++/UbGAhNdT O8LVwILccuoetoo8 =Bv1K -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 04 00:09:16 2022 Received: (at 52908) by debbugs.gnu.org; 4 Jan 2022 05:09:16 +0000 Received: from localhost ([127.0.0.1]:36736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4c4S-0006XP-5A for submit@debbugs.gnu.org; Tue, 04 Jan 2022 00:09:16 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:43809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4c4P-0006XA-RO for 52908@debbugs.gnu.org; Tue, 04 Jan 2022 00:09:14 -0500 Received: by mail-lf1-f52.google.com with SMTP id i31so79101516lfv.10 for <52908@debbugs.gnu.org>; Mon, 03 Jan 2022 21:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UrNEz5Lk0Ji5MJlgH63OVLYJNZWKsavpoZVx/058/nk=; b=msPyWN+VZeIEaLSzxIhs8WXzCf4x7ntwmNo63s9IgBUjc0OfPqrJPXIiXCGRodzKIi 4qhbOvF50hRqeDvDjC8+zaHzgbd6MjbbT04QHew3mXUfZXAw9fkWFJxoJJrLqjgR+F+k DP8lC3P+e3LJ2MjvJT+dLcoplj+qoJ9abcVV5Zn5isV0uAW/CwkXJ/OJYr6zCrIFJwTu L1RZJU1rVaqYqwiYkrVecp4sLLnasMz2zHS+fQZd8wtcp326If8IRHWhuGV8d+ogCpWC 97W/e8/BGBCUVYtUUVL3G3Wv7pMyjpRJsbmE+7hE3/GoKoICe5+A8SXU9jy7uU6E60XI eftQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UrNEz5Lk0Ji5MJlgH63OVLYJNZWKsavpoZVx/058/nk=; b=G2FAtGfVDv3aeTrzf7a9gg7MaJ9IXWKo9xiT43jE3YARud5+2JXpAPQksaxCsn5hfU hHU1zl97TduZAuMIbtEDRjXm57nDk2vqueGVe72xK62GOxwR6MP4Wm1YqeKBWELqS5Wo 001E9aHDeaqBF4fwBe6XmKNSveFg2UPjZ3+kA6G7Gg7xnCUN2E3JZ5CNsuS2sKnGvgRC oTpcmGbMZYiD2EQls2zkya2up3yDTvFFrBE4aBmucO1zjVwfsHl5qbzDL9XukIscGtoe 4/3YmbaJVczBKHNzGnvNOVIn2tihGCPyW7C5OQBU/HRfIIwPI4A832yjGgiCW/G/EHIf 2pKQ== X-Gm-Message-State: AOAM53398WJLeCVWyDlnT7LdIc1WdvVoUcu0PU+ngKtFC7rI7ij4sski /hu7xSruW9S4iWmYIouYaiOsYFQEC7RsmXmpxXI= X-Google-Smtp-Source: ABdhPJxmmdPiB/vTTzIA9udijY76PPy95mbQCKU0tbxdJCM4x9KgKucfVWy890FJl83vNk5l5+CgnTfUT7t2F79dRrU= X-Received: by 2002:a05:6512:b9f:: with SMTP id b31mr41660281lfv.319.1641272947925; Mon, 03 Jan 2022 21:09:07 -0800 (PST) MIME-Version: 1.0 References: <87wnjgqm93.fsf@gmail.com> <87bl0s5cfx.fsf@gmail.com> In-Reply-To: <87bl0s5cfx.fsf@gmail.com> From: Aiko Kyle Date: Mon, 3 Jan 2022 22:08:55 -0700 Message-ID: Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux To: Chris Marusich Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@debbugs.gnu.org, Leo Famulari 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 (-) On Mon, Jan 3, 2022 at 9:53 PM Chris Marusich wrote: > > > Commit 9309b48 seems to be a week old and I can't seem to apply this > > patch on top of the latest commit on master e6fe4e5819. > > How did you apply the patch? > Without thinking apparently (i.e. using git apply). It applies just fine, sorry for the noise. I can confirm the test passes here on aarch64. It would be great to get this upstreamed soon so I can start guix pulling master. I think the guix commit and revision in package-management.scm will also need to be bumped after applying this fix. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 04 12:28:53 2022 Received: (at 52908) by debbugs.gnu.org; 4 Jan 2022 17:28:53 +0000 Received: from localhost ([127.0.0.1]:38586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ncD-0001uu-MB for submit@debbugs.gnu.org; Tue, 04 Jan 2022 12:28:53 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ncC-0001ui-30 for 52908@debbugs.gnu.org; Tue, 04 Jan 2022 12:28:52 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 068B65C0039; Tue, 4 Jan 2022 12:28:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 04 Jan 2022 12:28:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=5TdwUz9/Hhog1+4G1DfkEnZ0 nNHbYO/g8WCiJ+FRon8=; b=ewIDcLUrg0ILFWVEI3obrCc0Ir5dMEm+b3Z1ox3E iPntow8ILhUINPvOqYylD2zd8vPNptnIRMWlgG3yae4gwxE1p16MhSqBf7G0CaQ6 aVymCljAV2hxaEy4pTngmkPULMZcaEiCyTt0CQNbG3Oy72SZX7stHoFpajxqe1Qb OD8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5TdwUz 9/Hhog1+4G1DfkEnZ0nNHbYO/g8WCiJ+FRon8=; b=D9Z7ybMu/LEm/SZSqqWPk7 CFl8qXCIHKtGMvV9cR9wd+jrVun200pUhJw8HZL83I9Rh3hAwsWzDmPfpHqyLqrN RpEVH2GBmYRpGzf5ANSAKpLbhuhRWdI0FKHr2lK8fbOyYxETVAgvxsrrEhGW2cEZ OHaP8TcMFmi2nCTHrg6Z7APAagFmh6UpKeyhv+AGCtJvrY6okMSt0OtZJy2DQFvK y2kfsuLyPLsfvDYm1hNQcn4t4RSecMqaHGz4donoNvscUtp9t1FADp+I6WXy9QGe 4cD1gUIH5ncx8wXIFy15cdp5CAO5zYg7cITahH5ayjfii2gtc/wn8z2FOMUNEUkQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeffedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Jan 2022 12:28:46 -0500 (EST) Date: Tue, 4 Jan 2022 12:28:45 -0500 From: Leo Famulari To: Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux Message-ID: References: <87wnjgqm93.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@debbugs.gnu.org, Chris Marusich 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.7 (-) On Mon, Jan 03, 2022 at 08:43:27PM -0700, Aiko Kyle wrote: > I'll defer to you and Leo for that judgment! I defer to you and Chris! And I agree, let's push the fix ASAP :) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 04:59:07 2022 Received: (at 52908) by debbugs.gnu.org; 5 Jan 2022 09:59:07 +0000 Received: from localhost ([127.0.0.1]:39611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n534V-00021l-If for submit@debbugs.gnu.org; Wed, 05 Jan 2022 04:59:07 -0500 Received: from mail-pf1-f172.google.com ([209.85.210.172]:45574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n534H-000211-SR for 52908@debbugs.gnu.org; Wed, 05 Jan 2022 04:59:06 -0500 Received: by mail-pf1-f172.google.com with SMTP id u20so34762118pfi.12 for <52908@debbugs.gnu.org>; Wed, 05 Jan 2022 01:58:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=2KiEc8FduEv79ZjNAvuxPlnxfAH07Ny2/8cktiTiAvQ=; b=WBnAeDKQ3WXkenCC9yrNPVRJfmXhHPYBSSdLk+NKwAAMFD5UiutAJMv29z0ZlZZSlw 1nw22DJlxp1y+EbijU1MtEiIb4BaW7DYpnOt0Cxfh8pq0BbOCfUBB7zam+qfB99OOpZU d19U8WFwg18dA0pheb/7Xr+ZyBbrLfRsXvb6RwyKFfWq750huQVQxT8qXG3f5N2Ou5Qd 1aQ6toTZrWJ6Bcz6jRj63ixPw9b9V0rDxZa8JjuoBH1eoAheJ4kIh3olL5cLmoUdlmB3 ouRQflcVVkFUXAl/+F8QTUhapNaHMSoPl695oLlWMGjhCr0U9rjAoZQ+cxyMBW1qC6rk drQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=2KiEc8FduEv79ZjNAvuxPlnxfAH07Ny2/8cktiTiAvQ=; b=hd5BYuZ0ChT3d+w04pK2N/8sIgjmJoNlgRJy8Qg0bgk4NOxVWR6XtUhbC1k2vdSnmH uoeZff8vOzsGcW5eTRA28rPg0mD0JPkjNgFtbRAxwaAIwwGI9a4+TtUbaGqnUE/e+rvH HyzXyur35S/OuuMczxHBXUmfqlx7s5UT0yxB3LBNzWFCdjnUqK7FPll9ksJCf1nbEwqi For/D/r3IYestzqRqhtRw4792H2VmTg9Stv3Wl9zbb6xLFZoUB0j9P3thLYSckQBqbgc KJl6R4ObqZfR4w0e9N80ZjgHe+GP2oLiQNdXR2YkwI5xDPs+H4XNxtjlJngIitreOYHd BBmg== X-Gm-Message-State: AOAM533sKlJrf2Bk+4LzflwRjxmb4vn3aFUex5RhlomCPOIWdw0Itkb0 IlBaqP8iTymlmWeRzEcvXmd7tmFqQbw= X-Google-Smtp-Source: ABdhPJzfSvUSHFf4kquIMzaUBsv48yH8fLzkHieiNq2kkRhTtqapNG4ZfYtXooWIw+cw7EjHrgVxzQ== X-Received: by 2002:a63:211a:: with SMTP id h26mr47405894pgh.239.1641376727565; Wed, 05 Jan 2022 01:58:47 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id c17sm2052589pjs.34.2022.01.05.01.58.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 01:58:47 -0800 (PST) From: Chris Marusich To: Aiko Kyle , Leo Famulari Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux In-Reply-To: (Aiko Kyle's message of "Mon, 3 Jan 2022 22:08:55 -0700, Tue, 4 Jan 2022 12:28:45 -0500") References: <87wnjgqm93.fsf@gmail.com> <87bl0s5cfx.fsf@gmail.com> <87wnjgqm93.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Wed, 05 Jan 2022 01:58:43 -0800 Message-ID: <878rvua4h8.fsf_-_@gmail.com> 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: 52908 Cc: 52908@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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Aiko and Leo, Aiko Kyle writes: > It would be great to get this upstreamed soon so I can start guix > pulling master. I think the guix commit and revision in > package-management.scm will also need to be bumped after applying this > fix. It shouldn't be necessary to update the guix commit and revision in package-management.scm. My understanding is that "guix pull" will install Guix at the specified commit; it does not use the guix package to decide which version to install. In other words, even if at the specified commit the "guix" package is defined to use an older version (I believe this is always the case, actually), it will not stop "guix pull" from installing Guix at the specified commit. If it's necessary to update the "guix" package, we can certainly do it. However, I don't recall that it's necessary for fixing "guix pull" problems like this. If you still believe it's necessary, can you help me to understand why it's necessary? Leo Famulari writes: > On Mon, Jan 03, 2022 at 08:43:27PM -0700, Aiko Kyle wrote: >> I'll defer to you and Leo for that judgment! > > I defer to you and Chris! And I agree, let's push the fix ASAP :) OK. I want to give people time to comment on the patch, but I also want to help fix "guix pull" on master sooner rather than later. I will commit my patch in about 48 hours to the master branch if nobody has any further feedback. I don't think my patch will trigger many rebuilds. To verify this, I tried building coreutils on powerpc64le-linux before and after applying my patch. It did not trigger a rebuild of coreutils, so I don't think it will trigger many rebuilds. It's conceivable that some derivation that uses the (gnu services xorg) or (gnu services sddm) modules might change (maybe something related to Guix System?), but I don't know of an easy way to check that. =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHVa9MVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkad9xUQANNw7ITCvRSMXeYAKct+SqIZWxgv PhwOpK39Daa4SqRlFyOz6dlMXTwFV1cm4M+z/VQn+CaGIp5cbiBDwW5C46SC8ueT jWj5TwSrER6R8NXLJ5JK4mF3B8YOWNfOeoUnlF+tAsYstVlb9Izsd5IXzfeI5x2w iqEB2HNmpdbfiKfYBI/5UTE76OlrqJ7MGNIUpLzEV33H3MSbclMawFJ+ViV0xlQG 0wRaJozGUdN4yjim0cnGD2BnvoGxTCn3+1VAIDWUGTa4E0Fs1oiaE+6H4KFaPF+n fLQnJ1ATqMT1o+xaL1wbbTK0prFPjtZf+JuSK8hG4iWHZlKH6obMSo4LpIo2itCw b2v+ZmjyqAVgGbsevGagbee1xJ52VAOa1j58HGtI2FO9qXzNfT0JOgx50UtBiXLy YT+nDiSg6Ml/yhjkI6CeKWFNv1PGljTQfBS4VuDxb3lbIhygmXhsZPg/6ObwhiEW lcaX2Nmunb7W847pXC4TokWJcZ9atpQymgVH6wKeBa7nibyaqBXt6YdegpnAujju 35Bmpmm1lzccoaARpXNJvYiyRqW5nxFw93rDP4RNJ7aywjb56siPdz59WtNWiD0k lenMhynzzxJkC80J5deVn2yt1SgcMjGlDpcv4uiB/6Z4bUD4BFmw4GpZXjpLwZOe pf+Ykl/VfImDPnyk =1kwh -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 05:57:45 2022 Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 10:57:45 +0000 Received: from localhost ([127.0.0.1]:39669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n53zF-0005jJ-5X for submit@debbugs.gnu.org; Wed, 05 Jan 2022 05:57:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:45194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n53zD-0005jB-DW for submit@debbugs.gnu.org; Wed, 05 Jan 2022 05:57:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n53zC-0001jH-80 for bug-guix@gnu.org; Wed, 05 Jan 2022 05:57:42 -0500 Received: from mout.gmx.net ([212.227.17.20]:51223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n53z6-0003aW-Au for bug-guix@gnu.org; Wed, 05 Jan 2022 05:57:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641380243; bh=h3TkAho7WsWIaO4QNWyosJJ5HDJvqQGnF9hdG8Fa3vA=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=Sr5SY8Ud0eabw0qsvquNaFAU4A+wrfkP1xdPSZ8lj4S2TWdamuBaxzlNtrC2XReJi 82OzuecMrdoAToW70VlKm+hqkIfLp5ktkDDEXxMm4opipKTKUKg4M4wliDoaZ7dvZT J0ODiU0p5PZR+nb0VRsHqujVCM6PLSQoWXJKHOSQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MEFvp-1nCSNa0u9N-00ACpN; Wed, 05 Jan 2022 11:57:23 +0100 References: <87wnjgqm93.fsf@gmail.com> <87bl0s5cfx.fsf@gmail.com> <878rvua4h8.fsf_-_@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois To: Chris Marusich Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux Date: Wed, 05 Jan 2022 10:47:04 +0000 In-reply-to: <878rvua4h8.fsf_-_@gmail.com> Message-ID: <871r1me9gx.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:nwqB6MauP2qHKzL0JlyMRLh51CoNNcpy5z30IOHn+0U4kwuS8WG bxoTDRB9qpIVlXwfHnQ7i3ZCnKSMcaRfRpzZUbGIzRQ5sX/nPOASSkXWcv4MXmmjeaVBZ3X 1KYCjnI8gzB4YXwcXKhk/n5GLx43YMwVYVyZ90SMW3mcCUd7aESbj7yGl1haZCyv6A5CZrh beBp16mUY9lsRDGLwksMA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:QsmTluyJ1s8=:oms54n57J/N6OSjLs1PFa/ DP3dwdFNFDD7BCLw7yHLKuc2Z3cv6CTov9yEzO+aNMFaLZPX6xXu577SZJzmUErrqkeX8Xpnb CA0zErhYVYm1NPwIzXhzgLj/exMOmeaMpkIO8g5AIepF2BrMyb4SmuLqT/KjIRpmtZHeKLQ3R +fyB0r66vGE3HU39wXuHjxmCGh9ZPW5dLdasn+x+bz9xbvivoXZxTVVfkG13xl3C0Iw8vD7JM Gz9Wt7uLvewARTHhF+E3CBCDHNl4WkXTq8F/c/GSCaDNdBQBRmoz1KVuzYv46zMOW/5FMbh26 GYqMwvphbQ/JLo6vG519TRcosrG6QYe4Wt8K6xRZBrJHcyKUZwqsQAHe3P8zoUuwgiQMF5Jwm 066nxOIP2+9BguIcnu/PWvpKlbqAf2VQeNID2ByAAgetNP/gZAr9+sLZi3EVDqeqK85P1SH8p ns8sIyws3fogsD+EFknqbB0J1OjdbwC5vxeYpfqkSsfD3xmGieTUg24qc/wHxQFCClsBjX/LW O4H5OOQqIxf6FnP9bx/fcyVp6Ncv65fajYaWxS2uuFTE6toIH9rKwq9TCXhu0cidKy1S8epxO wNyUphC8gNP71rwzD/8Vd+GZx75DtxXkV2eKxPKga0jyoX0SV8XlZE3FvSXLde1aOrmmeQtbb +/jG6W8JgCVa6R3TGH6+NnY75ph87dc66vk5ytwf8YNmiLZ0vT0/Bc5L9wu7Cl54OCP9qR8Z9 fu1ZrEtZNTH4/wqCMCnkDRoX5+Yhp50Vdfl2IzjZ60GLMMRatBvVlmgpuroJuMogRuuxT/u1M xQogDkqUlxVgUrM/Qt4q3EJGmrLrfXoWyED/JmOhxoJwVkpiU+v4pKX4j6SHRmlflB4mrwPVH 1CKZEjnmL/8iJKCg1qvPeZSDbNlq/60VeQJC/CxLT+1MVbr7sUDgMZlwiHhk/wZxzH2cRhRnI MzccZ5bxiWX9P53ZNhh6COa3yrpWc9HlAGW5YggY9hSnsVwEMWGj0hI6HkX1cCJxJfJuRians 9t/tiB4Wk/9UAIVEu6Yq7IqPADbPAttgfapaq0B2TSJuVVgTMP8HmA3G1DJwRGpOCfVGtOD1V r1zD/+BqfrgxF0= Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Aiko Kyle , 52908@debbugs.gnu.org, bug-guix@gnu.org, Leo Famulari 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: -2.4 (--) --=-=-= Content-Type: text/plain Hi Chris, Chris Marusich writes: > [[PGP Signed Part:Undecided]] > Hi Aiko and Leo, > > Aiko Kyle writes: > >> It would be great to get this upstreamed soon so I can start guix >> pulling master. I think the guix commit and revision in >> package-management.scm will also need to be bumped after applying this >> fix. > > It shouldn't be necessary to update the guix commit and revision in > package-management.scm. My understanding is that "guix pull" will > install Guix at the specified commit; it does not use the guix package > to decide which version to install. In other words, even if at the > specified commit the "guix" package is defined to use an older version > (I believe this is always the case, actually), it will not stop "guix > pull" from installing Guix at the specified commit. > > If it's necessary to update the "guix" package, we can certainly do it. > However, I don't recall that it's necessary for fixing "guix pull" > problems like this. If you still believe it's necessary, can you help > me to understand why it's necessary? I believe we'll have to update the package as well. For example on aarch64 I can do a `guix pull' just fine, however `guix system reconfigure' fails because it builds the full guix package, including running the tests. You've mentioned that `guix pull' was not working for you on ppc64 though right? I wonder why, is this a difference between using Guix as the OS as opposed to a package manager on top of another OS? Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmHVeY4YHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31U9PoIAIv764y1vQxYlfwyuZkcyASU oqangC1dBej4OMH1A9Kvwz3Xwhtm/lFZszEzufTJsv87OrrJOW2QJP2oZ6YhDqCo zKhiLfcxVHaAU/9xf7iqrwI0PRtHxuYfQcuuIdxzEK+HH/WOCTr/p0Hr9whFYD7V KM28b+YMeNWbFVCDy59JRlhNygGxUMqHjfoHTg/BDt9IDGPDUsEC0CSQOhkrLD/u nTZaGMT7324V1wQ/HPZChRE4/p6bDphn0citSgbNVLl40wCDjM/zI6ObSEd1TxCv 4mTVhAduW4+L0xkvVVbk+Jy9ELcCqSsIzCIo9p27YTYP2jbTOcET1rQ3FOciekg= =erVf -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 12:34:29 2022 Received: (at 52908) by debbugs.gnu.org; 5 Jan 2022 17:34:29 +0000 Received: from localhost ([127.0.0.1]:41667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5ABA-0006bq-Vz for submit@debbugs.gnu.org; Wed, 05 Jan 2022 12:34:29 -0500 Received: from mail-lf1-f50.google.com ([209.85.167.50]:35458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5ABA-0006be-1v for 52908@debbugs.gnu.org; Wed, 05 Jan 2022 12:34:28 -0500 Received: by mail-lf1-f50.google.com with SMTP id g11so90844386lfu.2 for <52908@debbugs.gnu.org>; Wed, 05 Jan 2022 09:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w2la1ntAZKnH/dAiBlyA9+uRdMN+cNYX/gGOkFZ84rE=; b=ex9WlBBAOV1ba2JBvJxCiOUfA8aW6N7K5eou8OtRuuhC+A2Gx4yu6joTNpvwJ3rJJg 7ZYNI4aDjtPb0Ix2YIeOq1sK4ES/JBO8RjZRgIx+8tX6osmBX2hrRFrTQx46eOzrHAxK tS9dFwMLGs4B64mAWCheg9CzfjIe02IoKxnQVQ3uRkx0Bg5SCeC6xGX3LWmUqgbRu0su r+xGxjYOMIrWhiA6QJ6TxaLGQlvbm3wTpZ7TC0do8Jx4eHa2h+LPf6mTigZoXQ2RAQq+ 1QoVoA5Hka+YPjiGuUtN1zreycN9qg0pvR4s9y+wnO2PSFC7X6CPbad2cm37yTUpxjiA WMVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w2la1ntAZKnH/dAiBlyA9+uRdMN+cNYX/gGOkFZ84rE=; b=z9Bri4Qa2VWbZegqOLppIh/t4AQhEeco+gl4T/1Rtbh1tfIZMgEqsgwhIGi+xpk1qy hgWwpoz28xpYcv6dM0MoWc6RSWUBtql9OqYOhFOamdw4p7QYQm5csj9pc+rUWm2oAZ3s TQ6Ep40uGR7FTRub3kKu8PkHOsQw+lman5KsnG5WTvqU4r0dCENLVFcAlDbLFQFI/usx W8UO6Vpr0HzszDINbqicuTAjguLuufypsmv65JYTGCuY5DdmL2YZcHRqoWcvZZG3vpbj Bg+8Hxe3GlGwMPAi1dx+Sjb0BV6V59CchsTBwI5RNbtuKXrirnrhDmrCR1w2SgmQDXLo ZZHw== X-Gm-Message-State: AOAM532dZleg5YeWEXgsMcfardCn23+xO3k3PU2sZKInNQjatEdQkcmG 3X/l67iQC2qWD5q8OvHRQNlxezhoWyopDPnTNyc= X-Google-Smtp-Source: ABdhPJwG3BYQeW3tjOkMY0cuXSBVV/c9JSwNmjjATI7yiRaAmlY7uWGqSFrz9lc7YE7q3d1rVl1ukgXi/Finsjedr7A= X-Received: by 2002:a05:6512:ac9:: with SMTP id n9mr46185772lfu.114.1641404062074; Wed, 05 Jan 2022 09:34:22 -0800 (PST) MIME-Version: 1.0 References: <87bl0s5cfx.fsf@gmail.com> <87wnjgqm93.fsf@gmail.com> <878rvua4h8.fsf_-_@gmail.com> In-Reply-To: <878rvua4h8.fsf_-_@gmail.com> From: Aiko Kyle Date: Wed, 5 Jan 2022 10:34:11 -0700 Message-ID: Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux To: Chris Marusich Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@debbugs.gnu.org, Leo Famulari 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 (-) On Wed, Jan 5, 2022 at 2:58 AM Chris Marusich wrote: > > > > It would be great to get this upstreamed soon so I can start guix > > pulling master. I think the guix commit and revision in > > package-management.scm will also need to be bumped after applying this > > fix. > > It shouldn't be necessary to update the guix commit and revision in > package-management.scm. My understanding is that "guix pull" will > install Guix at the specified commit; it does not use the guix package > to decide which version to install. In other words, even if at the > specified commit the "guix" package is defined to use an older version > (I believe this is always the case, actually), it will not stop "guix > pull" from installing Guix at the specified commit. > > If it's necessary to update the "guix" package, we can certainly do it. > However, I don't recall that it's necessary for fixing "guix pull" > problems like this. If you still believe it's necessary, can you help > me to understand why it's necessary? > I actually encountered this issue not doing a "guix pull" but in doing a "guix system reconfigure" after a guix pull. I don't really understand why, but I think guix system reconfigure will continue to fail until the "guix" package is updated. I may be totally incorrect here though as I'm still new to this. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 06 02:28:54 2022 Received: (at 52908) by debbugs.gnu.org; 6 Jan 2022 07:28:55 +0000 Received: from localhost ([127.0.0.1]:39538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5NCg-0006Rw-KK for submit@debbugs.gnu.org; Thu, 06 Jan 2022 02:28:54 -0500 Received: from mail-pg1-f178.google.com ([209.85.215.178]:36554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5NCc-0006Re-I7 for 52908@debbugs.gnu.org; Thu, 06 Jan 2022 02:28:53 -0500 Received: by mail-pg1-f178.google.com with SMTP id 200so1878207pgg.3 for <52908@debbugs.gnu.org>; Wed, 05 Jan 2022 23:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8rw7LylMOVmoVO7CS/TfpJdVRx1483xRMD7C4GDrEmQ=; b=DUfa/+tmqetoyjjuLSScX1tPYiUWwWJ7zTyMFcyLNwFP3Mwv18Xi4uXCgLtmyThAhi ROsQ7rnQJu2LPorQNc9H6dzldn0hvejmTkntyw9xPr02YQb5vKXw8cx5fI+vjvGoytur YNMu5uHgOtOwGDdIbFoa/z9vQN9CHoZ4BlpY8OaY6ciwuuSQ3BR0AJyjV/QupfQ833zC slVgfhky9AQ0onaB4g7/Vy1JL9fzwki1BBXczAAbeZGG1O9jdoBWTlQ/I5GFrT+SVZy+ tScFZe+380hgIxFASwG518aH3dRtoNRRC4ceKkajOnL3S9JA9eDv7kuqPoRIUezQZ9px D9FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8rw7LylMOVmoVO7CS/TfpJdVRx1483xRMD7C4GDrEmQ=; b=ugGYIFiap3D3aW7gv5xppDJoDk9REjE/cIwBDmL1CC5g9HecFoEVKaor0BEXwOcgHu /ozcwu+gOUQ1e1AB3WnL9STqhhElDTeRQEtRovxJDLWE8gcasKgye4XCCXue0TzuhBQr HvGzB+WkZMxq5o6qm3UYupGdFsmzsVHH/0idu7IKlBGFHP5LYmhxwOP0ZtMvOCEkSgGI RvU2Z9bEBURFTaLt3tPQE9hFZWtNs4RsHazrqrAOZjCKlB+qj43mQnVfaNdRfgnxA3jS gIN7+YYBx9F79Riav9eShSx2z9t6RhUXucMrRs4sdFtl+kuCCbtHFD3DiCRlf8p3p5iT exAQ== X-Gm-Message-State: AOAM533K9wlYhb64g9nfmIUyGgLhrEBUBsbD1c3SKeb2JOgo6bi/rtGC NwmwyLVwCNAU+hg93d5CkIo= X-Google-Smtp-Source: ABdhPJxvAMmbECOEHX5HlBGu/X4gEKkkKRLU84N7++AMavMn7dH0uMuBuen4WMgWW98RM9BBHDPn3A== X-Received: by 2002:a63:3307:: with SMTP id z7mr51273024pgz.498.1641454124717; Wed, 05 Jan 2022 23:28:44 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id x33sm1462089pfh.212.2022.01.05.23.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 23:28:44 -0800 (PST) From: Chris Marusich To: Pierre Langlois , Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: <87wnjgqm93.fsf@gmail.com> <87bl0s5cfx.fsf@gmail.com> <878rvua4h8.fsf_-_@gmail.com> <87bl0s5cfx.fsf@gmail.com> <87wnjgqm93.fsf@gmail.com> <878rvua4h8.fsf_-_@gmail.com> <871r1me9gx.fsf@gmx.com> Date: Wed, 05 Jan 2022 23:28:40 -0800 In-Reply-To: <871r1me9gx.fsf@gmx.com> (Pierre Langlois's message of "Wed, 05 Jan 2022 10:47:04 +0000, Wed, 5 Jan 2022 10:34:11 -0700") Message-ID: <87k0fd2uhj.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 52908 Cc: 52908@debbugs.gnu.org, leo@famulari.name 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Pierre and Aiko, Pierre Langlois writes: > I believe we'll have to update the package as well. For example on > aarch64 I can do a `guix pull' just fine, however `guix system reconfigur= e' > fails because it builds the full guix package, including running the > tests. > > You've mentioned that `guix pull' was not working for you on ppc64 > though right? I wonder why, is this a difference between using Guix as > the OS as opposed to a package manager on top of another OS? Aiko Kyle writes: > I actually encountered this issue not doing a "guix pull" but in doing > a "guix system reconfigure" after a guix pull. I don't really > understand why, but I think guix system reconfigure will continue to > fail until the "guix" package is updated. I may be totally incorrect > here though as I'm still new to this. You're right. I was confused. I incorrectly thought that Leo and Aiko were saying that they couldn't run "guix pull". However, Leo's original message (on Thu, 30 Dec 2021) explained that the problem occurred for him while building the "guix" package, not while running "guix pull". In fact, I've just confirmed that "guix pull" DOES work for me on powerpc64le-linux using commit b9c5dff57ff961a16c8fc24843a4535ea817e732. I ran this command: guix pull --cores=3D14 --commit=3Db9c5dff57ff961a16c8fc24843a4535ea817e73= 2 --profile=3D/tmp/test-pull-b9c5dff57 I'm not sure why I was confused, but I apologize. The "guix pull" command actually works fine on powerpc64le-linux. However, the "guix" package fails to build, exactly as described in this bug report. So, I agree: in addition to the patch, we do also need to update the guix package. To that end, when I commit the patch to the master branch in about 24 hours, I will also add two commits to update the "guix" package twice, since the comment in the "guix" package (added in commit c0a693dfec3e0c3361dab40f354966730dde4ef3) explains that it must be updated twice: ;; If you are updating this package because it fails to build, you need to ;; actually update it *twice*, as the installer is pointing to the N-1 gu= ix ;; package revision. I'll let you know once I've done that. =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHWmigVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadj1kQAK65udTcg1igNnumjiU7XrqI4BqB bWTlSYbReZx56bgjrapFEmA33kTLjbyMIU7v6rumscXv7skOREnEI0Hh0XzVPAfA VeD6IQOTimQiZWcjQcUut+iNQmjiY36+bvr2xrePbe6ZSNaKtM/CvmWkXwF+hSS/ vRiXI+E4hWP/ur+cEzVR3h3hOHKgMCFM3YWoKV2aiuyufs8Bg76DTA3jA1J8dco0 bhW68EGtN2nsr7Wgba9ODnzcoAU2+Pa4gyDRZ2oYSduuZCH7tKSGhSSV++l18bNX fos6RQyDkp/tHuQYM1JJ8xVPC4vFaj8kEyfmJFFAbeigxAK3BQ9IU8Ft+u6x/wcV a3eX0rWwINhMQyeZu0CdtsVhowUFjOWK6jPhG+d8IZ3eWBjSMC3XNcSJXTbgfniZ Fotbf6NS9vWwtU7quFjBw9n+RWPp+j/X0agRnna1GggPRzFLzySBo7gQgEY+KNVg 09K2lJm4SM92Bfc3bNQO0bDptvQeitcfVasNBqXAgFQ8V468ycff6ryHAXSxgZve EMDGDYbC3twDoXVhe1knQAeeUiyoHmBrcseulzXk0q+dFze5JRxGaCfIWWtZ2hz+ TGr47sOxY5KHcxcelqzK362cK/3C88yAz6KoYH6lhE2bff0iBzO8DLQI9Xd1oHPt tFFVbeT8TRCGemJH =tcx6 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 06 11:39:58 2022 Received: (at 52908) by debbugs.gnu.org; 6 Jan 2022 16:39:58 +0000 Received: from localhost ([127.0.0.1]:42048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Vnx-0006Qv-OG for submit@debbugs.gnu.org; Thu, 06 Jan 2022 11:39:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Vnv-0006QS-21 for 52908@debbugs.gnu.org; Thu, 06 Jan 2022 11:39:56 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 19C51256; Thu, 6 Jan 2022 17:39:48 +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 w7nVD8m7YaHP; Thu, 6 Jan 2022 17:39:47 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 437BB53; Thu, 6 Jan 2022 17:39:46 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Chris Marusich Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: <87wnjgqm93.fsf@gmail.com> Date: Thu, 06 Jan 2022 17:39:45 +0100 In-Reply-To: <87wnjgqm93.fsf@gmail.com> (Chris Marusich's message of "Mon, 03 Jan 2022 18:15:52 -0800") Message-ID: <87a6g8es32.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 19C51256 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[famulari.name,gmail.com,debbugs.gnu.org] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 52908 Cc: Aiko Kyle , 52908@debbugs.gnu.org, Leo Famulari 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 (/) Hi, Chris Marusich skribis: > I've attached a different patch that attempts to fix the issue without > requiring callers of set-xorg-configuration to update their code. I > believe this is more consistent with the intent of Ludo's original > change in commit 49599fab564f203b8e92d32e9b28c99e99849bfb. [...] > From 09091cc8495e0b4c302a58961e79ac8455ecd208 Mon Sep 17 00:00:00 2001 > From: Chris Marusich > Date: Mon, 3 Jan 2022 14:59:35 -0800 > Subject: [PATCH] services: Consistently use SDDM rather than GDM on > non-x86_64. > > This is a follow-up to 49599fab564f203b8e92d32e9b28c99e99849bfb. Notably= , it > also deprecates (gnu services sddm) and moves what was there into (gnu > services xorg). > > Fixes: . I=E2=80=99d rather not move things and fix the bug in the same commit. (I= =E2=80=99m not even convinced sddm needs to leave its own module, plus it would break the API, which is not something to do lightly.) [...] > (define* (set-xorg-configuration config > #:optional > (login-manager-service-type > - gdm-service-type)) > + (let ((system (or (%current-target-sys= tem) > + (%current-system)))) > + (if (string-prefix? "x86_64" system) > + gdm-service-type > + sddm-service-type)))) [...] > --- a/gnu/system/examples/vm-image.tmpl > +++ b/gnu/system/examples/vm-image.tmpl > @@ -107,12 +107,12 @@ root ALL=3D(ALL) ALL > ;; Use the DHCP client service rather than NetworkManag= er. > (service dhcp-client-service-type)) >=20=20 > - ;; Remove GDM, ModemManager, NetworkManager, and wpa-supplica= nt, > - ;; which don't make sense in a VM. > + ;; Remove some services that don't make sense in a VM. > (remove (lambda (service) > (let ((type (service-kind service))) > (or (memq type > (list gdm-service-type > + sddm-service-type These bits LGTM. Thanks for fixing it! And yes, we=E2=80=99ll need to update the =E2=80=98guix=E2=80=99 package on= ce this fix is in. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 06 23:32:44 2022 Received: (at 52908) by debbugs.gnu.org; 7 Jan 2022 04:32:44 +0000 Received: from localhost ([127.0.0.1]:42777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5gvj-0001F1-QX for submit@debbugs.gnu.org; Thu, 06 Jan 2022 23:32:44 -0500 Received: from mail-pf1-f169.google.com ([209.85.210.169]:45843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5gva-0001Ec-CD for 52908@debbugs.gnu.org; Thu, 06 Jan 2022 23:32:43 -0500 Received: by mail-pf1-f169.google.com with SMTP id u20so4175383pfi.12 for <52908@debbugs.gnu.org>; Thu, 06 Jan 2022 20:32:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qB6a1EM/yylnOEsGJn3wQBBpF7RyApyll2qNCBSHY/8=; b=XFwiPOZoMqMXMNilRJieShmJTIULxKfxBmFvkqkkgqwrEZI8j5Zuy6Z8JTN7qvZ3BR axArXLGwFvUdDaoaTAofqwaBb3iqS5NKFNvndiUGMBRZMHFXigQFaZ0XQhwld8m/R1Kr sDKwYldsf36K8EYzPvKdGIxV9kBcIpslKQRMd7wsVRgLiZZ5+G7MIUKIgOkJhOPDH4qF Z/B7N8ali7ernfDN6Gn+supKYa5pyjCN/dBXJ1E2LKlAJeqNQlmBg4bpLEQFz7Bbv/W+ Hv2bvt5BHXnN33R5W09DZglf/glbOa4b3B1/lSudeDf10u8rwYq78jA89tvBBjxP8D9x 2QRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qB6a1EM/yylnOEsGJn3wQBBpF7RyApyll2qNCBSHY/8=; b=qoKdbyIureKOi/Q1art2rHu2MkJpXV2N815LyD0G0xi5lBBg2njtfbYvy7DV0111jW m9OtmpToc9T63ezA+9VqBTpHPcJKXbvnecXJSYLA3zhDqoeU8DWcY2ZHsjtEJZipEgym NBWsZWWRhT7tuMQSlE+O9BKJXNRvhjoL0+zll2XhiW/yxsc+3CEEgUwvFmN2CzwsQbzW DhxCnlleUeIGlV3jpapW/tq2TgA6Y2ccKLByf8uwasf2VWUzv7wmlNxfIlXSdwl8oG55 TfanULBLt8Zes4nMV5dNSPb1zFa9VLWycExCYuJatrrP9KTZb6VnPPCpdsAqE8XVS6lx JE7w== X-Gm-Message-State: AOAM533GW7WHTQk2FuMg/yMzLZKc+BmcC5cjypF0oDVyth0SQ/gO+x8r RwfDDAOqtXx7pTdX8+IPDEo= X-Google-Smtp-Source: ABdhPJzRTQVQNxGRAnswq6ZOD/tPPkLBsWC+AR0edRaiz3Zes+aZnlJAeH5yAYqpLyr+Sg72aYIu3w== X-Received: by 2002:a63:88c6:: with SMTP id l189mr56143769pgd.439.1641529948276; Thu, 06 Jan 2022 20:32:28 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id q19sm4008337pfk.83.2022.01.06.20.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 20:32:27 -0800 (PST) From: Chris Marusich To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> Date: Thu, 06 Jan 2022 20:32:23 -0800 In-Reply-To: <87a6g8es32.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 06 Jan 2022 17:39:45 +0100") Message-ID: <87h7agmai0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 52908 Cc: 52908@debbugs.gnu.org, Leo Famulari 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 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo and Aiko, Ludovic Court=C3=A8s writes: > I=E2=80=99d rather not move things and fix the bug in the same commit. (= I=E2=80=99m not > even convinced sddm needs to leave its own module, plus it would break > the API, which is not something to do lightly.) You're right! I was able to avoid moving the (gnu services sddm) module by autoloading it from (gnu services xorg). I've committed the fix as 79260c8695cc5e3cd64f5b01e262369d5a67f141, along with two commits that update the guix package. > Thanks for fixing it! > > And yes, we=E2=80=99ll need to update the =E2=80=98guix=E2=80=99 package = once this fix is in. Thank you for the review! Aiko, can you confirm that after running "guix pull" the issue is resolved on your end, too? =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-services-Consistently-use-SDDM-rather-than-GDM-on-no.patch Content-Transfer-Encoding: quoted-printable From=2079260c8695cc5e3cd64f5b01e262369d5a67f141 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Thu, 6 Jan 2022 18:43:47 -0800 Subject: [PATCH] services: Consistently use SDDM rather than GDM on non-x86_64. This is a follow-up to 49599fab564f203b8e92d32e9b28c99e99849bfb. Fixes: . * gnu/services/xorg.scm (set-xorg-configuration)[login-manager-service-type= ]: When the current system or target system begins with the string "x86_64", u= se gdm-service-type as before; otherwise, use sddm-service-type. * gnu/system/examples/vm-image.tmpl (services): Add sddm-service-type to the list of service types to remove. =2D-- gnu/services/xorg.scm | 11 ++++++++++- gnu/system/examples/vm-image.tmpl | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 82a7d25602..35f8dbc5f8 100644 =2D-- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -11,6 +11,7 @@ ;;; Copyright =C2=A9 2021 Brice Waegeneire ;;; Copyright =C2=A9 2021 Oleg Pykhalov ;;; Copyright =C2=A9 2021 Josselin Poiret +;;; Copyright =C2=A9 2022 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ ;;; along with GNU Guix. If not, see . =20 (define-module (gnu services xorg) + #:autoload (gnu services sddm) (sddm-service-type) #:use-module (gnu artwork) #:use-module (gnu services) #:use-module (gnu services shepherd) @@ -1040,10 +1042,17 @@ the GNOME desktop environment.") "Run the GNOME Desktop Manager (GDM), a program that al= lows you to log in in a graphical session, whether or not you use GNOME.")))) =20 +;; Since GDM depends on Rust (gdm -> gnome-shell -> gjs -> mozjs -> rust) +;; and Rust is currently unavailable on non-x86_64 platforms, default to +;; SDDM there (FIXME). (define* (set-xorg-configuration config #:optional (login-manager-service-type =2D gdm-service-type)) + (let ((system (or (%current-target-syste= m) + (%current-system)))) + (if (string-prefix? "x86_64" system) + gdm-service-type + sddm-service-type)))) "Tell the log-in manager (of type @var{login-manager-service-type}) to u= se @var{config}, an record." (simple-service 'set-xorg-configuration diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-ima= ge.tmpl index a59d91587b..ccb0b045db 100644 =2D-- a/gnu/system/examples/vm-image.tmpl +++ b/gnu/system/examples/vm-image.tmpl @@ -5,7 +5,7 @@ ;; =20 (use-modules (gnu) (guix) (srfi srfi-1)) =2D(use-service-modules desktop mcron networking spice ssh xorg) +(use-service-modules desktop mcron networking spice ssh xorg sddm) (use-package-modules bootloaders certs fonts nvi package-management wget xorg) =20 @@ -107,12 +107,12 @@ root ALL=3D(ALL) ALL ;; Use the DHCP client service rather than NetworkManager. (service dhcp-client-service-type)) =20 =2D ;; Remove GDM, ModemManager, NetworkManager, and wpa-supplica= nt, =2D ;; which don't make sense in a VM. + ;; Remove some services that don't make sense in a VM. (remove (lambda (service) (let ((type (service-kind service))) (or (memq type (list gdm-service-type + sddm-service-type wpa-supplicant-service-type cups-pk-helper-service-type network-manager-service-type base-commit: c4240dfdb433239108edaf12acb5c51138f9dc74 =2D-=20 2.30.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHXwlcVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadtbcP/27B412ECGcUdkiRAXqRryzMWAkZ 5HudQMLXQsOrsi46hrshnNOrd5UL3WlEmAavhdc89BTa5OkzQUeNn50851qq8Bed o4bxpNKCwIssLPtXNddCmLEGZEoKoF7v0IY8q9EvUpBe30VEmmeNOJULQRl8gNvr C4J2/MC/3k3RK0I7hk0yshqcs0ESIyMTXSpzlijoIS5yPIkWIZ0j23OsHbOBOwEG KddMQbZNKA1VX+Ezx+dH8mQic8KYkP63AJ8+m90+IsEhddqhtOXBHsgvcLb1Bmb1 rze2DZ43ZuAnQ2OpS2bMQ59NVrg74NZeE0m6H6AdARlet0WVkMdwOc9JNU9QCP3x nxPE8Y9QNxl4w8L9kA38FznLumHAemcbxO0iQMIrWFLxU/2vb7hbQ3TFxDDiV7dX OxQrFrNaToxxHOpW08K4aboPFnpsgC8rmbnWlC0O5+xIhMVqm7DIP2Abazu3L8GB pg9X+f4/FnI4AXoT/8cjN6lAY32TV3RHp8aAeqJjT4Lfa5cOztRapSGXqzIRlZMg r2jT8z6fNkhNQRsLmzPrlA0FRHjfGIK3WXYEaX1lPQ6ybRVQbrb7OAydMdRDD34L DMpF+iKOBQ/UJrgKk+tnHdQJrA0HT1lYZjZPm43yXFaTQORu5T+EV4Q1KQixSAna P0ETnAwNbepZC2aV =+8/C -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 07 05:48:27 2022 Received: (at 52908) by debbugs.gnu.org; 7 Jan 2022 10:48:27 +0000 Received: from localhost ([127.0.0.1]:43142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5mnL-0006Dv-AM for submit@debbugs.gnu.org; Fri, 07 Jan 2022 05:48:27 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:58498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5mnI-0006Dk-03 for 52908@debbugs.gnu.org; Fri, 07 Jan 2022 05:48:25 -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 fmoN260094UW6Th01moNB2; Fri, 07 Jan 2022 11:48:22 +0100 Message-ID: <62475b29c2f3fa83891897e794f124e60fc04709.camel@telenet.be> Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux From: Maxime Devos To: Chris Marusich , Ludovic =?ISO-8859-1?Q?Court=E8s?= , Aiko Kyle Date: Fri, 07 Jan 2022 11:48:22 +0100 In-Reply-To: <87h7agmai0.fsf@gmail.com> References: <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> <87h7agmai0.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-P9fNWp9n5+AsTpjZhsWn" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1641552502; bh=IjV14JFU+iLPMViy5z8IvG9eCsL5wDUhCb/RxI6RvSo=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=jd+E2/8tarsyRulkxG/R7ZE0qJlgbBKeuTs+/K0qgJceZG11kVi/iI0cp/7y2tmng /wjoPZQQya8aBX7gjHInYlf8yj3k72hKN9l1GPhwPoIfyNzqDXDhrbpvQBXOTlUtsK ZSV4rHM4p0xDBpf/fQvBWPDKMbhSBLn77S2eDH2GXRu7w79KZOns1rSz+Ocdm+fjmX RiW4Zbw64ULDdNlGMzjOTOMRXUWqus6rQKrKrEYRBs6S/M+xwba6hTKmIBjRaKlcRN Y0eZch7ObsSkPWsVoBDLAgITkMb2oT1dGNbTG49Cb+5M8tmT5ObOLUAfktESZycpQH FkJdQN0C4hFOw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@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: -1.7 (-) --=-P9fNWp9n5+AsTpjZhsWn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Q2hyaXMgTWFydXNpY2ggc2NocmVlZiBvcCBkbyAwNi0wMS0yMDIyIG9tIDIwOjMyIFstMDgwMF06 Cj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgKGlmIChzdHJpbmctcHJlZml4PyAieDg2XzY0Igo+IHN5c3RlbSkK ClRoZXJlJ3MgYSB0YXJnZXQteDg2LTY0PyBwcm9jZWR1cmUgaW4gKGd1aXggdXRpbHMpIHlvdSBj b3VsZCB1c2UgaGVyZS4KCkdyZWV0aW5ncywKTWF4aW1lCg== --=-P9fNWp9n5+AsTpjZhsWn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYdgadhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uNtAP9K00wJAumPa8j7H7OLC1T1JhRK AsZyq8VuUE7rRF/69QD/fc7bzraEFsp+GNKQjgDciKfVAsEsNbSLd48CvWbMiQ8= =wiW9 -----END PGP SIGNATURE----- --=-P9fNWp9n5+AsTpjZhsWn-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 07 20:26:32 2022 Received: (at 52908) by debbugs.gnu.org; 8 Jan 2022 01:26:33 +0000 Received: from localhost ([127.0.0.1]:46097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n60V6-0002zm-PV for submit@debbugs.gnu.org; Fri, 07 Jan 2022 20:26:32 -0500 Received: from mail-lf1-f50.google.com ([209.85.167.50]:44652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n60V5-0002zT-1b for 52908@debbugs.gnu.org; Fri, 07 Jan 2022 20:26:32 -0500 Received: by mail-lf1-f50.google.com with SMTP id g26so21575604lfv.11 for <52908@debbugs.gnu.org>; Fri, 07 Jan 2022 17:26:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZRb8Kb85Ym6h7zB5A+8anIfyotWgl3j2s9vL/uyMoz0=; b=HvptwOjSh2VbyssJomo307u32YaNJF/jSU1Sx2/sj3/0OHOVEuaIxc6s1v+6tIjO+F bOx2VDvk3pSmNpZeID46JofWfgG+w43Nnu3gVxTzamuy/1LK0UURJuKrEp52V4GB2qxW zhtgawGAEz4h44OHxDqV0XRXQjyTfhChDKxMdS1ZmdiR98G8R0tnLDOJUVs8pfzdbdk+ MQvnkBa9feAgpQCzOCW0tHG8kTkwJM2HiAzDkguYqhsjfipFuwV0ZIYmye+RcunCmOaq rUR/7OlDGvN1uhbl8A2tf1uxbkysUfy+s3O3bOKocBw/NsZGzOM+I3J130hZRVUJe8Hx 8EGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZRb8Kb85Ym6h7zB5A+8anIfyotWgl3j2s9vL/uyMoz0=; b=xAlXKvBx1O10QBbjDuBU1ZneUj+/sj2pKnuBVWLFMGlR6v/28EVNbdV1ZRr1nSfriJ IabvV+Hp/wStg6I68jw04khhXYV50eItlVosMRmQ4mCRtAJzJhpKsezJbfZoQsQRDwlx m4RodSkBQtiJBBGxh87YR1kH4AxjjkoEUZ6pZYFZ35rHAlGx5YVzgobkleYe+7UTE1+F lO75u7E/opTJaMIJqonjDbWVmVJw0QnNBzYuqUTgx5dc5IcBp22oAyXI6qmcxIDHj7TD 6vN8Lm+WRkKhQhCrsRbcxmLDHjHlMfsvXq/zJDT5dpTgtr4CYfZRNHbeAbngB3fhV8a9 6Bog== X-Gm-Message-State: AOAM531pR+mYOhv8Sqk4cls1YyDghaqCPpHkLWimy/Ihi4BqSRnrGTnu ASpzy2f+huhYvCEd6c6rkWonSDVbUiYHq8TYiWA= X-Google-Smtp-Source: ABdhPJwqHEzKa/Hd5qhckSz/aBVlVTL/3aZPtFiAzWSkStAX0dfYp05SX6dnJOX+onWLFCkYXeGj/6oRqoKMtgzYbrw= X-Received: by 2002:a05:6512:b9f:: with SMTP id b31mr56266562lfv.319.1641605185070; Fri, 07 Jan 2022 17:26:25 -0800 (PST) MIME-Version: 1.0 References: <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> <87h7agmai0.fsf@gmail.com> In-Reply-To: <87h7agmai0.fsf@gmail.com> From: Aiko Kyle Date: Fri, 7 Jan 2022 18:26:13 -0700 Message-ID: Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux To: Chris Marusich Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52908 Cc: 52908@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Leo Famulari 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 (-) On Thu, Jan 6, 2022 at 9:32 PM Chris Marusich wrote: > > Aiko, can you confirm that after running "guix pull" the issue is > resolved on your end, too? > I can confirm that this test passes here. However guix system reconfigure is still failing for me on aarch64 due to the test 'file-needed/recursive' in tests/gremlin.scm failing. There was an email on guix-devel starting to look into this issue on aarch64 but I haven't had the time to follow up. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 07 21:18:53 2022 Received: (at 52908-done) by debbugs.gnu.org; 8 Jan 2022 02:18:54 +0000 Received: from localhost ([127.0.0.1]:46138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n61Ji-0004Su-Ni for submit@debbugs.gnu.org; Fri, 07 Jan 2022 21:18:53 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:48631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n61Je-0004SZ-7o for 52908-done@debbugs.gnu.org; Fri, 07 Jan 2022 21:18:49 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 26DB05C0116; Fri, 7 Jan 2022 21:18:41 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 07 Jan 2022 21:18:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=W+jgFujuIr54x24wEpTefXDs gMd/rK65mvMknds618U=; b=aqkUaYML05g/1lQxh5CI3X0elpuMm6WvQYxWqG4v RqENMf0SPh4HX8Ssw7Q40TZK6ZalHuLrY+ygdqxfTu+jmEKFNDewEDMuMkQ234PW 6jwdtD1UfKTPAnQbb0Rn8XES9//+L4onc4751Wok+wqCn6Ajhqci45CbOggStCoZ g0U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=W+jgFu juIr54x24wEpTefXDsgMd/rK65mvMknds618U=; b=WCf2GxoPRMGOoxYF65jitj qiLYYQ32sqx+FoRkJt+zNJ6ziz9AqlOkyst7zCslUqmCLObr/rTadbKFEgCKxUy8 qPQ2ILZQcmnAzHK1mkVMMvm1Xd4//Kb7ApRoiTWd2Z2xdJmrKobPJVUFLoeK1yhx cncJbz4dmsKbNOsJOWIxw/KTlenw7+UycpxOLlhfKcgT4kfc7c8L51aO3E6kYEdJ BC7Ny+0Ea4ry7KJ/5vvTCAGsO0tyi5yclK6hfoOJshqXjdlt0aKbgV7I7yJ+shra RLq0ykqAv+y5LMkA53n+8j/T825gahDRsgXh7VxN7PY7f2p9YhiJpaB8WCOtIg8A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudegfedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpedvvddugefffeeitddthfefvdeuhffgkeeikeegkeevteeghfeftefggeeuudff ieenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Jan 2022 21:18:40 -0500 (EST) Date: Fri, 7 Jan 2022 21:18:39 -0500 From: Leo Famulari To: Aiko Kyle Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux Message-ID: References: <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> <87h7agmai0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52908-done Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= , Chris Marusich , 52908-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: -1.7 (-) On Fri, Jan 07, 2022 at 06:26:13PM -0700, Aiko Kyle wrote: > I can confirm that this test passes here. Awesome, I am closing this bug. Thanks everybody, for collaborating on a quick fix! > However guix system > reconfigure is still failing for me on aarch64 due to the test > 'file-needed/recursive' in tests/gremlin.scm failing. There was an > email on guix-devel starting to look into this issue on aarch64 but I > haven't had the time to follow up. I think there is a fix being discussed here: https://issues.guix.gnu.org/52940 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 08 21:40:24 2022 Received: (at control) by debbugs.gnu.org; 9 Jan 2022 02:40:24 +0000 Received: from localhost ([127.0.0.1]:49011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6O88-0002bj-D2 for submit@debbugs.gnu.org; Sat, 08 Jan 2022 21:40:24 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:45673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6O86-0002bU-9N for control@debbugs.gnu.org; Sat, 08 Jan 2022 21:40:24 -0500 Received: by mail-pl1-f181.google.com with SMTP id g5so8984plo.12 for ; Sat, 08 Jan 2022 18:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=est9V9rYlR7Z3OB+JNZ022GERTcdAcNdrvYoNJd+mps=; b=CJYM0Jebp0oT11YN5Wuo4uVSYDfdy1/7TSdheBcssOk605w8Pz9diR0NMjwySd7H3o H69Tk5+4OuJY43/7NFhm3Oxzsu4rSA4Le3MxUY66DE83IbJKMFhkPNUhiL1364cPcIeJ DOnNmjhrgfQre6wW7bFRLW6Dapk/Rz6YHWK7941W4GzVx3DP/h2NNW8NxGKWLiGiU1ki zufDz0SkBEKsYmuS88DTOinV1vt9wyG7P04203Iy/oTyYNYXijxtiZWM6KjQvLCNvyXQ wRqOO1xdrzeei/m0ddaEB6Ibxh5ICGTQeHCSF300QNfF0Dv7OGp8szVUcELp08mGyH61 Ku2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=est9V9rYlR7Z3OB+JNZ022GERTcdAcNdrvYoNJd+mps=; b=BBUXuMOFyoJJzOgWF5u7f/b7ps/V2ZQf4CFNdMNQ+nIUxwOCK4ZKRmqK2qzg+Ptlhw oNjbhFmCfd0HgmDXJYTeQHt4nt1m3vl72kNhBgFJlKZ1jKk+3rirHH5l1yECQaquty3y BZK+123bDdYCcoBu7xhUze+i2Y4k0vuGrJ4ol7uyLPmTzrWhThpRFxIB+2n9xizArhcj O/sr/jS99zhYTwTi0HOBxaX4Wga2nDDGjF1uNslPK/2cq6zLKQj90SUGpl6Z2WYy5Hrj BSfkMERz82bCfMLeED9cJKHGxC3S+XUGcO8x9VUWoi5ju9zIK4mG/dIF4ZHCWr0+gQJX IFdA== X-Gm-Message-State: AOAM533hAXdLgYiiZgo7bSqbArHLqA5ObVnqWjK56zP/xE4EtrKGUhR/ Jy0niXrz/UrLOJoH+xatJ99MvnqmS+w= X-Google-Smtp-Source: ABdhPJytcWJ7FNA/iqtNoJXOTJ76n2vLwiEtnOlPYn+D4PT0PK+4U+tDx9cGv1XyBuW9Awb0E65OpQ== X-Received: by 2002:a17:90a:6b49:: with SMTP id x9mr5471625pjl.166.1641696016016; Sat, 08 Jan 2022 18:40:16 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id k8sm3210911pjj.3.2022.01.08.18.40.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 18:40:15 -0800 (PST) From: Chris Marusich To: control@debbugs.gnu.org Subject: Re: bug#52943: Cannot build guix as part of guix system reconfigure after commit 224d437fb4 on aarch64 Date: Sat, 08 Jan 2022 18:40:14 -0800 Message-ID: <87wnj9d435.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) # Although at first it did seem like 52908 was the sole cause of this # bug, Aiko reported in 52908 that there are still more problems needing # resolution. So, this should be regarded as a separate bug, after all. unmerge 52943 reopen 52943 -- Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=106836 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 08 23:42:48 2022 Received: (at 52908) by debbugs.gnu.org; 9 Jan 2022 04:42:48 +0000 Received: from localhost ([127.0.0.1]:49091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Q2a-00088N-0D for submit@debbugs.gnu.org; Sat, 08 Jan 2022 23:42:48 -0500 Received: from mail-pj1-f48.google.com ([209.85.216.48]:45011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Q2V-000884-Ff for 52908@debbugs.gnu.org; Sat, 08 Jan 2022 23:42:46 -0500 Received: by mail-pj1-f48.google.com with SMTP id n30-20020a17090a5aa100b001b2b6509685so12499837pji.3 for <52908@debbugs.gnu.org>; Sat, 08 Jan 2022 20:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=0wusCvV4NDOAbpULLBnYVp7RpwTKtJFBdUkqwbMWHwA=; b=ga9f3/qCPB5k+mmuhNwtUDaqBSy8b4o0CkI6txAB1kHG+45JC47mShjMQvcfPmpAvG 8yFwVuSshI+GN54y6grLnvluMN8rpvey+fot/2ufU2/+B/T1n3NCEmRv13C4fpscmMCe UjjlExdUvxUbX5Y5BwUuqESRIE9/ielcpsNQU/sr2PNzrbu1IYNdHP+OQH22OXJWOFof 8GZL9Z7qT/FRUXMyPlIIUSkWUUPDxVXrt82dK+ZmyRRoSzofeoDGQN6Vy2UblI/V5jfh JSXo/P9go7zRAzW2vtTVLSMSRy3NmYZTlYrwJwJBlyFjEPwUMEIeN5V4kcmdQJ/mj9OP L+pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=0wusCvV4NDOAbpULLBnYVp7RpwTKtJFBdUkqwbMWHwA=; b=24gxsLIvX33d8Sjc7uQsyCSW2ji5XWEX1Db0xZ7PcOwV5eitu7qCGq0JgAOgxEA9hP eeL/8M5QHRSOwdDTF1exxkKkwmzYBlA1EsT4ox/Nf3o6nwEkOfyIoaG9WB7bZOarG2Kp OWVMELmyK4kpuOEmVszB0PwirbG9kV2CxnFSqBGAjZJqqKjZHcTHZQdt+M9EBdDqZWVE kuU6yifcR+labCCuL5W20WXHsnGgffKqtEDLo0QiDx/hf50kVdYjxk9qmWJo2WV10a8G sAKatxX0NOINg7FoMWF2uRZtaYIDJh9kGSIcEJtRdJZKUi3EhdkB4YmZKvZDO+AidckQ DMXw== X-Gm-Message-State: AOAM5328vC4LmXF3eJkRj9VnP8EJDUZ52YXgB6PelP8jm4wMRiIKUItI OHCliIy5R9BjErOLjEw0r2Er8MpmZ88= X-Google-Smtp-Source: ABdhPJyjfblMSnhIDhtkPEFrMMhLjtLn5PYrjPcrVx+ImFitnGJpOi9zFS0t1OliJEUzEHs3t++D9A== X-Received: by 2002:a17:90b:3e8b:: with SMTP id rj11mr23805893pjb.237.1641703357484; Sat, 08 Jan 2022 20:42:37 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id mw7sm4465807pjb.45.2022.01.08.20.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 20:42:36 -0800 (PST) From: Chris Marusich To: Maxime Devos , Aiko Kyle , Leo Famulari Subject: Re: bug#52908: 'tests/guix-system.sh' fails on aarch64-linux References: <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> <87h7agmai0.fsf@gmail.com> <87wnjgqm93.fsf@gmail.com> <87a6g8es32.fsf@gnu.org> <87h7agmai0.fsf@gmail.com> <62475b29c2f3fa83891897e794f124e60fc04709.camel@telenet.be> Date: Sat, 08 Jan 2022 20:42:35 -0800 Message-ID: <87mtk5cyf8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 52908 Cc: 52908@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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, Aiko, and Leo, Maxime Devos writes: > Chris Marusich schreef op do 06-01-2022 om 20:32 [-0800]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (str= ing-prefix? "x86_64" >> system) > > There's a target-x86-64? procedure in (guix utils) you could use here. > > Greetings, > Maxime Good call! I implemented your suggestion in commit dc2b901. Aiko Kyle writes: > On Thu, Jan 6, 2022 at 9:32 PM Chris Marusich wrot= e: >> >> Aiko, can you confirm that after running "guix pull" the issue is >> resolved on your end, too? >> > > I can confirm that this test passes here. However guix system > reconfigure is still failing for me on aarch64 due to the test > 'file-needed/recursive' in tests/gremlin.scm failing. There was an > email on guix-devel starting to look into this issue on aarch64 but I > haven't had the time to follow up. Thank you for confirming! Leo Famulari writes: > On Fri, Jan 07, 2022 at 06:26:13PM -0700, Aiko Kyle wrote: > > I can confirm that this test passes here. >=20 > Awesome, I am closing this bug. Thanks everybody, for collaborating on a > quick fix! >=20 > > However guix system > > reconfigure is still failing for me on aarch64 due to the test > > 'file-needed/recursive' in tests/gremlin.scm failing. There was an > > email on guix-devel starting to look into this issue on aarch64 but I > > haven't had the time to follow up. >=20 > I think there is a fix being discussed here: >=20 > https://issues.guix.gnu.org/52940 I think the issue described in 52940 is similar but slightly different to the one Aiko mentioned. I have resolved 52940 because that issue (only happening on powerpc64le-linux, to my knowledge) has been fixed. However, I have re-opened Aiko's existing report for the aarch64-specific issue here: https://issues.guix.gnu.org/52943 Let's continue the discussion of that issue there. =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHaZ7sVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadClQP/jYWHcEtX1gVY3rQ4vT0/KZtlL4q RNb/cF4jKbOGJwJTNKLz2SaskTHA8Aj6sAkJUYX0vRYIm5CtMxpRXcGTnb9+JzqL ziL1k+LXBuC5G/04WM/DGOVbJXm+lADmQyC+fpZ2GD/V9nOVme8D2aCiRglrS+Cf nWiam+78vWTdHNtJa7Gj9zY3Fp9y5EE6rep0TOZ24ln8estfWL5mJ5w9FVMHOVhU V3JMeuaeFlpWs7hqst3LWLBTLEk6qJctEwHIMEnhiCt8O+Co6L2s9BJt8zZQap1O VaU7ZFljhZFTA698/5s679PzjC8EpwIy3Ng80cjaYZ+wnaqxwq+EeAvZN3EunsAh fFltBB7K9D5rJn0LcmgiNajDHaWRGpffdTV7H1ZDjYSrd3mptLQ5cH+AAkZJEFTL 3IkQ4kL6HIk8MtevYcVNq3kdESXB3yVwr7mZWf3uE+RYd7R4QqtnpmlWz43akvsi 0WiLQFWGw3oJ6Eu5xp6wY2gDpVfKi9Nr7mFehkYaOVtGRrMHQ8MEHWajwUShNk3b Nlm0GozgcMPrOfaqF2rCVXB/Xcp4Pwdl2yfvUVggflnMpbWV7HQTRoMXvmcEMZ7W N27wPEgI4GcFvh0RurfeIIru3qlbp63NsjkZxAF1tBABeM+WFoqmW+DN99k38eJA SOA3xPnRCch455jx =smY0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 22:24:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Feb 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator