zosopentools / autoconfport Goto Github PK
View Code? Open in Web Editor NEWDelta files to build autoconf for z/OS
License: Apache License 2.0
Delta files to build autoconf for z/OS
License: Apache License 2.0
Running testsuite -v 162 shows the specifics of the failure:
>
> # -*- compilation -*-
> 3. micro-suite.at:11: testing pass: long lines ...
> ./micro-suite.at:17: echo $str
> diff: FSUM8822 file "STDIN": line too long: limit 2048
> diff: FSUM8822 file "/fultonm/autoconfport/autoconf-2.71/tests/testsuite.dir/162/micro-suite.dir/at-groups/3/stdout": line too long: limit 2048
> 3. micro-suite.at:11: 3. pass: long lines (micro-suite.at:11): FAILED (micro-suite.at:17)
autom4te: error: need GNU m4 1.4 or later: /usr/local/bin/m4
I've been trying to investigate failing testcase 567. So far here's what I've found:
tests/testsuite.dir/567/testsuite.log contains this at the end:
config.status: creating config.h
config.status: config.h is unchanged
./acfunctions.at:10: ath_fn_check_env
./acfunctions.at:10: $at_diff "config-h.c-native-r1" "config-h.c-native-r2"
./acfunctions.at:10: $at_diff "at_config_vars-state-env.c-native-r1" "at_config_vars-state-env.c-native-r2"
0a1,2
> 34d33
> < LIBS=""
./acfunctions.at:10: exit code was 1, expected 0
It seems that the test framework is diffing the files state-env.c-native-r1
and state-env.c-native-r2
which are produced during a run of configure -C
, and then a subsequent run of configure -C
respectively. The second run picks up config.cache
file produced by the first run it seems.
File state-env.c-native-r1
contains an extra LIBS=""
that state-env.c-native-r2
does not. So far I do not know why.
@IgorTodorovskiIBM @HarithaIBM, I tried to install aclocal with "zopen install aclocal" on my new working directory but got below failure. After running "zopen install autoconfport", aclocal is installed since aclocal is one of tools in package autoconfport". Is it possible to make the tool installed directly by running command "zopen install aclocal" as the linux world?
zopen install aclocal
***ERROR: Could not find specified aclocal. Run with --list option to view the available ports
BTW, can we have the uninstallation command like "zopen uninstall" later?
Sunny
Hello..
today I tried to build a project that is using auto(re)conf.
First problem is more a problem of the perlport. Because
autoreconf is complaining about missing libperl.so.
Adding the $ZOPEN_ROOTFS/usr/lib/5.38.0/os390/CORE
to the LIBPATH fixed this problem.
Then I stumbled over the next isse:
Can't locate Automake/Config.pm in @INC (you may need to install the Automake::Config module) (@INC entries checked: ZOPEN_INSTALL_ROOT/share/automake-1.16 $ZOPEN_ROOTFS/usr/local/zopen/perl/perl/lib/5.38.0/os390 $ZOPEN_ROOTFS/usr/local/zopen/perl/perl/lib/5.38.0 $ZOPEN_ROOTFS/usr/local/zopen/perl/perl/lib/5.38.0/os390 ../lib/site_perl/5.38.0/os390 ../lib/site_perl/5.38.0 ../lib/5.38.0/os390 ../lib/5.38.0) at $ZOPEN_ROOTFS/usr/bin/aclocal line 35.
BEGIN failed--compilation aborted at $ZOPEN_ROOTFS/usr/bin/aclocal line 35.
autoreconf: error: aclocal failed with exit status: 129
Regards Mike
Ideally, everything should be ASCII - this likely is highlighting a problem:
find . -name "*" | xargs chtag -p 2>/dev/null | grep IBM-1047
t IBM-1047 T=on ./autoconf-2.71/bin/autoreconf
t IBM-1047 T=on ./autoconf-2.71/bin/autom4te
t IBM-1047 T=on ./autoconf-2.71/bin/autoconf
t IBM-1047 T=on ./autoconf-2.71/bin/autoheader
t IBM-1047 T=on ./autoconf-2.71/bin/autoupdate
t IBM-1047 T=on ./autoconf-2.71/bin/autoscan
t IBM-1047 T=on ./autoconf-2.71/bin/ifnames
t IBM-1047 T=on ./autoconf-2.71/build-aux/config.guess
t IBM-1047 T=on ./autoconf-2.71/lib/autoconf/general.m4
t IBM-1047 T=on ./autoconf-2.71/lib/autoconf/status.m4
t IBM-1047 T=on ./autoconf-2.71/lib/autoscan/autoscan.list
t IBM-1047 T=on ./autoconf-2.71/lib/m4sugar/version.m4
t IBM-1047 T=on ./autoconf-2.71/lib/autom4te.cfg
t IBM-1047 T=on ./autoconf-2.71/tests/local.at
t IBM-1047 T=on ./autoconf-2.71/tests/atlocal
t IBM-1047 T=on ./autoconf-2.71/tests/atconfig
t IBM-1047 T=on ./autoconf-2.71/tests/autoconf
t IBM-1047 T=on ./autoconf-2.71/tests/autoheader
t IBM-1047 T=on ./autoconf-2.71/tests/autom4te
t IBM-1047 T=on ./autoconf-2.71/tests/autoreconf
t IBM-1047 T=on ./autoconf-2.71/tests/autoscan
t IBM-1047 T=on ./autoconf-2.71/tests/autoupdate
t IBM-1047 T=on ./autoconf-2.71/tests/ifnames
t IBM-1047 T=on ./autoconf-2.71/configure
t IBM-1047 T=on ./autoconf-2.71/config.log
t IBM-1047 T=on ./autoconf-2.71/config.status
t IBM-1047 T=on ./autoconf-2.71/Makefile
wrote a testcase to test this problem:
https://github.com/ZOSOpenTools/autoconfport/blob/main/tests/basic/genscan.sh
Unfortunately, it works :(
So perhaps the issue with 318 is a test framework issue and the autoconf code in this case actually is fine.
Will try to describe my sandbox and result.
My bash is rocket 4.3.48 (this orgs bash5 noc hange) with this ascii env:
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
#export _TAG_REDIR_IN=txt
#export _TAG_REDIR_OUT=txt
#export _TAG_REDIR_ERR=txt
I end my ~/.bashrc with the following to use some contemporary tools from this org:
for DIR in curl-7.83.1.20221004_225315.zos m4-1.4.19.20221024_100531.zos autoconf-2.71.20221007_003454.zos; do
cd $DIR
source .env
cd -
done
And a dummy configure.in to test autoconf outside of my full httpd sandbox
AC_PREREQ(2.59)
AC_INIT(export_vars.sh.in)
AC_CONFIG_HEADER(dummy.h)
autoheader
always produces an error:
$ autoheader
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
m4:/tmp/am4tJP4czz/traces.m4:126: ERROR: end of file in comment
m4:/tmp/am4tJP4czz/traces.m4:128: ERROR: end of file in comment
m4:/tmp/am4tJP4czz/traces.m4:130: ERROR: end of file in comment
autoheader: error: error: AC_CONFIG_HEADERS not found in configure.in
with -v
autom4te: formatting traces for '/tmp/am4tmnNLwA/warnings': _m4_warn
m4:/tmp/am4tmnNLwA/traces.m4:128: ERROR: end of file in comment
Putting a sleep at the bottom of handle_traces in autom4te shows:
$ ls -T /tmp/am4tmnNLwA/traces.m4
t IBM-1047 T=on /tmp/am4tmnNLwA/traces.m4
Which has multiple cases of ascii content after leading stanzas of ebcdic. I've sftp'ed it off the host and gzip'ed it to allow it to be attached:
Running tests/firstbug.sh and then hacking 'm4' to capture the temporary m4 file it generates, as follows:
#!/bin/sh
echo "$" >>/tmp/out
tmparg="$2"
if [ "${tmparg#/tmp}" != "${tmparg}" ]; then
backup=basename ${tmparg}
echo "Copied ${tmparg} to /tmp/${backup}.$$" >>/tmp/out
cp "${tmparg}" "/tmp/${backup}.$$"
fi
exec /usr/local/bin/realm4 "$@"
and also renaming /usr/local/bin/m4 to /usr/local/bin/realm4
then we can capture the temporary m4 file (probably an easier way, but this worked).
The temporary file is marked as IBM-1047 (should probably be ISO8859-1) but the bigger problem is the contents are mixed.
They start in EBCDIC:
divert(-1)
changequote([, ])
...
but later there is ASCII:
gnu:
line: <line>
program: <program>
unix:
builtin:
changecom:
changequote:
debugfile:
debugmode:
decr:
define:
defn:
divert:
divnum:
dnl:
...
This actually. bounces back and forth a few times
This can be fixed by changing the code to do LINENO=0; (it is just being unset later) or to skip the test.
Manual run of this test with LINENO=0 had the test pass
When building expat, it is getting confused with libtool. I am thinking perhaps we need to change the order of autoconf, automake, libtool and maybe have one or both of autoconf and automake depend on libtool (now that it builds)?
That might be a red herring too :)
@jshimoda9323 hoping you can check this out given your knowledge of autoconf/automake ?
expat is required to build 'git'
autoreconf: export WARNINGS=all
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
aclocal: warning: couldn't open directory 'm4': EDC5129I No such file or directory.
configure.ac:103: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:103: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:103: the top level
configure.ac:103: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:103: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:103: the top level
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /u/fultonm/zopen/prod/autoconf-2.71/bin/autoconf
configure.ac:103: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:103: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:103: the top level
autoreconf: running: /u/fultonm/zopen/prod/autoconf-2.71/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:103: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:103: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:103: the top level
lib/Makefile.am:38: error: Libtool library used but 'LIBTOOL' is undefined
lib/Makefile.am:38: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/Makefile.am:38: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/Makefile.am:38: If 'LT_INIT' is in 'configure.ac', make sure
lib/Makefile.am:38: its definition is in aclocal's search path.
tests/Makefile.am:37: error: library used but 'RANLIB' is undefined
tests/Makefile.am:37: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
tests/Makefile.am:37: to 'configure.ac' and run 'autoconf' again.
autoreconf: error: automake failed with exit status: 1
``
most of the section 392 to 444 is failing. Will look into lack of 'libz' first
Need to open individual issues to track the specific failures. Here is a recent Jenkins run:
## ----------------------------- ##
## GNU Autoconf 2.71 test suite. ##
## ----------------------------- ##
Executables (autoheader, autoupdate...).
1: Syntax of the shell scripts ok
2: Syntax of the Perl scripts ok
3: autom4te cache ok
4: autom4te --force ok
5: autom4te and whitespace in file names ok
6: autom4te --trace and unusual macro names ok
7: autom4te --trace and whitespace ok
8: autoconf --trace: user macros ok
9: autoconf --trace: builtins ok
10: autoconf --trace: AC_CONFIG_MACRO_DIRS ok
11: autoconf: forbidden tokens, basic ok
12: autoconf: forbidden tokens, exceptions ok
13: autoconf: automatically allowed tokens ok
14: autoconf: the empty token ok
15: autoconf: subdirectories ok
16: autoconf: input from stdin ok
17: autoconf: AC_AUTOCONF_VERSION ok
18: autoconf: AC_PRESERVE_HELP_ORDER ok
19: autoconf: timestamp changes ok
20: ifnames ok
21: autoheader ok
22: autoheader and macros ok
23: autoheader with multiple headers ok
24: autoupdate ok
25: autoupdating AC_LINK_FILES ok
26: autoupdating AC_PREREQ ok
27: autoupdating AU_ALIAS ok
28: autoupdating OLD to NEW ok
29: autoupdating macros recursively expected failure (tools.at:1146)
30: autoupdating AC_HELP_STRING ok
31: autoupdating with m4sugar ok
32: autoupdating with m4_pushdef expected failure (tools.at:1229)
33: autoupdating with AC_REQUIRE expected failure (tools.at:1255)
34: autoupdating with complex quoting expected failure (tools.at:1282)
35: autoupdating AC_LANG_SAVE ok
36: autoupdating AC_FOREACH ok
37: autoupdating AC_OBSOLETE ok
38: autoupdating AC_DIAGNOSE and AC_WARNING ok
39: autoupdating AC_FATAL ok
40: autoupdating with aclocal and m4_include skipped (tools.at:1469)
41: autom4te preselections skipped (tools.at:1507)
42: autom4te cache creation ok
43: autom4te cache locking ok
44: autotools and whitespace in file names ok
45: autotools and relative TMPDIR skipped (tools.at:1717)
M4sugar.
46: m4_stack ok
47: m4_defn ok
48: m4_dumpdef ok
49: m4_warn ok
50: m4_divert_stack ok
51: m4_expansion_stack ok
52: m4_require: error message ok
53: m4_require: warning message ok
54: m4_require: circular dependencies ok
55: m4_require: one-shot initialization ok
56: m4_require: nested ok
57: m4sugar shorthand conditionals ok
58: m4_cond ok
59: m4 lists ok
60: m4_split ok
61: m4_do ok
62: m4_append ok
63: m4_join ok
64: m4_expand ok
65: m4_text_box ok
66: m4_text_wrap ok
67: m4_version_compare ok
68: Standard regular expressions ok
69: m4_bmatch ok
70: m4_toupper and m4_tolower ok
71: m4_bpatsubsts ok
72: m4_esyscmd_s ok
73: M4 loops ok
74: m4_map ok
75: m4_map_args and m4_curry ok
76: m4_combine ok
77: m4_max and m4_min ok
78: recursion ok
79: m4_set ok
80: __file__ and __line__ ok
M4sh.
81: No extra re-exec with CONFIG_SHELL ok
82: Forced re-exec with CONFIG_SHELL ok
83: Configure re-execs self with CONFIG_SHELL ok
84: AS_WARN and AS_ERROR ok
85: LINENO FAILED (m4sh.at:259)
86: LINENO stack ok
87: AS_BOX ok
88: AS_BASENAME ok
89: AS_DIRNAME ok
90: AS_SET_CATFILE ok
91: AS_ECHO and AS_ECHO_N ok
92: obsolete $as_echo and $as_echo_n ok
93: Redefining AS_ECHO internals ok
94: AS_EXECUTABLE_P ok
95: AS_EXIT ok
96: AS_MKDIR_P ok
97: AS_VERSION_COMPARE ok
98: as_me ok
99: Negated classes in globbing ok
100: Null variable substitution ok
101: Functions Support ok
102: Functions and return Support ok
103: Nested AS_REQUIRE_SHELL_FN ok
104: Nested AS_REQUIRE ok
105: AS_REQUIRE_SHELL_FN and m4_require ok
106: AS_HELP_STRING ok
107: AS_IF and AS_CASE ok
108: AS_FOR ok
109: AS_LITERAL_IF ok
110: AS_TR_SH and AS_TR_CPP ok
111: AS_VAR basics ok
112: AS_VAR_APPEND ok
113: AS_VAR_ARITH ok
114: AS_INIT cleanup ok
115: AS_INIT basename __file__ ok
116: AS_INIT_GENERATED ok
117: AS_MESSAGE_FD ok
118: _AS_CLEAN_DIR ok
119: ECHO_C ok
Autotest.
120: AT_COPYRIGHT ok
121: AT_DATA ok
122: AT_DATA_UNQUOTED ok
123: AT_PREPARE_TESTS ok
124: AT_PREPARE_EACH_TEST ok
125: AT_TEST_HELPER_FN ok
126: Empty test suite ok
127: Banner-only test suite ok
128: Empty test ok
129: Empty check ok
130: AT_SETUP without AT_INIT ok
131: AT_BANNER without AT_INIT ok
132: AT_CLEANUP without AT_INIT ok
133: Missing AT_CLEANUP ok
134: AT_FAIL_IF without AT_SETUP ok
135: AT_SKIP_IF without AT_SETUP ok
136: AT_CHECK without AT_SETUP ok
137: AT_DATA without AT_SETUP ok
138: AT_XFAIL_IF without AT_SETUP ok
139: AT_KEYWORDS without AT_SETUP ok
140: AT_CLEANUP without AT_SETUP ok
141: AT_BANNER inside AT_SETUP ok
142: AT_SETUP inside AT_SETUP ok
143: Multiple AT_INIT ok
144: Invalid AT_TEST_HELPER_FN (spaces) ok
145: Invalid AT_TEST_HELPER_FN (substitutions) ok
146: Multiple AT_TEST_HELPER_FN ok
147: Tested programs ok
148: Startup error messages ok
149: Truth ok
150: Fallacy ok
151: Skip ok
152: Hard fail ok
153: AT_FAIL_IF ok
154: AT_SKIP_IF ok
155: Syntax error skipped (autotest.at:451)
156: errexit ok
157: at_status ok
158: AT_CHECK execution environment ok
159: unquoted output ok
160: Trace output ok
161: Logging ok
162: Binary output FAILED (autotest.at:615)
163: Cleanup ok
164: Literal multiline command ok
165: Multiline parameter expansion ok
166: Backquote command substitution ok
167: Multiline backquote command substitution ok
168: Parenthetical command substitution ok
169: Multiline parenthetical command substitution ok
170: Shell comment in command ok
171: Invalid brace-enclosed parameter expansion ok
172: Multiline command from M4 expansion ok
173: Double-M4-quoted command ok
174: Metacharacters in command from M4 expansion ok
175: BS-newline in command ok
176: ^BS-newline in command ok
177: BSx641-newline in command ok
178: BS-BS-newline in command ok
179: BSx640-newline in command ok
180: Newline-CODE-BS-newline in command ok
181: Single-quote-BS-newline in command ok
182: Single-quote-newline-BS-newline in command ok
183: Input from stdin ok
184: Backquote in a test title ok
185: Single-quote in a test title ok
186: Double-quote in a test title ok
187: Backslash in a test title ok
188: Brackets in a test title ok
189: Left bracket in a test title ok
190: Right bracket in a test title ok
191: Quoted pound in a test title ok
192: Pound in a test title ok
193: Quoted comma in a test title ok
194: Comma in a test title ok
195: Parentheses in a test title ok
196: Left paren in a test title ok
197: Right paren in a test title ok
198: Quoted Macro in a test title ok
199: Macro in a test title ok
200: Macro with backquote in a test title ok
201: Macro with single-quote in a test title ok
202: Macro with double-quote in a test title ok
203: Macro with backslash in a test title ok
204: Macro echoing macro in a test title ok
205: Macro echoing single-quote in a test title ok
206: Long test title in a test title ok
207: Longer test title in a test title ok
208: Long test source lines ok
209: Huge testsuite ok
210: Debugging a successful test ok
211: Debugging script and environment ok
212: Debugging a failed test ok
213: Using atlocal ok
214: Choosing where testsuite is run ok
215: recheck ok
216: Banners ok
217: Keywords and ranges ok
218: Keyword wrapping ok
219: AT_ARG_OPTION ok
220: AT_ARG_OPTION_ARG ok
221: parallel test execution skipped (autotest.at:1514)
222: parallel truth skipped (autotest.at:1557)
223: parallel fallacy skipped (autotest.at:1562)
224: parallel skip skipped (autotest.at:1567)
225: parallel syntax error skipped (autotest.at:1572)
226: parallel errexit skipped (autotest.at:1591)
227: parallel autotest and signal handling skipped (autotest.at:1609)
228: parallel args but non-working mkfifo skipped (autotest.at:1719)
229: colored test results ok
230: srcdir propagation ok
231: whitespace in absolute testdir ok
232: unusual file names ok
233: C unit tests ok
234: C unit tests (EXEEXT) ok
235: Erlang Eunit unit tests ok
Autoconf base layer.
236: AC_REQUIRE: topological sort ok
237: AC_REQUIRE: error message ok
238: AC_REQUIRE & AC_DEFUN_ONCE: Require, expand ok
239: AC_REQUIRE & AC_DEFUN_ONCE: Expand, require ok
240: AC_REQUIRE & AC_PROVIDE ok
241: AC_INIT ok
242: AC_INIT (obsolete invocation) ok
243: AC_INIT with unusual version strings ok
244: AC_COPYRIGHT ok
245: AC_CACHE_CHECK skipped (base.at:762)
246: AC_CACHE_LOAD ok
247: AC_COMPUTE_INT ok
248: AC_TRY_COMMAND ok
249: Input/Output ok
250: configure arguments ok
251: AC_ARG_ENABLE and AC_ARG_WITH ok
252: configure directories ok
253: AC_SUBST ok
254: configure with closed standard fds FAILED (base.at:1111)
Testing config.status.
255: AC_CONFIG_COMMANDS with empty commands ok
256: AC_CONFIG_COMMANDS with temporary directory ok
257: Multiple AC_CONFIG_FILES ok
258: Parameterized AC_CONFIG_FILES ok
259: AC_ARG_VAR ok
260: AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS ok
261: Macro calls in AC_CONFIG_COMMANDS tags ok
262: Missing templates ok
263: configure invocation ok
264: --help and --version in unwritable directory ok
265: #define header templates ok
266: Torturing config.status ok
267: Substitute a 2000-byte string ok
268: Define to a 2000-byte string ok
269: Substitute and define special characters ok
270: Substitute a newline ok
271: Define a newline ok
272: AC_SUBST: variable name validation ok
273: datarootdir workaround ok
274: srcdir ok
275: VPATH ok
276: Signal handling skipped (torture.at:1320)
277: AC_CONFIG_LINKS ok
278: AC_CONFIG_LINKS and identical files ok
autoreconf.
279: Configuring subdirectories skipped (torture.at:1460)
280: Deep Package skipped (torture.at:1588)
281: Non-Autoconf AC_CONFIG_SUBDIRS skipped (torture.at:1727)
282: Non-literal AC_CONFIG_SUBDIRS ok
283: Empty AC_CONFIG_SUBDIRS ok
284: Empty directory ok
285: Unusual Automake input files skipped (torture.at:1878)
286: Specific warnings options for autoreconf skipped (torture.at:1917)
287: Missing auxiliary files (config.*) ok
288: Missing auxiliary files (install-sh) ok
289: Missing auxiliary files (foreign) ok
290: Missing auxiliary files (--force) ok
291: Files clobbered by AC_OPENMP ok
Low level compiling/preprocessing macros.
292: AC_LANG, AC_LANG_PUSH & AC_LANG_POP ok
293: AC_REQUIRE & AC_LANG ok
294: AC_LANG_SOURCE ok
295: AC_LANG_SOURCE(C++) ok
296: AC_LANG_SOURCE example skipped (compile.at:193)
297: AC_LANG_PROGRAM example skipped (compile.at:234)
298: AC_COMPILE_IFELSE ok
299: AC_RUN_IFELSE ok
300: Order of user actions and cleanup ok
301: AC_TRY_LINK_FUNC ok
302: Multiple languages ok
Testing autoconf/lang macros.
303: AC_NO_EXECUTABLES ok
304: AC_REQUIRE_CPP ok
C low level compiling/preprocessing macros.
305: Object file extensions ok
306: Broken/missing compilers ok
307: C keywords ok
308: AC_PROG_CPP requires AC_PROG_CC ok
309: AC_PROG_CPP with warnings ok
310: AC_PROG_CPP without warnings skipped (c.at:153)
311: AC_PROG_CPP via CC skipped (c.at:197)
312: AC_NO_EXECUTABLES (working linker) ok
313: AC_NO_EXECUTABLES (broken linker) ok
314: AC_USE_SYSTEM_EXTENSIONS ok
315: AC_C_RESTRICT and C++ ok
316: AC_OPENMP and C skipped (c.at:389)
317: AC_OPENMP and C++ skipped (c.at:431)
Testing autoconf/c macros.
318: AC_C_BACKSLASH_A ok
319: AC_C_BIGENDIAN ok
320: AC_C_CHAR_UNSIGNED ok
321: AC_C_FLEXIBLE_ARRAY_MEMBER ok
322: AC_C_INLINE ok
323: AC_C_PROTOTYPES ok
324: AC_C_RESTRICT ok
325: AC_C_STRINGIZE ok
326: AC_C_TYPEOF ok
327: AC_C_VARARRAYS ok
328: AC_C__GENERIC ok
329: AC_OPENMP ok
330: AC_PROG_CC_C_O FAILED (acc.at:20)
331: AC_PROG_CPP_WERROR ok
332: AC_PROG_GCC_TRADITIONAL ok
333: AC_LANG_C ok
334: autoupdating AC_LANG_C ok
335: AC_LANG_CPLUSPLUS ok
336: autoupdating AC_LANG_CPLUSPLUS ok
337: AC_LANG_OBJC ok
338: autoupdating AC_LANG_OBJC ok
Fortran low level compiling/preprocessing macros.
339: GNU Fortran 77 skipped (fortran.at:31)
340: GNU Fortran skipped (fortran.at:61)
341: AC_OPENMP and Fortran 77 skipped (fortran.at:119)
342: AC_OPENMP and Fortran skipped (fortran.at:164)
343: AC_F77_DUMMY_MAIN usage skipped (fortran.at:256)
344: AC_FC_DUMMY_MAIN usage skipped (fortran.at:338)
345: AC_F77_MAIN usage skipped (fortran.at:419)
346: AC_FC_MAIN usage skipped (fortran.at:503)
347: AC_F77_FUNC usage skipped (fortran.at:582)
348: AC_FC_FUNC usage skipped (fortran.at:658)
349: AC_FC_SRCEXT usage skipped (fortran.at:743)
350: AC_FC_PP_SRCEXT usage skipped (fortran.at:842)
351: AC_FC_FREEFORM skipped (fortran.at:878)
352: AC_FC_FREEFORM with AC_FC_SRCEXT skipped (fortran.at:915)
353: AC_FC_FIXEDFORM skipped (fortran.at:952)
354: AC_FC_FIXEDFORM with AC_FC_SRCEXT skipped (fortran.at:990)
355: AC_FC_LINE_LENGTH skipped (fortran.at:1058)
356: AC_FC_CHECK_BOUNDS skipped (fortran.at:1119)
357: AC_FC_MODULE_FLAG skipped (fortran.at:1186)
Testing autoconf/fortran macros.
358: AC_F77_IMPLICIT_NONE skipped (acfortran.at:8)
359: AC_F77_MAIN skipped (acfortran.at:9)
360: AC_F77_WRAPPERS skipped (acfortran.at:10)
361: AC_FC_CHECK_BOUNDS skipped (acfortran.at:11)
362: AC_FC_FIXEDFORM skipped (acfortran.at:12)
363: AC_FC_FREEFORM skipped (acfortran.at:13)
364: AC_FC_IMPLICIT_NONE skipped (acfortran.at:14)
365: AC_FC_LINE_LENGTH skipped (acfortran.at:15)
366: AC_FC_MAIN skipped (acfortran.at:16)
367: AC_FC_MODULE_EXTENSION skipped (acfortran.at:17)
368: AC_FC_MODULE_FLAG skipped (acfortran.at:18)
369: AC_FC_MODULE_OUTPUT_FLAG skipped (acfortran.at:19)
370: AC_FC_PP_DEFINE skipped (acfortran.at:20)
371: AC_FC_WRAPPERS skipped (acfortran.at:21)
372: AC_PROG_F77_C_O skipped (acfortran.at:22)
373: AC_PROG_FC_C_O skipped (acfortran.at:23)
374: AC_F77_NAME_MANGLING ok
375: autoupdating AC_F77_NAME_MANGLING ok
376: AC_LANG_FORTRAN77 ok
377: autoupdating AC_LANG_FORTRAN77 ok
Erlang low level compiling and utility macros.
378: Erlang basic compilation skipped (erlang.at:36)
379: AC_ERLANG_CHECK_LIB skipped (erlang.at:66)
380: AC_ERLANG_SUBST_ROOT_DIR skipped (erlang.at:82)
381: AC_ERLANG_SUBST_LIB_DIR skipped (erlang.at:95)
382: AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR ok
Testing autoconf/erlang macros.
383: AC_ERLANG_PATH_ERL ok
384: AC_ERLANG_PATH_ERLC ok
385: AC_ERLANG_SUBST_ERTS_VER skipped (acerlang.at:10)
386: AC_ERLANG_SUBST_LIB_DIR skipped (acerlang.at:11)
387: AC_LANG_ERLANG ok
388: autoupdating AC_LANG_ERLANG ok
Go low level compiling and utility macros.
389: Go skipped (go.at:30)
Testing autoconf/go macros.
390: AC_LANG_GO ok
391: autoupdating AC_LANG_GO ok
Semantics.
392: AC_CHECK_LIB FAILED (semantics.at:35)
393: AC_SEARCH_LIBS (needed) FAILED (semantics.at:117)
394: AC_SEARCH_LIBS (none needed) ok
395: AC_CHECK_DECLS ok
396: AC_CHECK_FUNCS ok
397: AC_REPLACE_FUNCS ok
398: AC_CHECK_HEADERS ok
399: AC_CHECK_HEADERS (preprocessor test) ok
400: AC_CHECK_HEADERS (compiler test) ok
401: AC_CHECK_MEMBER ok
402: AC_CHECK_MEMBERS ok
403: AC_CHECK_ALIGNOF ok
404: AC_CHECK_ALIGNOF struct ok
405: AC_CHECK_SIZEOF ok
406: AC_CHECK_SIZEOF struct ok
407: AC_CHECK_TYPES ok
408: AC_CHECK_TYPES: backward compatibility ok
409: AC_CHECK_FILES ok
410: AC_CHECK_PROG & AC_CHECK_PROGS ok
411: AC_C_BIGENDIAN ok
412: AC_PATH_PROG & AC_PATH_PROGS ok
413: AC_PATH_PROGS_FEATURE_CHECK ok
414: AC_PATH_XTRA ok
415: AC_SYS_RESTARTABLE_SYSCALLS ok
416: AC_FUNC_SETVBUF_REVERSED ok
417: AC_FUNC_WAIT3 ok
418: AC_TRY_CPP ok
419: autoupdating AC_TRY_CPP ok
420: AC_TRY_COMPILE ok
421: autoupdating AC_TRY_COMPILE ok
422: AC_TRY_LINK ok
423: autoupdating AC_TRY_LINK ok
424: AC_COMPILE_CHECK ok
425: autoupdating AC_COMPILE_CHECK ok
426: AC_TRY_RUN ok
427: autoupdating AC_TRY_RUN ok
428: AC_HAVE_LIBRARY ok
429: autoupdating AC_HAVE_LIBRARY ok
430: Macro expansion in AC_CHECK_FUNCS (literal) ok
431: Macro expansion in AC_CHECK_FUNCS (variable) ok
432: Macro expansion in AC_CHECK_FUNCS_ONCE ok
433: Macro expansion in AC_REPLACE_FUNCS (literal) ok
434: Macro expansion in AC_REPLACE_FUNCS (variable) ok
435: Macro expansion in AC_CHECK_HEADERS (literal) ok
436: Macro expansion in AC_CHECK_HEADERS (variable) ok
437: Macro expansion in AC_CHECK_HEADERS_ONCE ok
438: Macro expansion in AC_CHECK_FILES ok
439: Macro expansion in AC_CONFIG_MACRO_DIRS ok
440: Macro expansion in AC_CONFIG_SUBDIRS ok
441: AC_PROG_LEX with noyywrap FAILED (semantics.at:1255)
442: AC_PROG_LEX with yywrap skipped (semantics.at:1257)
443: AC_PROG_LEX in legacy mode ok
444: Invalid arguments to AC_PROG_LEX ok
Testing autoconf/general macros.
445: AC_ARG_ENABLE ok
446: AC_ARG_PROGRAM ok
447: AC_ARG_WITH ok
448: AC_CHECK_DECLS_ONCE ok
449: AC_EGREP_CPP ok
450: AC_EGREP_HEADER ok
451: AC_LIBOBJ ok
452: AC_LIBSOURCES ok
453: AC_PREFIX_DEFAULT ok
454: AC_REQUIRE_AUX_FILE ok
455: AC_CHECKING ok
456: autoupdating AC_CHECKING ok
457: AC_ENABLE ok
458: autoupdating AC_ENABLE ok
459: AC_MSG_RESULT_UNQUOTED ok
460: autoupdating AC_MSG_RESULT_UNQUOTED ok
461: AC_VALIDATE_CACHED_SYSTEM_TUPLE ok
462: autoupdating AC_VALIDATE_CACHED_SYSTEM_TUPLE ok
463: AC_WITH ok
464: autoupdating AC_WITH ok
465: _AC_COMPUTE_INT ok
466: autoupdating _AC_COMPUTE_INT ok
Testing autoconf/status macros.
467: AC_OUTPUT_COMMANDS ok
468: autoupdating AC_OUTPUT_COMMANDS ok
Testing autoconf/specific macros.
469: AC_SYS_INTERPRETER ok
470: AC_SYS_LARGEFILE ok
471: AC_SYS_LONG_FILE_NAMES ok
472: AC_SYS_POSIX_TERMIOS ok
473: AC_AIX ok
474: autoupdating AC_AIX ok
475: AC_ARG_ARRAY ok
476: autoupdating AC_ARG_ARRAY ok
477: AC_DECL_SYS_SIGLIST ok
478: autoupdating AC_DECL_SYS_SIGLIST ok
479: AC_DYNIX_SEQ ok
480: autoupdating AC_DYNIX_SEQ ok
481: AC_HAVE_POUNDBANG ok
482: autoupdating AC_HAVE_POUNDBANG ok
483: AC_IRIX_SUN ok
484: autoupdating AC_IRIX_SUN ok
485: AC_ISC_POSIX ok
486: autoupdating AC_ISC_POSIX ok
487: AC_MINIX ok
488: autoupdating AC_MINIX ok
489: AC_SCO_INTL ok
490: autoupdating AC_SCO_INTL ok
491: AC_XENIX_DIR ok
492: autoupdating AC_XENIX_DIR ok
Testing autoconf/programs macros.
493: AC_PROG_AWK ok
494: AC_PROG_FGREP ok
495: AC_PROG_INSTALL ok
496: AC_PROG_LN_S ok
497: AC_PROG_MAKE_SET ok
498: AC_PROG_MKDIR_P ok
499: AC_PROG_RANLIB ok
500: AC_PROG_SED ok
501: AC_PROG_YACC ok
502: AC_CHECK_TOOL_PREFIX ok
503: autoupdating AC_CHECK_TOOL_PREFIX ok
504: AC_DECL_YYTEXT FAILED (acprograms.at:20)
505: autoupdating AC_DECL_YYTEXT ok
506: AC_RSH ok
507: autoupdating AC_RSH ok
Testing autoconf/headers macros.
508: AC_CHECK_HEADERS_ONCE ok
509: AC_CHECK_HEADER_STDBOOL ok
510: AC_HEADER_ASSERT ok
511: AC_HEADER_MAJOR ok
512: AC_HEADER_RESOLV ok
513: AC_HEADER_STAT ok
514: AC_HEADER_STDBOOL ok
515: AC_HEADER_TIOCGWINSZ ok
516: AC_DIR_HEADER ok
517: autoupdating AC_DIR_HEADER ok
518: AC_HEADER_STDC ok
519: autoupdating AC_HEADER_STDC ok
520: AC_HEADER_TIME ok
521: autoupdating AC_HEADER_TIME ok
522: AC_MEMORY_H ok
523: autoupdating AC_MEMORY_H ok
524: AC_UNISTD_H ok
525: autoupdating AC_UNISTD_H ok
526: AC_USG ok
527: autoupdating AC_USG ok
528: _AC_CHECK_HEADER_MONGREL ok
529: autoupdating _AC_CHECK_HEADER_MONGREL ok
Testing autoconf/types macros.
530: AC_STRUCT_DIRENT_D_INO ok
531: AC_STRUCT_DIRENT_D_TYPE ok
532: AC_STRUCT_ST_BLOCKS ok
533: AC_STRUCT_TIMEZONE ok
534: AC_TYPE_INT16_T ok
535: AC_TYPE_INT32_T ok
536: AC_TYPE_INT64_T ok
537: AC_TYPE_INT8_T ok
538: AC_TYPE_INTMAX_T ok
539: AC_TYPE_INTPTR_T ok
540: AC_TYPE_LONG_DOUBLE ok
541: AC_TYPE_LONG_DOUBLE_WIDER ok
542: AC_TYPE_MODE_T ok
543: AC_TYPE_OFF_T ok
544: AC_TYPE_SSIZE_T ok
545: AC_TYPE_UINT16_T ok
546: AC_TYPE_UINT32_T ok
547: AC_TYPE_UINT64_T ok
548: AC_TYPE_UINT8_T ok
549: AC_TYPE_UINTMAX_T ok
550: AC_TYPE_UINTPTR_T ok
551: AC_C_LONG_DOUBLE ok
552: autoupdating AC_C_LONG_DOUBLE ok
553: AC_INT_16_BITS ok
554: autoupdating AC_INT_16_BITS ok
555: AC_LONG_64_BITS ok
556: autoupdating AC_LONG_64_BITS ok
557: AC_STRUCT_ST_BLKSIZE ok
558: autoupdating AC_STRUCT_ST_BLKSIZE ok
559: AC_STRUCT_ST_RDEV ok
560: autoupdating AC_STRUCT_ST_RDEV ok
561: AC_TYPE_SIGNAL ok
562: autoupdating AC_TYPE_SIGNAL ok
563: AM_TYPE_PTRDIFF_T ok
564: autoupdating AM_TYPE_PTRDIFF_T ok
Testing autoconf/functions macros.
565: AC_CHECK_FUNCS_ONCE ok
566: AC_FUNC_CHOWN ok
567: AC_FUNC_CLOSEDIR_VOID ok
568: AC_FUNC_ERROR_AT_LINE ok
569: AC_FUNC_FNMATCH ok
570: AC_FUNC_FORK ok
571: AC_FUNC_FSEEKO ok
572: AC_FUNC_GETGROUPS ok
573: AC_FUNC_GETMNTENT ok
574: AC_FUNC_GETPGRP ok
575: AC_FUNC_LSTAT ok
576: AC_FUNC_MALLOC ok
577: AC_FUNC_MBRTOWC ok
578: AC_FUNC_MEMCMP ok
579: AC_FUNC_MKTIME ok
580: AC_FUNC_MMAP ok
581: AC_FUNC_OBSTACK ok
582: AC_FUNC_REALLOC ok
583: AC_FUNC_SELECT_ARGTYPES ok
584: AC_FUNC_SETPGRP ok
585: AC_FUNC_STAT ok
586: AC_FUNC_STRCOLL ok
587: AC_FUNC_STRERROR_R ok
588: AC_FUNC_STRFTIME ok
589: AC_FUNC_STRNLEN ok
590: AC_FUNC_STRTOD FAILED (acfunctions.at:33)
591: AC_FUNC_STRTOLD ok
592: AC_FUNC_UTIME_NULL ok
593: AC_FUNC_VPRINTF ok
Compatibility with external tools and macros.
594: Libtool skipped (foreign.at:29)
595: shtool skipped (foreign.at:130)
596: AX_PROG_CC_FOR_BUILD skipped (foreign.at:172)
597: AX_PROG_CXX_FOR_BUILD skipped (foreign.at:207)
598: gnulib-std-gnu11.m4 ok
Autoscan.
599: autoscan ok
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 527 tests were run,
13 failed (4 expected failures).
72 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: <[email protected]>
Subject: [GNU Autoconf 2.71] testsuite: 85 162 254 330 392 393 441 504 590 failed
You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point. Its output may
be found below `tests/testsuite.dir'.
make[2]: *** [Makefile:2282: check-local] Error 1
make[2]: Leaving directory '/jenkins/PortBuild/autoconf/autoconf-2.71'
make[1]: *** [Makefile:1783: check-am] Error 2
make[1]: Leaving directory '/jenkins/PortBuild/autoconf/autoconf-2.71'
make: *** [Makefile:1785: check] Error 2
VERBOSE: 'Test status:
actualFailures:13
totalTests:599
expectedFailures:12'
VERBOSE: 'Test results: 586 tests pass out of 599 tests - 97.83% success rate'
VERBOSE: 'check completed in 21662 seconds.'
***ERROR: Failures (13) not less than than expected (12). Failing...
There are 13 failures but only 12 were expected. Will update to 13 and then we can track these to get to 0
running runbasic.sh results in:
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
configure with dependency tracking disabled did not run correctly
If we look at the generated files, trace files are untagged and config.log, config.status, and Makefile are tagged 1047. These should all be tagged ISO8859-1
find . -name "*" | xargs chtag -p 2>/dev/null | grep -v 8859
- untagged T=off ./basic/autom4te.cache/traces.0
- untagged T=off ./basic/autom4te.cache/traces.1
- untagged T=off ./basic/autom4te.cache/traces.2
t IBM-1047 T=on ./basic/config.log
t IBM-1047 T=on ./basic/config.status
t IBM-1047 T=on ./basic/Makefile
testsuite.log has the following:
# -*- compilation -*-
3. tools.at:88: testing autom4te cache ...
./tools.at:96: autom4te --language=m4sugar script.4s -o script
./tools.at:101: autom4te --language=m4sugar script.4s -o script
stderr:
m4:script.4s:1: cannot open `foo': EDC5129I No such file or directory.
autom4te: error: /fultonm/m4prod/bin/m4 failed with exit status: 1
./tools.at:101: mv stderr stderr-raw &&
sed 's/^[^:]*m4[-.ex0-9]*: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4[-.ex0-9]*: /m4:\1\2 /
s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
s/: include:\( cannot open\)/:\1/
s/^autom4te: [^ ]*m4[.ex]* /autom4te: m4 /
s/^autom4te: error: [^ ]*m4[.ex]* /autom4te: error: m4 /
s!^.*/\([^/][^/]*\)\.m4: *[0-9][0-9]*: *!\1.m4: !
s!^.*/\([^/][^/]*\)\.m4: *[0-9][0-9]*: *[0-9][0-9]*: *!\1.m4: !
s/ (E[A-Z]*)$//
' stderr-raw >&2
1c1
< m4:script.4s:1: cannot open `foo': No such file or directory
---
> m4:script.4s:1: cannot open `foo': EDC5129I No such file or directory.
3. tools.at:88: 3. autom4te cache (tools.at:88): FAILED (tools.at:101)
4
The difference is the 'EDC5129I' error message prefix being added to the error output.
I unpacked a new autoconf-2.71.20221007_003454.zos to report:
autoconf blows up with complaints about expecting 'V' in frozen file autoconf.m4f
$ ls -T /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/*
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoconf.m4
- untagged T=off /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoconf.m4f
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoheader.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoscan.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autotest.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoupdate.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/c.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/erlang.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/fortran.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/functions.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/general.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/go.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/headers.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/lang.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/libs.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/oldnames.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/programs.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/specific.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/status.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/trailer.m4
t ISO8859-1 T=on /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/types.m4
$ od -t x1 /u/WASTST1/autoconf-2.71.20221007_003454.zos/share/autoconf/autoconf/autoconf.m4f|head -1
0000000000 23 20 54 68 69 73 20 69 73 20 61 20 66 72 6F 7A
tagging it gets me further.
Switch from working numbered signals such as 1, 2, 13, 15 to corresponding HUP, INT, PIPE, TERM
See at least:
Printed out as:
1: Syntax of the shell scripts ?[0;32mok?[m
instead of
1: Syntax of the shell scripts <green on>ok<normal>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.