GNU bug report logs - #31900
typo in libtool.m4 file (wrong -L/-R detection)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Igor Rondarev <igor.rondarev@HIDDEN>; dated Tue, 19 Jun 2018 13:39:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jun 2018 13:38:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 19 09:38:48 2018
Received: from localhost ([127.0.0.1]:56031 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fVGqN-0000Oc-Q3
	for submit <at> debbugs.gnu.org; Tue, 19 Jun 2018 09:38:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55207)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <igor.rondarev@HIDDEN>) id 1fVFfj-00073J-9F
 for submit <at> debbugs.gnu.org; Tue, 19 Jun 2018 08:23:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <igor.rondarev@HIDDEN>) id 1fVFfd-00025u-1N
 for submit <at> debbugs.gnu.org; Tue, 19 Jun 2018 08:23:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50010)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <igor.rondarev@HIDDEN>)
 id 1fVFfc-00025o-Tm
 for submit <at> debbugs.gnu.org; Tue, 19 Jun 2018 08:23:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46178)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <igor.rondarev@HIDDEN>) id 1fVFfb-0002oE-KI
 for bug-libtool@HIDDEN; Tue, 19 Jun 2018 08:23:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <igor.rondarev@HIDDEN>) id 1fVFfa-00025H-H5
 for bug-libtool@HIDDEN; Tue, 19 Jun 2018 08:23:35 -0400
Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:44697)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <igor.rondarev@HIDDEN>)
 id 1fVFfa-00024n-Bs
 for bug-libtool@HIDDEN; Tue, 19 Jun 2018 08:23:34 -0400
Received: by mail-qk0-x231.google.com with SMTP id 185-v6so11193388qkk.11
 for <bug-libtool@HIDDEN>; Tue, 19 Jun 2018 05:23:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=9hqvzh/GGqpvrTpEko+D0KuX6K4bSLUx/lntlG/s6+8=;
 b=U8MsnXgnSvdkLN89MesEfs350mB/ZxK96pLyQnAjA0PN4glKB/JSBR1W1rBRFK/oHs
 xIjIO+DOAdvCFRggNTmAT4tecSRgu2KTjOJlkn3Zwp7MknvzAWAxwrr5we1iuz0M2TdE
 OTqvVbqaos/UywxFzp9DPtvbObMhhHA1J9cFJD9I5s2jaI4wqWFLPetWUFsjHUyGHjbU
 3hLBZiSfgQLftKuqqvGjQFEpRQ0LulFAnXriQ7cG9/VQslih2SZtUDwQEfberPnOYJyG
 2lDj+2PpnAipvfRCghAcz/QDq7a0uNKdzyLGyleccOIVkPPcQnguHC1OXXOIS5Gk0APT
 RAqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=9hqvzh/GGqpvrTpEko+D0KuX6K4bSLUx/lntlG/s6+8=;
 b=KKfcOoSFOUxUdkrIIbk0pU6iKWrbKWC7xRallHgyyDF/uh7DfWNo3OTQECyXv09oBP
 /yUoIGzNlFTTERu7qsm+lrx1SSzO69E39JHRbOa5Hmr5iWgyvJe0Dnaao3CH/hVH8Chv
 E1AVdirtSYISXW59xk7RMoGLO8UAGNPikqheCPekOAXkaX6YF++2jVviJKZrP02m1t1r
 st3MOV92NFf7UrrOX9HhHcyHLCrJGya7mZarMduxiO4FTdyH+GTZ5KbfMk8r2JfES+C9
 9LhGsEwstv3rx+CZuHWu6jDS4mRIuEhv+02/vpHA9ABKiUCqJbHSlfBXGdPdmGcObhd/
 FuMQ==
X-Gm-Message-State: APt69E2f7duQNEtMWHsz3q9UJ6gLa/jXAKq+FObek2IPyKd4I5KPsvrt
 nX9Rl21o2Sp6E4ApTQjpA+rgbswRN7vyN26Yx50Lhw==
X-Google-Smtp-Source: ADUXVKK8leloFRZkZma8t9PZHSUHKPd7HAQTDjN8rlvbdR4CnIimsKLLe0B1bYWviU+9kDF7O5ateH20Q/Dqc0ToP88=
X-Received: by 2002:a37:4c47:: with SMTP id
 z68-v6mr13198521qka.233.1529411012101; 
 Tue, 19 Jun 2018 05:23:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac8:7396:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 05:23:31
 -0700 (PDT)
From: Igor Rondarev <igor.rondarev@HIDDEN>
Date: Tue, 19 Jun 2018 15:23:31 +0300
Message-ID: <CA+mp+ZSB=Ydb1zVxRzdLB2sdh2xZChAdjhE5cjbv8QFaWKi-4Q@HIDDEN>
Subject: typo in libtool.m4 file (wrong -L/-R detection)
To: bug-libtool@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000178ac9056efdc09d"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 19 Jun 2018 09:38:46 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--000000000000178ac9056efdc09d
Content-Type: text/plain; charset="UTF-8"

Dear libtool maintenance team!

Please note that m4/libtool.m4 file (starting from 2.4.2.418) has incorrect
string comparition that leads to wrong behaviour related to default library
paths.

See m4/libtool.m4 at string 7559 (
http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n7559)

# Some compilers place space between "-{L,R}" and the path.
       # Remove the space.
       if test x-L = "$p" ||
          test x-R = "$p"; then
	 prev=$p
	 continue


Both tests are being performed without 'x' in right parts (i.e. "$p"
instead of "x$p"), what makes them always false.

Hope this information is helpful.

Best regards,
Igor.

--000000000000178ac9056efdc09d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear libtool maintenance team!<div><br></div><div>Please n=
ote that m4/libtool.m4 file (starting from 2.4.2.418) has incorrect string =
comparition that leads to wrong behaviour related to default library paths.=
</div><div><br></div><div>See m4/libtool.m4 at string 7559 (<a href=3D"http=
://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n7559">http://g=
it.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n7559</a>)</div><di=
v><br></div><div><pre style=3D"padding:0px;margin:0px;color:rgb(0,0,0);font=
-size:13.3333px;background-color:rgb(255,255,255);text-decoration-style:ini=
tial;text-decoration-color:initial"><code># Some compilers place space betw=
een &quot;-{L,R}&quot; and the path.
       # Remove the space.
       if test x-L =3D &quot;$p&quot; ||
          test x-R =3D &quot;$p&quot;; then
	 prev=3D$p
	 continue</code></pre></div><div><br></div><div>Both tests are being perfo=
rmed without &#39;x&#39; in right parts (i.e. &quot;$p&quot; instead of &qu=
ot;x$p&quot;), what makes them always false.<br></div><div><br></div><div>H=
ope this information is helpful.</div><div><br></div><div>Best regards,</di=
v><div>Igor.</div><div><br></div><div><br></div></div>

--000000000000178ac9056efdc09d--




Acknowledgement sent to Igor Rondarev <igor.rondarev@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#31900; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.