[Help] Re: Bug#998479: aevol: FTBFS: configure.ac:301: error: AM_INIT_AUTOMAKE expanded multiple times
- To: 998479@bugs.debian.org, Debian Mentors List <debian-mentors@lists.debian.org>
- Subject: [Help] Re: Bug#998479: aevol: FTBFS: configure.ac:301: error: AM_INIT_AUTOMAKE expanded multiple times
- From: Andreas Tille <andreas@an3as.eu>
- Date: Fri, 5 Nov 2021 08:14:01 +0100
- Message-id: <YYTZuXq0dI/byMz7@an3as.eu>
- In-reply-to: <YYQaVuMNE8Efooz1@xanadu.blop.info>
- References: <YYQaVuMNE8Efooz1@xanadu.blop.info>
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
Reply to: