Hi Folks,

On Solaris 10, there are two problems with GNU m4-1.4.5.

  1) The generated Makefile has problems with a blank line in the middle
     of the .PHONY target list.
  2) The 082.patsubst check fails.

./082.patsubst: stdout mismatch
6c6
< GNUs NOT Unix
---
> GNUs NOT=04=f5x Unix

Where the =04 is a control-D character and the =f5 is a 0xf5 character.

        Thanks,
        -- Mark

% uname -a
SunOS robotron 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-480R Solaris
% tar xzf m4-1.4.5.tar.gz && cd m4-1.4.5
% ./configure
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking siginfo.h usability... yes
checking siginfo.h presence... yes
checking for siginfo.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for sys/stat.h... (cached) yes
checking for siginfo_t... yes
checking for struct sigaction.sa_sigaction... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for sigvec... no
checking for strerror... yes
checking for tmpfile... yes
checking for mbrtowc... yes
checking for mempcpy... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for lstat... yes
checking for iswprint... yes
checking for wcwidth... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... no
checking whether getenv is declared... yes
checking for mbstate_t... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long int... yes
checking for C/C++ restrict keyword... __restrict
checking for nl_langinfo and CODESET... yes
checking whether stat file-mode macros are broken... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for EOVERFLOW... yes
checking for signed... yes
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking for error_at_line... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memchr... yes
checking for mkstemp... yes
checking for mkstemp limitations... no
checking for obstacks... no
checking for working re_compile_pattern... no
checking whether isblank is declared... yes
checking for C/C++ restrict keyword... (cached) __restrict
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... yes
checking for va_copy... yes
checking for strncasecmp... yes
checking for strtol... yes
checking whether mkdir is declared... yes
checking for unistd.h... (cached) yes
checking for vasnprintf... no
checking for ptrdiff_t... yes
checking for snprintf... yes
checking for wcslen... yes
checking for vasprintf... no
checking whether wcwidth is declared... yes
checking for stdint.h... (cached) yes
checking if stack overflow is detectable... yes
checking for rlim_t... yes
checking for stack_t... yes
checking for sigcontext... no
checking if system() agrees with pclose()... yes
checking if changeword is wanted... no
checking if malloc debugging is wanted... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing stamp-h commands
% /usr/ccs/bin/make
make: Fatal error in reader: Makefile, line 637: Unexpected end of line seen
% cat -n Makefile |tail -n 11
   630          installcheck-am installdirs installdirs-am maintainer-clean \
   631          maintainer-clean-generic maintainer-clean-recursive \
   632          mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
   633          pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
   634          uninstall-info-am
   635  
   636          lib/* m4/[a-fh-z]* m4/g[a-mo-z]* m4/gnulib-comp.m4 
m4/gnulib-tool.m4 \
   637          missing stamp-h.in
   638  # Tell versions [3.59,3.63) of GNU make to not export all variables.
   639  # Otherwise a system limit (for SysV at least) may be exceeded.
   640  .NOEXPORT:
% gmake
/usr/local/packages/gmake/current/bin/gmake  all-recursive
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5'
Making all in .
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5'
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5'
Making all in examples
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/examples'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/examples'
Making all in lib
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
/usr/local/packages/gmake/current/bin/gmake  all-am
gmake[3]: Entering directory `/opt/local/src/m4/m4-1.4.5/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strnlen1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xalloc-die.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xvasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c error.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c exitfail.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c mbchar.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c obstack.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c regex.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strcasecmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c vasnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c printf-args.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c printf-parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c asnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c vasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c asprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xmalloc.c
rm -f libm4.a
ar cru libm4.a strnlen1.o xalloc-die.o xvasprintf.o xasprintf.o error.o 
exitfail.o getopt.o getopt1.o mbchar.o obstack.o regex.o strcasecmp.o 
vasnprintf.o printf-args.o printf-parse.o asnprintf.o vasprintf.o asprintf.o 
xmalloc.o 
ranlib libm4.a
gmake[3]: Leaving directory `/opt/local/src/m4/m4-1.4.5/lib'
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/lib'
Making all in src
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT m4.o -MD 
-MP -MF ".deps/m4.Tpo" -c -o m4.o m4.c; \
then mv -f ".deps/m4.Tpo" ".deps/m4.Po"; else rm -f ".deps/m4.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT builtin.o 
-MD -MP -MF ".deps/builtin.Tpo" -c -o builtin.o builtin.c; \
then mv -f ".deps/builtin.Tpo" ".deps/builtin.Po"; else rm -f 
".deps/builtin.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT debug.o -MD 
-MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT eval.o -MD 
-MP -MF ".deps/eval.Tpo" -c -o eval.o eval.c; \
then mv -f ".deps/eval.Tpo" ".deps/eval.Po"; else rm -f ".deps/eval.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT format.o 
-MD -MP -MF ".deps/format.Tpo" -c -o format.o format.c; \
then mv -f ".deps/format.Tpo" ".deps/format.Po"; else rm -f ".deps/format.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT freeze.o 
-MD -MP -MF ".deps/freeze.Tpo" -c -o freeze.o freeze.c; \
then mv -f ".deps/freeze.Tpo" ".deps/freeze.Po"; else rm -f ".deps/freeze.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT input.o -MD 
-MP -MF ".deps/input.Tpo" -c -o input.o input.c; \
then mv -f ".deps/input.Tpo" ".deps/input.Po"; else rm -f ".deps/input.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT macro.o -MD 
-MP -MF ".deps/macro.Tpo" -c -o macro.o macro.c; \
then mv -f ".deps/macro.Tpo" ".deps/macro.Po"; else rm -f ".deps/macro.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT output.o 
-MD -MP -MF ".deps/output.Tpo" -c -o output.o output.c; \
then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f ".deps/output.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT path.o -MD 
-MP -MF ".deps/path.Tpo" -c -o path.o path.c; \
then mv -f ".deps/path.Tpo" ".deps/path.Po"; else rm -f ".deps/path.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT symtab.o 
-MD -MP -MF ".deps/symtab.Tpo" -c -o symtab.o symtab.c; \
then mv -f ".deps/symtab.Tpo" ".deps/symtab.Po"; else rm -f ".deps/symtab.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib   -g -O2 -MT stackovf.o 
-MD -MP -MF ".deps/stackovf.Tpo" -c -o stackovf.o stackovf.c; \
then mv -f ".deps/stackovf.Tpo" ".deps/stackovf.Po"; else rm -f 
".deps/stackovf.Tpo"; exit 1; fi
gcc  -g -O2   -o m4  m4.o builtin.o debug.o eval.o format.o freeze.o input.o 
macro.o output.o path.o symtab.o stackovf.o ../lib/libm4.a 
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/src'
Making all in doc
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/doc'
Making all in checks
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/checks'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/checks'
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5'
% gmake check
Making check in .
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5'
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5'
Making check in examples
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5/examples'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5/examples'
Making check in lib
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5/lib'
/usr/local/packages/gmake/current/bin/gmake  check-am
gmake[2]: Entering directory `/opt/local/src/m4/m4-1.4.5/lib'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/opt/local/src/m4/m4-1.4.5/lib'
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5/lib'
Making check in src
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5/src'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5/src'
Making check in doc
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5/doc'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5/doc'
Making check in checks
gmake[1]: Entering directory `/opt/local/src/m4/m4-1.4.5/checks'
PATH=`pwd`/../src":"$PATH; export PATH; \
./check-them -I ./../examples ./*[0-9][0-9][0-9].*
GNU M4 1.4.5
Written by Rene' Seindal.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Checking ./001.comments
Checking ./002.inhibiting_
Checking ./003.inhibiting_
Checking ./004.inhibiting_
Checking ./005.macro_argum
Checking ./006.define
Checking ./007.define
Checking ./008.define
Checking ./009.arguments
Checking ./010.arguments
Checking ./011.arguments
Checking ./012.arguments
Checking ./013.pseudo_argu
Checking ./014.pseudo_argu
Checking ./015.pseudo_argu
Checking ./016.pseudo_argu
Checking ./017.pseudo_argu
Checking ./018.pseudo_argu
Checking ./019.undefine
Checking ./020.undefine
Checking ./021.defn
Checking ./022.defn
Checking ./023.defn
Checking ./024.defn
Checking ./025.pushdef
Checking ./026.pushdef
Checking ./027.indir
Checking ./028.builtin
Checking ./029.builtin
Checking ./030.builtin
Checking ./031.builtin
Checking ./032.ifdef
Checking ./033.ifelse
Checking ./034.ifelse
Checking ./035.ifelse
Checking ./036.ifelse
Checking ./037.loops
Checking ./038.loops
Checking ./039.loops
Checking ./040.loops
Checking ./041.loops
Checking ./042.dumpdef
Checking ./043.dumpdef
Checking ./044.trace
Checking ./045.trace
Checking ./046.trace
Checking ./047.debug_level
Checking ./048.debug_outpu
Checking ./049.dnl
Checking ./050.dnl
Checking ./051.changequote
Checking ./052.changequote
Checking ./053.changequote
Checking ./054.changecom
Checking ./055.changecom
Checking ./056.changeword
Checking ./057.changeword
Checking ./058.changeword
Checking ./059.changeword
Checking ./060.m4wrap
Checking ./061.m4wrap
Checking ./062.include
Checking ./063.include
Checking ./064.include
Checking ./065.divert
Checking ./066.divert
Checking ./067.divert
Checking ./068.undivert
Checking ./069.undivert
Checking ./070.undivert
Checking ./071.undivert
Checking ./072.undivert
Checking ./073.divnum
Checking ./074.cleardiv
Checking ./075.cleardiv
Checking ./076.len
Checking ./077.index_macro
Checking ./078.regexp
Checking ./079.regexp
Checking ./080.substr
Checking ./081.translit
Checking ./082.patsubst
@ ../doc/m4.texinfo:3267: Origin of test
./082.patsubst: stdout mismatch
6c6
< GNUs NOT Unix
---
> GNUs NOTõx Unix
Checking ./083.patsubst
Checking ./084.patsubst
Checking ./085.format
Checking ./086.format
Checking ./087.incr
Checking ./088.eval
Checking ./089.eval
Checking ./090.eval
Checking ./091.platform_ma
Checking ./092.platform_ma
Checking ./093.syscmd
Checking ./094.esyscmd
Checking ./095.sysval
Checking ./096.sysval
Checking ./097.maketemp
Checking ./098.errprint
Checking ./099.errprint
Checking ./100.m4exit
Checking ./101.m4exit
Checking ./102.extensions
Checking ./103.incompatibi
Checking ./104.answers

Skipped checks were:
  ./056.changeword ./057.changeword ./058.changeword ./059.changeword
Failed checks were:
  ./082.patsubst:out
gmake[1]: *** [check] Error 1
gmake[1]: Leaving directory `/opt/local/src/m4/m4-1.4.5/checks'
gmake: *** [check-recursive] Error 1
% 
_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to