ZOSOpenTools / automakeport

Apache License 2.0
0 stars 2 forks source link

aclocal-amflags.sh fails interactively #7

Open MikeFultonDev opened 2 years ago

MikeFultonDev commented 2 years ago

set up 'gnu make' and 'autoconf' manually, then:

FULTONM@zopen bash /fultonm/zopen/dev/automakeport/automake-1.16 >./runtest t/aclocal-amflags.sh
Running from installcheck: no
Test Protocol: none
PATH = /fultonm/zopen/dev/automakeport/automake-1.16/bin:/fultonm/zopen/dev/automakeport/automake-1.16/t/ax:/fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin:/u/fultonm/zopen/prod/m4/bin:/u/fultonm/zopen/prod/automake/bin:/u/fultonm/zopen/prod/perl/bin:/u/fultonm/zopen/boot/git/bin:/usr/lpp/IBM/zpm/opencpp/1.0.0.0/bin:/u/fultonm/zopen/dev/utils/bin:/u/fultonm/bin:/usr/local/bin:/usr/lpp/skrb/bin:/usr/sbin:/usr/bin:/bin:/sbin:/usr/lpp/db2c10/base/bin:/usr/lpp/java/current/bin:/usr/lpp/IBM/cobol/igyv6r3/bin:/usr/lpp/IBM/pli/v5r3/bin:/usr/lpp/IBM/cyp/v3r9/pyz/bin:/usr/lpp/IBM/zoautil/bin:/usr/lpp/IBM/zoautil/bin:/usr/lpp/IBM/dbb/bin:/rsusr/ported/bin:/usr/lpp/IBM/cnj/v14r0/njsc/bin:/usr/lpp/IBM/cnj/v14r0/IBM/no00121002t-os390-s390x/bin/
++ pwd
/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir
+ cat
+ mkdir m4_1 m4_2
+ cat
+ cat
+ cat
+ aclocal-1.16 -Werror -I m4_1
+ cat output
+ grep 'found macro' output
+ /fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin/autoconf
+ automake-1.16 --foreign -Werror -Wall
+ ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
+ test -f foo
+ rm -f foo
+ sleep 2
+ sed s/MACRO_FOO/MACRO_BAR/ configure.ac
+ mv -f t configure.ac
+ run_make -M Makefile
+ am__make_redirect_stdout=no
+ am__make_redirect_stderr=no
+ am__make_redirect_stdall=no
+ am__make_flags=
+ am__make_rc_exp=0
+ am_make_rc=0
+ test 2 -gt 0
+ case $1 in
+ am__make_redirect_stdall=yes
+ shift
+ test 1 -gt 0
+ case $1 in
+ break
+ using_gmake
+ case $am__using_gmake in
+ make --version -v
+ grep GNU
FSUM9380 make: Unknown option --
Usage: make [-eEinpqrstuvVx] [-k|-S] [-c dir] [-D macro=value] [-f file] [macro=value ...] [target ...]
+ am__using_gmake=no
+ return 1
+ for am__x in '"$@"'
+ case $am__x in
+ unset am__x
+ test x '!=' x
+ : exec make Makefile
+ set +x
++ fatal_ 'caught signal SIGINT'
++ warn_ 'aclocal-amflags: hard error: caught signal SIGINT'
++ echo 'aclocal-amflags: hard error: caught signal SIGINT'
aclocal-amflags: hard error: caught signal SIGINT
++ _am_exit 99
++ set +e
++ test 77 = 99
++ exit 99
++ exit 99
+ am_exit_trap 99
+ exit_status=99
+ set +e
+ cd /fultonm/zopen/dev/automakeport/automake-1.16
+ test none = tap
+ case $am_explicit_skips in
+ test 99 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
FULTONM@zopen bash /fultonm/zopen/dev/automakeport/automake-1.16 >cd ../../../prod/make
FULTONM@zopen bash /fultonm/zopen/prod/make >. ./.env
FULTONM@zopen bash /fultonm/zopen/prod/make >cd -
/fultonm/zopen/dev/automakeport/automake-1.16
FULTONM@zopen bash /fultonm/zopen/dev/automakeport/automake-1.16 >./runtest t/aclocal-amflags.sh
Running from installcheck: no
Test Protocol: none
PATH = /fultonm/zopen/dev/automakeport/automake-1.16/bin:/fultonm/zopen/dev/automakeport/automake-1.16/t/ax:/fultonm/zopen/prod/make/bin:/fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin:/u/fultonm/zopen/prod/m4/bin:/u/fultonm/zopen/prod/automake/bin:/u/fultonm/zopen/prod/perl/bin:/u/fultonm/zopen/boot/git/bin:/usr/lpp/IBM/zpm/opencpp/1.0.0.0/bin:/u/fultonm/zopen/dev/utils/bin:/u/fultonm/bin:/usr/local/bin:/usr/lpp/skrb/bin:/usr/sbin:/usr/bin:/bin:/sbin:/usr/lpp/db2c10/base/bin:/usr/lpp/java/current/bin:/usr/lpp/IBM/cobol/igyv6r3/bin:/usr/lpp/IBM/pli/v5r3/bin:/usr/lpp/IBM/cyp/v3r9/pyz/bin:/usr/lpp/IBM/zoautil/bin:/usr/lpp/IBM/zoautil/bin:/usr/lpp/IBM/dbb/bin:/rsusr/ported/bin:/usr/lpp/IBM/cnj/v14r0/njsc/bin:/usr/lpp/IBM/cnj/v14r0/IBM/no00121002t-os390-s390x/bin/
++ pwd
/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir
+ cat
+ mkdir m4_1 m4_2
+ cat
+ cat
+ cat
+ aclocal-1.16 -Werror -I m4_1
+ cat output
+ grep 'found macro' output
+ /fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin/autoconf
+ automake-1.16 --foreign -Werror -Wall
+ ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
+ test -f foo
+ rm -f foo
+ sleep 2
+ sed s/MACRO_FOO/MACRO_BAR/ configure.ac
+ mv -f t configure.ac
+ run_make -M Makefile
+ am__make_redirect_stdout=no
+ am__make_redirect_stderr=no
+ am__make_redirect_stdall=no
+ am__make_flags=
+ am__make_rc_exp=0
+ am_make_rc=0
+ test 2 -gt 0
+ case $1 in
+ am__make_redirect_stdall=yes
+ shift
+ test 1 -gt 0
+ case $1 in
+ break
+ using_gmake
+ case $am__using_gmake in
+ make --version -v
+ grep GNU
GNU Make 4.3
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+ am__using_gmake=yes
+ return 0
+ :
+ test x '!=' x
+ : exec make Makefile
+ set +x
+ test 0 -eq 253
+ test yes = yes
+ cat output
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir/missing aclocal-1.16 -I m4_2 --verbose
aclocal-1.16: found macro MACRO_BAR in m4_2/bar.m4: 1
aclocal-1.16: found macro AM_PROG_VALAC in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/vala.m4: 21
aclocal-1.16: found macro AM_PROG_UPC in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/upc.m4: 9
aclocal-1.16: found macro _AM_PROG_TAR in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/tar.m4: 23
aclocal-1.16: found macro _AM_SUBST_NOTMAKE in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/substnot.m4: 12
aclocal-1.16: found macro AM_SUBST_NOTMAKE in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/substnot.m4: 17
aclocal-1.16: found macro AM_PROG_INSTALL_STRIP in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/strip.m4: 17
aclocal-1.16: found macro AM_SILENT_RULES in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/silent.m4: 12
aclocal-1.16: found macro AM_SANITY_CHECK in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/sanity.m4: 11
aclocal-1.16: found macro AM_RUN_LOG in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/runlog.m4: 12
aclocal-1.16: found macro AM_PATH_PYTHON in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/python.m4: 35
aclocal-1.16: found macro AM_PYTHON_CHECK_VERSION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/python.m4: 244
aclocal-1.16: found macro _AM_PROG_CC_C_O in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/prog-cc-c-o.m4: 12
aclocal-1.16: found macro AM_PROG_CC_C_O in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/prog-cc-c-o.m4: 47
aclocal-1.16: found macro _AM_MANGLE_OPTION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/options.m4: 11
aclocal-1.16: found macro _AM_SET_OPTION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/options.m4: 17
aclocal-1.16: found macro _AM_SET_OPTIONS in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/options.m4: 23
aclocal-1.16: found macro _AM_IF_OPTION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/options.m4: 29
aclocal-1.16: found macro AM_CONFIG_HEADER in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/obsolete.m4: 11
aclocal-1.16: found macro AM_PROG_CC_STDC in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/obsolete.m4: 17
aclocal-1.16: found macro AM_C_PROTOTYPES in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/obsolete.m4: 26
aclocal-1.16: found macro fp_C_PROTOTYPES in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/obsolete.m4: 28
aclocal-1.16: found macro AM_PROG_MKDIR_P in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/mkdirp.m4: 11
aclocal-1.16: found macro AM_MISSING_PROG in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/missing.m4: 11
aclocal-1.16: found macro AM_MISSING_HAS_RUN in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/missing.m4: 20
aclocal-1.16: found macro AM_MAKE_INCLUDE in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/make.m4: 13
aclocal-1.16: found macro AM_MAINTAINER_MODE in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/maintainer.m4: 16
aclocal-1.16: found macro AM_PATH_LISPDIR in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/lispdir.m4: 14
aclocal-1.16: found macro AM_PROG_LEX in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/lex.m4: 13
aclocal-1.16: found macro AM_SET_LEADING_DOT in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/lead-dot.m4: 10
aclocal-1.16: found macro AM_PROG_INSTALL_SH in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/install-sh.m4: 11
aclocal-1.16: found macro AM_INIT_AUTOMAKE in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/init.m4: 29
aclocal-1.16: found macro _AC_AM_CONFIG_HEADER_HOOK in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/init.m4: 186
aclocal-1.16: found macro AM_PROG_GCJ in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/gcj.m4: 10
aclocal-1.16: found macro AM_EXTRA_RECURSIVE_TARGETS in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/extra-recurs.m4: 16
aclocal-1.16: found macro AM_WITH_DMALLOC in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/dmalloc.m4: 12
aclocal-1.16: found macro _AM_OUTPUT_DEPENDENCY_COMMANDS in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depout.m4: 11
aclocal-1.16: found macro AM_OUTPUT_DEPENDENCY_COMMANDS in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depout.m4: 62
aclocal-1.16: found macro _AM_DEPENDENCIES in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depend.m4: 26
aclocal-1.16: found macro AM_SET_DEPDIR in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depend.m4: 163
aclocal-1.16: found macro AM_DEP_TRACK in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depend.m4: 171
aclocal-1.16: found macro AM_CONDITIONAL in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/cond.m4: 12
aclocal-1.16: found macro AM_COND_IF in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/cond-if.m4: 23
aclocal-1.16: found macro AM_AUX_DIR_EXPAND in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/auxdir.m4: 47
aclocal-1.16: found macro AM_PROG_AS in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/as.m4: 11
aclocal-1.16: found macro AM_PROG_AR in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/ar-lib.m4: 13
aclocal-1.16: found macro AM_AUTOMAKE_VERSION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/amversion.m4: 14
aclocal-1.16: found macro AM_SET_CURRENT_AUTOMAKE_VERSION in /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/amversion.m4: 33
aclocal-1.16: saw macro AM_INIT_AUTOMAKE
aclocal-1.16: saw macro _AM_PROG_CC_C_O
aclocal-1.16: saw macro _AM_PROG_CC_C_O
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_PROG_CC_C_O
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_INIT_AUTOMAKE
aclocal-1.16: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal-1.16: saw macro AM_AUTOMAKE_VERSION
aclocal-1.16: saw macro AM_INIT_AUTOMAKE
aclocal-1.16: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal-1.16: saw macro AM_AUTOMAKE_VERSION
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SET_OPTION
aclocal-1.16: saw macro _AM_MANGLE_OPTION
aclocal-1.16: saw macro _AM_SET_OPTION
aclocal-1.16: saw macro _AM_MANGLE_OPTION
aclocal-1.16: saw macro _AM_SET_OPTIONS
aclocal-1.16: saw macro _AM_SET_OPTION
aclocal-1.16: saw macro _AM_IF_OPTION
aclocal-1.16: saw macro _AM_MANGLE_OPTION
aclocal-1.16: saw macro _AM_SET_OPTIONS
aclocal-1.16: saw macro _AM_IF_OPTION
aclocal-1.16: saw macro AM_SANITY_CHECK
aclocal-1.16: saw macro AM_SANITY_CHECK
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_MISSING_HAS_RUN
aclocal-1.16: saw macro AM_MISSING_HAS_RUN
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_MISSING_HAS_RUN
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_MISSING_PROG
aclocal-1.16: saw macro AM_PROG_INSTALL_SH
aclocal-1.16: saw macro AM_PROG_INSTALL_SH
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_AUX_DIR_EXPAND
aclocal-1.16: saw macro AM_PROG_INSTALL_STRIP
aclocal-1.16: saw macro AM_PROG_INSTALL_STRIP
aclocal-1.16: saw macro AM_PROG_INSTALL_SH
aclocal-1.16: saw macro AM_PROG_INSTALL_SH
aclocal-1.16: saw macro AM_SET_LEADING_DOT
aclocal-1.16: saw macro AM_SET_LEADING_DOT
aclocal-1.16: saw macro _AM_PROG_TAR
aclocal-1.16: saw macro _AM_PROG_TAR
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro _AM_IF_OPTION
aclocal-1.16: saw macro _AM_PROG_TAR
aclocal-1.16: saw macro _AM_IF_OPTION
aclocal-1.16: saw macro _AM_PROG_TAR
aclocal-1.16: saw macro _AM_IF_OPTION
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro AM_SET_DEPDIR
aclocal-1.16: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal-1.16: saw macro _AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal-1.16: saw macro _AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal-1.16: saw macro AM_MAKE_INCLUDE
aclocal-1.16: saw macro AM_MAKE_INCLUDE
aclocal-1.16: saw macro AM_RUN_LOG
aclocal-1.16: saw macro AM_DEP_TRACK
aclocal-1.16: saw macro AM_CONDITIONAL
aclocal-1.16: saw macro AM_CONDITIONAL
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro AM_SET_DEPDIR
aclocal-1.16: saw macro AM_SET_LEADING_DOT
aclocal-1.16: saw macro AM_DEP_TRACK
aclocal-1.16: saw macro AM_CONDITIONAL
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro AM_SET_DEPDIR
aclocal-1.16: saw macro AM_OUTPUT_DEPENDENCY_COMMANDS
aclocal-1.16: saw macro AM_MAKE_INCLUDE
aclocal-1.16: saw macro AM_DEP_TRACK
aclocal-1.16: saw macro AM_SET_LEADING_DOT
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro _AM_DEPENDENCIES
aclocal-1.16: saw macro AM_SILENT_RULES
aclocal-1.16: saw macro AM_SILENT_RULES
aclocal-1.16: saw macro AM_SUBST_NOTMAKE
aclocal-1.16: saw macro AM_SUBST_NOTMAKE
aclocal-1.16: saw macro _AM_SUBST_NOTMAKE
aclocal-1.16: saw macro AM_CONDITIONAL
aclocal-1.16: saw macro _AC_AM_CONFIG_HEADER_HOOK
aclocal-1.16: saw macro AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal-1.16: saw macro AM_SANITY_CHECK
aclocal-1.16: saw macro AM_PROG_INSTALL_SH
aclocal-1.16: saw macro AM_PROG_INSTALL_STRIP
aclocal-1.16: saw macro AM_SET_LEADING_DOT
aclocal-1.16: saw macro AM_SILENT_RULES
aclocal-1.16: saw macro MACRO_BAR
aclocal-1.16: saw macro MACRO_BAR
aclocal-1.16: running echo 'm4_define([m4_require_silent_probe], [-])' | /fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin/autom4te --language Autoconf-without-aclocal-m4  - /u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/internal/ac-config-macro-dirs.m4 '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/amversion.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/auxdir.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/cond.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depend.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/depout.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/init.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/install-sh.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/lead-dot.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/make.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/missing.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/options.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/prog-cc-c-o.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/runlog.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/sanity.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/silent.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/strip.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/substnot.m4' '/u/fultonm/zopen/prod/automake-1.16/share/aclocal-1.16/tar.m4' 'm4_2/bar.m4' --trace='AC_DEFUN:$f::$n::${::}%' --trace='AC_DEFUN_ONCE:$f::$n::${::}%' --trace='AU_DEFUN:$f::$n::${::}%' --trace='_AM_AUTOCONF_VERSION:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR_TRACE:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR:$f::$n::${::}%' --trace='_AM_CONFIG_MACRO_DIRS:$f::$n::${::}%' --trace='AM_SANITY_CHECK:$f::$n' --trace='AM_SILENT_RULES:$f::$n' --trace='_AM_MANGLE_OPTION:$f::$n' --trace='_AM_PROG_TAR:$f::$n' --trace='AM_AUTOMAKE_VERSION:$f::$n' --trace='_AM_IF_OPTION:$f::$n' --trace='MACRO_BAR:$f::$n' --trace='AM_MISSING_PROG:$f::$n' --trace='AM_SET_DEPDIR:$f::$n' --trace='AM_INIT_AUTOMAKE:$f::$n' --trace='AM_MISSING_HAS_RUN:$f::$n' --trace='_AM_SET_OPTION:$f::$n' --trace='AM_DEP_TRACK:$f::$n' --trace='_AM_DEPENDENCIES:$f::$n' --trace='_AM_SUBST_NOTMAKE:$f::$n' --trace='AM_RUN_LOG:$f::$n' --trace='AM_SET_CURRENT_AUTOMAKE_VERSION:$f::$n' --trace='_AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='_AM_SET_OPTIONS:$f::$n' --trace='_AM_PROG_CC_C_O:$f::$n' --trace='AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='_AC_AM_CONFIG_HEADER_HOOK:$f::$n' --trace='AM_MAKE_INCLUDE:$f::$n' --trace='AM_AUX_DIR_EXPAND:$f::$n' --trace='AM_SET_LEADING_DOT:$f::$n' --trace='AM_PROG_CC_C_O:$f::$n' --trace='AM_CONDITIONAL:$f::$n' --trace='AM_SUBST_NOTMAKE:$f::$n' --trace='AM_PROG_INSTALL_SH:$f::$n' --trace='AM_PROG_INSTALL_STRIP:$f::$n' configure.ac
aclocal-1.16: writing aclocal.m4
 cd . && /bin/sh /fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir/missing automake-1.16 --foreign
