[Home]

Summary:DAHTOOL-00079: Dahdi-tools master fails to build on ubuntu xenial - autoreconf problem
Reporter:Ed Simmons (esimmons)Labels:
Date Opened:2018-03-03 07:27:33.000-0600Date Closed:2019-06-06 09:29:08
Priority:CriticalRegression?
Status:Closed/CompleteComponents:General
Versions:2.10.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Trying to build asterisk with Dahdi support in docker. I cannot get master branch (obtained from github mirror commit id 75eedd6fa6dbd25c0edc689dd2568b04a6c5b1ba) to build. It stops with errors on "autoreconf -i" and I don't understand the reasons.

I see
{{
autoreconf -i
configure.ac:15: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:15: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
}}

but no issues are visible to me where it's pointing to.

I'm working on short steps to reproduce the issue in docker, but in short:
Install build dependencies,
download the zip from github of master at the mentioned commit ID,
extract,
run "autoreconf -i"
Comments:By: Ed Simmons (esimmons) 2018-03-13 11:26:51.057-0500

I have tried other release versions too and had similar results.

By: Andrew Siplas (asiplas) 2018-06-25 01:14:10.733-0500

Temporarily Hardcoding a version number instead of the apparently failing `short_version` macro might allow you to build… I also commented out AC_CONFIG_AUX_DIR as it was causing build tools to search nonexistent dir.

configure.ac
   
   -AC_INIT([dahdi-tools], short_version, [www.asterisk.org])
   +AC_INIT([dahdi-tools], 2.11.1, [www.asterisk.org])
   
   -AC_CONFIG_AUX_DIR([auxdir])
   +#AC_CONFIG_AUX_DIR([auxdir])

By: Keith Morgan (kmorgan) 2019-06-06 09:29:08.600-0500

Had to search for the errors. Most likely problems with changes in autoconf.
After installing dependencies from the read me. I had to do
libtoolize --force
aclocal
automake --force-missing --add-missing
autoreconf -i


This should only be needed from a clone of the git repo.

Support (dahdi) for kernels 4.x added in 3.0.0 and support for 5.x kernels in 3.1.0-rc1