[Debian-med-packaging] Bug#998479: [Help] Re: Bug#998479: aevol: FTBFS: configure.ac:301: error: AM_INIT_AUTOMAKE expanded multiple times

Andreas Tille andreas at an3as.eu
Fri Nov 5 07:14:01 GMT 2021


Control: tags -1 help

Hi,

I tried to fix the issue via a patch[1] that should ensure
AM_INIT_AUTOMAKE is called only once.  Unfortunately that patch
resulted in:

   dh_autoreconf
configure.ac:303: error: AM_INIT_AUTOMAKE expanded multiple times
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:301: the top level
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:303: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
dh_autoreconf: error: autoreconf -f -i returned exit code 1


Any idea why autoreconf is working inside if and else branch and how to
fix this issue properly?

Kind regards

      Andreas.


[1] https://salsa.debian.org/med-team/aevol/-/blob/master/debian/patches/automake.patch

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list