bug#79468: libtool-2.6.0 released [alpha]

Frederic Berat via bug-libtool via Bug reports for the GNU libtool shared library maintenance tool <[email protected]> Tue, 30 Sep 2025 16:04:52 +0200
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <CAObJKZreXy6dYJW2ps--nOsPGknxFLMNHGsNS0GAjoT7kat8-A@mail.gmail.com>
--0000000000000d64780640053d0d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 29, 2025 at 9:12=E2=80=AFPM Ileana Dumitrescu <
[email protected]> wrote:

> On 24/09/2025 12:41, Frederic Berat wrote:
> >
> >
> > On Thu, Sep 18, 2025 at 5:05=E2=80=AFPM Ileana Dumitrescu
> > <[email protected] <mailto:[email protected]>>
> wrote:
> >
> >     Libtoolers!
> >
> >     The Libtool Team is pleased to announce the release of libtool
> 2.6.0, a
> >     alpha release.
> >
> >
> > Hello,
> >
> > I don't know why it didn't get caught earlier, but I got the
> > following error while testing 2.6.0 in Fedora:
> >
> > disable-static --disable-sctp
> > configure: WARNING: unrecognized options: --disable-dependency-tracking
> > ./configure: line 4399: syntax error near unexpected token `)'
> > ./configure: line 4399: `])])'
> > error: Bad exit status from /var/tmp/rpm-tmp.oz58QM (%build)
>
> Thank you for testing in Fedora!
>
> > May you have a look and fix that ?
>
> I am also surprised this did not cause errors in other GNU/Linux
> systems, but it has been fixed in the development branch on Savannah now
> along with another Objective C++ bug [1].
>
> > For now that's the most obvious problem I found, I'm double checking
> > other errors.
>
> I hope for no more bugs, but I happy to fix any more you find :)
>

So far nothing obvious, the failures I've found seem to be problems in the
corresponding packages.

One because it modifies libtool (through sed) and the modifications aren't
compatible anymore (and likely not needed anyway).
The other has "-Werror=3Dmaybe-uninitialized" errors that seem to always ha=
ve
been there but weren't uncovered so far.


>
> [1]
>
> https://cgit.git.savannah.gnu.org/cgit/libtool.git/commit/?h=3Ddevelopmen=
t&id=3Dbbcb9b23c65ec52f4c39858ddd8d50c2818d69bd
>
>
Hmm, looks like the fix isn't complete:

+ ./configure --build=3Dx86_64-redhat-linux --host=3Dx86_64-redhat-linux
--program-prefix=3D --disable-dependency-tracking --prefix=3D/usr
--exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/bin --sysconfdir=
=3D/etc
--datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64
--libexecdir=3D/usr/libexec --localstatedir=3D/var --runstatedir=3D/run
--sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/shar=
e/info
--includedir=3D/usr/include/apr-1
--with-installbuilddir=3D/usr/lib64/apr-1/build --with-devrandom=3D/dev/ura=
ndom
--disable-static --disable-sctp
configure: WARNING: unrecognized options: --disable-dependency-tracking
./configure: line 4403: syntax error near unexpected token `)'
./configure: line 4403: `])'
error: Bad exit status from /var/tmp/rpm-tmp.HQAsTL (%build)

Both `])` needed to be removed, as the closure is done one line later:

I could properly rebuild `apr` with the following (on top of the
development branch):

