zopencommunity/m4port

m4 build via 'git' failing due to underlying tools

Closed this issue · 2 comments

Have a work-around for gitport#16 by manually editing the git-submodule script and changing the first line to:

#!/bin/env bash

This gets me to the next failure (which may not be a hard error):

Module list with included dependencies (indented):
join: FSUM6261 read error on file "-": EDC5000I No error occurred.

followed later by:

Creating directory ./lib/glthread
Creating directory ./lib/malloc
Creating directory ./lib/unictype
Creating directory ./lib/unistr
Creating directory ./lib/uniwidth
Creating directory ./tests/glthread
Creating directory ./tests/unistr
Creating directory ./tests/uniwidth
Copying file GNUmakefile
ls: FSUM6785 File or directory "./GNUmakefile" is not found
Copying file build-aux/announce-gen
ls: FSUM6785 File or directory "./build-aux/announce-gen" is not found
Copying file build-aux/config.rpath
ls: FSUM6785 File or directory "./build-aux/config.rpath" is not found
Copying file build-aux/do-release-commit-and-tag
ls: FSUM6785 File or directory "./build-aux/do-release-commit-and-tag" is not found
...
<many many more error lines like this>
...
Creating lib/gnulib.mk
Creating m4/gnulib-comp.m4
Creating tests/gnulib.mk
Creating ./build-aux/.gitignore
Creating ./doc/.gitignore
Creating ./lib/.gitignore
Creating ./lib/glthread/.gitignore
Creating ./lib/malloc/.gitignore
Creating ./lib/unictype/.gitignore
Creating ./lib/unistr/.gitignore
Creating ./lib/uniwidth/.gitignore
Creating ./m4/.gitignore
Creating ./tests/.gitignore
Creating ./tests/glthread/.gitignore
Creating ./tests/unistr/.gitignore
Creating ./tests/uniwidth/.gitignore
Finished.

You may need to add #include directives for the following .h files.
  #include <assert.h>
  #include <getopt.h>
  #include <locale.h>
  #include <regex.h>
  #include <signal.h>
  #include <stdbool.h>
  #include <stdint.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  #include "attribute.h"
  #include "binary-io.h"
  #include "c-ctype.h"
  #include "c-stack.h"
  #include "clean-temp.h"
  #include "close-stream.h"
  #include "closein.h"
  #include "configmake.h"
  #include "dirname.h"
  #include "error.h"
  #include "execute.h"
  #include "filenamecat.h"
  #include "gettext.h"
  #include "gl_avltree_oset.h"
  #include "gl_xoset.h"
  #include "ignore-value.h"
  #include "intprops.h"
  #include "memchr2.h"
  #include "obstack.h"
  #include "progname.h"
  #include "propername.h"
  #include "spawn-pipe.h"
  #include "stdio-safer.h"
  #include "stdlib-safer.h"
  #include "unlocked-io.h"
  #include "verify.h"
  #include "verror.h"
  #include "version-etc.h"
  #include "wait-process.h"
  #include "xalloc.h"
  #include "xprintf.h"
  #include "xvasprintf.h"

You may need to use the following Makefile variables when linking.
Use them in <program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
  $(LIBTHREAD)
  $(LIB_CLOCK_GETTIME)
  $(LIB_GETRANDOM)
  $(LIB_HARD_LOCALE)
  $(LIB_MBRTOWC)
  $(LIB_POSIX_SPAWN)
  $(LIB_SETLOCALE)
  $(LIB_SETLOCALE_NULL)
  $(LTLIBCSTACK) when linking with libtool, $(LIBCSTACK) otherwise
  $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
  $(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
  $(LTLIBSIGSEGV) when linking with libtool, $(LIBSIGSEGV) otherwise
  $(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
  @INTL_MACOSX_LIBS@

Don't forget to
  - "include gnulib.mk" from within "lib/Makefile.am",
  - "include gnulib.mk" from within "tests/Makefile.am",
  - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am
    or add an AC_CONFIG_MACRO_DIRS([m4]) invocation in ./configure.ac,
  - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
  - invoke M4_EARLY in ./configure.ac, right after AC_PROG_CC,
  - invoke M4_INIT in ./configure.ac.
trap: gnulib/gnulib-tool 7653: FSUM7327 signal number 13 not conventional
Copying file bootstrap.in
Copying file extract-trace
Copying file funclib.sh
Copying file inline-source
Copying file options-parser
bootstrap: running: autoreconf --symlink --install
configure.ac:228: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:229: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac: warning: AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION is used, but not AM_GNU_GETTEXT
configure.ac:228: error: possibly undefined macro: AM_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:229: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION

this is now fixed