CDPATH="${ZSH_VERSION+.}:" && cd . && /fultonm/zopen/prod/autoconf-2.71.20220907_101629.zos/bin/autoconf
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure build_alias= host_alias= --no-create --no-recursion
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
make: 'Makefile' is up to date.
+ case $am__make_rc_exp in
+ test 0 -ge 0
+ test 0 -le 255
+ test 0 -eq 0
+ grep '^aclocal.*:.*found macro.*MACRO_BAR.*m4_2/bar\.m4' output
aclocal-1.16: found macro MACRO_BAR in m4_2/bar.m4: 1
grep: FSUM9950 input lines truncated - result questionable
+ grep 'macro.*MACRO_FOO' output
+ test '!' -r foo
+ test -f bar
+ make distcheck
make  dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory '/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir'
make  distdir-am
make[2]: Entering directory '/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir'
if test -d "aclocal-amflags-1.0"; then find "aclocal-amflags-1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "aclocal-amflags-1.0" || { sleep 5 && rm -rf "aclocal-amflags-1.0"; }; else :; fi
test -d "aclocal-amflags-1.0" || mkdir "aclocal-amflags-1.0"
test -n "" \
|| find "aclocal-amflags-1.0" -type d ! -perm -755 \
    -exec chmod u+rwx,go+rx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/sh /fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "aclocal-amflags-1.0"
