Automake links to compile etc missing - recent commit

Anyone having issues with snapshot after these commits

the links to compile and missing are not created ...

cd . && automake-1.16 --foreign configure.ac:13: error: required file 'build-aux/compile' not found configure.ac:13: 'automake --add-missing' can install 'compile' configure.ac:17: error: required file 'build-aux/missing' not found configure.ac:17: 'automake --add-missing' can install 'missing' Makefile.am: error: required file 'build-aux/depcomp' not found Makefile.am: 'automake --add-missing' can install 'depcomp' make[4]: *** [Makefile:1225: Makefile.in] Error 1

i removed from the host the automake package ... i now get even more problems ... the below is for the gnutls package

 cd . && automake-1.16 --foreign
configure.ac:41: error: required file 'build-aux/compile' not found
configure.ac:41:   'automake --add-missing' can install 'compile'
configure.ac:31: error: required file 'build-aux/missing' not found
configure.ac:31:   'automake --add-missing' can install 'missing'
aminclude_static.am:52: warning: if $(CODE_COVERAGE_BRANCH_COVERAGE: non-POSIX variable name
aminclude_static.am:52: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:59: warning: if $(CODE_COVERAGE_BRANCH_COVERAGE: non-POSIX variable name
aminclude_static.am:59: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:63: warning: ':='-style assignments are not portable
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:64: warning: code_coverage_v_lcov_cap_$(V: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:65: warning: code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:67: warning: code_coverage_v_lcov_ign_$(V: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:68: warning: code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:70: warning: code_coverage_v_genhtml_$(V: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:71: warning: code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:73: warning: code_coverage_quiet_$(V: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:74: warning: code_coverage_quiet_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:78: warning: subst -,_,$(subst .,_,$(1: non-POSIX variable name
aminclude_static.am:78: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:87: warning: addprefix --directory ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name
aminclude_static.am:87: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:87: warning: call code_coverage_sanitize,$(PACKAGE_NAME: non-POSIX variable name
aminclude_static.am:87: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:88: warning: addprefix --directory ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name
aminclude_static.am:88: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:90: warning: addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name
aminclude_static.am:90: (probably a GNU make extension)
Makefile.am:176:   'aminclude_static.am' included from here
aminclude_static.am:100: warning: ':='-style assignments are not portable
Makefile.am:176:   'aminclude_static.am' included from here
doc/Makefile.am: error: required file 'build-aux/depcomp' not found
doc/Makefile.am:   'automake --add-missing' can install 'depcomp'
guile/Makefile.am:68: warning: AM_V_GUILEC_$(V: non-POSIX recursive variable expansion
guile/Makefile.am:69: warning: AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
guile/Makefile.am:83: warning: '%'-style pattern rules are a GNU make extension
guile/src/Makefile.am:117: warning: '%'-style pattern rules are a GNU make extension

@PolynomialDivision i believe you are the gnutls maintainer? would you mind to have a look ? thank you

adding to the Makefile PKG_FIXUP:=patch-libtool of the packages impacted solved the issue

PS. this is actually wrong ... i suspect people will need to fix similarly as @PolynomialDivision other packages

as workaround i excluded the impacted packages

I'm not the maintainer. But I had similar issues with kmod and updating to a more recent version helped:

yes that was another one ... kmod ... thank you for replying back

Maybe you can also mention in the PR that it is fixing the build for you. What distro are you using for building? I'm using arch.

1 Like

gnutls 3.7.9 seems to be on the right path but needs the gtkdocize fix

autoreconf: error: gtkdocize failed with exit status: 2

--- configure.ac.orig   2023-03-15 20:22:10.178636474 +0000
+++ configure.ac        2023-03-15 20:22:35.495464673 +0000
@@ -354,7 +354,6 @@
 dnl
 dnl check for gtk-doc
 dnl
-GTK_DOC_CHECK([1.14],[--flavour no-tmpl])

 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION([0.19])

will complain a lot but works

sorry for the trouble

@rmandrad try current master, Hauke and JOW fixed this I believe

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.