pkgsrc-Users archive

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

trying to build devel/gdb from 2015Q2 ... wrong autoconf version



Hi,

I was trying to build devel/gdb (actually to debug another build
failure where devel/boost-headers enters some endless loop in conftest
with gcc-5.2), and get stuck here:

=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb9
=> Tool dependency autoconf>=2.50: found autoconf-2.69nb6
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Full dependency python27>=2.7.1nb2: found python27-2.7.10
=> Full dependency ncurses>=5.4nb1: found ncurses-5.9nb4
===> Overriding tools for gdb-7.9nb1
===> Extracting for gdb-7.9nb1
===> Patching for gdb-7.9nb1
=> Applying pkgsrc patches for gdb-7.9nb1
===> Creating toolchain wrappers for gdb-7.9nb1
===> Configuring for gdb-7.9nb1
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
configure.ac:23: error: Please use exactly Autoconf 2.64 instead of 2.69.
../../config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
configure.ac:23: the top level
autom4te: /sw/env/gcc-5.2.0_openmpi-1.8.6/pkgsrc/2015Q2/gnu/bin/m4 failed with exit status: 1
autoheader: '/sw/env/gcc-5.2.0_openmpi-1.8.6/pkgsrc/2015Q2/bin/autom4te' failed with exit status: 1
*** Error code 1

Stop.
bmake[1]: stopped in /scratch/sw/work/gcc-5.2.0_openmpi-1.8.6/pkgsrc-tree-2015Q2/pkgsrc/devel/gdb
*** Error code 1

Stop.
bmake: stopped in /scratch/sw/work/gcc-5.2.0_openmpi-1.8.6/pkgsrc-tree-2015Q2/pkgsrc/devel/gdb


First of all … why is autoconf even needed? I though pkgsrc policy was
to patch the resulting configure, not configure.ac? As there is no
autoconf-2.64 in pkgsrc, I wonder what the correct way out of this is.
Blindly patch things to make gdb accept 2.69? Avoid running autoconf at
all? Go to the streets and demand an end to autotools version terror?


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
Universität Hamburg
RRZ / Zentrale Dienste / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index