libgdata module fails to build on Fedora 30 host system (incompatible ax_code_coverage.m4)
On Fedora 30, the globally installed version of ax_code_coverage.m4
in /usr/share/aclocal
is incompatible with libgdata
's usage of it (the syntax has changed).
This seems to override any locally installed ax_code_coverage.m4 for some reason:
aclocal: installing 'm4/ax_code_coverage.m4' from '/usr/share/aclocal/ax_code_coverage.m4'
-or-
aclocal: overwriting 'm4/ax_code_coverage.m4' with '/usr/share/aclocal/ax_code_coverage.m4'
...
*** Building libgdata *** [1/29]
make -j 17
Makefile:4500: *** missing separator. Stop.
(That line 4500 in the generated Makefile is the @CODE_COVERAGE_RULES
invocation that's no longer compatible with the new macro.)
I tried putting an older ax_code_coverage.m4
into my target dir and setting an env var:
export ACLOCAL_PATH=/opt/gnome/share/aclocal
but it still seems to fetch from /usr/share/aclocal
as priority...?
Workaround: install an older ax_code_coverage.m4
on top of the global one in /usr/share/aclocal
. Seems to do the job once you clear stuff out...