AC_PROG_LIBTOOL expands to the code wich always checks for g++/g77 and its
In gcc-3.3 series, preprocessor tries to use the corresponding driver, which results
to failure if g++/g77 is not installed.
That is, after upgrading to gcc-3.3.2, both g++ and g77 are strongly
required for every program which uses AC_PROG_LIBTOOL.
I suppose bug in AC_PROG_LIBTOOL.
Steps to Reproduce:
1. rpmbuild -bs libtool-bug.spec
2. hsh /path/to/workdir ~/RPM/SRPMS/libtool-bug-0.0.1-alt1.src.rpm
Created attachment 325 [details]
This behaviour delays upgrading gcc to 3.3.x in Sisyphus.
Fixed in libtool_1.5-1.5-alt11
This fix (libtool-1.5-alt-tagconfig-deps.patch) causes unwanted side effect -
libtool behaviour depends on configure.ac lines order:
with this patch applied, the AC_PROG_LIBTOOL line must go after AC_PROG_CXX and
AC_PROG_F77, otherwise no proper tag configs will be generated.
So I'm disabling the patch and reopening the bug.
It is no longer block due to fix in autoconf_2.5-2.59-alt2.
In libtool_1.5-1.5.10-alt1 this g++/g77 scan failure no longer leads to an error.