git diff m4/libtool.m4
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index b758ae5a60ef4454..2f5d0e3ca2c706cd 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -8671,7 +8671,7 @@ AC_DEFUN([LT_PROG_OBJC],
   if test Xgnustep-config =3D X"$GNUSTEP_CONFIG"; then
     test set =3D "${OBJCFLAGS+set}" || OBJCFLAGS=3D"`gnustep-config
--objc-flags`"
   fi
-  AC_SUBST(OBJCFLAGS)])[]dnl
+  AC_SUBST(OBJCFLAGS)[]dnl
 ])

 # LT_PROG_OBJCXX
@@ -8682,7 +8682,7 @@ AC_DEFUN([LT_PROG_OBJCXX],
   if test Xgnustep-config =3D X"$GNUSTEP_CONFIG"; then
     test set =3D "${OBJCXXFLAGS+set}" || OBJCXXFLAGS=3D"`gnustep-config
--objc-flags`"
   fi
-  AC_SUBST(OBJCXXFLAGS)])[]dnl
+  AC_SUBST(OBJCXXFLAGS)[]dnl
 ])

 # LT_PROG_GCJ




> --
> Ileana Dumitrescu
>
> GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
>
>

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 29,=
 2025 at 9:12=E2=80=AFPM Ileana Dumitrescu &lt;<a href=3D"mailto:ileanadumi=
[email protected]">[email protected]</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">On 24/09/2025 12:41, Freder=
ic Berat wrote:<br>
&gt; <br>
&gt; <br>
&gt; On Thu, Sep 18, 2025 at 5:05=E2=80=AFPM Ileana Dumitrescu <br>
&gt; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a> &lt;mailto:<a href=3D"mailto:ileanadumitre=
[email protected]" target=3D"_blank">[email protected]</a>&gt;&gt;=
 wrote:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Libtoolers!<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0The Libtool Team is pleased to announce the release=
 of libtool 2.6.0, a<br>
&gt;=C2=A0 =C2=A0 =C2=A0alpha release.<br>
&gt; <br>
&gt; <br>
&gt; Hello,<br>
&gt; <br>
&gt; I don&#39;t know why it didn&#39;t get caught earlier, but I got the <=
br>
&gt; following=C2=A0error while testing 2.6.0 in Fedora:<br>
&gt; <br>
&gt; disable-static --disable-sctp<br>
&gt; configure: WARNING: unrecognized options: --disable-dependency-trackin=
g<br>
&gt; ./configure: line 4399: syntax error near unexpected token `)&#39;<br>
&gt; ./configure: line 4399: `])])&#39;<br>
&gt; error: Bad exit status from /var/tmp/rpm-tmp.oz58QM (%build)<br>
<br>
Thank you for testing in Fedora!<br>
<br>
&gt; May you have a look and fix that ?<br>
<br>
I am also surprised this did not cause errors in other GNU/Linux<br>
systems, but it has been fixed in the development branch on Savannah now<br=
>
along with another Objective C++ bug [1].<br>
<br>
&gt; For now that&#39;s the most obvious problem I found, I&#39;m double ch=
ecking <br>
&gt; other errors.<br>
<br>
I hope for no more bugs, but I happy to fix any more you find :)<br></block=
quote><div><br></div><div>So far nothing obvious, the failures I&#39;ve fou=
nd seem=C2=A0to be problems in the corresponding packages.</div><div><br></=
div><div>One because it modifies libtool (through sed) and the modification=
s aren&#39;t compatible anymore (and likely not needed anyway).<br></div><d=
iv>The other has &quot;-Werror=3Dmaybe-uninitialized&quot; errors that seem=
 to always have been there but weren&#39;t uncovered so far.=C2=A0</div><di=
v>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
[1] <br>
<a href=3D"https://cgit.git.savannah.gnu.org/cgit/libtool.git/commit/?h=3Dd=
evelopment&amp;id=3Dbbcb9b23c65ec52f4c39858ddd8d50c2818d69bd" rel=3D"norefe=
rrer" target=3D"_blank">https://cgit.git.savannah.gnu.org/cgit/libtool.git/=
commit/?h=3Ddevelopment&amp;id=3Dbbcb9b23c65ec52f4c39858ddd8d50c2818d69bd</=
a><br>
<br></blockquote><div><br></div><div>Hmm, looks like the fix isn&#39;t comp=
lete:<br><br><div style=3D"margin-left:40px">+ ./configure --build=3Dx86_64=
-redhat-linux --host=3Dx86_64-redhat-linux --program-prefix=3D --disable-de=
pendency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin =
--sbindir=3D/usr/bin --sysconfdir=3D/etc --datadir=3D/usr/share --includedi=
r=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --locals=
tatedir=3D/var --runstatedir=3D/run --sharedstatedir=3D/var/lib --mandir=3D=
/usr/share/man --infodir=3D/usr/share/info --includedir=3D/usr/include/apr-=
1 --with-installbuilddir=3D/usr/lib64/apr-1/build --with-devrandom=3D/dev/u=
random --disable-static --disable-sctp<br>configure: WARNING: unrecognized =
options: --disable-dependency-tracking<br>./configure: line 4403: syntax er=
ror near unexpected token `)&#39;<br>./configure: line 4403: `])&#39;<br>er=
ror: Bad exit status from /var/tmp/rpm-tmp.HQAsTL (%build)<br></div><br></d=
iv><div>Both `])` needed to be removed, as the closure is done one line lat=
er:<br><br></div><div>I could properly rebuild `apr` with the following (on=
 top of the development branch):<br><span style=3D"font-family:monospace"><=
br>git diff m4/libtool.m4<br>diff --git a/m4/libtool.m4 b/m4/libtool.m4<br>=
index b758ae5a60ef4454..2f5d0e3ca2c706cd 100644<br>--- a/m4/libtool.m4<br>+=
++ b/m4/libtool.m4<br>@@ -8671,7 +8671,7 @@ AC_DEFUN([LT_PROG_OBJC],<br>=C2=
=A0 =C2=A0if test Xgnustep-config =3D X&quot;$GNUSTEP_CONFIG&quot;; then<br=
>=C2=A0 =C2=A0 =C2=A0test set =3D &quot;${OBJCFLAGS+set}&quot; || OBJCFLAGS=
=3D&quot;`gnustep-config --objc-flags`&quot;<br>=C2=A0 =C2=A0fi<br>- =C2=A0=
AC_SUBST(OBJCFLAGS)])[]dnl<br>+ =C2=A0AC_SUBST(OBJCFLAGS)[]dnl<br>=C2=A0])<=
br>=C2=A0<br>=C2=A0# LT_PROG_OBJCXX<br>@@ -8682,7 +8682,7 @@ AC_DEFUN([LT_P=
ROG_OBJCXX],<br>=C2=A0 =C2=A0if test Xgnustep-config =3D X&quot;$GNUSTEP_CO=
NFIG&quot;; then<br>=C2=A0 =C2=A0 =C2=A0test set =3D &quot;${OBJCXXFLAGS+se=
t}&quot; || OBJCXXFLAGS=3D&quot;`gnustep-config --objc-flags`&quot;<br>=C2=
=A0 =C2=A0fi<br>- =C2=A0AC_SUBST(OBJCXXFLAGS)])[]dnl<br>+ =C2=A0AC_SUBST(OB=
JCXXFLAGS)[]dnl<br>=C2=A0])<br>=C2=A0<br>=C2=A0# LT_PROG_GCJ</span><br><br>=
<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
">
-- <br>
Ileana Dumitrescu<br>
<br>
GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354<br>
<br>
</blockquote></div></div>

--0000000000000d64780640053d0d--