From unknown Tue Sep 09 00:07:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE Resent-From: Nyi Nyi Zaw Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jun 2024 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71695 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71695@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17189867921650 (code B ref -1); Fri, 21 Jun 2024 16:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jun 2024 16:19:52 +0000 Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKgzP-0000QU-8q for submit@debbugs.gnu.org; Fri, 21 Jun 2024 12:19:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:52636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKbJC-00006w-Rg for submit@debbugs.gnu.org; Fri, 21 Jun 2024 06:15:55 -0400 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 1sKbJ8-0007qd-5u for bug-guix@gnu.org; Fri, 21 Jun 2024 06:15:50 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKbJ6-0006XE-84 for bug-guix@gnu.org; Fri, 21 Jun 2024 06:15:49 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1f6da06ba24so13679855ad.2 for ; Fri, 21 Jun 2024 03:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718964946; x=1719569746; darn=gnu.org; h=subject:from:content-language:to:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=UNCy0rQmnApLjvV+2JKAM7qJIVqrF2vkZE/H1BJ3oPI=; b=OPswSRY83GLTpXptSf1Y9Btdk8lY8/LEq+mFUJVjpOPLkG37u4fjolwzRVDIr7BLNQ Lal6tVCSeCvxCxpUTHrI0SuCA449rxxQUzxZMn39K5KagCW2EdBHAGyJhgGBZXqPYID+ fYd9Oqyq8G/2hG477BfCa4LVJ+xvN/k3SqkqA2+gTkvyOLJI+w82u2nQ04ycymg0UkVB J3YSHV4UGkLqgEnlkq9/m/GIY0CjQzGUifIQoPAgZLuNZz8FIe5lnKiucdxrMKMg+qBn ZyOY0kTl/ddKDHHDT+/jWXcs0W6h/65MVk9pQip8Mn3yzwbNFVrR4d2j8jP6luYncoKu fFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718964946; x=1719569746; h=subject:from:content-language:to:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UNCy0rQmnApLjvV+2JKAM7qJIVqrF2vkZE/H1BJ3oPI=; b=qKDCv9GBp0Pgg9W9bi/3FxaLJ4JCQ+TPk4M4cAqxZDgrpoSYkP5Ta5En66Ep39O0PO Vagb8ADrKx8Z34GqswKrwHFV4oLZJw5efUOJnC0TSKVGVtXmqB46iEOpg24oM+wFDp0k +02YX0ktl7Idw+w3BXDrw3yjpmm/gtfFCQIRe2kUjlKBomT3uQOUsEMYoRWpBB4/Rwtj pI9S5WBaLymeCa/T/1AR+AD4FHBLRqKO3pETdhVzV2pOO+lieBWMICnxgxOzwuUT5iS9 Zm9DEZMeHWCOaJFnecv8EruwH6hWseGydK2W47AFLR51VMbZFTnWtjJ1xEzS638oApRW vCjA== X-Gm-Message-State: AOJu0YyMlZo03XS0dtL8KJYjU6Oa2/W2NYAM87V3zQOUltYRk2rK4F+K hpdvjKHZ0H/oRqkTLWXarpww3RqesTgPRQMBLoX5Knz9AoAwW55VbAzId/153po= X-Google-Smtp-Source: AGHT+IGU9qAGv+ifLlkWG/uUTC9ATMIALjrFA41oNl/srCdPOdVtNhyQ1MngSctCz2trWl7Kg1fMBw== X-Received: by 2002:a17:902:e5c9:b0:1f5:e635:21fc with SMTP id d9443c01a7336-1f9aa3d3d54mr90116875ad.21.1718964945477; Fri, 21 Jun 2024 03:15:45 -0700 (PDT) Received: from [192.168.100.45] ([103.84.100.13]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb7d18basm10646595ad.233.2024.06.21.03.15.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jun 2024 03:15:45 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------C6RLYCE56bB0i0yzpFejERmr" Message-ID: Date: Fri, 21 Jun 2024 16:45:42 +0630 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Nyi Nyi Zaw Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=nyinyizaw.nav@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.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: Cause>> > > =?UTF-8?Q?=C2=A0=C2=A0MX?= linux 23.3(Debian 12.5 =?UTF-8?Q?=E2=80=9Cbookworm=E2=80=9D?= base) return sysv-init as > lowercase with dash > =?UTF-8?Q?=C2=A0=C2=A0which?= cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nyinyizaw.nav[at]gmail.com) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [103.84.100.13 listed in zen.spamhaus.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Mailman-Approved-At: Fri, 21 Jun 2024 12:19:49 -0400 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.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: Cause>> > > =?UTF-8?Q?=C2=A0=C2=A0MX?= linux 23.3(Debian 12.5 =?UTF-8?Q?=E2=80=9Cbookworm=E2=80=9D?= base) return sysv-init as > lowercase with dash > =?UTF-8?Q?=C2=A0=C2=A0which?= cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nyinyizaw.nav[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [103.84.100.13 listed in zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a multi-part message in MIME format. --------------C6RLYCE56bB0i0yzpFejERmr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cause>> > >   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as > lowercase with dash >   which cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> > https://www.gnu.org/software/guix/ > This script installs GNU Guix on your system > To uninstall, pass in the '--uninstall' parameter. > Press return to continue... > [1718953785.295]: Starting installation (Fri Jun 21 01:39:45 PM +0630 > 2024) > [1718953785.306]: [ INFO ] init system is: sysv-init > ./guix-install.sh: line 164: sysv-init_REQUIRE[@]: invalid variable name Fix Patch >> Convert sysv-init to SYSV_INIT_REQUIRE to match with variable name >   --- guix-install.sh     2024-06-21 15:22:03.000000000 +0630 >   +++ guix-install-patched.sh     2024-06-21 16:09:17.454668652 +0630 >   @@ -157,7 +157,9 @@ > >   add_init_sys_require() >   { # Add the elements of FOO_INIT_SYS to REQUIRE >       -    local init_require="${INIT_SYS}_REQUIRE[@]" >       + # Convert INIT_SYS return string to uppercase and replace dash > with underscore >       +    local init_require="${INIT_SYS^^}_REQUIRE[@]" >       + init_require="${init_require//-/_}" > if[[ !-z "$init_require"]]; then > # Have to add piecemeal because ${!foo[@]} performs direct array key > # expansion, not indirect plain array expansion. --------------C6RLYCE56bB0i0yzpFejERmr Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Cause>>

                                                                                                                                         
                   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as lowercase with dash                                   
                   which cause install script fails with sysv-init_REQUIRE[@]: invalid variable name                                     
                                                                                                                                        

ERROR>>

                 https://www.gnu.org/software/guix/                                                                                      
                 This script installs GNU Guix on your system                                                                            
                 To uninstall, pass in the '--uninstall' parameter.                                                                      
                 Press return to continue...                                                                                             
                 [1718953785.295]: Starting installation (Fri Jun 21 01:39:45 PM +0630 2024)                                             
                 [1718953785.306]: [ INFO ] init system is: sysv-init                                                                    
                 ./guix-install.sh: line 164: sysv-init_REQUIRE[@]: invalid variable name                                               

Fix Patch >> Convert sysv-init to SYSV_INIT_REQUIRE to match with variable name

                   --- guix-install.sh     2024-06-21 15:22:03.000000000 +0630                                                           
                   +++ guix-install-patched.sh     2024-06-21 16:09:17.454668652 +0630                                                   
                   @@ -157,7 +157,9 @@                                                                                                   
                                                                                                                                         
                   add_init_sys_require()                                                                                                
                   { # Add the elements of FOO_INIT_SYS to REQUIRE                                                                       
                       -    local init_require="${INIT_SYS}_REQUIRE[@]"                                                                  
                       +    # Convert INIT_SYS return string to uppercase and replace dash with underscore                               
                       +    local init_require="${INIT_SYS^^}_REQUIRE[@]"                                                                
                       +    init_require="${init_require//-/_}"                                                                          
                       if [[ ! -z "$init_require" ]]; then                                                                               
                           # Have to add piecemeal because ${!foo[@]} performs direct array key                                          
                           # expansion, not indirect plain array expansion.                                                             

 


--------------C6RLYCE56bB0i0yzpFejERmr-- From unknown Tue Sep 09 00:07:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Jun 2024 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71695 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nyi Nyi Zaw Cc: 71695@debbugs.gnu.org Received: via spool by 71695-submit@debbugs.gnu.org id=B71695.171906194917225 (code B ref 71695); Sat, 22 Jun 2024 13:13:02 +0000 Received: (at 71695) by debbugs.gnu.org; 22 Jun 2024 13:12:29 +0000 Received: from localhost ([127.0.0.1]:44685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL0Xc-0004Tl-Li for submit@debbugs.gnu.org; Sat, 22 Jun 2024 09:12:28 -0400 Received: from mail-108-mta21.mxroute.com ([136.175.108.21]:42165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL0Xa-0004Td-Pp for 71695@debbugs.gnu.org; Sat, 22 Jun 2024 09:12:27 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta21.mxroute.com (ZoneMTA) with ESMTPSA id 19040138c2500017a3.001 for <71695@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 22 Jun 2024 13:12:21 +0000 X-Zone-Loop: 45451df7c6b64d29e6c9068391bb8a98b496d433a42f X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9oinjn4yy6GFV/S2UNKf+Ig1L4KMVvQItNhjjI/vVkA=; b=NFpTd543snWrzTow4fZuZMkIRw eo7z0GEHay1V60RE0U8dL2zbDJMW85tuQBAyi225ezreeiIK2dAG/lm7agAB3nBAEyIxrfUiz8dck 4Gnj3fYYlphmh2sud6OXYdNqhyyWPugAPszysYkH5m40UrNvSLd0az4jRfRDUDLc8dQEAfuT/26+U 4qWClxlFThKDdAcbVUvp0n7WxlMqQuAwAFLn1xbLlxE5a3uJJ6ovQaebL5Ot4ln2EMe4bSXI070GA L4NA+wZV6pFQIQL3J/D/8HoQ/Q743DcI3NhTnzCLeREJ/oQiomww9D80UadIlOkXCU7wQvTr9pQt8 jmqN2aiA==; From: Richard Sent In-Reply-To: (Nyi Nyi Zaw's message of "Fri, 21 Jun 2024 16:45:42 +0630") References: Date: Sat, 22 Jun 2024 09:12:17 -0400 Message-ID: <87v821azpq.fsf@freakingpenguin.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com X-Spam-Score: -0.0 (/) 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 (-) The fix looks good to me. I don't have commit access so you may want to send it off to guix-patches so it's not lost. (info "(guix) Submitting Patches") If you can, please submit in plaintext. The formatting here looks odd. :) -- Take it easy, Richard Sent Making my computer weirder one commit at a time. From unknown Tue Sep 09 00:07:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE References: In-Reply-To: Resent-From: Diana Belle Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 25 Feb 2025 19:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71695 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174051260425112 (code B ref -1); Tue, 25 Feb 2025 19:44:03 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 19:43:24 +0000 Received: from localhost ([127.0.0.1]:48557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tn0pv-0006Wt-G1 for submit@debbugs.gnu.org; Tue, 25 Feb 2025 14:43:23 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36932) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmyHP-0004Go-Dy for submit@debbugs.gnu.org; Tue, 25 Feb 2025 11:59:36 -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 1tmyHJ-00089x-Rx for guix-patches@gnu.org; Tue, 25 Feb 2025 11:59:29 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tmyHH-0001ND-UF for guix-patches@gnu.org; Tue, 25 Feb 2025 11:59:29 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-38f3913569fso4000607f8f.1 for ; Tue, 25 Feb 2025 08:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740502765; x=1741107565; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=w9jEphc3paydzK/TfomNLaVzuZIpky63pYBxK9fPHtE=; b=U9Hb8J10urttg4+C5ixyYR6iP0eamhJZC/1c5CaHnKhR1xE+jy2Q00JM3IVd1BZZgX H2ZexTOnXNxNmKUKJGzNFC4FzZnTjJKwEj2C5fmBokKsDTmvrq0zNOfVV5n3o9+68Hi0 HEhjkQM3pnyVyoGNhpIdaJt+/hh4cF+fpYjdJoKnJXTfdsGNhmolSnXlrg53mpKKSGq1 kzkxVKJ27vzb0tdhNtdhejCdmjgTi+6/UkfxFXBf3xApdEXwnamz4glI0cqTS3Q0+trC uixyKiecR6p084s3UsYBq7MuXtlW+z7wAcn0LQhsp/4e89f0YbwOoJ+ihmQ32BMwPosC +D5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740502765; x=1741107565; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=w9jEphc3paydzK/TfomNLaVzuZIpky63pYBxK9fPHtE=; b=RbWQtidOruXdBou7qj5puDfnLOoS/+Hcvy+7gmYUnFyD2fWz5kLKtyelFkVec0L1OF w/nCbIVMZgxXuA0YGoe0qzrqIcclMF9x6cOxTB67wZwujTafsPfwsk/MAWM+k7I8NNw2 HK9OQscbvfZhPD8cCbx0p5HJ04Iun3GCDwHIVFoHAs3QaYBb6BQeJZLxMs8LEYXwmGZb UAbwB+STbfV+5MdPq9+fI4Lu011uO3bmlHzlAE4bElCV/PDeNQQlD01FIhcgOftC2UrQ Km+OAOaDSLW71GRJNRfHFKfAEIf+mp4y2W8/lNMaUXb2Sc9WlK6otQvyhbTJ8KpaynPd r5Qw== X-Gm-Message-State: AOJu0YxxWdsQohTcnY45BBA4LJgDFoOhdI5VmkPIfTe9LqMU14SJZ9HO SEa/VZjzvJqC/fsv927jkk1HAN2QXvudwfwihu+Q7y5MndzFSRppuphx2QLNswgyr1I6aOy98+4 by4RrJUFStCzhUqPWt7kqjGd/jL9m2dq2MoI= X-Gm-Gg: ASbGnctHrKhmus5ubtYR/+BfVgHgx8FTnGimiISL5SQpVo46S+Icuy4rsQ1rFrF+A0K JykLwnrff3gNfxJ87iLi7Qm+o47ma7UuwbCZdzj8GpahGoTrSb7cZM24r44DwanW2lM53mtJt+z 84fPdzZpI= X-Google-Smtp-Source: AGHT+IE5g3m06erwVCQE4ITZGIXJe8nKLLS3e5B/1iupSuvWzu/SyJx7Qj5LIC/6qqibgGJahMc5vQCABaBcSCjjvqY= X-Received: by 2002:a05:6000:1563:b0:38f:4ca6:5fc6 with SMTP id ffacd0b85a97d-38f615bc84bmr19270326f8f.14.1740502765294; Tue, 25 Feb 2025 08:59:25 -0800 (PST) MIME-Version: 1.0 From: Diana Belle Date: Tue, 25 Feb 2025 08:58:49 -0800 X-Gm-Features: AQ5f1JoPZZixW0KHB1rvojTkCVRsyMyCAmG1ozSOxu4K5NXlF70jJb0ModH2ayI Message-ID: Content-Type: multipart/alternative; boundary="0000000000000e5ef3062efa61fa" Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=garbados@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Tue, 25 Feb 2025 14:43:20 -0500 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 (/) --0000000000000e5ef3062efa61fa Content-Type: text/plain; charset="UTF-8" Hi! "ieure" on IRC #guix suggested I email this list to inquire about whether this bugfix was ever merged: https://lists.gnu.org/archive/html/bug-guix/2024-06/msg00145.html Currently the Guix installer is broken on WSL2 systems as a result of this bug. Applying the patch fixes it. - Diana --0000000000000e5ef3062efa61fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

"ieure" on IRC #gui= x suggested I email this list to inquire about whether this bugfix was ever= merged: https://lists.gnu.org/archive/html/bug-guix/2024-= 06/msg00145.html

Currently the Guix installer = is broken on WSL2 systems as a result of this bug. Applying the patch fixes= it.

- Diana
--0000000000000e5ef3062efa61fa-- From unknown Tue Sep 09 00:07:15 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: Nyi Nyi Zaw Subject: bug#71695: closed (Re: bug#71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE) Message-ID: References: <875xkui4rh.fsf@gmail.com> X-Gnu-PR-Message: they-closed 71695 X-Gnu-PR-Package: guix Reply-To: 71695@debbugs.gnu.org Date: Fri, 28 Feb 2025 13:23:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1740748983-13955-1" This is a multi-part message in MIME format... ------------=_1740748983-13955-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 71695@debbugs.gnu.org. --=20 71695: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71695 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740748983-13955-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 71695-done) by debbugs.gnu.org; 28 Feb 2025 13:22:03 +0000 Received: from localhost ([127.0.0.1]:47060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1to0JW-0003Yd-Nz for submit@debbugs.gnu.org; Fri, 28 Feb 2025 08:22:03 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:42107) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1to0JT-0003XP-E8 for 71695-done@debbugs.gnu.org; Fri, 28 Feb 2025 08:22:00 -0500 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2f9b9c0088fso3751903a91.0 for <71695-done@debbugs.gnu.org>; Fri, 28 Feb 2025 05:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740748913; x=1741353713; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=N5hiTscTHY520/i6YM/RJuvgff4u1XuZOs84ZUSMfRk=; b=UpI5IfDUWhFZcnu5tNcw29DjI0dYtg/tlk3Wk6GIFCTZommZAGMgfCAlz6d0C/Y4dz evvoDkTm3VjfsFGDFs/JPBfG/qtckbkvVPVFwcfq+GjSn8YwNR5ITw9vKXMn1yRGFHkV Aq/MWOUTovS5S9euseGhwrVlQl2ZUxH4eFKA+CsURECBf2EkHt4myAi5ZzogwcuQezd6 Tk8m/SDCJ1z2qYrJ8R9610pYiyVkz1gc1drpuok+DntdrxF5YFTWqWY8kkMwxX+4OC91 ZyJxk6L8VL8jFEstG1Ae+Cm1/X6H4nRBAMydl56dSkqB4iSfMMUC+PqqGMS94x2lQnEx l7gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740748913; x=1741353713; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=N5hiTscTHY520/i6YM/RJuvgff4u1XuZOs84ZUSMfRk=; b=WKfz01owXcWKPCI+W+aIFry5LSLVYbE4bleQ0/RBuGojVUX5Ykt26i1tHpgf2nNVoR xPsvJY5SeA3Xe3NtM0B8QQTjO8Am/sEXUWwu7WeR5V8OC2Byg0t0rnDu0Z6LgSgFgJPd fQne9IT/2MiB/+6iyM/PbusOYnQVnqG2u/WX+dXv8ndbFerTLqKQiSQYW2mxd1kDp7Le oM3okIRSPOWPXJ56CBWTGBsYNFMOrCknvYoM1jQWOJZmU5ZHl3KplP/NpMddWwgpOa7E mllqARCFwaR66lmAwYnhxt1JmqZ5RzSgc+nuQHAAi9G0UEmoWBpT55dRA1uATvi0b5f2 mzrQ== X-Gm-Message-State: AOJu0YxtqbH2Wx+ra5m9yBhZo7TOt5XTFR1zY2BkGKrw0dtu/2e/00C7 fCjDQYHYuN5IzlLqvKib8aR1gHnDbxMy1sgZunYEDxfxPIk547w+ X-Gm-Gg: ASbGncvKn7dFZi6Ss6IsqhfSNp3Pc6lBPGKGrHd7XOK7WHgEhfanI3MvhBWX2qjE8qo ydNhQlmjOj27/uIs2I4kPQi32P+eNZ88alWClj4HvbVnM7NRRE2LEF9TH10edeNJH4VWAHBQl/3 TLaGNvpwLoq0V6P/5yrrRFaJOy8ADnivdO6jyy9HPK3AmLj5F/zJShHS9MgGZzrmayMRjue1qAg UP1/ETEQTNk7XCz7r2eBxuaLkMBDuMScmpK534CHEeJBHw+feA0/CTD0I6t8LBcv+F3orXMRBeG nN9C/GMogFeBmHo70nCk+UzD X-Google-Smtp-Source: AGHT+IFnP7cRstMLX0R7c0/xZ9O0/pI53i8B+6LARAIKyVH3KmZUPqGGOEOgUa6spC9MABy2PKwA1A== X-Received: by 2002:a17:90a:d408:b0:2fa:603e:905c with SMTP id 98e67ed59e1d1-2fea12683b9mr12456942a91.2.1740748913053; Fri, 28 Feb 2025 05:21:53 -0800 (PST) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2fe825b7b10sm5735246a91.11.2025.02.28.05.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2025 05:21:51 -0800 (PST) From: Maxim Cournoyer To: Diana Belle Subject: Re: bug#71695: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE In-Reply-To: (Diana Belle's message of "Tue, 25 Feb 2025 08:58:49 -0800") References: Date: Fri, 28 Feb 2025 22:21:38 +0900 Message-ID: <875xkui4rh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71695-done Cc: 71695-done@debbugs.gnu.org, Nyi Nyi Zaw 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 (-) Hi, Diana Belle writes: > Hi! > > "ieure" on IRC #guix suggested I email this list to inquire about whether > this bugfix was ever merged: > https://lists.gnu.org/archive/html/bug-guix/2024-06/msg00145.html > > Currently the Guix installer is broken on WSL2 systems as a result of this > bug. Applying the patch fixes it. The above patch hadn't been merged; I've manually applied it now, in commit 99bf56fd50, already pushed. Let me know if something is still not working. -- Thanks, Maxim ------------=_1740748983-13955-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jun 2024 16:19:52 +0000 Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKgzP-0000QU-8q for submit@debbugs.gnu.org; Fri, 21 Jun 2024 12:19:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:52636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKbJC-00006w-Rg for submit@debbugs.gnu.org; Fri, 21 Jun 2024 06:15:55 -0400 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 1sKbJ8-0007qd-5u for bug-guix@gnu.org; Fri, 21 Jun 2024 06:15:50 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKbJ6-0006XE-84 for bug-guix@gnu.org; Fri, 21 Jun 2024 06:15:49 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1f6da06ba24so13679855ad.2 for ; Fri, 21 Jun 2024 03:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718964946; x=1719569746; darn=gnu.org; h=subject:from:content-language:to:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=UNCy0rQmnApLjvV+2JKAM7qJIVqrF2vkZE/H1BJ3oPI=; b=OPswSRY83GLTpXptSf1Y9Btdk8lY8/LEq+mFUJVjpOPLkG37u4fjolwzRVDIr7BLNQ Lal6tVCSeCvxCxpUTHrI0SuCA449rxxQUzxZMn39K5KagCW2EdBHAGyJhgGBZXqPYID+ fYd9Oqyq8G/2hG477BfCa4LVJ+xvN/k3SqkqA2+gTkvyOLJI+w82u2nQ04ycymg0UkVB J3YSHV4UGkLqgEnlkq9/m/GIY0CjQzGUifIQoPAgZLuNZz8FIe5lnKiucdxrMKMg+qBn ZyOY0kTl/ddKDHHDT+/jWXcs0W6h/65MVk9pQip8Mn3yzwbNFVrR4d2j8jP6luYncoKu fFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718964946; x=1719569746; h=subject:from:content-language:to:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UNCy0rQmnApLjvV+2JKAM7qJIVqrF2vkZE/H1BJ3oPI=; b=qKDCv9GBp0Pgg9W9bi/3FxaLJ4JCQ+TPk4M4cAqxZDgrpoSYkP5Ta5En66Ep39O0PO Vagb8ADrKx8Z34GqswKrwHFV4oLZJw5efUOJnC0TSKVGVtXmqB46iEOpg24oM+wFDp0k +02YX0ktl7Idw+w3BXDrw3yjpmm/gtfFCQIRe2kUjlKBomT3uQOUsEMYoRWpBB4/Rwtj pI9S5WBaLymeCa/T/1AR+AD4FHBLRqKO3pETdhVzV2pOO+lieBWMICnxgxOzwuUT5iS9 Zm9DEZMeHWCOaJFnecv8EruwH6hWseGydK2W47AFLR51VMbZFTnWtjJ1xEzS638oApRW vCjA== X-Gm-Message-State: AOJu0YyMlZo03XS0dtL8KJYjU6Oa2/W2NYAM87V3zQOUltYRk2rK4F+K hpdvjKHZ0H/oRqkTLWXarpww3RqesTgPRQMBLoX5Knz9AoAwW55VbAzId/153po= X-Google-Smtp-Source: AGHT+IGU9qAGv+ifLlkWG/uUTC9ATMIALjrFA41oNl/srCdPOdVtNhyQ1MngSctCz2trWl7Kg1fMBw== X-Received: by 2002:a17:902:e5c9:b0:1f5:e635:21fc with SMTP id d9443c01a7336-1f9aa3d3d54mr90116875ad.21.1718964945477; Fri, 21 Jun 2024 03:15:45 -0700 (PDT) Received: from [192.168.100.45] ([103.84.100.13]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb7d18basm10646595ad.233.2024.06.21.03.15.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jun 2024 03:15:45 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------C6RLYCE56bB0i0yzpFejERmr" Message-ID: Date: Fri, 21 Jun 2024 16:45:42 +0630 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-guix@gnu.org Content-Language: en-US From: Nyi Nyi Zaw Subject: guix-install.sh REQUIRE check for SYSV_INIT_REQUIRE Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=nyinyizaw.nav@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.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: Cause>> > >   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as > lowercase with dash >   which cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nyinyizaw.nav[at]gmail.com) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [103.84.100.13 listed in zen.spamhaus.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 21 Jun 2024 12:19:49 -0400 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.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: Cause>> > >   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as > lowercase with dash >   which cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nyinyizaw.nav[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [103.84.100.13 listed in zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a multi-part message in MIME format. --------------C6RLYCE56bB0i0yzpFejERmr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cause>> > >   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as > lowercase with dash >   which cause install script fails with sysv-init_REQUIRE[@]: invalid > variable name > ERROR>> > https://www.gnu.org/software/guix/ > This script installs GNU Guix on your system > To uninstall, pass in the '--uninstall' parameter. > Press return to continue... > [1718953785.295]: Starting installation (Fri Jun 21 01:39:45 PM +0630 > 2024) > [1718953785.306]: [ INFO ] init system is: sysv-init > ./guix-install.sh: line 164: sysv-init_REQUIRE[@]: invalid variable name Fix Patch >> Convert sysv-init to SYSV_INIT_REQUIRE to match with variable name >   --- guix-install.sh     2024-06-21 15:22:03.000000000 +0630 >   +++ guix-install-patched.sh     2024-06-21 16:09:17.454668652 +0630 >   @@ -157,7 +157,9 @@ > >   add_init_sys_require() >   { # Add the elements of FOO_INIT_SYS to REQUIRE >       -    local init_require="${INIT_SYS}_REQUIRE[@]" >       + # Convert INIT_SYS return string to uppercase and replace dash > with underscore >       +    local init_require="${INIT_SYS^^}_REQUIRE[@]" >       + init_require="${init_require//-/_}" > if[[ !-z "$init_require"]]; then > # Have to add piecemeal because ${!foo[@]} performs direct array key > # expansion, not indirect plain array expansion. --------------C6RLYCE56bB0i0yzpFejERmr Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Cause>>

                                                                                                                                         
                   MX linux 23.3(Debian 12.5 “bookworm” base) return sysv-init as lowercase with dash                                   
                   which cause install script fails with sysv-init_REQUIRE[@]: invalid variable name                                     
                                                                                                                                        

ERROR>>

                 https://www.gnu.org/software/guix/                                                                                      
                 This script installs GNU Guix on your system                                                                            
                 To uninstall, pass in the '--uninstall' parameter.                                                                      
                 Press return to continue...                                                                                             
                 [1718953785.295]: Starting installation (Fri Jun 21 01:39:45 PM +0630 2024)                                             
                 [1718953785.306]: [ INFO ] init system is: sysv-init                                                                    
                 ./guix-install.sh: line 164: sysv-init_REQUIRE[@]: invalid variable name                                               

Fix Patch >> Convert sysv-init to SYSV_INIT_REQUIRE to match with variable name

                   --- guix-install.sh     2024-06-21 15:22:03.000000000 +0630                                                           
                   +++ guix-install-patched.sh     2024-06-21 16:09:17.454668652 +0630                                                   
                   @@ -157,7 +157,9 @@                                                                                                   
                                                                                                                                         
                   add_init_sys_require()                                                                                                
                   { # Add the elements of FOO_INIT_SYS to REQUIRE                                                                       
                       -    local init_require="${INIT_SYS}_REQUIRE[@]"                                                                  
                       +    # Convert INIT_SYS return string to uppercase and replace dash with underscore                               
                       +    local init_require="${INIT_SYS^^}_REQUIRE[@]"                                                                
                       +    init_require="${init_require//-/_}"                                                                          
                       if [[ ! -z "$init_require" ]]; then                                                                               
                           # Have to add piecemeal because ${!foo[@]} performs direct array key                                          
                           # expansion, not indirect plain array expansion.                                                             

 


--------------C6RLYCE56bB0i0yzpFejERmr-- ------------=_1740748983-13955-1--