autogen-users Mailing List for AutoGen: The Automated Program Generator (Page 12)
Brought to you by:
bkorb
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
(7) |
Sep
(4) |
Oct
(2) |
Nov
(26) |
Dec
(3) |
2002 |
Jan
(7) |
Feb
(1) |
Mar
(10) |
Apr
(22) |
May
(8) |
Jun
(6) |
Jul
(2) |
Aug
(4) |
Sep
(5) |
Oct
(2) |
Nov
(5) |
Dec
(13) |
2003 |
Jan
(5) |
Feb
(1) |
Mar
(38) |
Apr
(16) |
May
(13) |
Jun
(12) |
Jul
(21) |
Aug
(6) |
Sep
|
Oct
|
Nov
(5) |
Dec
(7) |
2004 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(4) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(7) |
Dec
(5) |
2005 |
Jan
(11) |
Feb
(12) |
Mar
(4) |
Apr
(16) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
|
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(7) |
2006 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
(4) |
Jul
(17) |
Aug
(2) |
Sep
(13) |
Oct
(20) |
Nov
(6) |
Dec
(18) |
2007 |
Jan
(15) |
Feb
(21) |
Mar
(9) |
Apr
(9) |
May
(3) |
Jun
|
Jul
(9) |
Aug
(9) |
Sep
(2) |
Oct
(4) |
Nov
(7) |
Dec
|
2008 |
Jan
(7) |
Feb
(4) |
Mar
(4) |
Apr
(12) |
May
(6) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
|
Nov
(7) |
Dec
(5) |
2009 |
Jan
(3) |
Feb
(1) |
Mar
(6) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(16) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(4) |
Dec
(16) |
2011 |
Jan
|
Feb
|
Mar
(10) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(5) |
Dec
(2) |
2012 |
Jan
(9) |
Feb
(6) |
Mar
(1) |
Apr
(1) |
May
(5) |
Jun
(14) |
Jul
|
Aug
(9) |
Sep
(2) |
Oct
|
Nov
(4) |
Dec
(14) |
2013 |
Jan
(4) |
Feb
(1) |
Mar
(3) |
Apr
(5) |
May
(8) |
Jun
(1) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
(12) |
Nov
(8) |
Dec
(1) |
2014 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
(9) |
May
(1) |
Jun
(9) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: Brian D. <br...@de...> - 2008-11-22 16:50:38
|
Dave Nadler wrote: > - decipher the build complaint below and suggest what I've screwed up, or The problem is that CFLAGS contains -Werror which turns any minor warning into a fatal error that stops the build. > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall > -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow > -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT cols.o -MD -MP > -MF .deps/cols.Tpo -c -o cols.o cols.c > In file included from cols.c:3: > columns.c: In function `handleIndent': > columns.c:169: warning: int format, long unsigned int arg (arg 3) > columns.c:169: warning: int format, long unsigned int arg (arg 3) Indeed columns.c contains: 156 uint32_t colCt = strtoul( pzIndentArg, &pz, 0 ); ... 169 fprintf( stderr, "Cannot malloc %d bytes\n", colCt + 1 ); This provokes a warning on Cygwin (where uint32_t is a typedef for "unsigned long") whereas it does not on Linux where uint32_t is a typedef for "unsigned int". The warning has correctly pointed out the error in assuming that uint32_t is based on the "int" type, which is not a portable assumption. Even though Cygwin is an ILP32 system, consider platforms (like avr for example) where int is 16 bits and so uint32_t would also be based on "long" or some other type. The only portable way to use uint32_t with printf is by using the corresponding format specifier define from inttypes.h, i.e. fprintf( stderr, "Cannot malloc %"PRIu32" bytes\n", colCt + 1 ); This of course has its own set of portability issues since inttypes.h isn't available everywhere. Perhaps a better option would be to use size_t and %zu. These is good example of why it's a bad idea to ship software with -Werror enabled by default. It might be helpful for the developer of the package to have it enabled but it is certainly unhelpful to the end user who is just trying to use the software. For this reason it's traditional to have a --{en,dis}able-werror configure option that allows for the end-user to override the package, however it seems that autogen does not share this philosophy but instead forces -Werror. Ouch. This is a new development, so I'd say one workaround would be to simply use an older version. 5.9.5 should be fine. You could also edit configure.in and regenerate configure. > - alternatively, provide an executable ready to go on win32... The problem with getting autogen working with Cygwin lies in libguile. The binary version provided by the distro was built with an incompatible version of gcc and so autogen built against it segfaults at startup. It's been reported multiple times but the guile maintainer is still in denial that a problem exists. So, you need to build guile yourself from source. Brian |
From: Dave N. <Dav...@na...> - 2008-11-22 15:42:29
|
Hi All - I need to get autogen running under cygwin (to do some GCC work). I've got a build failure which I can't puzzle out (gruesome details copied below). Anybody able to help, either: - decipher the build complaint below and suggest what I've screwed up, or - alternatively, provide an executable ready to go on win32... Thanks in advance, any and all help much appreciated ! Best Regards, Dave PS: There's a scary message about libopts. It seems like autogen has included and built that; do I need to download and install it separately ? Or should I ignore this warning, or do something differently ? *** Warning: This system can not link to static lib archive libopts.la. I've (via cygwin) loaded flex, bison, libtools 2.2, gettext, guile1.8 (then 1.6 to get the missing guile-config script). Script started on Fri Nov 21 13:04:30 2008 $ ./configure checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* A U T O G E N GNU AutoGen-5.9.6 libopts.la-32:0:7 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for as... as checking for dlltool... dlltool checking for objdump... objdump checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe 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 dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if malloc debugging is wanted... no checking whether gcc and cc understand -c and -o together... yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for a BSD-compatible install... /usr/bin/install -c checking for texi2html... : checking for an ANSI C-conforming const... yes checking for inline... inline checking for dlopen in -ldl... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for long double with more range or precision than double... yes checking for u_int... yes checking for long long... yes checking for uintmax_t... yes checking for size_t... (cached) yes checking for wchar_t... yes checking for char*... yes checking size of char*... 4 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for short... yes checking size of short... 2 checking for strchr... yes checking for strlcpy... yes checking for snprintf... yes checking for dlopen... yes checking for library containing copysign... none required checking for library containing copysignl... no checking for library containing modfl... no checking whether using shell scripts... yes checking whether setjmp() links okay... yes checking whether sigsetjmp() links okay... yes checking whether with-libguile was specified... no checking whether with-libguile-cflags was specified... no checking whether with-libguile-libs was specified... no configure: guile-config used for CFLAGS: configure: guile-config used for LIBS: -lguile -lltdl -L/usr/lib -L/usr/bin -L/usr/lib/w32api -lgmp -lcrypt -lm -lltdl checking whether libguile can be linked with... yes checking whether the guile version... 1.8.2 checking whether scm_primitive_eval_x links... yes checking whether with-libxml2 was specified... no checking whether with-libxml2-cflags was specified... no checking whether with-libxml2-libs was specified... no checking whether libxml2 can be linked with... no checking whether fattach runs... no checking whether connld works... no checking whether sysinfo(2) is Solaris... no checking whether strcspn matches prototype and works... yes checking whether there is a global text array sys_siglist... no checking whether uname(2) is POSIX... yes checking whether long long ints... yes checking whether runtime library dirs can be specified... -Wl,-R checking whether wanting autogen debugging... no checking libio.h usability... no checking libio.h presence... no checking for libio.h... no checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for dlfcn.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for memory.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/procset.h usability... no checking sys/procset.h presence... no checking for sys/procset.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking for uint_t... no checking for pid_t... (cached) yes checking for char*... (cached) yes checking size of char*... (cached) 4 checking for int... (cached) yes checking size of int... (cached) 4 checking for long... (cached) yes checking size of long... (cached) 4 checking for short... (cached) yes checking size of short... (cached) 2 checking for pathfind in -lgen... no checking for vprintf... yes checking for _doprnt... no checking for mmap... yes checking for canonicalize_file_name... no checking for snprintf... (cached) yes checking for strdup... yes checking for strchr... (cached) yes checking for strrchr... yes checking for strsignal... yes checking whether a reg expr header is specified... no checking whether with-libregex was specified... no checking whether with-libregex-cflags was specified... no checking whether with-libregex-libs was specified... no checking whether libregex functions properly... yes checking whether pathfind(3) works... no checking whether /dev/zero is readable device... crw-rw-rw- 1 dnadler mkgroup-l-d 1, 5 Nov 30 2006 /dev/zero checking whether we have a functional realpath(3C)... yes checking whether strftime() works... yes checking whether fopen accepts "b" mode... yes checking whether fopen accepts "t" mode... yes checking whether not wanting optional option args... yes checking whether sigsetjmp is declared... yes checking for fopencookie... no checking for funopen... no checking for inline... (cached) inline checking for static inline... static inline checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for fgrep... (cached) /usr/bin/grep -F checking if malloc debugging is wanted... no checking for gawk... (cached) gawk checking for runetype.h... no checking for wchar.h... yes checking for stdarg.h... (cached) yes checking for wchar_t... (cached) yes checking for wint_t... yes checking for long double... yes checking for strtoul... yes checking for ldexpl... no checking for frexpl... no checking for log in -lm... yes checking for copysign... yes checking for copysignl... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating doc/mk-agen-texi.sh config.status: creating autoopts/options.tpl config.status: creating autoopts/aginfo.tpl config.status: creating autoopts/aginfo3.tpl config.status: creating autoopts/agman1.tpl config.status: creating autoopts/agman3.tpl config.status: creating Makefile config.status: creating agen5/Makefile config.status: creating agen5/test/Makefile config.status: creating autoopts/Makefile config.status: creating autoopts/autoopts-config config.status: creating autoopts/mk-autoopts-pc config.status: creating autoopts/test/Makefile config.status: creating autoopts/test/defs config.status: creating columns/Makefile config.status: creating compat/Makefile config.status: creating doc/Makefile config.status: creating getdefs/Makefile config.status: creating getdefs/test/Makefile config.status: creating pkg/Makefile config.status: creating pkg/pkg-env config.status: creating snprintfv/Makefile config.status: creating xml2ag/Makefile config.status: creating xml2ag/test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing stamp-h commands ------------------------------------------------------------------------ Configuration: Source code location: . Compiler: gcc -std=gnu99 Compiler flags: -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing Host System Type: i686-pc-cygwin Install path: /usr/local See config.h for further configuration information. ------------------------------------------------------------------------ $ make make all-recursive make[1]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6' Making all in compat make[2]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/compat' : make[2]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/compat' Making all in snprintfv make[2]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/snprintfv' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT snv.lo -MD -MP -MF .deps/snv.Tpo -c -o snv.lo snv.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT snv.lo -MD -MP -MF .deps/snv.Tpo -c snv.c -DDLL_EXPORT -DPIC -o .libs/snv.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT snv.lo -MD -MP -MF .deps/snv.Tpo -c snv.c -o snv.o >/dev/null 2>&1 mv -f .deps/snv.Tpo .deps/snv.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -no-undefined -o libsnprintfv.la snv.lo -lm -ldl libtool: link: rm -fr .libs/libsnprintfv.a .libs/libsnprintfv.la libtool: link: ar cru .libs/libsnprintfv.a .libs/snv.o libtool: link: ranlib .libs/libsnprintfv.a libtool: link: ( cd ".libs" && rm -f "libsnprintfv.la" && ln -s "../libsnprintfv.la" "libsnprintfv.la" ) make[2]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/snprintfv' Making all in autoopts make[2]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts' Making all in test make[3]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts/test' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts/test' make[3]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -DPKGDATADIR='"/usr/local/share/autogen"' -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo -c -o libopts_la-libopts.lo `test -f 'libopts.c' || echo './'`libopts.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -DPKGDATADIR=\"/usr/local/share/autogen\" -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo -c libopts.c -DDLL_EXPORT -DPIC -o .libs/libopts_la-libopts.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -DPKGDATADIR=\"/usr/local/share/autogen\" -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo -c libopts.c -o libopts_la-libopts.o >/dev/null 2>&1 mv -f .deps/libopts_la-libopts.Tpo .deps/libopts_la-libopts.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -DPKGDATADIR='"/usr/local/share/autogen"' -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -version-info 32:0:7 -o libopts.la -rpath /usr/local/lib libopts_la-libopts.lo ../snprintfv/libsnprintfv.la -lm -ldl libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries libtool: link: rm -fr .libs/libopts.a .libs/libopts.la .libs/libopts.lai libtool: link: (cd .libs/libopts.lax/libsnprintfv.a && ar x "/cygdrive/d/home/drn/autogen-5.9.6/autoopts/../snprintfv/.libs/libsnprintfv.a") libtool: link: ar cru .libs/libopts.a libopts_la-libopts.o .libs/libopts.lax/libsnprintfv.a/snv.o libtool: link: ranlib .libs/libopts.a libtool: link: rm -fr .libs/libopts.lax libtool: link: ( cd ".libs" && rm -f "libopts.la" && ln -s "../libopts.la" "libopts.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libguileopts_la-guileopt.lo -MD -MP -MF .deps/libguileopts_la-guileopt.Tpo -c -o libguileopts_la-guileopt.lo `test -f 'guileopt.c' || echo './'`guileopt.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libguileopts_la-guileopt.lo -MD -MP -MF .deps/libguileopts_la-guileopt.Tpo -c guileopt.c -DDLL_EXPORT -DPIC -o .libs/libguileopts_la-guileopt.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT libguileopts_la-guileopt.lo -MD -MP -MF .deps/libguileopts_la-guileopt.Tpo -c guileopt.c -o libguileopts_la-guileopt.o >/dev/null 2>&1 mv -f .deps/libguileopts_la-guileopt.Tpo .deps/libguileopts_la-guileopt.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -version-info 0:1:0 -o libguileopts.la -rpath /usr/local/lib libguileopts_la-guileopt.lo libopts.la -lm -ldl *** Warning: This system can not link to static lib archive libopts.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries libtool: link: rm -fr .libs/libguileopts.a .libs/libguileopts.la .libs/libguileopts.lai libtool: link: ar cru .libs/libguileopts.a libguileopts_la-guileopt.o libtool: link: ranlib .libs/libguileopts.a libtool: link: ( cd ".libs" && rm -f "libguileopts.la" && ln -s "../libguileopts.la" "libguileopts.la" ) ++ cd .. ++ pwd + top_builddir=/cygdrive/d/home/drn/autogen-5.9.6 ++ cd .. ++ pwd + top_srcdir=/cygdrive/d/home/drn/autogen-5.9.6 + '[' -x /cygdrive/d/home/drn/autogen-5.9.6/agen5/autogen ']' + exit 0 /bin/sh mk-autoopts-pc autoopts.pc make[3]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts' make[2]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/autoopts' Making all in agen5 make[2]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5' Making all in test make[3]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5/test' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5/test' make[3]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5' ( echo '#define DEFINING' ; echo '#include "autogen.h"' ; \ for f in autogen.c agCgi.c agInit.c agShell.c cgi-fsm.c defDirect.c agUtils.c defParse-fsm.c defLex.c defLoad.c defFind.c expFormat.c expGperf.c expGuile.c expExtract.c expOutput.c expPrint.c expState.c expMake.c fmemopen.c funcCase.c funcDef.c expString.c funcFor.c funcIf.c functions.c funcEval.c loadPseudo.c opts.c scmStrings.c tpLoad.c tpProcess.c tpParse.c ; do echo "#include \"$f\"" ; done ) > ag.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c mv -f .deps/autogen-ag.Tpo .deps/autogen-ag.Po /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -export-dynamic -o autogen.exe autogen-ag.o ../autoopts/libopts.la ../snprintfv/libsnprintfv.la -lguile -lltdl -L/usr/lib -L/usr/bin -L/usr/lib/w32api -lgmp -lcrypt -lm -lltdl -lm -ldl libtool: link: gcc -std=gnu99 -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -o .libs/autogen.exe autogen-ag.o -Wl,--export-dynamic ../autoopts/.libs/libopts.a ../snprintfv/.libs/libsnprintfv.a /usr/lib/libguile.dll.a /usr/lib/libintl.dll.a -L/usr/lib /usr/lib/libiconv.dll.a -L/usr/bin -L/usr/lib/w32api /usr/local/lib/libgmp.a -lcrypt /usr/lib/libltdl.dll.a -ldl /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.Info: resolving _scm_subr_table by linking to __imp__scm_subr_table (auto-import) Info: resolving _scm_sys_protects by linking to __imp__scm_sys_protects (auto-import) cd ../columns ; make columns.exe make[4]: Entering directory `/cygdrive/d/home/drn/autogen-5.9.6/columns' for f in config.h opts.h columns.c opts.c ; do echo "#include \"$f\"" ; done > cols.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -g -O2 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -MT cols.o -MD -MP -MF .deps/cols.Tpo -c -o cols.o cols.c In file included from cols.c:3: columns.c: In function `handleIndent': columns.c:169: warning: int format, long unsigned int arg (arg 3) columns.c:169: warning: int format, long unsigned int arg (arg 3) make[4]: *** [cols.o] Error 1 make[4]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/columns' make[3]: *** [/cygdrive/d/home/drn/autogen-5.9.6/columns/columns.exe] Error 2 make[3]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6/agen5' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/home/drn/autogen-5.9.6' make: *** [all] Error 2 $ exit Script done on Fri Nov 21 13:13:11 2008 /* config.h. Generated from config-h.in by configure. */ /* config-h.in. Generated from configure.in by autoheader. */ /* define to suitable timeout limit for shell command */ #define AG_DEFAULT_TIMEOUT 70 /* Define this to the autoopts interface age number */ #define AO_AGE 7 /* Define this to the autoopts current interface number */ #define AO_CURRENT 32 /* Define this to the autoopts interface revision number */ #define AO_REVISION 0 /* Define this if debugging is enabled */ /* #undef DEBUG_ENABLED */ /* "Define if we can use it" */ /* #undef ENABLE_FMEMOPEN */ /* fopen(3) accepts a 'b' in the mode flag */ #define FOPEN_BINARY_FLAG "b" /* fopen(3) accepts a 't' in the mode flag */ #define FOPEN_TEXT_FLAG "t" /* define to Guile version expression */ #define GUILE_VERSION 108002 /* Define to 1 if you have the `canonicalize_file_name' function. */ /* #undef HAVE_CANONICALIZE_FILE_NAME */ /* Define this if connld works */ /* #undef HAVE_CONNLD */ /* Define to 1 if you have the `copysign' function. */ #define HAVE_COPYSIGN 1 /* Define to 1 if you have the `copysignl' function. */ /* #undef HAVE_COPYSIGNL */ /* Define to 1 if you have the declaration of `sigsetjmp', and to 0 if you don't. */ #define HAVE_DECL_SIGSETJMP 1 /* Define this if /dev/zero is readable device */ #define HAVE_DEV_ZERO 1 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `dlopen' function. */ #define HAVE_DLOPEN 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if you have the <errno.h> header file. */ #define HAVE_ERRNO_H 1 /* Define this if fattach runs */ /* #undef HAVE_FATTACH */ /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fopencookie' function. */ /* #undef HAVE_FOPENCOOKIE */ /* Define to 1 if you have the `frexpl' function. */ /* #undef HAVE_FREXPL */ /* Define to 1 if you have the `funopen' function. */ /* #undef HAVE_FUNOPEN */ /* Define to 1 if the system has the type `int16_t'. */ #define HAVE_INT16_T 1 /* Define to 1 if the system has the type `int32_t'. */ #define HAVE_INT32_T 1 /* Define to 1 if the system has the type `int8_t'. */ #define HAVE_INT8_T 1 /* Define to 1 if the system has the type `intptr_t'. */ #define HAVE_INTPTR_T 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the `ldexpl' function. */ /* #undef HAVE_LDEXPL */ /* Define to 1 if you have the `dl' library (-ldl). */ #define HAVE_LIBDL 1 /* Define to 1 if you have the `gen' library (-lgen). */ /* #undef HAVE_LIBGEN */ /* Define to 1 if you have the <libgen.h> header file. */ #define HAVE_LIBGEN_H 1 /* Define to 1 if you have the <libio.h> header file. */ /* #undef HAVE_LIBIO_H */ /* Define to 1 if you have the `m' library (-lm). */ #define HAVE_LIBM 1 /* Define to 1 if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if the system has the type `long double'. */ #define HAVE_LONG_DOUBLE 1 /* Define to 1 if the type `long double' works and has more range or precision than `double'. */ #define HAVE_LONG_DOUBLE_WIDER 1 /* Define this if long long ints */ #define HAVE_LONG_LONG 1 /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mmap' function. */ #define HAVE_MMAP 1 /* Define to 1 if you have the `modfl' function. */ /* #undef HAVE_MODFL */ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the <netinet/in.h> header file. */ #define HAVE_NETINET_IN_H 1 /* Define this if pathfind(3) works */ /* #undef HAVE_PATHFIND */ /* Define to 1 if the system has the type `pid_t'. */ #define HAVE_PID_T 1 /* Define this if we have a functional realpath(3C) */ #define HAVE_REALPATH 1 /* Define to 1 if you have the <runetype.h> header file. */ /* #undef HAVE_RUNETYPE_H */ /* Define to 1 if you have the <setjmp.h> header file. */ #define HAVE_SETJMP_H 1 /* Define to 1 if the system has the type `size_t'. */ #define HAVE_SIZE_T 1 /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 /* Define this if sysinfo(2) is Solaris */ /* #undef HAVE_SOLARIS_SYSINFO */ /* Define to 1 if you have the <stdarg.h> header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define this if strcspn matches prototype and works */ #define HAVE_STRCSPN 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define this if strftime() works */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strlcpy' function. */ #define HAVE_STRLCPY 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if you have the `strsignal' function. */ #define HAVE_STRSIGNAL 1 /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 /* Define to 1 if you have the <sysexits.h> header file. */ #define HAVE_SYSEXITS_H 1 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the <sys/limits.h> header file. */ /* #undef HAVE_SYS_LIMITS_H */ /* Define to 1 if you have the <sys/mman.h> header file. */ #define HAVE_SYS_MMAN_H 1 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the <sys/param.h> header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the <sys/poll.h> header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the <sys/procset.h> header file. */ /* #undef HAVE_SYS_PROCSET_H */ /* Define to 1 if you have the <sys/select.h> header file. */ #define HAVE_SYS_SELECT_H 1 /* Define this if there is a global text array sys_siglist */ /* #undef HAVE_SYS_SIGLIST */ /* Define to 1 if you have the <sys/socket.h> header file. */ #define HAVE_SYS_SOCKET_H 1 /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/stropts.h> header file. */ /* #undef HAVE_SYS_STROPTS_H */ /* Define to 1 if you have the <sys/time.h> header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the <sys/un.h> header file. */ #define HAVE_SYS_UN_H 1 /* Define to 1 if you have the <sys/wait.h> header file. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if the system has the type `uint16_t'. */ #define HAVE_UINT16_T 1 /* Define to 1 if the system has the type `uint32_t'. */ #define HAVE_UINT32_T 1 /* Define to 1 if the system has the type `uint8_t'. */ #define HAVE_UINT8_T 1 /* Define to 1 if the system has the type `uintmax_t'. */ #define HAVE_UINTMAX_T 1 /* Define to 1 if the system has the type `uintptr_t'. */ #define HAVE_UINTPTR_T 1 /* Define to 1 if the system has the type `uint_t'. */ /* #undef HAVE_UINT_T */ /* Define this if uname(2) is POSIX */ #define HAVE_UNAME_SYSCALL 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the <utime.h> header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if the system has the type `u_int'. */ #define HAVE_U_INT 1 /* Define to 1 if you have the <values.h> header file. */ /* #undef HAVE_VALUES_H */ /* Define to 1 if you have the <varargs.h> header file. */ /* #undef HAVE_VARARGS_H */ /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the <wchar.h> header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if the system has the type `wint_t'. */ #define HAVE_WINT_T 1 /* [setjmp links okay] */ #define HAVE_WORKING_SETJMP 1 /* [sigsetjmp links okay] */ #define HAVE_WORKING_SIGSETJMP 1 /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #define LT_OBJDIR ".libs/" /* Define if typedefs for the funopen function pointers are required. */ /* #undef NEED_COOKIE_FUNCTION_TYPEDEFS */ /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* Define this if optional arguments are disallowed */ /* #undef NO_OPTIONAL_OPT_ARGS */ /* Name of package */ #define PACKAGE "autogen" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "aut...@li..." /* Define to the full name of this package. */ #define PACKAGE_NAME "GNU AutoGen" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "GNU AutoGen 5.9.6" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "autogen" /* Define to the version of this package. */ #define PACKAGE_VERSION "5.9.6" /* name of regex header file */ #define REGEX_HEADER <regex.h> /* Define this if using shell scripts */ #define SHELL_ENABLED 1 /* The size of `char*', as computed by sizeof. */ #define SIZEOF_CHARP 4 /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 /* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 4 /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 /* define to static or static inline */ #define SNV_INLINE static inline /* Define this to the long+double type */ #define SNV_LONG_DOUBLE long double /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ #define VERSION "5.9.6" /* Define if using the dmalloc debugging malloc package */ /* #undef WITH_DMALLOC */ /* Define this if a working libregex can be found */ #define WITH_LIBREGEX 1 /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if <sys/types.h> doesn't define. */ /* #undef gid_t */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to `int' if <sys/types.h> does not define. */ /* #undef mode_t */ /* Define to `int' if <sys/types.h> does not define. */ /* #undef pid_t */ /* Define this if no scm_primitive_eval_x */ /* #undef scm_primitive_eval_x */ /* Define this if no scm_t_port */ /* #undef scm_t_port */ /* Define to `unsigned int' if <sys/types.h> does not define. */ /* #undef size_t */ /* Define to `int' if <sys/types.h> doesn't define. */ /* #undef uid_t */ Dave Nadler, USA East Coast voice (978) 263-0097, dr...@na... |
From: Bruce K. <bru...@gm...> - 2008-11-06 18:48:52
|
Hi Aaron, On Thu, Nov 6, 2008 at 10:21 AM, Aaron Turner <syn...@gm...> wrote: > Hey Bruce, > > I just wanted to take a few seconds to say thank you for autoconf. You're most welcome. I do presume you to mean, "AutoOpts" though. :) > I'm in the process of having to write code to process a config file > which is unfortunately in JSON and even with a decent parser library, > it's still a very time consuming, bug prone and boring PITA. Makes me > really appreciate just how easy and quick autoopts makes dealing with > configuration files & CLI options so that I can spend my time working > on the interesting problems! Cheers - Bruce |
From: Aaron T. <syn...@gm...> - 2008-11-06 18:21:29
|
Hey Bruce, I just wanted to take a few seconds to say thank you for autoconf. I'm in the process of having to write code to process a config file which is unfortunately in JSON and even with a decent parser library, it's still a very time consuming, bug prone and boring PITA. Makes me really appreciate just how easy and quick autoconf makes dealing with configuration files & CLI options so that I can spend my time working on the interesting problems! -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |
From: Alan P. <al...@il...> - 2008-09-23 21:17:28
|
Alan Pae wrote: > Bruce Korb wrote: >> Hi Alan, >> >> Attached. Thanks for trying it out. >> >> - Bruce >> Alan Pae wrote: >>> 2 MB should be doable AFAIK. Send it as an attachment. >>> >>> Thanks!, >>> alan This is with Sun Studio 12 Making check in compat make[1]: Entering directory `/build/autogen-5.9.6pre13/compat' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/autogen-5.9.6pre13/compat' Making check in snprintfv make[1]: Entering directory `/build/autogen-5.9.6pre13/snprintfv' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/autogen-5.9.6pre13/snprintfv' Making check in autoopts make[1]: Entering directory `/build/autogen-5.9.6pre13/autoopts' Making check in test make[2]: Entering directory `/build/autogen-5.9.6pre13/autoopts/test' make check-TESTS make[3]: Entering directory `/build/autogen-5.9.6pre13/autoopts/test' + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/nested-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/nested-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running nested.test for nested using /bin/bash === + chmod +w nested-tmpd nested.log + export SHELL SHELLX=/bin/bash -x + exec + cat AutoGen definitions options; config-header = 'config.h'; prog-name = "test_nested"; prog-title = "Test AutoOpts for nested"; homerc = nested.d/nested.cfg; flag = { name = struct; value = s; max = NOLIMIT; descrip = 'structured argument val'; arg-type = nested; }; main = { main-type = main; + test -d nested.d + mkdir -p nested.d + echo main-text = <<- _EOCode_ + cat { int ix = 0; const tOptionValue* pOV = optionFindValue(&DESC(STRUCT), NULL, NULL); do { printf("\nstruct opt #%d:\n", ++ix); res |= print_entry( pOV ); pOV = optionFindNextValue(&DESC(STRUCT), pOV, NULL, NULL); } while (pOV != NULL); } + echo _EOCode_; }; + echo include = <<- _EOSubr_ + cat #include <stdio.h> int print_nested( const tOptionValue* pGV ); int print_entry( const tOptionValue* pGV ); int print_entry( const tOptionValue* pGV ) { if (pGV == NULL) { fprintf( stderr, "ENTRY NOT FOUND\n" ); return 1; } printf( "%-8s -- ", pGV->pzName ); switch (pGV->valType) { case OPARG_TYPE_NONE: fputs( "no value\n", stdout ); break; case OPARG_TYPE_STRING: printf( "string: %s\n", pGV->v.strVal ); break; case OPARG_TYPE_ENUMERATION: printf( "enum: %d\n", pGV->v.enumVal ); break; case OPARG_TYPE_BOOLEAN: printf( "bool: %s\n", pGV->v.boolVal ? "TRUE" : "false" ); break; case OPARG_TYPE_MEMBERSHIP: printf("members: 0x%08lX\n", (unsigned long)pGV->v.setVal); break; case OPARG_TYPE_NUMERIC: printf( "integer: %ld\n", pGV->v.longVal ); break; case OPARG_TYPE_HIERARCHY: printf( "nested: 0x%08lX\n", (unsigned long)pGV->v.nestVal ); return print_nested( pGV ); break; default: printf( "bad type: %d\n", pGV->valType ); return 1; } return 0; } int print_nested( const tOptionValue* pGV ) { int res = 0; const tOptionValue* pOV = optionGetValue( pGV, NULL ); while (pOV != NULL) { res |= print_entry( pOV ); pOV = optionNextValue( pGV, pOV ); } return res; } + echo _EOSubr_; + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def + compile -? + : + test X = X Csrc=nested + test X = X Cexe=nested + test X = X Dnam=nested + echo TEST_TEST_nested_OPTS + tr [a-z]- [A-Z]_ d=TEST_TEST_NESTED_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_NESTED_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o nested nested.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_NESTED_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o nested nested.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_NESTED_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o nested nested.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen "nested.h", line 42: #error: option template version mismatches autoopts/options.h header cc: acomp failed for nested.c + failure cannot compile nested.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + mkdir ../FAILURES + set +x FAILURE: cannot compile nested.c FAIL: nested.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running cfg-edit.test for cfg-edit using /bin/bash === + chmod +w cfg-edit-tmpd cfg-edit.log + export SHELL SHELLX=/bin/bash -x + sed s/-/_/g + echo cfg-edit test_name=cfg_edit + basename /build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd cfg_file=cfg-edit-tmpd/cfg-edit.cfg + exec + cat AutoGen definitions options; config-header = 'config.h'; prog-name = "test_cfg-edit"; prog-title = "Test AutoOpts for cfg-edit"; homerc = cfg-edit-tmpd/cfg-edit.cfg; resettable; argument = '[ <output-config-file> ]'; flag = { name = struct; value = s; max = NOLIMIT; descrip = 'structured argument val'; arg-type = nested; }; flag = { name = members; value = m; descrip = 'membership set'; keyword = one, two, three, four, five, six, seven, eight, nine, ten; arg-default = five; arg-type = set; }; flag = { name = enumerate; value = e; descrip = 'a test enumeration'; keyword = uno, dos, tres, quatro, cinco, seis, siete, ocho; arg-default = cinco; arg-type = keyword; }; flag = { name = stacking; value = k; descrip = 'stack up a list'; arg-default = initialized; arg-type = string; stack-arg; max = NOLIMIT; }; flag = { name = number; value = n; descrip = 'a range constrained int'; arg-default = 32; arg-type = number; arg-range = '->-1', '1->31', '33', '64->'; }; flag = { name = boolean; value = b; descrip = 'a boolean value'; arg-default = true; arg-type = boolean; }; flag = { name = in-file; value = I; descrip = 'an input file'; arg-type = file; open-file = descriptor; file-mode = O_RDONLY; file-exists = yes; }; flag = { name = out-file; value = O; descrip = 'an output file'; arg-type = file; open-file = fopen; file-mode = w; file-exists = no; }; flag = { name = test-file; value = T; descrip = 'a test file'; arg-type = file; }; main = { main-type = main; asl=<< + cat main-text = <<- _EOCode_ { tOptions * const pOpts = &test_cfg_editOptions; int svix = pOpts->specOptIdx.save_opts; char const * pzFile = "cfg-edit-tmpd/cfg-edit.cfg-default"; if (argc > 0) pzFile = *argv; if (svix == 0) exit(1); SET_OPT_SAVE_OPTS(pzFile); optionSaveFile(pOpts); } + echo _EOCode_; }; + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def + compile -? + : + test X = X Csrc=cfg-edit + test X = X Cexe=cfg-edit + test X = X Dnam=cfg-edit + echo TEST_TEST_cfg-edit_OPTS + tr [a-z]- [A-Z]_ d=TEST_TEST_CFG_EDIT_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CFG_EDIT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cfg-edit cfg-edit.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CFG_EDIT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cfg-edit cfg-edit.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CFG_EDIT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cfg-edit cfg-edit.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen "cfg-edit.h", line 42: #error: option template version mismatches autoopts/options.h header cc: acomp failed for cfg-edit.c + failure cannot compile cfg-edit.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf cfg-edit* .*cfg-edit* + rm -rf -rf cfg-edit* .*cfg-edit* bad= + test -f -rf -o -d -rf + test -f cfg-edit* -o -d cfg-edit* + test -f .*cfg-edit* -o -d .*cfg-edit* + test -z + return 0 + set +x FAILURE: cannot compile cfg-edit.c FAIL: cfg-edit.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/argument-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/argument-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running argument.test for argument using /bin/bash === + chmod +w argument-tmpd argument.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating argument.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating argument.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + export testname test_main argument long_opts + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ sed 's/=.*//' ++ echo second=020 + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def + compile -? + : + test X = X Csrc=argument + test X = X Cexe=argument + test X = X Dnam=argument + echo TEST_TEST_argument_OPTS + tr [a-z]- [A-Z]_ d=TEST_TEST_ARGUMENT_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_ARGUMENT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o argument argument.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_ARGUMENT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o argument argument.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_ARGUMENT_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o argument argument.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen "argument.h", line 42: #error: option template version mismatches autoopts/options.h header cc: acomp failed for argument.c + failure cannot compile argument.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf argument* .*argument* + rm -rf -rf argument* .*argument* bad= + test -f -rf -o -d -rf + test -f argument* -o -d argument* + test -f .*argument* -o -d .*argument* + test -z + return 0 + set +x FAILURE: cannot compile argument.c FAIL: argument.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/cond-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/cond-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running cond.test for cond using /bin/bash === + chmod +w cond-tmpd cond.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating cond.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating cond.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 long_opts= argument= test_main=yes testname=cond + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ sed 's/=.*//' ++ echo second=020 + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + cat flag = { name = condition; value = c; ifdef = COND; descrip = "cond test"; doc = mumble; }; + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def + compile -? + : + test X = X Csrc=cond + test X = X Cexe=cond + test X = X Dnam=cond + echo TEST_TEST_cond_OPTS + tr [a-z]- [A-Z]_ d=TEST_TEST_COND_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_COND_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cond cond.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_COND_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cond cond.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_COND_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o cond cond.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen "cond.h", line 42: #error: option template version mismatches autoopts/options.h header cc: acomp failed for cond.c + failure cannot compile cond.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf cond* .*cond* + rm -rf -rf cond* .*cond* bad= + test -f -rf -o -d -rf + test -f cond* -o -d cond* + test -f .*cond* -o -d .*cond* + test -z + return 0 + set +x FAILURE: cannot compile cond.c FAIL: cond.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/config-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/config-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running config.test for config using /bin/bash === + chmod +w config-tmpd config.log + export SHELL SHELLX=/bin/bash -x + cat #include <stdio.h> #include "config.h" #include <autoopts/options.h> int print_entry( const tOptionValue* pGV ); int print_entry( const tOptionValue* pGV ) { if (pGV == NULL) { fprintf( stderr, "ENTRY NOT FOUND\n" ); return 1; } printf( "%-8s -- ", pGV->pzName ); switch (pGV->valType) { case OPARG_TYPE_NONE: fputs( "no value\n", stdout ); break; case OPARG_TYPE_STRING: printf( "string: %s\n", pGV->v.strVal ); break; case OPARG_TYPE_ENUMERATION: printf( "enum: %d\n", pGV->v.enumVal ); break; case OPARG_TYPE_BOOLEAN: printf( "bool: %s\n", pGV->v.boolVal ? "TRUE" : "false" ); break; case OPARG_TYPE_MEMBERSHIP: printf( "members: 0x%08lX\n", (unsigned long)pGV->v.setVal ); break; case OPARG_TYPE_NUMERIC: printf( "integer: %ld\n", pGV->v.longVal ); break; case OPARG_TYPE_HIERARCHY: printf( "nested: 0x%08lX\n", (unsigned long)pGV->v.nestVal ); break; default: printf( "bad type: %d\n", pGV->valType ); return 1; } return 0; } int main( int argc, char** argv ) { int res = 0; const tOptionValue* pOV; if ((argc < 3) || (argv[1][0] == '-')) { fputs( "help\n", stdout ); return 0; } pOV = configFileLoad( *++argv ); if (pOV == NULL) { fprintf( stderr, "Could not load: %s\n", *argv ); return 1; } argc -= 2; while (argc-- > 0) { const tOptionValue* pGV = optionGetValue( pOV, *++argv ); res |= print_entry( pGV ); } { const tOptionValue* pGV = optionGetValue( pOV, "n4_ty" ); pGV = optionGetValue( pGV, "b4r" ); if (pGV->valType != OPARG_TYPE_BOOLEAN) { res = 1; } else if (pGV->v.boolVal) { fputs( "YES!!\n", stdout ); } else { fputs( "oops!!\n", stdout ); res = 1; } } { const tOptionValue* pGV = optionGetValue( pOV, NULL ); while (pGV != NULL) { res |= print_entry( pGV ); pGV = optionNextValue( pOV, pGV ); } } print_entry( pOV ); optionUnloadNested( pOV ); return res; } + compile --help + : + test X = X Csrc=config + test X = X Cexe=config + test X = X Dnam=config + tr [a-z]- [A-Z]_ + echo TEST_TEST_config_OPTS d=TEST_TEST_CONFIG_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CONFIG_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o config config.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CONFIG_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o config config.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_CONFIG_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o config config.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen Undefined first referenced symbol in file _fini /opt/SUNWspro/prod/lib/crt1.o (symbol belongs to implicit dependency /opt/gnu/lib/libltdl.so.7) _init /opt/SUNWspro/prod/lib/crt1.o (symbol belongs to implicit dependency /opt/gnu/lib/libltdl.so.7) ld: fatal: Symbol referencing errors. No output written to config + failure cannot compile config.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf config* .*config* + rm -rf -rf config* .*config* bad= + test -f -rf -o -d -rf + test -f config* -o -d config* + test -f .*config* -o -d .*config* + test -z + return 0 + set +x FAILURE: cannot compile config.c FAIL: config.test PASS: enums.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/equiv-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/equiv-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /build/autogen-5.9.6pre13/columns/columns + which autogen /build/autogen-5.9.6pre13/agen5/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running equiv.test for equiv using /bin/bash === + chmod +w equiv-tmpd equiv.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating equiv.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating equiv.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 long_opts= argument= test_main=yes testname=equiv CFLAGS=-g -static + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ sed 's/=.*//' ++ echo second=020 + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + cat + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def + compile -? + : + test X = X Csrc=equiv + test X = X Cexe=equiv + test X = X Dnam=equiv + echo TEST_TEST_equiv_OPTS + tr [a-z]- [A-Z]_ d=TEST_TEST_EQUIV_OPTS cc_cmd=/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_EQUIV_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o equiv equiv.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + eval /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_EQUIV_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o equiv equiv.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 -DTEST_TEST_EQUIV_OPTS -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include -o equiv equiv.c /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/gnu/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen "equiv.h", line 42: #error: option template version mismatches autoopts/options.h header cc: acomp failed for equiv.c + failure cannot compile equiv.c + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf equiv* .*equiv* + rm -rf -rf equiv* .*equiv* bad= + test -f -rf -o -d -rf + test -f equiv* -o -d equiv* + test -f .*equiv* -o -d .*equiv* + test -z + return 0 + set +x FAILURE: cannot compile equiv.c FAIL: equiv.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/errors-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/errors-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE... [truncated message content] |
From: Alan P. <al...@il...> - 2008-09-23 21:09:22
|
Bruce Korb wrote: > Hi Alan, > > Attached. Thanks for trying it out. > > - Bruce > Alan Pae wrote: >> 2 MB should be doable AFAIK. Send it as an attachment. >> >> Thanks!, >> alan >> >> > This is with GCC 3.4.6 save.c: In function `print_a_string': save.c:438: warning: suggest parentheses around && within || make[3]: *** [libopts_la-libopts.lo] Error 1 make[3]: Leaving directory `/build/autogen-5.9.6pre13/autoopts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/autogen-5.9.6pre13/autoopts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/autogen-5.9.6pre13' make: *** [all] Error 2 changes to save.c if (( (ch >= 1) && (ch <= (' ' - 1))) || (((ch >= ('~' + 1)) && (ch <= 0xFF))) ) { Making check in test make[1]: Entering directory `/build/autogen-5.9.6pre13/autoopts/test' make check-TESTS make[2]: Entering directory `/build/autogen-5.9.6pre13/autoopts/test' + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/nested-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/nested-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running nested.test for nested using /bin/bash === + chmod +w nested-tmpd nested.log + export SHELL SHELLX=/bin/bash -x + exec + cat AutoGen definitions options; config-header = 'config.h'; prog-name = "test_nested"; prog-title = "Test AutoOpts for nested"; homerc = nested.d/nested.cfg; flag = { name = struct; value = s; max = NOLIMIT; descrip = 'structured argument val'; arg-type = nested; }; main = { main-type = main; + test -d nested.d + mkdir -p nested.d + echo main-text = <<- _EOCode_ + cat { int ix = 0; const tOptionValue* pOV = optionFindValue(&DESC(STRUCT), NULL, NULL); do { printf("\nstruct opt #%d:\n", ++ix); res |= print_entry( pOV ); pOV = optionFindNextValue(&DESC(STRUCT), pOV, NULL, NULL); } while (pOV != NULL); } + echo _EOCode_; }; + echo include = <<- _EOSubr_ + cat #include <stdio.h> int print_nested( const tOptionValue* pGV ); int print_entry( const tOptionValue* pGV ); int print_entry( const tOptionValue* pGV ) { if (pGV == NULL) { fprintf( stderr, "ENTRY NOT FOUND\n" ); return 1; } printf( "%-8s -- ", pGV->pzName ); switch (pGV->valType) { case OPARG_TYPE_NONE: fputs( "no value\n", stdout ); break; case OPARG_TYPE_STRING: printf( "string: %s\n", pGV->v.strVal ); break; case OPARG_TYPE_ENUMERATION: printf( "enum: %d\n", pGV->v.enumVal ); break; case OPARG_TYPE_BOOLEAN: printf( "bool: %s\n", pGV->v.boolVal ? "TRUE" : "false" ); break; case OPARG_TYPE_MEMBERSHIP: printf("members: 0x%08lX\n", (unsigned long)pGV->v.setVal); break; case OPARG_TYPE_NUMERIC: printf( "integer: %ld\n", pGV->v.longVal ); break; case OPARG_TYPE_HIERARCHY: printf( "nested: 0x%08lX\n", (unsigned long)pGV->v.nestVal ); return print_nested( pGV ); break; default: printf( "bad type: %d\n", pGV->valType ); return 1; } return 0; } int print_nested( const tOptionValue* pGV ) { int res = 0; const tOptionValue* pOV = optionGetValue( pGV, NULL ); while (pOV != NULL) { res |= print_entry( pOV ); pOV = optionNextValue( pGV, pOV ); } return res; } + echo _EOSubr_; + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts nested.def ./nested.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf nested-tmpd nested.d nested.def nested.log .*nested* + rm -rf -rf nested-tmpd nested.d nested.def nested.log .*nested* bad= + test -f -rf -o -d -rf + test -f nested-tmpd -o -d nested-tmpd + test -f nested.d -o -d nested.d + test -f nested.def -o -d nested.def + test -f nested.log -o -d nested.log + test -f .*nested* -o -d .*nested* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: nested.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running cfg-edit.test for cfg-edit using /bin/bash === + chmod +w cfg-edit-tmpd cfg-edit.log + export SHELL SHELLX=/bin/bash -x + sed s/-/_/g + echo cfg-edit test_name=cfg_edit + basename /build/autogen-5.9.6pre13/autoopts/test/testdir/cfg-edit-tmpd cfg_file=cfg-edit-tmpd/cfg-edit.cfg + exec + cat AutoGen definitions options; config-header = 'config.h'; prog-name = "test_cfg-edit"; prog-title = "Test AutoOpts for cfg-edit"; homerc = cfg-edit-tmpd/cfg-edit.cfg; resettable; argument = '[ <output-config-file> ]'; flag = { name = struct; value = s; max = NOLIMIT; descrip = 'structured argument val'; arg-type = nested; }; flag = { name = members; value = m; descrip = 'membership set'; keyword = one, two, three, four, five, six, seven, eight, nine, ten; arg-default = five; arg-type = set; }; flag = { name = enumerate; value = e; descrip = 'a test enumeration'; keyword = uno, dos, tres, quatro, cinco, seis, siete, ocho; arg-default = cinco; arg-type = keyword; }; flag = { name = stacking; value = k; descrip = 'stack up a list'; arg-default = initialized; arg-type = string; stack-arg; max = NOLIMIT; }; flag = { name = number; value = n; descrip = 'a range constrained int'; arg-default = 32; arg-type = number; arg-range = '->-1', '1->31', '33', '64->'; }; flag = { name = boolean; value = b; descrip = 'a boolean value'; arg-default = true; arg-type = boolean; }; flag = { name = in-file; value = I; descrip = 'an input file'; arg-type = file; open-file = descriptor; file-mode = O_RDONLY; file-exists = yes; }; flag = { name = out-file; value = O; descrip = 'an output file'; arg-type = file; open-file = fopen; file-mode = w; file-exists = no; }; flag = { name = test-file; value = T; descrip = 'a test file'; arg-type = file; }; main = { main-type = main; asl=<< + cat main-text = <<- _EOCode_ { tOptions * const pOpts = &test_cfg_editOptions; int svix = pOpts->specOptIdx.save_opts; char const * pzFile = "cfg-edit-tmpd/cfg-edit.cfg-default"; if (argc > 0) pzFile = *argv; if (svix == 0) exit(1); SET_OPT_SAVE_OPTS(pzFile); optionSaveFile(pOpts); } + echo _EOCode_; }; + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cfg-edit.def ./cfg-edit.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf cfg-edit-tmpd cfg-edit.def cfg-edit.log .*cfg-edit* + rm -rf -rf cfg-edit-tmpd cfg-edit.def cfg-edit.log .*cfg-edit* bad= + test -f -rf -o -d -rf + test -f cfg-edit-tmpd -o -d cfg-edit-tmpd + test -f cfg-edit.def -o -d cfg-edit.def + test -f cfg-edit.log -o -d cfg-edit.log + test -f .*cfg-edit* -o -d .*cfg-edit* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: cfg-edit.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/argument-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/argument-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running argument.test for argument using /bin/bash === + chmod +w argument-tmpd argument.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating argument.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating argument.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + export testname test_main argument long_opts + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ echo second=020 ++ sed 's/=.*//' + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ echo second ++ sed 's/\(.\).*/\1/' + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts argument.def ./argument.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf argument-tmpd argument.def argument.log .*argument* + rm -rf -rf argument-tmpd argument.def argument.log .*argument* bad= + test -f -rf -o -d -rf + test -f argument-tmpd -o -d argument-tmpd + test -f argument.def -o -d argument.def + test -f argument.log -o -d argument.log + test -f .*argument* -o -d .*argument* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: argument.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/cond-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/cond-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running cond.test for cond using /bin/bash === + chmod +w cond-tmpd cond.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating cond.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating cond.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 long_opts= argument= test_main=yes testname=cond + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ sed 's/=.*//' ++ echo second=020 + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + cat flag = { name = condition; value = c; ifdef = COND; descrip = "cond test"; doc = mumble; }; + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts cond.def ./cond.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf cond-tmpd cond.def cond.log .*cond* + rm -rf -rf cond-tmpd cond.def cond.log .*cond* bad= + test -f -rf -o -d -rf + test -f cond-tmpd -o -d cond-tmpd + test -f cond.def -o -d cond.def + test -f cond.log -o -d cond.log + test -f .*cond* -o -d .*cond* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: cond.test PASS: config.test PASS: enums.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/equiv-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/equiv-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running equiv.test for equiv using /bin/bash === + chmod +w equiv-tmpd equiv.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating equiv.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating equiv.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option:opt init second=020 long_opts= argument= test_main=yes testname=equiv CFLAGS=-g -static + exec + cat + echo test_main yes test_main yes + echo argument argument + echo long_opts long_opts + test -n yes + echo 'test-main = '\''yes'\'';' + test -n '' + test -n '' + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo option:opt init + arg='opt init' ++ sed 's/:.*//' ++ echo option:opt init + flag=option + arg=' arg-type = string; arg_default = '\''opt init'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n ' arg-type = string; arg_default = '\''opt init'\'';' + echo ' arg-type = string; arg_default = '\''opt init'\'';' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*=//' ++ echo second=020 + arg=020 ++ sed 's/=.*//' ++ echo second=020 + flag=second + arg=' arg-type = number; arg_default = '\''020'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = number; arg_default = '\''020'\'';' + echo ' arg-type = number; arg_default = '\''020'\'';' + echo '};' + echo + exec + cat + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts equiv.def ./equiv.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf equiv-tmpd equiv.def equiv.log .*equiv* + rm -rf -rf equiv-tmpd equiv.def equiv.log .*equiv* bad= + test -f -rf -o -d -rf + test -f equiv-tmpd -o -d equiv-tmpd + test -f equiv.def -o -d equiv.def + test -f equiv.log -o -d equiv.log + test -f .*equiv* -o -d .*equiv* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: equiv.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/errors-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/errors-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running errors.test for errors using /bin/bash === + chmod +w errors-tmpd errors.log + export SHELL SHELLX=/bin/bash -x + pwd + echo creating errors.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating errors.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash -x -x /build/autogen-5.9.6pre13/autoopts/test/stdopts.def option second:fumble long_opts=yes argument=arg ... test_main=yes testname=errors + exec + cat + echo test_main yes test_main yes + echo argument arg ... argument arg ... + echo long_opts yes long_opts yes + test -n yes + echo 'test-main = '\''yes'\'';' + test -n 'arg ...' + echo 'argument = '\''arg ...'\'';' + test -n yes + echo 'long-opts;' + for flag in '"$@"' + case "$flag" in + unset arg + cat ++ sed 's/\(.\).*/\1/' ++ echo option + flag=o + echo ' value = '\''o'\'';' + test -n '' + echo '};' + echo + for flag in '"$@"' + case "$flag" in ++ sed 's/.*://' ++ echo second:fumble + arg=fumble ++ sed 's/:.*//' ++ echo second:fumble + flag=second + arg=' arg-type = string; arg_default = '\''fumble'\'';' + cat ++ sed 's/\(.\).*/\1/' ++ echo second + flag=s + echo ' value = '\''s'\'';' + test -n ' arg-type = string; arg_default = '\''fumble'\'';' + echo ' arg-type = string; arg_default = '\''fumble'\'';' + echo '};' + echo + exec + echo reorder-args; + sed /"second"/a\ must-set; errors.def + mv -f errors.tmp errors.def + echo homerc = errorsRC; + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts errors.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts errors.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts errors.def ./errors.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf errors-tmpd errors.def errors.log .*errors* + rm -rf -rf errors-tmpd errors.def errors.log .*errors* bad= + test -f -rf -o -d -rf + test -f errors-tmpd -o -d errors-tmpd + test -f errors.def -o -d errors.def + test -f errors.log -o -d errors.log + test -f .*errors* -o -d .*errors* + test -z + return 0 + set +x FAILURE: AutoGen could not process FAIL: errors.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/autogen-5.9.6pre13/getdefs PATH=/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/getdefs/getdefs f=getdefs + eval GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs GDexe=/build/autogen-5.9.6pre13/getdefs/getdefs + set_exe CLexe + eval f=${CLexe} f=/build/autogen-5.9.6pre13/columns/columns + dirname /build/autogen-5.9.6pre13/columns/columns d=/build/autogen-5.9.6pre13/columns + cd /build/autogen-5.9.6pre13/columns + pwd d=/build/autogen-5.9.6pre13/columns PATH=/build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/columns/columns f=columns + eval CLexe=/build/autogen-5.9.6pre13/columns/columns CLexe=/build/autogen-5.9.6pre13/columns/columns + pwd builddir=/build/autogen-5.9.6pre13/autoopts/test + sed s/-Werror// + echo -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing CFLAGS=-DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing + export PATH + echo PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin PATH is /build/autogen-5.9.6pre13/columns:/build/autogen-5.9.6pre13/getdefs:/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + which columns /opt/gnu/bin/columns + which autogen /opt/gnu/bin/autogen lo_dir=/build/autogen-5.9.6pre13/autoopts + test -d /build/autogen-5.9.6pre13/autoopts/.libs lo_dir=/build/autogen-5.9.6pre13/autoopts/.libs + test X = X LD_LIBRARY_PATH=/build/autogen-5.9.6pre13/autoopts/.libs:/opt/gnu/lib + echo /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile + export LD_LIBRARY_PATH + test 108005 -gt 107000 GUILE_WARN_DEPRECATED=detailed + export GUILE_WARN_DEPRECATED + test -f /usr/lib/libgen.so LIB=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe GDexe CLexe + cd testdir + pwd testsubdir=/build/autogen-5.9.6pre13/autoopts/test/testdir + sed s/^/-I/ + sort -u + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd + cd /build/autogen-5.9.6pre13/. + pwd + cd /build/autogen-5.9.6pre13/autoopts + pwd + cd /build/autogen-5.9.6pre13/agen5 + pwd dirs=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts + echo -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include INC=-I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include stdopts=/build/autogen-5.9.6pre13/autoopts/test/stdopts.def + cd /build/autogen-5.9.6pre13/autoopts/test/.. + pwd AG_L=/build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts test_main=yes use_flags=true + : === Running getopt.test for getopt using /bin/bash === + chmod +w getopt-tmpd getopt.log + export SHELL SHELLX=/bin/bash -x CC=gcc -std=gnu99 -DHAVE_CONFIG_H -I/opt/gnu/include -I/opt/gnu/include/libxml2 -O3 -Wall -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -I/build/autogen-5.9.6pre13 -I/build/autogen-5.9.6pre13/agen5 -I/build/autogen-5.9.6pre13/autoopts -I/opt/gnu/include -I/opt/local/include -O3 -I/opt/gnu/include CFLAGS= INC= + mkdir -p /build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd/autoopts CFLAGS=-I /build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd LDFLAGS=-L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a /build/autogen-5.9.6pre13/autoopts/.libs/libguileopts.a -Wl,-R -L/opt/local/lib -R/opt/gnu/lib -R/opt/local/lib -L/opt/gnu/lib -lguile -lgen + export CFLAGS LDFLAGS TMPDIR aolib=/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a + test -f /build/autogen-5.9.6pre13/autoopts/.libs/libopts.a + cd /build/autogen-5.9.6pre13/autoopts + cp optcode.tpl opthead.tpl options.tpl optlib.tpl optmain.tpl getopt.tpl /build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd/. + sed -e /^cflags=/s@=.*@='-I/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd/autoopts -I/build/autogen-5.9.6pre13'@ -e /^ldflags=/s@=.*@='/build/autogen-5.9.6pre13/autoopts/.libs/libopts.a'@ usage.tpl + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + /bin/bash /build/autogen-5.9.6pre13/autoopts/install-options-h top_builddir=/build/autogen-5.9.6pre13 destdir=/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd/autoopts + egrep '#undef +AUTOOPTS_ENABLED' /build/autogen-5.9.6pre13/config.h ++ dirname /build/autogen-5.9.6pre13/autoopts/install-options-h + srcdir=/build/autogen-5.9.6pre13/autoopts ++ cd /build/autogen-5.9.6pre13/autoopts ++ pwd + srcdir=/build/autogen-5.9.6pre13/autoopts + test -z '' + exit 1 AUTOGEN_TEMPL_DIRS=/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd + export AUTOGEN_TEMPL_DIRS + pwd + echo creating getopt.def in /build/autogen-5.9.6pre13/autoopts/test/testdir creating getopt.def in /build/autogen-5.9.6pre13/autoopts/test/testdir + cat AutoGen definitions options; prog-name = "test_getopt"; prog-title = "Test AutoOpts for getopt"; test-main = 'yes'; config-header = 'config.h'; settable; version = '1.2.3'; help-value = 'h'; gnu-usage; copyright = { date = "2003-2008"; owner = "Odyssey Computing Concepts, Inc."; author= "Bruce Korb"; eaddr = "bk...@gn..."; type = lgpl; }; flag = { name = "option"; descrip = "The option option descrip"; value = 'o'; arg_type = string; arg_default = 'opt init'; }; flag = { name = "second"; descrip = "The second option descrip"; value = 's'; arg_type = string; arg_default = '020'; }; flag = { name = no_val; descrip = 'option with no flag'; value = 'F'; /* REMOVE */ flags-must = max_val; }; flag = { name = max_val; descrip = 'option with max ct'; value = 'X'; /* REMOVE */ max = '5'; }; flag = { name = min2_val; descrip = 'option with min ct'; value = 'M'; /* REMOVE */ max = '50'; flags-cant = max_val; min = '5'; }; flag = { name = min_val; descrip = 'option with min ct'; value = '2'; /* REMOVE */ max = '50'; min = '5'; }; + echo creating getopt1-base.c creating getopt1-base.c + cat + echo creating getopt2-base.c creating getopt2-base.c + cat + compile_getopt 1 + echo /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd getopt.def /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd getopt.def + /build/autogen-5.9.6pre13/agen5/autogen -L/build/autogen-5.9.6pre13/autoopts/test/testdir/getopt-tmpd getopt.def ./getopt.test: /build/autogen-5.9.6pre13/agen5/autogen: not found + failure AutoGen could not process getopt.def #1 + : + cd /build/autogen-5.9.6pre13/autoopts/test/testdir + test -d ../FAILURES + cd ../FAILURES + purge -rf getopt-tmpd getopt.def getopt.log getopt1-base.c getopt2-base.c .*getopt* + rm -rf -rf getopt-tmpd getopt.def getopt.log getopt1-base.c getopt2-base.c .*getopt* bad= + test -f -rf -o -d -rf + test -f getopt-tmpd -o -d getopt-tmpd + test -f getopt.def -o -d getopt.def + test -f getopt.log -o -d getopt.log + test -f getopt1-base.c -o -d getopt1-base.c + test -f getopt2-base.c -o -d getopt2-base.c + test -f .*getopt* -o -d .*getopt* + test -z + return 0 + set +x FAILURE: AutoGen could not process getopt.def #1 FAIL: getopt.test + pwd TMPDIR=/build/autogen-5.9.6pre13/autoopts/test/testdir/guile-tmpd + export TMPDIR + mkdir /build/autogen-5.9.6pre13/autoopts/test/testdir/guile-tmpd + cd /opt/gnu/lib/../bin + pwd f=/opt/gnu/bin PATH=/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + set_exe AGexe + eval f=${AGexe} f=/build/autogen-5.9.6pre13/agen5/autogen + dirname /build/autogen-5.9.6pre13/agen5/autogen d=/build/autogen-5.9.6pre13/agen5 + cd /build/autogen-5.9.6pre13/agen5 + pwd d=/build/autogen-5.9.6pre13/agen5 PATH=/build/autogen-5.9.6pre13/agen5:/opt/gnu/bin:/opt/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/SUNWspro/bin:/opt/local/bin:/usr/openwin/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/sfw/bin + basename /build/autogen-5.9.6pre13/agen5/autogen f=autogen + eval AGexe=/build/autogen-5.9.6pre13/agen5/autogen AGexe=/build/autogen-5.9.6pre13/agen5/autogen + set_exe GDexe + eval f=${GDexe} f=/build/autogen-5.9.6pre13/getdefs/getdefs + dirname /build/autogen-5.9.6pre13/getdefs/getdefs d=/build/autogen-5.9.6pre13/getdefs + cd /build/autogen-5.9.6pre13/getdefs + pwd d=/build/auto... [truncated message content] |
From: Alan P. <al...@il...> - 2008-09-22 18:36:47
|
Bruce Korb wrote: > Hi Eric, Alan, > > Thank you for pointing at a hint. > I've now removed the fancy shell variable substitution stuff just > to avoid any possible issue with that Solaris /bin/sh thing. > Unfortunately, SourceForge is currently improving their web site > management and I cannot post a new "pre" release. Oh, well. > > Alan, if you'd like it, I'll send you a 2MB email directly. > Otherwise, we'll have to wait for a SourceForge site fix. > > Cheers - Bruce > > 2 MB should be doable AFAIK. Send it as an attachment. Thanks!, alan |
From: Bruce K. <bk...@gn...> - 2008-09-22 01:57:50
|
Hi Eric, Alan, Thank you for pointing at a hint. I've now removed the fancy shell variable substitution stuff just to avoid any possible issue with that Solaris /bin/sh thing. Unfortunately, SourceForge is currently improving their web site management and I cannot post a new "pre" release. Oh, well. Alan, if you'd like it, I'll send you a 2MB email directly. Otherwise, we'll have to wait for a SourceForge site fix. Cheers - Bruce |
From: Bruce K. <bk...@gn...> - 2008-09-21 20:09:53
|
On Sun, Sep 21, 2008 at 11:49 AM, Eric Blake <eb...@by...> wrote: > I recently saw this exact error message on another project which did > things like > : ${RM=rm -f} > > where the solution was to add quotes: > : ${RM='rm -f'} > > Perhaps that is the problem here? I decided to do an egrep search instead of an eyeball search: $ egrep '\$\{[a-zA-Z_0-9]+[^a-zA-Z0-9_}]' * Makefile:am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd Makefile.in:am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd These are automake constructs, so I guess they're likely okay. defs: LD_LIBRARY_PATH=${lo_dir}:${LIBGUILE_PATH}:${LD_LIBRARY_PATH-/dev/null} defs:: "=== Running $progname for ${testname} using ${SHELL=sh} ===" defs.in: LD_LIBRARY_PATH=${lo_dir}:${LIBGUILE_PATH}:${LD_LIBRARY_PATH-/dev/null} defs.in:: "=== Running $progname for ${testname} using ${SHELL=sh} ===" Yep. Should have used egrep. Those two defs.in lines have to be processed by /usr/xpg4/bin/sh or else be rewritten. getopt.test: ${CC:-cc} ${CFLAGS} -c ${testname}${1}-getopt.c || \ getopt.test:${SHELL:-/bin/sh} ${top_srcdir}/autoopts/install-options-h shell.test: echo "$TEST_SHELL_LONGUSAGE_TEXT" | ${PAGER-more} shell.test: echo "$TEST_SHELL_LONGUSAGE_TEXT" | ${PAGER-more} And these two tests need fixing, too. I'll have a patch shortly. Thanks - Bruce |
From: Eric B. <eb...@by...> - 2008-09-21 19:05:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruce Korb on 9/21/2008 10:38 AM: > First guess is that I've got some POSIX shell-ism that /bin/sh is too > old to cope with. >> >> make[3]: Entering directory `/build/autogen-5.9.5/autoopts/test' >> ./nested.test: bad substitution I recently saw this exact error message on another project which did things like : ${RM=rm -f} where the solution was to add quotes: : ${RM='rm -f'} Perhaps that is the problem here? - -- Don't work too hard, make some time for fun as well! Eric Blake eb...@by... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjWlzUACgkQ84KuGfSFAYDz6ACg1p1Ooi0ffRWODUSqVUrEku/A d3cAoLU49492CkpiWaGlI7/jePAHSyHU =jSeB -----END PGP SIGNATURE----- |
From: Bruce K. <bk...@gn...> - 2008-09-21 16:38:40
|
Hi Alan, On Sat, Sep 20, 2008 at 7:40 AM, Alan Pae <al...@il...> wrote: > Hi there, > > Having a bit of a problem with autogen 5.9.5 on a Solaris 10 system. > > Autogen was built with Sun Studio 12 and compiles up fine and produces a > binary. > > However make check fails on everything. > > Any ideas? First guess is that I've got some POSIX shell-ism that /bin/sh is too old to cope with. (Remember that /bin/sh has not been updated in 20 years.) Since it is the same message for every test, I looked at the file autoopts/test/defs. There are no shell substitutions in there. (viz. no ``${nameXXreplacement}'' sequences, where "XX" is some funny magical sequence causing a text replacement.) So, please try this: cd ${buildroot}/autoopts/test make verbose A directory named "FAILURES" will be created. Please roll that up into a tarball for me and email it directly to me (not the list). Thank you for your help. Regards, Bruce > thanks in advance, > alan > > Configuration: > > Source code location: . > Compiler: /opt/SUNWspro/bin/cc > Compiler flags: -I/opt/gnu/include -I/opt/local/include > -I/opt/gnu/include/libxml2 > Host System Type: i386-pc-solaris2.10 > Install path: /opt/gnu > > See config.h for further configuration information. > > make[3]: Entering directory `/build/autogen-5.9.5/autoopts/test' > ./nested.test: bad substitution > FAIL: nested.test |
From: Alan P. <al...@il...> - 2008-09-20 18:56:07
|
Hi there, Having a bit of a problem with autogen 5.9.5 on a Solaris 10 system. Autogen was built with Sun Studio 12 and compiles up fine and produces a binary. However make check fails on everything. Any ideas? thanks in advance, alan Configuration: Source code location: . Compiler: /opt/SUNWspro/bin/cc Compiler flags: -I/opt/gnu/include -I/opt/local/include -I/opt/gnu/include/libxml2 Host System Type: i386-pc-solaris2.10 Install path: /opt/gnu See config.h for further configuration information. make[3]: Entering directory `/build/autogen-5.9.5/autoopts/test' ./nested.test: bad substitution FAIL: nested.test ./argument.test: bad substitution FAIL: argument.test ./cond.test: bad substitution FAIL: cond.test ./config.test: bad substitution FAIL: config.test ./enums.test: bad substitution FAIL: enums.test ./equiv.test: bad substitution FAIL: equiv.test ./errors.test: bad substitution FAIL: errors.test ./getopt.test: bad substitution FAIL: getopt.test ./guile.test: bad substitution FAIL: guile.test ./handler.test: bad substitution FAIL: handler.test ./immediate.test: bad substitution FAIL: immediate.test ./keyword.test: bad substitution FAIL: keyword.test ./library.test: bad substitution FAIL: library.test ./main.test: bad substitution FAIL: main.test ./nls.test: bad substitution FAIL: nls.test ./rc.test: bad substitution FAIL: rc.test ./shell.test: bad substitution FAIL: shell.test ./stdopts.test: bad substitution FAIL: stdopts.test ./usage.test: bad substitution FAIL: usage.test ./vers.test: bad substitution FAIL: vers.test ==================================================== 20 of 20 tests failed Please report to aut...@li... ==================================================== |
From: Bruce K. <bru...@gm...> - 2008-08-02 22:34:46
|
Hi, Due to needing to being able reconfigure a daemon program where editors don't run, I have tweaked the option processing stuff a bit to be able to programmatically edit the file. And coincidentally validate the syntax before doing the rewrite. To do this, I've added a new AutoOpts supported option: --reset-option which will restore any option to its compile time state. There are two things about this change: 1. A lot of things have wiggled. I've tested it a fair amount, and will continue doing so for a few more weeks. Nevertheless, I'd sure like to know now, before I release, if I've done anything that causes problems with AutoOpts-using applications. 2. If any of you might find it useful also, please play with it and make suggestions. :) Here is a description of a config file editor "add-on": http://autogen.sourceforge.net/addon.html#config_edit The pre-release announcement is here: http://autogen.sourceforge.net/announce.html If you are a maintainer of autogen for some distribution, _please_ hold off for a while. It is tested, but I don't feel like it has been rigorous enough to put into experimental distributions yet. I'll let you know when it is (should not be much into September). Thank you everyone. Regards, Bruce |
From: Bruce K. <bk...@gn...> - 2008-06-14 22:51:24
|
Hi Harlan, et al., I have a need for doing controlled edits of complicated config files. AutoOpts reads and processes them, but it did not write everything back out. The hierarchical values (e.g. XML-ish values) were a bother I didn't do it. Now I have. There is still work that needs doing, but the first prototype is mostly there. Feedback and suggestions gladly accepted. Here is a crude example, extracted from a test case: $ ./nested -s 'stumble, foo, <bar type=integer>1234</bar>, able' \ -s 'foo, <bar type=integer>4321</bar> <gr type=nested>one, two=2, three</gr>' \ '->' $ cat nested.d/nested.cfg # test_nested - Test AutoOpts for nested # preset/initialization file # ***DATE*** # <struct> <able/> <bar type="integer">0x4D2</bar> <foo/> <stumble/> </struct> <struct> <bar type="integer">0x10E1</bar> <foo/> <gr> <one/> <three/> <two>2</two> </gr> </struct> The remaining task is to devise a way for specifying which entries to remove. http://autogen.sourceforge.net/autogen-5.9.6pre2.tar.gz Cheers - Bruce P.S. the intent here is for an auxiliary program to do the editing for a daemon's configuration file. The editing program would look something like this: int main(int argc, char ** argv) { int ct = optionProcess(&daemonOptions, argc, argv); optionSaveFile(&daemonOptions); kill(atoi(argv[ct]), SIGHUP); return 0; } The option/config state is only saved if optionProcess is happy and returns. |
From: Bruce K. <bk...@gn...> - 2008-06-14 18:57:18
|
On Thursday 12 June 2008 04:42:13 am Harlan Stenn wrote: > Here's the patch I needed to use to get 5.9.5 working: > --- sntp/libopts/m4/libopts.m4 Fri Jun 6 17:16:28 2008 > +++ libopts/m4/libopts.m4 Thu Jun 12 06:56:38 2008 > @@ -68,6 +68,7 @@ > AC_CHECK_HEADERS(stdint.h inttypes.h, break) > AC_CHECK_TYPES([int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, > intptr_t, uintptr_t, uint_t]) > + AC_CHECK_TYPES([wchar_t, mode_t, pid_t, uid_t, gid_t]) > > # ===== > # sizes I am unclear why these are needed. Several (mode_t, uid_t and gid_t) are not even used. I think I'll remove all references. "wchar_t" is only needed by the snprintf library which is not included in libopts. How does this affect anything? The "pid_t" does need to be added to config/libopts.def (ultimately showing up in libopts.m4). So, I've added "pid_t" and removed the others from both configure.in and compat/compat.h. Thanks -Bruce $ for w in wchar_t mode_t pid_t uid_t gid_t;do echo;echo;egrep -w $w $(<.list);done compat/compat.h: typedef unsigned int wchar_t; configure.in: [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, gid_t, wchar_t]) snprintfv/compat.h:typedef wchar_t snv_wchar_t; snprintfv/printf.in: * @pa_wchar: a %wchar_t snprintfv/printf.in: * @pa_wstring: a %const pointer to %wchar_t snprintfv/printf.in: PA_WSTRING, /* const wchar_t *, wide character string */ snprintfv/snprintfv.m4: AC_CHECK_TYPES(wchar_t) compat/compat.h: typedef signed int mode_t; configure.in: [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, gid_t, wchar_t]) agen5/agInit.c: pid_t child; agen5/agInit.c: pid_t child; agen5/agShell.c: int chainOpen( int stdinFd, tCC** ppArgs, pid_t* pChild ) { return -1; } agen5/agShell.c: pid_t openServer( tFdPair* pPair, tCC** ppArgs ) { return NOPROCESS; } agen5/agShell.c: pid_t openServerFP( tpfPair* pfPair, tCC** ppArgs ) { return NOPROCESS; } agen5/agShell.c:static pid_t serverId = NULLPROCESS; agen5/agShell.c: pid_t* pChild ) agen5/agShell.c: pid_t chId; agen5/agShell.c:LOCAL pid_t agen5/agShell.c: pid_t chId; agen5/agShell.c:LOCAL pid_t agen5/agShell.c: pid_t chId = openServer( &fdPair, ppArgs ); agen5/autogen.h:#define NOPROCESS ((pid_t)-1) agen5/autogen.h:#define NULLPROCESS ((pid_t)0) autoopts/pgusage.c: static pid_t my_pid; compat/compat.h: typedef signed int pid_t; configure.in: [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, gid_t, wchar_t]) getdefs/getdefs.h:pid_t agPid = -1; compat/compat.h: typedef signed int uid_t; configure.in: [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, gid_t, wchar_t]) compat/compat.h: typedef signed int gid_t; configure.in: [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, gid_t, wchar_t]) |
From: Harlan S. <st...@nt...> - 2008-06-12 11:43:24
|
Here's the patch I needed to use to get 5.9.5 working: --- sntp/libopts/m4/libopts.m4 Fri Jun 6 17:16:28 2008 +++ libopts/m4/libopts.m4 Thu Jun 12 06:56:38 2008 @@ -68,6 +68,7 @@ AC_CHECK_HEADERS(stdint.h inttypes.h, break) AC_CHECK_TYPES([int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, intptr_t, uintptr_t, uint_t]) + AC_CHECK_TYPES([wchar_t, mode_t, pid_t, uid_t, gid_t]) # ===== # sizes -- Harlan Stenn <st...@nt...> http://ntpforum.isc.org - be a member! |
From: Bruce K. <bru...@gm...> - 2008-05-12 15:49:46
|
Aaron wrote: > I've dug around on SF.net, but can't find any old autogen > tarballs. I'm specifically looking for 5.9.2. If you know the release id number, you can get at it by editing the URL for the current release, replacing the ID. I mark old releases as "hidden" so as not to have a cluttered download page. You can also go to ftp://ftp.gnu.org/gnu/autogen and pull whatever you want. > Side note: is there an ETA for 5.9.5? RSN, now that I'm back from my vacation. On Tue, May 6, 2008 at 8:33 AM, Alain Guibert <alg...@fr...> wrote: > Hello, > > On my old Linux box (Intel Pentium 200 MMX, Debian Bo 1.3.1, > kernel 2.0.40, gcc 2.7.2.1, libc 5.4.33, GNU ld cygnus-2.7.1, > libiconv 1.12, pth 2.0.7, gettext 0.17, i586-pc-linux-gnulibc1, > autoconf 2.62, fileutils 3.16, Make 3.75, bash 2.0.0(1)), gmp 4.2.2, > and guile 1.8.4, while building AutoGen 5.9.4, make fails: > > | checking for inttypes.h... no > | checking for stdint.h... no If neither of these are available, you may not have a development system installed. This is a development tool, so development sources should probably be installed. Nevertheless, I am supposed to have guards around including optional headers, though there may be a little oversight somewhere: > | [...] > | gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -DPKGDATADIR=\"/usr/local/share/autogen\" -g -O2 -c libopts.c -Wp,-MD,.deps/libopts_la-libopts.TPlo -fPIC -DPIC -o .libs/libopts_la-libopts.o [...] > Commenting-out the #include <stdint.h> line seems sufficient to go > further. However later make segfaults: > > | make[4]: Entering directory `/tmp/autogen-5.9.4/getdefs' > | top_builddir=.. top_srcdir=.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; export top_builddir top_srcdir PATH ; /tmp/autogen-5.9.4/agen5/autogen -L../autoopts ./opts.def > | /bin/sh: mktemp: command not found > | AutoGen aborting on signal 11 (Segmentation fault) in state DONE > | processing template ä§&@ä§&@pts/options.tpl > | on line 302 > | for function Text (18) My usages of "mktemp" are supposed to all have a fallback of using "$$" in some temporary name. I'll check into it as soon as I can get to it. The seg fault should not be a consequence of the mktemp failure. > | make[4]: *** [opts.h] Error 134 > | make[4]: Leaving directory `/tmp/autogen-5.9.4/getdefs' > | make[3]: *** [/tmp/autogen-5.9.4/getdefs/getdefs] Error 2 > | make[3]: Leaving directory `/tmp/autogen-5.9.4/agen5' > | make[2]: *** [all-recursive] Error 1 > | make[2]: Leaving directory `/tmp/autogen-5.9.4/agen5' > | make[1]: *** [all-recursive] Error 1 > | make[1]: Leaving directory `/tmp/autogen-5.9.4' > | make: *** [all] Error 2 > > Note the strange characters in template name. Also strange is that gdb > on the produced core file says sig 6: autogen traps all the signals it can in order to do diagnostics. A template might contain, for example: (sprintf "%s" (compute-a-bad-string-address)) triggering a seg fault. That gets trapped and the trap handler emits the error message, indicating which signal and where we were in processing. I think that when in state "DONE", the template name may be invalid. For next release, I'll look at that code and be sure that either the name is valid or the "processing template" line is not emitted. (I vaguely remember from several years ago that it is supposed to be valid.) > Filename corruption made me think to stop compiler optimizations, > preseting "CFLAGS=-O0 ./configure": Same segfault at the same stage. I do not see this for myself (of course). What is your platform triplet (config.guess)? Would you be willing to build autogen with CFLAGS='-g -O0' and LDFLAGS=-static, then run this ``../agen5/autogen -L../autoopts ./opts.def'' under gdb? GDB should capture the segfault and yield an accurate stack trace before siglongjmp() gets called. Thank you!! Regards, Bruce |
From: Alain G. <alg...@fr...> - 2008-05-06 15:39:58
|
Hello, On my old Linux box (Intel Pentium 200 MMX, Debian Bo 1.3.1, kernel 2.0.40, gcc 2.7.2.1, libc 5.4.33, GNU ld cygnus-2.7.1, libiconv 1.12, pth 2.0.7, gettext 0.17, i586-pc-linux-gnulibc1, autoconf 2.62, fileutils 3.16, Make 3.75, bash 2.0.0(1)), gmp 4.2.2, and guile 1.8.4, while building AutoGen 5.9.4, make fails: | checking for inttypes.h... no | checking for stdint.h... no | [...] | gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -DPKGDATADIR=\"/usr/local/share/autogen\" -g -O2 -c libopts.c -Wp,-MD,.deps/libopts_la-libopts.TPlo -fPIC -DPIC -o .libs/libopts_la-libopts.o | In file included from libopts.c:9: | ag-char-map.h:13: stdint.h: No such file or directory | make[3]: *** [libopts_la-libopts.lo] Error 1 | make[3]: Leaving directory `/tmp/autogen-5.9.4/autoopts' | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/tmp/autogen-5.9.4/autoopts' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tmp/autogen-5.9.4' | make: *** [all] Error 2 Commenting-out the #include <stdint.h> line seems sufficient to go further. However later make segfaults: | make[4]: Entering directory `/tmp/autogen-5.9.4/getdefs' | top_builddir=.. top_srcdir=.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; export top_builddir top_srcdir PATH ; /tmp/autogen-5.9.4/agen5/autogen -L../autoopts ./opts.def | /bin/sh: mktemp: command not found | AutoGen aborting on signal 11 (Segmentation fault) in state DONE | processing template ä§&@ä§&@pts/options.tpl | on line 302 | for function Text (18) | make[4]: *** [opts.h] Error 134 | make[4]: Leaving directory `/tmp/autogen-5.9.4/getdefs' | make[3]: *** [/tmp/autogen-5.9.4/getdefs/getdefs] Error 2 | make[3]: Leaving directory `/tmp/autogen-5.9.4/agen5' | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/tmp/autogen-5.9.4/agen5' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tmp/autogen-5.9.4' | make: *** [all] Error 2 Note the strange characters in template name. Also strange is that gdb on the produced core file says sig 6: | Core was generated by `/tmp/autogen-5.9.4/agen5/.libs/lt-autogen -L../autoopts ./opts.def'. | Program terminated with signal 6, IOT trap/Abort. | #0 0x4024c171 in __kill () | #1 0x4021b435 in gsignal () | #2 0x804d235 in main (argc=3, argv=0xbffff740) at autogen.c:103 | #3 0x804d12e in ___crt_dummy__ () Filename corruption made me think to stop compiler optimizations, preseting "CFLAGS=-O0 ./configure": Same segfault at the same stage. Alain. |
From: Aaron T. <syn...@gm...> - 2008-05-04 16:10:23
|
I've dug around on SF.net, but can't find any old autogen tarballs. I'm specifically looking for 5.9.2. Side note: is there an ETA for 5.9.5? -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |
From: Bruce K. <bru...@gm...> - 2008-05-02 02:05:35
|
On Thursday 01 May 2008 03:31:35 pm Aaron Turner wrote: > Unless I'm blind, there doesn't seem to be any way to look at a > libopts tearoff and figure out what version of autogen it came from. > Since autogen/libopts has such tight versioning controls (you can't > process autogen .def files with one version of autogen and use a > different libopts tearoff) it would be really nice for me to be able > to check version compatibility before I get to the compile phase. That is supposed to happen, but it is deferred until the compile. This code is supposed to do that: > #define AO_TEMPLATE_VERSION 126977 > #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ > || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) > # error option template version mismatches autoopts/options.h header > Choke Me. > #endif but that is a little obtuse. How about if I stamp the "options.h" header with the relevant autogen version? (like I already do with the autoopts version) Cheers - Bruce |
From: Aaron T. <syn...@gm...> - 2008-05-01 22:31:41
|
Unless I'm blind, there doesn't seem to be any way to look at a libopts tearoff and figure out what version of autogen it came from. Since autogen/libopts has such tight versioning controls (you can't process autogen .def files with one version of autogen and use a different libopts tearoff) it would be really nice for me to be able to check version compatibility before I get to the compile phase. Hopefully that made sense. Anyways, it would be nice if there was a VERSION file in the tearoffs code with the version of autogen it was shipped with. something like: autogen -v > VERSION.txt would be good enough. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |
From: Aaron T. <syn...@gm...> - 2008-05-01 22:00:21
|
So I found the solution on the guile users list: To build libguile under Cygwin: make clean libtoolize --copy --force ./configure make make install Apparently the version of libtool included in guile is broken and this fixes it. After that, autogen seems to be a lot more stable and doesn't crash constantly. You still have to fix guile-config though since the LDFLAGS are in the wrong order. I just renamed it to guile-config.original and wrote a new guile-config script to fix it: #!/bin/bash if test -z "$1" ; then guile-config.original elif test "$1" == "link"; then echo "-L/usr/local/lib -lguile -lltdl -lgmp -lcrypt -lm -lltdl" else guile-config.original $1 fi -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |
From: Aaron T. <syn...@gm...> - 2008-04-30 17:46:54
|
On Wed, Apr 30, 2008 at 9:23 AM, Brian Dessent <br...@de...> wrote: > Aaron Turner wrote: > > > > - If the configure checks fail, what's the contents of config.log? > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > Problem is that it can't link to libguile. guile-config link returns: > > Yes, I know it can't link to libguile. That's why I asked for the > contents of config.log so that we can try to figure out *why*. Details > are important. Fair enough. attached. It would seem to me the problem is that 'guile-config link' is passing arguments to the linker during configure to link to a shared library version of guile when it does not exist. > That libguile didn't build a shared library is also troubling. Again, I > didn't have to do anything out of the ordinary for this to work so I > suspect something is amiss, maybe a missing package. The guile > testsuite can be run with "make check". I ran the check.... Seems to have just hung upon entering test-suite/standalone. Can't ctrl-c or ctrl-z out, just completely hung. *sigh*. Anyways, you mentioned you kept the cygwin version of guile installed and just installed from source over it, so I'm going to give that a try (re-install Cygwin's libguile). Maybe guile can't bootstrap itself and needs libguile already installed to build a shared version of itself or something crazy like that. Can't hurt. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |
From: Brian D. <br...@de...> - 2008-04-30 16:26:02
|
Aaron Turner wrote: > > - If the configure checks fail, what's the contents of config.log? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Problem is that it can't link to libguile. guile-config link returns: Yes, I know it can't link to libguile. That's why I asked for the contents of config.log so that we can try to figure out *why*. Details are important. That libguile didn't build a shared library is also troubling. Again, I didn't have to do anything out of the ordinary for this to work so I suspect something is amiss, maybe a missing package. The guile testsuite can be run with "make check". Brian |
From: Earnie B. <ea...@us...> - 2008-04-30 12:53:43
|
Quoting Aaron Turner <syn...@gm...>: > > configure: guile-config used for LIBS: -lguile -lltdl > -L/usr/local/lib -lgmp -lcrypt -lm -lltdl > LIBARGS is used for -L/usr/local/lib LIBS is to specify only the libraries and not the paths. You might need to modify guile-config by hand. And line order matters; if -lguile should be found in -L/usr/local/lib then that specification needs to be before -lguile. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ |