Mike Gran wrote:
You might remove the "-Wall -Werror" text of that line in
configure.ac, and that could fix it.
Thanks, I tried that (patch attached) and the build got further, but the
build failed in a different way (log attached), with the following
puzzling diagnostics at the point of failure:
make[3]: Leaving directory '/home/eggert/src/gnu/make/po'
test ! -f ./make.pot || \
test -z "be.gmo cs.gmo da.gmo de.gmo es.gmo fi.gmo fr.gmo ga.gmo
gl.gmo he.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo pl.gmo
pt_BR.gmo ru.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo" || make be.gmo
cs.gmo da.gmo de.gmo es.gmo fi.gmo fr.gmo ga.gmo gl.gmo he.gmo hr.gmo
id.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sv.gmo
tr.gmo uk.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory '/home/eggert/src/gnu/make/po'
make[4]: Entering directory '/home/eggert/src/gnu/make/po'
File be.po does not exist. If you are a translator, you can create it
through 'msginit'.
Makefile:478: recipe for target 'be.po-create' failed
diff --git a/configure.ac b/configure.ac
index ad07a7e..563dd81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ AC_CONFIG_HEADERS([config.h])
# Automake setup
# We have to enable "foreign" because ChangeLog is auto-generated
-AM_INIT_AUTOMAKE([1.11.1 silent-rules foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([1.11.1 silent-rules foreign -Wall])
# Checks for programs.
AC_USE_SYSTEM_EXTENSIONS
$ ACLOCAL_PATH=/usr/share/aclocal autoreconf -i
Copying file ABOUT-NLS
Copying file config/config.rpath
Copying file config/codeset.m4
Copying file config/fcntl-o.m4
Copying file config/gettext.m4
Copying file config/glibc2.m4
Copying file config/glibc21.m4
Copying file config/iconv.m4
Copying file config/intdiv0.m4
Copying file config/intl.m4
Copying file config/intldir.m4
Copying file config/intlmacosx.m4
Copying file config/intmax.m4
Copying file config/inttypes-pri.m4
Copying file config/inttypes_h.m4
Copying file config/lcmessage.m4
Copying file config/lib-ld.m4
Copying file config/lib-link.m4
Copying file config/lib-prefix.m4
Copying file config/lock.m4
Copying file config/longlong.m4
Copying file config/nls.m4
Copying file config/po.m4
Copying file config/printf-posix.m4
Copying file config/progtest.m4
Copying file config/size_max.m4
Copying file config/stdint_h.m4
Copying file config/threadlib.m4
Copying file config/uintmax_t.m4
Copying file config/visibility.m4
Copying file config/wchar_t.m4
Copying file config/wint_t.m4
Copying file config/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
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.
configure.ac:43: installing 'config/ar-lib'
configure.ac:33: installing 'config/compile'
configure.ac:46: installing 'config/config.guess'
configure.ac:46: installing 'config/config.sub'
configure.ac:30: installing 'config/install-sh'
configure.ac:30: installing 'config/missing'
Makefile.am: installing 'config/depcomp'
doc/Makefile.am:21: installing 'config/mdate-sh'
doc/Makefile.am:21: installing 'config/texinfo.tex'
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
$ ./configure
checking for a BSD-compatible install... /home/eggert/opt/Linux-x86_64/merged/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/eggert/opt/Linux-x86_64/merged/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /home/eggert/opt/Linux-x86_64/merged/bin/grep
checking for egrep... /home/eggert/opt/Linux-x86_64/merged/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ar... ar
checking for perl... perl
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for library containing strerror... none required
checking whether NLS is requested... yes
checking for msgfmt... /home/eggert/opt/Linux-x86_64/merged/bin/msgfmt
checking for gmsgfmt... /home/eggert/opt/Linux-x86_64/merged/bin/msgfmt
checking for xgettext... /home/eggert/opt/Linux-x86_64/merged/bin/xgettext
checking for msgmerge... /home/eggert/opt/Linux-x86_64/merged/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing getpwnam... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for uintmax_t... yes
checking for nanoseconds field of struct stat... st_mtim.tv_nsec
checking whether to use high resolution file timestamps... yes
checking for library containing clock_gettime... none required
checking whether system uses MSDOS-style paths... no
checking for standard gettimeofday... yes
checking for strdup... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for fileno... yes
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for realpath... yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setegid... yes
checking for setlinebuf... yes
checking for setreuid... yes
checking for setregid... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setvbuf... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for lstat... yes
checking for readlink... yes
checking for atexit... yes
checking whether bsd_signal is declared... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcmpi... no
checking for strncmpi... no
checking for stricmp... no
checking for strnicmp... no
checking for working strcoll... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUILE... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking whether sys_siglist is declared... yes
checking whether _sys_siglist is declared... yes
checking whether __sys_siglist is declared... no
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for SA_RESTART... yes
checking whether dlopen is declared... yes
checking whether dlsym is declared... yes
checking whether dlerror is declared... yes
checking for library containing dlopen... -ldl
checking If the linker accepts -Wl,--export-dynamic... yes
checking for location of SCCS get command... get
checking if system libc has GNU glob... yes
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating tests/config-flags.pm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
$ make
make all-recursive
make[1]: Entering directory '/home/eggert/src/gnu/make'
Making all in glob
make[2]: Entering directory '/home/eggert/src/gnu/make/glob'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/eggert/src/gnu/make/glob'
Making all in config
make[2]: Entering directory '/home/eggert/src/gnu/make/config'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/eggert/src/gnu/make/config'
Making all in po
make[2]: Entering directory '/home/eggert/src/gnu/make/po'
make make.pot-update
make[3]: Entering directory '/home/eggert/src/gnu/make/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU make' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
package_gnu='GNU '; \
else \
package_gnu=''; \
fi; \
if test -n 'bug-make@gnu.org' || test 'bug-make@gnu.org' = '@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='bug-make@gnu.org'; \
else \
msgid_bugs_address='bug-make@gnu.org'; \
fi; \
case `/home/eggert/opt/Linux-x86_64/merged/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
/home/eggert/opt/Linux-x86_64/merged/bin/xgettext --default-domain=make --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
/home/eggert/opt/Linux-x86_64/merged/bin/xgettext --default-domain=make --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--package-name="${package_gnu}make" \
--package-version='4.0.90' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f make.po || { \
if test -f ./make.pot; then \
sed -f remove-potcdate.sed < ./make.pot > make.1po && \
sed -f remove-potcdate.sed < make.po > make.2po && \
if cmp make.1po make.2po >/dev/null 2>&1; then \
rm -f make.1po make.2po make.po; \
else \
rm -f make.1po make.2po ./make.pot && \
mv make.po ./make.pot; \
fi; \
else \
mv make.po ./make.pot; \
fi; \
}
make[3]: Leaving directory '/home/eggert/src/gnu/make/po'
test ! -f ./make.pot || \
test -z "be.gmo cs.gmo da.gmo de.gmo es.gmo fi.gmo fr.gmo ga.gmo gl.gmo he.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo" || make be.gmo cs.gmo da.gmo de.gmo es.gmo fi.gmo fr.gmo ga.gmo gl.gmo he.gmo hr.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory '/home/eggert/src/gnu/make/po'
make[4]: Entering directory '/home/eggert/src/gnu/make/po'
File be.po does not exist. If you are a translator, you can create it through 'msginit'.
Makefile:478: recipe for target 'be.po-create' failed
make[4]: *** [be.po-create] Error 1
make[4]: Leaving directory '/home/eggert/src/gnu/make/po'
Makefile:280: recipe for target 'be.po' failed
make[3]: *** [be.po] Error 2
make[3]: Leaving directory '/home/eggert/src/gnu/make/po'
Makefile:213: recipe for target 'stamp-po' failed
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory '/home/eggert/src/gnu/make/po'
Makefile:762: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/eggert/src/gnu/make'
Makefile:514: recipe for target 'all' failed
make: *** [all] Error 2
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make