make[2]: Leaving directory '/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir'
tardir=aclocal-amflags-1.0 && ${TAR-tar} chof - "$tardir" | eval GZIP= gzip --best -c >aclocal-amflags-1.0.tar.gz
gzip: eval: FSUM7351 not found
FSUM7153 tar: Unknown option "-hof"
Usage: tar -{crtux}[EGlpmoOSUvwXz[0-7[lmh]]] [-b blocks] [-L [ET]]
           [-f tarfile] [-V volpattern] [file [-C pathname] ...]
make[1]: *** [Makefile:302: dist-gzip] Error 127
make[1]: Leaving directory '/fultonm/zopen/dev/automakeport/automake-1.16/t/aclocal-amflags.dir'
make: *** [Makefile:337: dist] Error 2
+ am_exit_trap 2
+ exit_status=2
+ set +e
+ cd /fultonm/zopen/dev/automakeport/automake-1.16
+ test none = tap
+ case $am_explicit_skips in
+ test 2 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x

The line:

tardir=aclocal-amflags-1.0 && ${TAR-tar} chof - "$tardir" | eval GZIP= gzip --best -c >aclocal-amflags-1.0.tar.gz

causes problems.

MikeFultonDev commented 2 years ago

I had to add tar, gzip both to the set of dependencies because tar needs options not available with the default tar.

The files in the aclocal-amflags-1.0 directory are not tagged. I expect this is because when the tarball is untar'ed, it is not tagging the files correctly.

MikeFultonDev commented 1 year ago

So need to enhance tar: https://github.com/ZOSOpenTools/tarport/issues/4

MikeFultonDev commented 1 year ago

As a temporary approach, we can tag the files when automake untars them. This appears to be part of: lib/am/distdir.am which has code to generate the distcheck target by untar'ing the files - so I added in: chtag -R -tcISO8859-1 $(distdir)/* It is also in Makefile.in (the tarball has this file shipped - with the 'dev' line I don't think I would need to fix this because Makefile.am would generate the Makefile.in and it should get the proper code from lib/am/distdir.am