From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 739563858D28; Sun, 5 Mar 2023 02:44:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 739563858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677984260; bh=URF6fusOfKDdYbe6SY9UBwFSlfxSR5ASjiLDKOHJrsE=; h=From:To:Subject:Date:From; b=FHCx8OTdW5yYIyXqP0wJsJnB1ni/RPtdrYkkfTnBU4LpG5V8wlhMP17a8iTCLfpy8 W5arT/NjofK9Ds22yDg3H3wwEjlY7TdUqELHvGI68B7IioKix7wb9F3gtG+ia2Rioa Mu+ABt1H4O26vdKFfedqe/qWKCxb16gUQHHNaPYU= From: "sourceware at mattwhitlock dot name" To: elfutils-devel@sourceware.org Subject: [Bug general/30196] New: [0.189 regression] configure.ac contains Bashisms Date: Sun, 05 Mar 2023 02:44:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sourceware at mattwhitlock dot name X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30196 Bug ID: 30196 Summary: [0.189 regression] configure.ac contains Bashisms Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: general Assignee: unassigned at sourceware dot org Reporter: sourceware at mattwhitlock dot name CC: elfutils-devel at sourceware dot org Target Milestone: --- Created attachment 14729 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14729&action=3Ded= it elfutils-0.189-fix-configure-bashisms.patch Autoconf scripts are supposed to be written in POSIX-compatible shell langu= age. elfutils commits 0ffe2874e75d48cb88936e119e5284ff2bf664d9 and 3fa98a6f29b0f370e32549ead7eb897c839af980 introduced Bashisms to configure.ac that cause errors when /bin/sh is not Bash. Example error when /bin/sh is Dash: ./configure: 8748: test: xyes: unexpected operator The cause of the error is the use of a non-existent =3D=3D operator in expr= essions passed to the 'test' built-in command. POSIX shell specifies only an =3D op= erator for testing string equality. Please make the corrections indicated in the attached patch. --=20 You are receiving this mail because: You are on the CC list for the bug.=