From unknown Mon Aug 18 11:32:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61217] [PATCH] build: Correct guix_system on musl libc distros. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Feb 2023 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61217@debbugs.gnu.org Cc: Antero Mejr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16752831315228 (code B ref -1); Wed, 01 Feb 2023 20:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2023 20:25:31 +0000 Received: from localhost ([127.0.0.1]:59940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNJff-0001MG-5X for submit@debbugs.gnu.org; Wed, 01 Feb 2023 15:25:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:36266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNJfb-0001M6-LZ for submit@debbugs.gnu.org; Wed, 01 Feb 2023 15:25:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNJfa-0000mi-9m for guix-patches@gnu.org; Wed, 01 Feb 2023 15:25:26 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pNJfY-0003KI-4S for guix-patches@gnu.org; Wed, 01 Feb 2023 15:25:26 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4P6YM14wwtz9slq for ; Wed, 1 Feb 2023 21:25:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1675283117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jYFweSymgp7o4tivVjlgZ7Z9zj7WfXGOuqyRAil/ZLs=; b=gMw17G0PGjGNEjCys6T0VKBHqNtqk4lZUX8755xN5dVhtD1OE3oad4s5HX0NX1jb+fo727 wBbzeAzQRFHfViDdIHGePxUuZ0s7NyMSfDtB7cK/SoTjv5IPQmnRAROEWI6ATe6GK/GPIP sffkfUYeRrOIX7vRpHjgK/75jsuVrSB6qNL287HeMfqFjE8Rlbg/kFsAKkSWJM7rG+I3al Vs+FU4tyZVd1ECDuc4F/QzUS6F7Ze31+j51eYIyRvmSKKwHbNJdm3kd8RNwkL1aBN698OO BUbDwR5M94tXJ5deNkwcyFFheMCEFFBcPZcAuO6OnA252rxj9QLeAORKzc9wHA== From: Antero Mejr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1675283115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jYFweSymgp7o4tivVjlgZ7Z9zj7WfXGOuqyRAil/ZLs=; b=KzNCwA6TVpn6zsWZnIF0hUoZq80BWpx+QPankLOuaLJFtzlYi3sAfF3K8nr3CCo5WBNefx 1+b9mvwLeXZLDF84KN/FcwJOhjCkRUHZcr3qk7jtgs3Z3g21P5LtvZIgmqVLhSUJWArEe0 r0o2JEQr+u8UCBrdbJXyvcrxAyxCP343jHY9mHK7oSAvcs/+N/WN6EQaBx2rYmCEwV17MN uvaSlGNDvv1X0YVwg7lq3ZqaPWd17vnm3aKMRS/wZmFWGSajiaJ4wRUIHsz320I7EJw3jV nnMI1HFQhWnSkaNaWz2gWgu+G6EEJurLb8ypDVmftNg/hsA/keH1Or+nL54E8g== Date: Wed, 1 Feb 2023 20:25:04 +0000 Message-Id: <20230201202504.14546-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: a540f2ce84abac0ebee X-MBO-RS-META: ziafcwnhkbiidq9h7za4sx6gynhk4wte Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents the macro from mis-parsing the host OS, which causes breakage when building from source. --- m4/guix.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m4/guix.m4 b/m4/guix.m4 index 700c0dfd4a..147fcc48f4 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -58,6 +58,8 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ linux-gnu*) # For backward compatibility, strip the `-gnu' part. guix_system="$machine_name-linux";; + linux-musl*) + guix_system="$machine_name-linux";; gnu*) # Always use i586 for GNU/Hurd. guix_system="i586-gnu";; -- 2.38.1 From unknown Mon Aug 18 11:32:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Antero Mejr Subject: bug#61217: closed (Re: bug#61217: [PATCH] build: Correct guix_system on musl libc distros.) Message-ID: References: <87ilf1exuz.fsf@gnu.org> <20230201202504.14546-1-antero@mailbox.org> X-Gnu-PR-Message: they-closed 61217 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61217@debbugs.gnu.org Date: Thu, 16 Mar 2023 11:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1678966322-18695-1" This is a multi-part message in MIME format... ------------=_1678966322-18695-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61217: [PATCH] build: Correct guix_system on musl libc distros. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61217@debbugs.gnu.org. --=20 61217: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61217 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1678966322-18695-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61217-done) by debbugs.gnu.org; 16 Mar 2023 11:31:43 +0000 Received: from localhost ([127.0.0.1]:41389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pclpf-0004r1-0q for submit@debbugs.gnu.org; Thu, 16 Mar 2023 07:31:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pclpc-0004qm-5J for 61217-done@debbugs.gnu.org; Thu, 16 Mar 2023 07:31:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pclpW-0001ba-0S; Thu, 16 Mar 2023 07:31:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=chn3EnxVq5wQIYvZoL5Wiufy4uhwGEYMaXCD6eDdZhQ=; b=Fklj5OwBkFvWigJoNyhF 1acnfVclRtcv7yqxF3IPFBdmFZt2paM+EgGEJpSBr1QCDE+56VRbqt6KUUeQzuDhNZUPIeIcqZrcd fFFXSgL4/epTDo/wKAsbPMULWz6V+N8YqyLAa+Yo0jUVkqin+CTLwBXgLATc54SyF6n5ccOSY1Yqk j9KmanukamczgwXSeGM7/e5CKlDYzBrq/v5pYUF0tBEEAvDVBsKgku6ek3r2hD0ueaNVX4wo9+AdJ AQroJooRcyM3aP/ETPVJuKlToiwwIWHeiRWqr4FvNA3ixe1KwuetCA97X8pKvxgz3yHPu9fNMkP5F 17MyFOvITTughg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pclpV-0005ic-ER; Thu, 16 Mar 2023 07:31:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Antero Mejr Subject: Re: bug#61217: [PATCH] build: Correct guix_system on musl libc distros. References: <20230201202504.14546-1-antero@mailbox.org> Date: Thu, 16 Mar 2023 12:31:32 +0100 In-Reply-To: <20230201202504.14546-1-antero@mailbox.org> (Antero Mejr's message of "Wed, 1 Feb 2023 20:25:04 +0000") Message-ID: <87ilf1exuz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61217-done Cc: 61217-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: -3.3 (---) Hi, Antero Mejr skribis: > * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents > the macro from mis-parsing the host OS, which causes breakage when > building from source. Finally applied, thanks! Ludo=E2=80=99. ------------=_1678966322-18695-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Feb 2023 20:25:31 +0000 Received: from localhost ([127.0.0.1]:59940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNJff-0001MG-5X for submit@debbugs.gnu.org; Wed, 01 Feb 2023 15:25:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:36266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNJfb-0001M6-LZ for submit@debbugs.gnu.org; Wed, 01 Feb 2023 15:25:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNJfa-0000mi-9m for guix-patches@gnu.org; Wed, 01 Feb 2023 15:25:26 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pNJfY-0003KI-4S for guix-patches@gnu.org; Wed, 01 Feb 2023 15:25:26 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4P6YM14wwtz9slq for ; Wed, 1 Feb 2023 21:25:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1675283117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jYFweSymgp7o4tivVjlgZ7Z9zj7WfXGOuqyRAil/ZLs=; b=gMw17G0PGjGNEjCys6T0VKBHqNtqk4lZUX8755xN5dVhtD1OE3oad4s5HX0NX1jb+fo727 wBbzeAzQRFHfViDdIHGePxUuZ0s7NyMSfDtB7cK/SoTjv5IPQmnRAROEWI6ATe6GK/GPIP sffkfUYeRrOIX7vRpHjgK/75jsuVrSB6qNL287HeMfqFjE8Rlbg/kFsAKkSWJM7rG+I3al Vs+FU4tyZVd1ECDuc4F/QzUS6F7Ze31+j51eYIyRvmSKKwHbNJdm3kd8RNwkL1aBN698OO BUbDwR5M94tXJ5deNkwcyFFheMCEFFBcPZcAuO6OnA252rxj9QLeAORKzc9wHA== From: Antero Mejr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1675283115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jYFweSymgp7o4tivVjlgZ7Z9zj7WfXGOuqyRAil/ZLs=; b=KzNCwA6TVpn6zsWZnIF0hUoZq80BWpx+QPankLOuaLJFtzlYi3sAfF3K8nr3CCo5WBNefx 1+b9mvwLeXZLDF84KN/FcwJOhjCkRUHZcr3qk7jtgs3Z3g21P5LtvZIgmqVLhSUJWArEe0 r0o2JEQr+u8UCBrdbJXyvcrxAyxCP343jHY9mHK7oSAvcs/+N/WN6EQaBx2rYmCEwV17MN uvaSlGNDvv1X0YVwg7lq3ZqaPWd17vnm3aKMRS/wZmFWGSajiaJ4wRUIHsz320I7EJw3jV nnMI1HFQhWnSkaNaWz2gWgu+G6EEJurLb8ypDVmftNg/hsA/keH1Or+nL54E8g== To: guix-patches@gnu.org Subject: [PATCH] build: Correct guix_system on musl libc distros. Date: Wed, 1 Feb 2023 20:25:04 +0000 Message-Id: <20230201202504.14546-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: a540f2ce84abac0ebee X-MBO-RS-META: ziafcwnhkbiidq9h7za4sx6gynhk4wte Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Antero Mejr 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.3 (--) * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents the macro from mis-parsing the host OS, which causes breakage when building from source. --- m4/guix.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m4/guix.m4 b/m4/guix.m4 index 700c0dfd4a..147fcc48f4 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -58,6 +58,8 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ linux-gnu*) # For backward compatibility, strip the `-gnu' part. guix_system="$machine_name-linux";; + linux-musl*) + guix_system="$machine_name-linux";; gnu*) # Always use i586 for GNU/Hurd. guix_system="i586-gnu";; -- 2.38.1 ------------=_1678966322-18695-1--