URL: <http://savannah.gnu.org/bugs/?41518>
Summary: Can't build make from Git repository with recent autotools Project: make Submitted by: parcs Submitted on: Sun 09 Feb 2014 03:31:54 AM GMT Severity: 3 - Normal Item Group: Build/Install Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.0 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: On a system with with autoconf 2.69 and automake 1.14.1, running "autoreconf -i" under the GNU make Git repository fails for me like so: $ autoreconf -f -i automake: warnings are treated as errors configure.ac:54: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:54: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:54: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. w32/Makefile.am:20: warning: source file 'subproc/misc.c' is in a subdirectory, w32/Makefile.am:20: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. w32/Makefile.am:20: warning: source file 'subproc/sub_proc.c' is in a subdirectory, w32/Makefile.am:20: but option 'subdir-objects' is disabled w32/Makefile.am:20: warning: source file 'subproc/w32err.c' is in a subdirectory, w32/Makefile.am:20: but option 'subdir-objects' is disabled w32/Makefile.am:20: warning: source file 'compat/posixfcn.c' is in a subdirectory, w32/Makefile.am:20: but option 'subdir-objects' is disabled autoreconf: automake failed with exit status: 1 bash: exit 1 autoreconf -i -f I am no autotools expert but I think that the most immediate issue here is that -Werror is passed to AM_INIT_AUTOMAKE, turning all automake warnings into errors. If I remove -Werror then "autoreconf -i" exits sucessfully (albeit with the same harmless warnings) and I can continue building make. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41518> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make