From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix Janda Newsgroups: gmane.emacs.bugs Subject: bug#70484: Fix compatibility of build-aux/make-info-dir script Date: Sat, 20 Apr 2024 19:05:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11489"; mail-complaints-to="usenet@ciao.gmane.io" To: 70484@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 20 23:17:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ryI50-0002oD-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Apr 2024 23:17:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryI4p-0007jv-8t; Sat, 20 Apr 2024 17:16:51 -0400 Original-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 1ryI4n-0007iZ-HY for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 17:16:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryI4n-0005wn-3u for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 17:16:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryI51-0007NQ-Vw for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 17:17:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Felix Janda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2024 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70484 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171364778528117 (code B ref -1); Sat, 20 Apr 2024 21:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Apr 2024 21:16:25 +0000 Original-Received: from localhost ([127.0.0.1]:38227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryI4O-0007JR-Rn for submit@debbugs.gnu.org; Sat, 20 Apr 2024 17:16:25 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:60626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryG2i-0006B7-S2 for submit@debbugs.gnu.org; Sat, 20 Apr 2024 15:06:34 -0400 Original-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 1ryG2N-00047h-Q2 for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 15:06:12 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryG2J-0001GR-Cu for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 15:06:11 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A0DC0240101 for ; Sat, 20 Apr 2024 21:06:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1713639963; bh=XJbB8hUQTdaHo6hGNaD3+otd//sSMhSQdPbrNs00Phs=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:From; b=QA2bHIBKuE/tcNWmCQZb8J0Gbl4DWKhNAL6AaCvxMLEaKefRR1IHM3O46wsfpj904 y4GsDoKx3A/TXfnNPnKiyV3+u52306UT7wf6ahM/ihguhKMRydhMfejBb/2eQQThvj eBdDjm6qsE0T09eedU1bSARaXC8U276qH4z3+SalbguWW5pH7zDgZ4svOPmz6xnfMb ZL4q0a7RqYx4UIOimMd9t8LJvKxrXxHvsWK0V/PaznM/qmm5xk5lERxEd4w+AM+fft 0mbwG+pE69PNtWcKIFwFrUDd6RTvqv215ZiDK9YKgsyQQiRo6DgNyK3V34G1TRBjko O1jcGrr2Bzybg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VMLZf1N4sz9rxL for ; Sat, 20 Apr 2024 21:06:01 +0200 (CEST) Content-Disposition: inline Received-SPF: pass client-ip=185.67.36.66; envelope-from=felix.janda@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 20 Apr 2024 17:16:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283745 Archived-At: Hi, I'm reporting the bug in the build scripts: https://bugs.gentoo.org/930086 To summarize, the build-aux/make-info-dir script uses the substitution ${@?}, which is incompatible with mksh (and possibly other shells) and undefined behavior in the proposed next POSIX standard. A possible fix is to check $# at the beginning of the script, and then simplify the rest of the script. Felix