From unknown Thu Aug 14 12:23:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78882 <78882@debbugs.gnu.org> To: bug#78882 <78882@debbugs.gnu.org> Subject: Status: stty.c compilation error Reply-To: bug#78882 <78882@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:23:06 +0000 retitle 78882 stty.c compilation error reassign 78882 coreutils submitter 78882 Bruno Haible severity 78882 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 17:14:30 2025 Received: (at submit) by debbugs.gnu.org; 23 Jun 2025 21:14:30 +0000 Received: from localhost ([127.0.0.1]:59432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uToUn-0004jG-LF for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:14:30 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59896) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uToUk-0004iC-8h for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:14:27 -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 1uToUe-0001FJ-4T for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:14:20 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.216]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uToUa-0002bp-PG for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:14:19 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1750713246; cv=none; d=strato.com; s=strato-dkim-0002; b=kfAaAlMXBMJty/hFduUegQQI20geZAlut0mdf1rLDn3KXQNZhwt7A1yntHOG3kUlhF Jy68jjdqSDvBSzBFkZxKN2zqFrV53Eh6dPs+LiH9ypnV8nj6W4XeDligT/nJOtfYvSJF 2DH7aalyko7CckB3DjJuQBedohVzaZ6pm1yovMuhXOE/Mo4TxVY4xsqSlKLeNhY3bNNX VPx9RMRf0/KHkCw9biH5x3cDVqJ48luT/GA+lr7/lpA3syQTXGIU4l14ll86JwosVDDI DmQS9MGkxq+fk1V3/qy5oIcVPH8/Q5W1P2Pc2revIu4+3qyXlyPGjZ8i7FH0C6NE3v6u r9bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1750713246; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=JNXGPcLwb0DG3r/8O3rt4CW7NCBzVNxkYlmq28K2Uto=; b=bL5kuw3p/jHEKfZ0m9wM3/D5sGkmV0DjJQLuK1xUmKZ/IKWQeb/+vpVaEYJZfxFcSB OFKyXzibcpRnWapIXtxaV2ndhLAVF8ubGzbJWOPw9WyXQG8/PraYrG6yHGRiGDnRNEDO zsK+KacRpj4wKhSLyGp6laTMDavO1keUhsf0UyOiu2lDatPsNkA7ZrcPwEfcZi02N4xt bXANXmi93SXatMBl2ut56RTnPCwytxZiPXrLqUHrvjmdVjhuLB630Commi48ebkM8quC D+aG8qh1c0jTQAtVmf+sk2MnzR0/qulsiSi0TycwJEckBMUvOKBCIvza32J/im/NYU90 SmyQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1750713246; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=JNXGPcLwb0DG3r/8O3rt4CW7NCBzVNxkYlmq28K2Uto=; b=pGZBbz9oHlWZFFxhej4bqkgHJ5txTgs7aHRh46Jug9npQ3PMe6/hzVY8T2DkFd3g3C FcA7LNvBUHxNVmbx2i9lTHdnmw1SlnrHqwI4l/8KRZzfG82OFVq7JAFcGcNaP/xud074 6Rae4AZ3BmQIv6NX1UcCyM+pQWMzeYEpXOjQyTXhxeuUTd6ttt71hcMVUIc8iFBkogXS 3muWvqyzWv9B8CRhONdWvr4jSNWFmTMmhXY7VswChRFTQM93DErStPpOaynWPRhPIGtr kUC7P3ftrz+6TCFbQVm8NTTwSqFY30LrPT/h4D0NoE7JsPm2HNs+8ctTLSZPw/i/93aC YEsQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1750713246; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=JNXGPcLwb0DG3r/8O3rt4CW7NCBzVNxkYlmq28K2Uto=; b=L2ZuCUOKYTzcswXdTnU5IhqXKbTAqnCv1dqNJpVE2mNMnHhBZjuLpU7ll5IP+bxHlz PyNTOE4XqMtxAZpxwpDg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqjibHW73lOkh7BNGaIKC7XtCN6Y=" Received: from nimes.localnet by smtp.strato.de (RZmta 51.3.0 AUTH) with ESMTPSA id N7dcf815NLE6mEX (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 23 Jun 2025 23:14:06 +0200 (CEST) From: Bruno Haible To: bug-coreutils@gnu.org Subject: stty.c compilation error Date: Mon, 23 Jun 2025 23:14:05 +0200 Message-ID: <64848289.rAQPL4r5uZ@nimes> Organization: GNU MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2307601.vLCD2utjh1" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.216; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: "H. Peter Anvin" 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 (-) This is a multi-part message in MIME format. --nextPart2307601.vLCD2utjh1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi, The coreutils CI fails today on OpenBSD and Solaris. (The previous build, a week ago, succeeded.) Compilation error on OpenBSD: cc -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -I/usr/local/include -W= all -Wno-format-extra-args -Wno-implicit-const-int-float-conversion -Wno-t= autological-constant-out-of-range-compare -g -O2 -MT src/stty.o -MD -MP -MF= $depbase.Tpo -c -o src/stty.o ../src/stty.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../src/stty.c:2177: src/speedlist.h:156:4: error: unterminated conditional directive # ifdef B4000000n case 4000000: return B4000000;n# endif ^ src/speedlist.h:155:4: error: unterminated conditional directive # ifdef B3500000n case 3500000: return B3500000;n# endif ^ =2E.. Compilation error on Solaris 11.4: gcc -m64 -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -Wall -D_REENTRA= NT -g -O2 -MT src/stty.o -MD -MP -MF $depbase.Tpo -c -o src/stty.o ../src/= stty.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../src/stty.c:2177: src/speedlist.h: In function =E2=80=98baud_to_value=E2=80=99: src/speedlist.h:60:19: warning: extra tokens at end of #ifdef directive 60 | # ifdef B0n case B0: return 0;n# endif | ^~~~ src/speedlist.h:156: error: unterminated #ifdef 156 | # ifdef B4000000n case 4000000: return B4000000;n# endif src/speedlist.h:155: error: unterminated #ifdef =2E.. It looks like the 'speedgen' script, added in commit 357fda90d15fd3f7dba61e1ab322b183a48d0081, produces this invalid C code. With GNU sed: $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif= /' # ifdef B100 case B100: return 100; # endif With OpenBSD sed and Solaris sed: $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif= /' # ifdef B100n case B100: return 100;n# endif The attached patch fixes it. --nextPart2307601.vLCD2utjh1 Content-Disposition: attachment; filename="0001-build-Fix-compilation-error-on-OpenBSD-and-Solaris.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="x-UTF_8J"; name="0001-build-Fix-compilation-error-on-OpenBSD-and-Solaris.patch" >From 4be6c54b010b05b143ffcfd2368b634f20be4dad Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 23 Jun 2025 22:59:47 +0200 Subject: [PATCH] build: Fix compilation error on OpenBSD and Solaris * src/speedgen: Use 'printf', not 'sed', to emit code with newlines. --- src/speedgen | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/speedgen b/src/speedgen index f1647d9f0..d14ed3f6b 100755 --- a/src/speedgen +++ b/src/speedgen @@ -49,8 +49,9 @@ baud_to_value (speed_t speed) { EOF -sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif/' \ - < "$tmp" >> "$out" +while read n; do + printf '# ifdef B%s\n case B%s: return %s;\n# endif\n' "$n" "$n" "$n" +done < "$tmp" >> "$out" cat >> "$out" <<'EOF' default: return -1; @@ -72,8 +73,9 @@ value_to_baud (unsigned long int value) { EOF -sed -e 's/^.*$/# ifdef B&\n case &: return B&;\n# endif/' \ - < "$tmp" >> "$out" +while read n; do + printf '# ifdef B%s\n case %s: return B%s;\n# endif\n' "$n" "$n" "$n" +done < "$tmp" >> "$out" cat >> "$out" <<'EOF' default: return (speed_t) -1; -- 2.43.0 --nextPart2307601.vLCD2utjh1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 17:28:28 2025 Received: (at submit) by debbugs.gnu.org; 23 Jun 2025 21:28:28 +0000 Received: from localhost ([127.0.0.1]:59604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uToiJ-0006Um-LR for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:28:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57548) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uToiG-0006Tq-4L for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:28:24 -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 1uToiA-0004Nu-EM for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:28:18 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uToi8-0004JR-Gq for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:28:18 -0400 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-879d2e419b9so4068453a12.2 for ; Mon, 23 Jun 2025 14:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750714094; x=1751318894; darn=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=R72+U9Uu1afS1Y4RlrPleMqQle5YVBDAsgZXK656nhc=; b=FPqh8je8b/o+JaW7mpe91fe4x1Mo+PZUz5FAeBSFRg3UuKSOHwVvtuL3KE+5/wMQve MeP6A/n3v9+ENj2p4qrytkeQjPKD0orK69XknolAYg4X5OdxpDcJ0k3FCPb4DpRvG7Yn B+XolkZlm2AKOFxwneZW/Bgk2F0eGXnX9PtqH9Bb1aziOWsDtFTnTCE2BqqcguSckII3 Sf1GyoNRCXWhbtxT0/RXOP6wBmR+B4WDC5QkNefIWewPh0hO+NxqkAAHRnnJ8BZMARCx giWSWiZpe2nLFyqnL2n7unmPpAgWewk1ciWjs/6BulxQvYTacfvkiy7vhFCNJYes8miX uSww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750714094; x=1751318894; 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=R72+U9Uu1afS1Y4RlrPleMqQle5YVBDAsgZXK656nhc=; b=CP6fzyFfOOVtIoUJNaKOvY+F1uSGwaRUdAr0nvp0lvgiVyM5I4ErXgiZPENAZ84vWc 98hSCBqtWhGBD0/T7xi/2W0kEdcCrKRvzTuJRc9E4S8V5b7RhYcEFbUEshuBurIlHCPg zK1FmmljPtr6NG7tFz6xYY9eOmm2p9Ky1XQJexg/USTMjxin6Huc0wAizlnvUYwMTsdm iaqF8u9dWhnh2uRXbIG8iW6w8xtcuoq/0gDmKpcDTUb4x233v4xWj/YYOlzUvpI28nV0 RaXEdyRPJvdomhLAQD63s9W6ovdxoa/NS8gt42F8ugNDN3GsKndYQlSfjmEN6tH/ZqWD zYQg== X-Gm-Message-State: AOJu0Yx+mUzvMoCXsrF37yn9R/Gq0nofNnGpM05PGTbuic+Faz4lTBHc GUXgLbXPfY0g/MdE9UEsF/r5Ils4GKWD5phgs55Rklt8QDKGfc92uKi5+oh7GQ== X-Gm-Gg: ASbGncuWvDv1m+yUivNF1Moi6FcsYgmGfIvlSGzxnqdiqL6mJglCJgnoiNAWqHRozsf DR7rafDddZj5NgAtYW1+yFzkfd3ETIaBS1THRMfPjTpKp+kAnqhudCcsB6/01SP8iKwMgTe847P XxGeeoxAG68xjRH271Fyuuv042rvwsYsT1W1CQ01aN2Y/UnzHX7Rue1g1oYMfrDFS7ZCI8Dp3sr zeHrfEmXXr+CbQ/7v8cSz+R1Hve5P3Iiux9SK8V3xsuAWZ1BCYzSe5wzHIynSeHPbN+fp+FPoWD ny8K+63wUjGBMGtGJ9k2sdf62/UUXIwFSOmj7VmiLZWB9pmZYqMXrl4Qamlcgr2yvqtQchFNB1i sMEOa9v1AxYI7lqGxoWbPEAKg44kuS9OgeV6lN08= X-Google-Smtp-Source: AGHT+IF8cmBPuKvxNj03T4GaTcmvwrM2lwob49W0eSseCo1DP1XaM6YsmkXa90OPtgzAQupcLEdroQ== X-Received: by 2002:a17:90b:2dcd:b0:312:1508:fb4d with SMTP id 98e67ed59e1d1-3159d8fd1c0mr23634941a91.33.1750714094104; Mon, 23 Jun 2025 14:28:14 -0700 (PDT) Received: from XTHCYRY1WD-Collin-Funk (redis-162.tisch.gvad.net. [207.135.66.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3159df84850sm9801950a91.13.2025.06.23.14.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jun 2025 14:28:13 -0700 (PDT) From: Collin Funk To: Bruno Haible via GNU coreutils Bug Reports Subject: Re: bug#78882: stty.c compilation error In-Reply-To: <64848289.rAQPL4r5uZ@nimes> (Bruno Haible via's message of "Mon, 23 Jun 2025 23:14:05 +0200") References: <64848289.rAQPL4r5uZ@nimes> Date: Mon, 23 Jun 2025 14:28:12 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=collin.funk1@gmail.com; helo=mail-pg1-x52d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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.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: Hi Bruno, Bruno Haible via GNU coreutils Bug Reports writes: > It looks like the 'speedgen' script, added in commit > 357fda90d15fd3f7dba61e1ab322b183a48d0081, produces this invalid C code. > > With GNU sed: > > $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (collin.funk1[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (collin.funk1[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: submit Cc: 78882@debbugs.gnu.org, Bruno Haible , "H. Peter Anvin" 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 (/) Hi Bruno, Bruno Haible via GNU coreutils Bug Reports writes: > It looks like the 'speedgen' script, added in commit > 357fda90d15fd3f7dba61e1ab322b183a48d0081, produces this invalid C code. > > With GNU sed: > > $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif/' > # ifdef B100 > case B100: return 100; > # endif > > With OpenBSD sed and Solaris sed: > > $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif/' > # ifdef B100n case B100: return 100;n# endif > > The attached patch fixes it. Good catch, I fixed something similar in git a few weeks ago [1]. From the commit message: The OpenBSD 'sed' command does not support '\n' to represent newlines in sed expressions. This leads to the follow compiler error: In file included from builtin/help.c:15: ./config-list.h:282:18: error: use of undeclared identifier 'n' "gitcvs.dbUser",n "gitcvs.dbPass", ^ 1 error generated. gmake: *** [Makefile:2821: builtin/help.o] Error 1 Perhaps it is worth documenting somewhere? I think Autoconf's manual has a section of shell portability gotchas. Collin [1] https://github.com/git/git/commit/db170e18262ed10e5e9b7f3cbca6a0ac43267b20 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 17:58:59 2025 Received: (at submit) by debbugs.gnu.org; 23 Jun 2025 21:59:00 +0000 Received: from localhost ([127.0.0.1]:60002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTpBp-0001qf-Hh for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:58:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40568) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTpBk-0001p5-3U for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:58:54 -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 1uTpBe-0001PT-9Q for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:58:46 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uTpBc-0007Ie-1o for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:58:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1750715916; cv=none; d=strato.com; s=strato-dkim-0002; b=JPals/5k1ctoTKo/OVGAAa2r6ixQ5bfUvTIoGoGp+wHiYHqZXFoV3f4FBj/wxP0Och Wkl2ucNx5QmvwYnlmDCCA8X6OApm+ztZ6hv4LEjbuvRne/a9BfJeuDLps5YPjnKcl3Fb R4jglFwzpZOKTGBAJIfpcqq3Q0Vm0Odiac1Fv61NUxWlRtVQdTeZIpH72xj/MNd4LH+t +RHUklNERfvjMQuSMN0bLAsSum2pigp/S1gXGiu0OvLPjuIOIVgHaJoMYAfTty7TDl1m 6atSGjI1sC6KMAVyYjxr3KgAXRKDTdiwDv7lIi5BzvaO/bfxUtcqIsyboXEuS/+AFrFN 2aGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1750715916; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=RQplh4ZEcRnLeizZaKq2j0fpRVZj0PpzOGs+9BUqtCI=; b=dmMXFfuj8iYOVVQEPaRrvMlEhY16HRT61jDYJ3BDQvxrIhr9S5A4W2b5i+iI9YIJig oywF2H7I9B0L1IAUmMzYUZm/2ErE82FCepPSIQSiJjmDXcM2AvQ5A6LwYCvgEb7B0I4r YDNyy/mGfyGxcA/w5NHrXXDCOhwDs3ice26G1Z7kXpzkTsj8LVHXoCbgRrFyxvmoqihK Sy/aEUtmNBrOw1XnX++fAk60D8k6KBLmdvdB9YoJ4b6bjnvLifqWP9w585DnpeMlfedT y2GYKCT4hALLBhSAIYdy+xrpsnw84bxnDbK/Tmw3LwIKphP08+qL7Sg3/7/TnCCR/ftx 04GQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1750715916; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=RQplh4ZEcRnLeizZaKq2j0fpRVZj0PpzOGs+9BUqtCI=; b=IxZVpHSI/NG96EHkTJAC/QJm1Fex4p9C1rMx1E6CHAjF0F1ih7e2ME28uBAbFJPYmm aKZJEND9ziY06MqMt5ngHoK5AXqDVO3gya9Qq7858wNbOTTnjxK1pIokdDGW3SHAcD8T e8YaP9Jo+TTVMD1N99DVbDJD6FLSZt8EAmaTzJqh7aODaYTez9xOA3tsKLJ/2S5eR+IR D5SKMYpK9ngHTGOkAjOt+rQTJFQKRoojOQ57burj8QPwdTeOuUv/m1ybYK7RNLBrNRaJ GqWBnFMNDiocMVbxwj12kuhtF8rwFhzXkf7v3rrlaEZ7uC5ZqNsmXoGcMU1BfVrwq7Og kZhg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1750715916; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=RQplh4ZEcRnLeizZaKq2j0fpRVZj0PpzOGs+9BUqtCI=; b=kjt82zenLvIF3GXWo5xTXkEOiHf6DGf4IBN7e6lGVuceaVTV5avmDb9vmsfQn/ixzY /V5SNU+KryB9+mnThFBg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqjibHW73lOkh7BNGaIKC7XtCN6Y=" Received: from nimes.localnet by smtp.strato.de (RZmta 51.3.0 AUTH) with ESMTPSA id N7dcf815NLwamJB (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 23 Jun 2025 23:58:36 +0200 (CEST) From: Bruno Haible To: bug-coreutils@gnu.org, "H. Peter Anvin" Subject: Re: stty.c compilation error Date: Mon, 23 Jun 2025 23:58:36 +0200 Message-ID: <31838256.2dzg3u6YtW@nimes> Organization: GNU In-Reply-To: <01db49a5-1000-4b80-8bf5-8d5a2acb99b5@zytor.com> References: <64848289.rAQPL4r5uZ@nimes> <01db49a5-1000-4b80-8bf5-8d5a2acb99b5@zytor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.25; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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: -1.0 (-) H. Peter Anvin wrote: > Do the shells on these systems support $'\n' constants? Sure. Dollar-single-quote strings in sh are quote portable. > There is also the option of simply putting a newline in the string, I > believe. The best way to include a newline in a sed script is not to use a literal newline directly, but rather to use backslash-newline, and start a new -e argument for the second line. [1][2] But this is, IMO, an inordinate amount of workarounds, for using 'sed' on an input file that contains a list of numbers, one per line. It's better to put the 'sed' script in a separate file and invoke sed with one '-f' option instead of with several '-e' options. Another maintainable approach, which does not require a separate file, is the simple 'while' loop in the patch that I'm proposing. Bruno [1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sed.html [2] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Limitations-of-Usual-Tools.html From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 18:00:16 2025 Received: (at 78882-done) by debbugs.gnu.org; 23 Jun 2025 22:00:17 +0000 Received: from localhost ([127.0.0.1]:60016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTpD6-00023g-0E for submit@debbugs.gnu.org; Mon, 23 Jun 2025 18:00:16 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:50285) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uTpD2-0001zm-Ix for 78882-done@debbugs.gnu.org; Mon, 23 Jun 2025 18:00:13 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3a575a988f9so2310061f8f.0 for <78882-done@debbugs.gnu.org>; Mon, 23 Jun 2025 15:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750716006; x=1751320806; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=2gghvfmFjB1WbYyJ5jRYjuDv45oL+9tI1oCChXi8ADY=; b=kplY5v9db8kozbuFhn6fRjrSV+NkdBGaAfdij+l0SRdF5nOk5MXN+A+PMKpjt3547p YEXCR/iaswGv9pCFyQf8ZRcdWFGSv9hqD7FGA0mZQhbKiWA0x2IKzKWP9CawdWxOGJIr 4+QT6+zKvMWpf3YBzFHoR3qjkYnAq8vff0D59S2dwryyD80hXkQqD7VO8efj1b+KYoMR zw9w1faDKqGMnLDy9xrQeZkyp7owS8KZdlR8o7iM3AsoIouiVH7PFfc0077wYbmvWCoo qhDYUU4I1QUVTToJrKmiGyxIR1wp1O0+cp0WoXQ3VXwKUTA3SyzfjAy4Xl8eJXwPn8af wxGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750716006; x=1751320806; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2gghvfmFjB1WbYyJ5jRYjuDv45oL+9tI1oCChXi8ADY=; b=u0MxMfqnXSipr5QpPe2XlGUGS6BjGYrGXu2WOeCzRjhzPl3i9VB70GwG+S6c9TrAjt qMsNOYmTdk2CWLZMPNr1M06a+h0KIYB1VG58ptQ7dLOfus/8z+GaU4yDDULzOQ+K21Ln WyI/rhIwhuzGC+W+PHH8456WKVLdlI2qFteh2uLU9jK2oz4Ttilb4sn6pmvKZscXaa01 P849SNGxVM/xPjbUsEWuJEExkNE0rF7iqzNbSDIdhbOa8OoYBnCnGThVdm5Xgek8Cvho Jt2dvvI53LlGaDs/FEkiHLJXx9xChXbsoKTYmOVjaTM5dHUgGPegVHpInx5nEnV06Sqi wf3w== X-Forwarded-Encrypted: i=1; AJvYcCW1DanYs1oAXD9We++4+4pmZSnZFGrhN5zXyzEHDEjuKt4SgNjnIZ815r1BKOyBcpNkbMIMi+4ZrUxx@debbugs.gnu.org X-Gm-Message-State: AOJu0YyuVeRp/iAFcfPrvu4x0wHEMZqpMC7KKWDlDIcI21uUiGSdI+s5 o4mVdaDyT4vyPyEpj16Z3oJ7r69T5BHWP1Xn1SQfvHRq5b/EVzgOJBoi X-Gm-Gg: ASbGnctOJj5bDcUSBJ2zMmlJw7kUSkgvSms9EhmHCo0xL9hTCAYhNTbZeNFD4D7sUSh FdbMEk4D7jabGEw8CsyII2ksQleOBn2WEoXu0EC75JsNiS/w17329xTQPFJ2CWQSnzie8/3ODkb e9ZaYTfhOHHXbdvqGg73zJRcYMrqKKJ7BdKT0Xw6dtT1CCMXS9ZF5OIbr7huWJLK16IF0zg67ES Q5lNGYz6yx4MTaJPbAHEnpdH7r63ucmmpoYo+Wl5pEnUdk9YTCI7NpHOAk2JGS/C+Sdf44AHtEW jXhj1M7Pt5ql+b5ZvylMkar19DKtKLfaRouzKTbvHCTp8S/MFoPPHu+nxeJMBzszpaXkYaZqd8e Fky/XJpkTDGSDnAaxicDjt/REu3mkCTg842jXRlvDoQ== X-Google-Smtp-Source: AGHT+IFnGyShlPZ6+D5hTJB92qFN8zP6u82CFDom1Gh+5LrWVqpUA2YUHGM1CmuW8mKWZdRq+xTy9g== X-Received: by 2002:a05:6000:2503:b0:3a5:39d7:3f17 with SMTP id ffacd0b85a97d-3a6d12e68b2mr12336549f8f.47.1750716005997; Mon, 23 Jun 2025 15:00:05 -0700 (PDT) Received: from [192.168.1.31] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3a6e8051018sm234987f8f.16.2025.06.23.15.00.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jun 2025 15:00:05 -0700 (PDT) Message-ID: <1eaabf95-0023-45db-a25e-39bca5e90ab2@draigBrady.com> Date: Mon, 23 Jun 2025 23:00:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: bug#78882: stty.c compilation error To: Bruno Haible , 78882-done@debbugs.gnu.org References: <64848289.rAQPL4r5uZ@nimes> Content-Language: en-US From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <64848289.rAQPL4r5uZ@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78882-done Cc: "H. Peter Anvin" 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 23/06/2025 22:14, Bruno Haible via GNU coreutils Bug Reports wrote: > Hi, > > The coreutils CI fails today on OpenBSD and Solaris. (The previous build, > a week ago, succeeded.) > With OpenBSD sed and Solaris sed: > > $ echo 100 | sed -e 's/^.*$/# ifdef B&\n case B&: return &;\n# endif/' > # ifdef B100n case B100: return 100;n# endif > > The attached patch fixes it. Applied. Marking this as done. thanks! Padraig From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 18:01:27 2025 Received: (at submit) by debbugs.gnu.org; 23 Jun 2025 22:01:27 +0000 Received: from localhost ([127.0.0.1]:60042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTpEE-0002FU-KX for submit@debbugs.gnu.org; Mon, 23 Jun 2025 18:01:27 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49642) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTpEC-0002EO-2D for submit@debbugs.gnu.org; Mon, 23 Jun 2025 18:01:24 -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 1uTpDy-0001oE-Qn for bug-coreutils@gnu.org; Mon, 23 Jun 2025 18:01:15 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uTpDx-0007al-1w for bug-coreutils@gnu.org; Mon, 23 Jun 2025 18:01:10 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1750716059; cv=none; d=strato.com; s=strato-dkim-0002; b=Aj++U3GOVU9kaeFR06Q6CtTfIuGcbj19WjpHWJ6aUETMHfnzjSzlT4ElRqDvxrzyRl ruwzm0YuC7RIuQ+cuTxFossUTTSwwtrnOmmsv9uqGZX8ExBUqFxseCf8uPTFiGDhSEVS KppLWuLjqG6SrYhMa5d1nXzNdTLh5sGb6tGTGsqAOVMTHDpbYauA6NN78y8RtLq7mweK 7QK9VcYMA72DoUhJiiklfICOx0kKs/2eshYrsmrPr1QtlGAOMlbCCH0UWzrbUywoA4xB MGQgt0k390p7lSc3Vgnr2z5eaOycbAa02UnqecLr0gLN8g25CDqREzejvEvwh1mW7+ep gpJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1750716059; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=eWcdxnHBHcbthiWCeH8qhv0LGFcygEmHNZqa2xgle1U=; b=ByVS6x4BznRGJu3IG8QAusq+I7zSOhNj6rqi5B6SjLMhArWixfJKIm+PI/jKw8/bKP eWcPJWPFcRaPRZZBdDaYoRfM1go4rbmL8W8KDljOAF6CkCVvlRTqTEld7tXF9Dv3xQQT lcChjk8uwPpbJs0uKPq+j6pdT+o0vcuYp5wyzgOQo34QK+QuXUgyzenRbxujgeyqmjY9 gEws6N1omBRFQ7ynW0bU0LMsbsLGS3M7yLg+4s5uf3E1wcqUuIpaAt6MAIFcDuJut0YR 5TtfK6sBC+8/YVSz7gpPiFD50zJLQpsDlXZp72LkDhWmtL74wXMkC8oJrpgOux/vjzYf 7PTQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1750716059; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=eWcdxnHBHcbthiWCeH8qhv0LGFcygEmHNZqa2xgle1U=; b=SJ0MABKe9oxvBUa2qXPIzCBIZ7Gh9HLmSrWUyswunptYcNpfokRMML/7nca1TyFCCL 9IzlUkWwt0IHSDstBMobKCvliR4FftX1f55DK9JPxYK8S/FG+sep2D45C/w/eMsDOIP3 XxJgcp3N7ecvxuhd85d+3AAWS4caM9u+p2HIw39yAvxPMyKtqEhnrH26+qKeifuOQPic CVnEii/Gm1JVO+OM2Aq1IYEa5uhjPtNcMU1O3ILMaMIG5/uFIJcLVjxvIdP5odoxt5PY h89emoqXnNy0ROSM7rLGbSP3yTDR2W/tPLACBUxZ3qJqEmA5fb5txz3JWFQpfvzKrtb1 cu4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1750716059; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=eWcdxnHBHcbthiWCeH8qhv0LGFcygEmHNZqa2xgle1U=; b=Nzqxk7ZY/+FVLkd2JNwmrOjDxYbFqc4Zn1lyHcew1xJ8VIRf2/3iN9YQzlMj1O3tzm 3i0y0x7Kqp7kDm25TLDA== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqjibHW73lOkh7BNGaIKC7XtCN6Y=" Received: from nimes.localnet by smtp.strato.de (RZmta 51.3.0 AUTH) with ESMTPSA id N7dcf815NM0xmK5 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 24 Jun 2025 00:00:59 +0200 (CEST) From: Bruno Haible To: bug-coreutils@gnu.org, Collin Funk Subject: Re: bug#78882: stty.c compilation error Date: Tue, 24 Jun 2025 00:00:58 +0200 Message-ID: <16523247.WiZsEGxfJz@nimes> Organization: GNU In-Reply-To: References: <64848289.rAQPL4r5uZ@nimes> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.50; envelope-from=bruno@clisp.org; helo=mo4-p01-ob.smtp.rzone.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: 78882@debbugs.gnu.org, "H. Peter Anvin" 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 (-) Collin Funk wrote: > Perhaps it is worth documenting somewhere? I think Autoconf's manual has > a section of shell portability gotchas. Yes, I had the same thought. Done through . Bruno From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 20:27:35 2025 Received: (at submit) by debbugs.gnu.org; 24 Jun 2025 00:27:36 +0000 Received: from localhost ([127.0.0.1]:33810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTrVe-0003FX-2i for submit@debbugs.gnu.org; Mon, 23 Jun 2025 20:27:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48288) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTrVV-0003DZ-88 for submit@debbugs.gnu.org; Mon, 23 Jun 2025 20:27:27 -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 1uTrVP-0002HQ-IU for bug-coreutils@gnu.org; Mon, 23 Jun 2025 20:27:19 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uTrVK-0008LM-Sy for bug-coreutils@gnu.org; Mon, 23 Jun 2025 20:27:19 -0400 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-23649faf69fso48102365ad.0 for ; Mon, 23 Jun 2025 17:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750724832; x=1751329632; darn=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=IKgX5PCmpizmdho4LEQKq6ZB8VHmoH7pGWX2fZzERxo=; b=KWFYNaPT6au4fg6x1y0kdmTStYQA8r40hST2J9U3i3o77IcjKI8W7dwvhpSrEsVk4s bc9Kuaej5HzeciWyZ7XRSH7Z8do89SXP+B9GPz+WX5d4WWMun4SwEKn0MDDRhLJur+1P Cw+nf3MDAz1YblRGUlAOi8cegofp7KIO3G7v7yLX1YpOedz1qLSXgoPQHT6HIH9cZhLZ UgPJlxhYTdM9IGgknll7DzutwQZABSAHNrzksMwEmq7Qi/+NCfoKpH3/Cl844JT+tcut kwZhFgIYzXXVDSmJpcw1MhZ5S/xe/RlJUWP59KwH5NLIFHMErF29U8UOuzKOabRCXxCg w/8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750724832; x=1751329632; 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=IKgX5PCmpizmdho4LEQKq6ZB8VHmoH7pGWX2fZzERxo=; b=h58NxvVhpnB4OoJrzJueuiqG3zzBRDm04OrAXln1r+SlhdoxCbVefnpsNR/9KgMsyY FXu95OXQqofRxVYCJ5UJ5iqVE17g92GAOzAHlfyH3ITWuZyeRv/XiPceomRBxRfoteHI 3dFQYRaX/nNimKa1h5RUipRPU4AzuqF6N4UIhRtycD01Kk0ULvT5JIHLfFgLEZlgfhjX WdNOW3LZxuBvtOdrQA4T873iLVe1DXFFhqe72OqRzA2o/kjmrvwRd4tzQ0rUiQa6vP1l s34YCOQHa4qjgUIlKTKI43+vSBLAIIkaYhU4UI96EGc3D+c7x4OlTeW55TuE0MO3nEC4 DaGw== X-Gm-Message-State: AOJu0Yygx3X7lDwWED6h6DIlFbws70bkTmvzoJlKK6iCW94n9at+pbcc bCM70dE/Wy5D9KzoYAZfpaepTE+j9N8VRO88qdnVgNrXrrjwW2kO0bu4wSefFA== X-Gm-Gg: ASbGncutNbwlK6V2wEnvY3pMH3lLc0kOZt29AzOksgGFV8HRIZitw/r4bmk0T3hGYNW G5dUy1YtJQVJhTjbPfVryMO1GTYDJ5jFsVEUd1vAoDagCTDOd0pDrTlEKNBs/XBbj4bgrCs8iSZ Wp5IXMAM6frYcSIokjyNYcRcyXsu/CJzaaBkf+0xGYKEFHVufHFeNnTXGxZ2tqrzE6BWeU6xSU2 +TYz6aIGqElPKgQTguTbaGIHOwEk9yQqBqyKQMb97iGM0a8FVJXKq6mYguILy3jlhgtwgoLkblr tgkhqwoRKyIn7WK5BFg4PGtc9PR6iyeJpeDbp7Ux9p4= X-Google-Smtp-Source: AGHT+IGIwTudWiebVaR4KSuOLM0bb77Df/B9v6mnempSv9a5ySZeUXBNbcRnA5d6lx6ahwaYOupoNA== X-Received: by 2002:a17:903:1b48:b0:236:9d66:ff24 with SMTP id d9443c01a7336-237d9775b0emr170848175ad.8.1750724832312; Mon, 23 Jun 2025 17:27:12 -0700 (PDT) Received: from fedora ([2601:646:8081:3770::1707]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-237d8393249sm92383565ad.14.2025.06.23.17.27.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jun 2025 17:27:11 -0700 (PDT) From: Collin Funk To: Bruno Haible Subject: Re: bug#78882: stty.c compilation error In-Reply-To: <16523247.WiZsEGxfJz@nimes> References: <64848289.rAQPL4r5uZ@nimes> <16523247.WiZsEGxfJz@nimes> Date: Mon, 23 Jun 2025 17:27:11 -0700 Message-ID: <87v7omhtls.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=collin.funk1@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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.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: Bruno Haible writes: > Yes, I had the same thought. Done through > . Thanks! That looks good. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (collin.funk1[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (collin.funk1[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: submit Cc: 78882@debbugs.gnu.org, bug-coreutils@gnu.org, "H. Peter Anvin" 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 (/) Bruno Haible writes: > Yes, I had the same thought. Done through > . Thanks! That looks good. Collin From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 24 03:21:35 2025 Received: (at submit) by debbugs.gnu.org; 24 Jun 2025 07:21:35 +0000 Received: from localhost ([127.0.0.1]:38496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTxyH-00049t-WF for submit@debbugs.gnu.org; Tue, 24 Jun 2025 03:21:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42080) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTopH-0007SS-Iz for submit@debbugs.gnu.org; Mon, 23 Jun 2025 17:35:40 -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 1uTop9-0006Gu-7G for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:35:32 -0400 Received: from terminus.zytor.com ([2607:7c80:54:3::136] helo=mail.zytor.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uToou-0005E6-H3 for bug-coreutils@gnu.org; Mon, 23 Jun 2025 17:35:19 -0400 Received: from [IPV6:2601:646:8081:9482:eb50:9bbc:f4fe:cc43] ([IPv6:2601:646:8081:9482:eb50:9bbc:f4fe:cc43]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 55NLZ8BD1092695 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 23 Jun 2025 14:35:08 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 55NLZ8BD1092695 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025062101; t=1750714509; bh=YYY0HHdqUUm/i3hSVg445r/cFmj8jo2ouxpW5HSE7OI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lISRm5ofNpmZv5dhmLWJMD1tO6X3yFOxgdFabpo1ZlM9Rth91/ijtwU6oYQ3Ta2Ns BZbyHHRWsV/JVuWyHf3NXrWhGJpCJmY/vzhHza1wgCwc9y33I4ckf2XQ3FEYL/UtCO +vDjpHveqG59QkyDoqWM8BsFOAyX2KGrdi1R4fH5Rsj06EqWsEHCXl8lsdv31FDWCd hi3rtHiiZEOitBwDglc/WWPAK6cpN6I7/7xx2t1boZlklN4D7dkJds4yDHqQ0Lbind s8P/WBM7KvbB3BKWNCOAf5YqGry4VdYbtsJ0sZ1aiM1uw0Ji3y31tbC88k/rylSXOK KY/rBOdc7z5MQ== Message-ID: <01db49a5-1000-4b80-8bf5-8d5a2acb99b5@zytor.com> Date: Mon, 23 Jun 2025 14:35:03 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: stty.c compilation error To: Bruno Haible , bug-coreutils@gnu.org References: <64848289.rAQPL4r5uZ@nimes> Content-Language: en-US From: "H. Peter Anvin" In-Reply-To: <64848289.rAQPL4r5uZ@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:7c80:54:3::136; envelope-from=hpa@zytor.com; helo=mail.zytor.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 24 Jun 2025 03:21:33 -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.0 (-) On 2025-06-23 14:14, Bruno Haible wrote: > > The coreutils CI fails today on OpenBSD and Solaris. (The previous build, > a week ago, succeeded.) > Do the shells on these systems support $'\n' constants? There is also the option of simply putting a newline in the string, I believe. -hpa From unknown Thu Aug 14 12:23:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Jul 2025 11:24:08 +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