[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

autoconf version conflict building gcc-3.3



I am having trouble building gcc-3.3 1:3.3.5-12 on i386.
I first get several FATAL ERRORs:

DEB_VERSION='1:3.3.5-12'; export DEB_VERSION; \
debian/patches/autoreconf.dpatch -patch -d /var/tmp/kalle/debian/gcc-3.3-3.3.5/src
patching file libtool.m4
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
echo "autoreconf patches applied." > stamps/02-patch-stamp-autoreconf

This causes src/libstdc++-v3/config.h.in to be corrupted so that
it does not #define _GLIBCPP_ASM_SYMVER even though that is in
src/libstdc++-v3/acconfig.h.  That in turn causes compilation to
fail later.

It appears that autoreconf.dpatch runs autoreconf, which selects
autoreconf2.13 because src/libstdc++-v3/configure.in has
AC_PREREQ(2.13) and src/libstdc++-v3/aclocal.m4 has only
AC_PREREQ([2.12]).  However, after the check, autoreconf2.13 runs
aclocal, which updates aclocal.m4 with "lib-link.m4 serial 6
(gettext-0.14.3)", which has AC_PREREQ(2.50), so autoconf2.13
fails.  According to /usr/share/doc/gettext/NEWS, gettext 0.14.2
and later require autoconf 2.50 or newer.  However, according to
buildd.debian.org, gcc-3.3 1:3.3.5-12 has been successfully built
with gettext 0.14.2-1, on ia64 at least.  So, I'm stumped.

I am using the following versions of build-dependencies:

ii  libc6-dev                   2.3.2.ds1-20
ii  m4                          1.4-15
ii  autoconf2.13                2.13-54
ii  automake1.4                 1.4-p6-9
rn  automake                    <none>
ri  libtool                     1.5.6-6
ri  autotools-dev               20050324.1
ii  gawk                        3.1.4-2
ii  dejagnu                     1.4.4-1
ii  expect                      5.42.1-1
ii  bzip2                       1.0.2-5
ii  binutils                    2.15-5
rc  binutils-multiarch          2.15-4
ri  debhelper                   4.2.31
ii  gperf                       3.0.1-1
ii  bison                       1.875a-1
ii  flex-old                    2.5.4a-6
rc  flex                        2.5.31-31
ii  gettext                     0.14.3-1
ii  texinfo                     4.7-2.2
ii  zlib1g-dev                  1.2.2-4
ii  libgc-dev                   6.4-1
ri  xlibs-dev                   4.3.0.dfsg.1-12
ii  gnat-3.3                    3.3.5-8
rn  gnat-3.2                    <none>
rc  gnat                        3.14p-3
ii  libncurses5-dev             5.4-3
ri  libgmp3-dev                 4.1.4-5
ri  tetex-bin                   2.0.2-25
ii  locales                     2.3.2.ds1-20
ii  procps                      3.2.4-1
ii  help2man                    1.35.1
ri  sharutils                   4.2.1-13
ii  realpath                    1.9.15
ii  doxygen                     1.4.0-1
ii  graphviz                    2.2-2

Attachment: pgpLa0vty9kcy.pgp
Description: PGP signature


Reply to: