automake -v --add-missing --copy ..doing what it says on tin

If none of the more specific forums is the right place to ask

automake -v --add-missing --copy ..doing what it says on tin

Postby graemev2 » 2020-02-12 14:08

Pedant warning, I'm following a tutorial so I want to understand "why" not just a quick fix.

1: I have: https://www.gnu.org/savannah-checkouts/ ... index.html
2: However I'm following: http://www.lugod.org/presentations/auto ... otools.pdf

My problem can be summed up by the following output:
Code: Select all
$ rm depcomp &&automake -v --add-missing --copy
automake: thread 0: reading autoconf --trace=AM_GNU_GETTEXT:\$f:\$l::\$d::\$n::\${::}% --trace=AM_PROG_MKDIR_P:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CONFIG_AUX_DIR:\$f:\$l::\$d::\$n::\${::}% --trace=LT_SUPPORTED_TAG:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CANONICAL_TARGET:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CONFIG_HEADERS:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CONFIG_LINKS:\$f:\$l::\$d::\$n::\${::}% --trace=m4_sinclude:\$f:\$l::\$d::\$n::\${::}% --trace=_AM_COND_ENDIF:\$f:\$l::\$d::\$n::\${::}% --trace=_AM_SUBST_NOTMAKE:\$f:\$l::\$d::\$n::\${::}% --trace=AM_INIT_AUTOMAKE:\$f:\$l::\$d::\$n::\${::}% --trace=AM_PROG_AR:\$f:\$l::\$d::\$n::\${::}% --trace=sinclude:\$f:\$l::\$d::\$n::\${::}% --trace=_AM_COND_IF:\$f:\$l::\$d::\$n::\${::}% --trace=AC_REQUIRE_AUX_FILE:\$f:\$l::\$d::\$n::\${::}% --trace=_AM_COND_ELSE:\$f:\$l::\$d::\$n::\${::}% --trace=AC_SUBST_TRACE:\$f:\$l::\$d::\$n::\${::}% --trace=_LT_AC_TAGCONFIG:\$f:\$l::\$d::\$n::\${::}% --trace=AC_LIBSOURCE:\$f:\$l::\$d::\$n::\${::}% --trace=AM_EXTRA_RECURSIVE_TARGETS:\$f:\$l::\$d::\$n::\${::}% --trace=m4_include:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CANONICAL_HOST:\$f:\$l::\$d::\$n::\${::}% --trace=AC_FC_SRCEXT:\$f:\$l::\$d::\$n::\${::}% --trace=AM_AUTOMAKE_VERSION:\$f:\$l::\$d::\$n::\${::}% --trace=AM_MAINTAINER_MODE:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CANONICAL_BUILD:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CONFIG_LIBOBJ_DIR:\$f:\$l::\$d::\$n::\${::}% --trace=AM_CONDITIONAL:\$f:\$l::\$d::\$n::\${::}% --trace=AC_CONFIG_FILES:\$f:\$l::\$d::\$n::\${::}% --trace=AM_GNU_GETTEXT_INTL_SUBDIR:\$f:\$l::\$d::\$n::\${::}% --trace=AC_INIT:\$f:\$l::\$d::\$n::\${::}%
automake: thread 0: reading /usr/share/automake-1.16/am/header-vars.am
automake: thread 0: reading Makefile.am
Makefile.am: error: required file './NEWS' not found
Makefile.am: error: required file './README' not found
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './ChangeLog' not found
automake: thread 0: reading /usr/share/automake-1.16/am/configure.am
automake: thread 0: reading /usr/share/automake-1.16/am/remake-hdr.am
automake: thread 0: reading /usr/share/automake-1.16/am/clean-hdr.am
automake: thread 0: reading /usr/share/automake-1.16/am/progs.am
automake: thread 0: reading /usr/share/automake-1.16/am/program.am
automake: thread 0: reading /usr/share/automake-1.16/am/compile.am
Makefile.am: installing './depcomp'
automake: thread 0: reading /usr/share/automake-1.16/am/depend.am
automake: thread 0: reading /usr/share/automake-1.16/am/depend2.am
automake: thread 0: Sources ending in .c become .o
automake: thread 0: Sources ending in .c become .obj
automake: thread 0: reading /usr/share/automake-1.16/am/lang-compile.am
automake: thread 0: reading /usr/share/automake-1.16/am/texinfos.am
automake: thread 0: reading /usr/share/automake-1.16/am/tags.am
automake: thread 0: reading /usr/share/automake-1.16/am/distdir.am
automake: thread 0: reading /usr/share/automake-1.16/am/footer.am
automake: thread 0: reading /usr/share/automake-1.16/am/install.am
automake: thread 0: reading /usr/share/automake-1.16/am/clean.am
automake: thread 0: not writing Makefile.in because of earlier errors


So all the examples seem to suggest getting the errors such as:
required file './NEWS' not found Is to be expected. The --add-missing --copy should fix this by providing proforma files. I added the rm depcomp just to prove a point . It's missing , it gets created. However the other missing files are not created.
Have I misinterpreted the docs, or has the behaviour changed recently?
graemev2
 
Posts: 23
Joined: 2019-01-08 17:28

Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable