bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] gawk-4.1.4 fails testsuite ./strftlng.awk:7: fatal: function


From: Dennis Clarke
Subject: [bug-gawk] gawk-4.1.4 fails testsuite ./strftlng.awk:7: fatal: function `strftime' not defined
Date: Tue, 3 Oct 2017 18:45:21 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0


This is on Debian 8.8 on powerpc64 thus :


deb8_ppc64$ uname -a
Linux charon 3.16.0-4-powerpc64 #1 SMP Debian 3.16.43-2 (2017-04-30) ppc64 GNU/Linux
deb8_ppc64$ which gcc
/usr/bin/gcc
deb8_ppc64$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 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.


deb8_ppc64$ `/usr/bin/gcc -print-prog-name=cc1plus` -v
ignoring nonexistent directory
"/usr/lib/gcc/powerpc-linux-gnu/4.9/../../../../powerpc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.9
 /usr/include/powerpc-linux-gnu/c++/4.9
 /usr/include/c++/4.9/backward
 /usr/lib/gcc/powerpc-linux-gnu/4.9/include
 /usr/local/include
 /usr/lib/gcc/powerpc-linux-gnu/4.9/include-fixed
 /usr/include
End of search list.
^C
deb8_ppc64$


The config stage looked fine as did the compile.

Configure line was :

$ ./configure --disable-silent-rules --enable-dependency-tracking --with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/loc
al --with-libsigsegv-prefix=/usr/local --with-mpfr=/usr/local

## --------- ##
## Platform. ##
## --------- ##

hostname = charon
uname -m = ppc64
uname -r = 3.16.0-4-powerpc64
uname -s = Linux
uname -v = #1 SMP Debian 3.16.43-2 (2017-04-30)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/local/ssl/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin


The output looked like :


checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -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 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 for egrep... (cached) /usr/local/bin/grep -E
checking for bison... bison -y
checking whether ln -s works... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for special development options... no
checking for z/OS USS compilation... no
checking for strerror in -lcposix... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for AIX compilation hacks... no
checking for Linux/Alpha compilation hacks... no
checking if we are using EBCDIC... no
checking for a sed that does not truncate output... /usr/local/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
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/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.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 for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for memory.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for ssize_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for socklen_t... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getaddrinfo... yes
checking for library containing fmod... -lm
checking for library containing isinf... none required
checking for library containing ismod... no
checking for libsigsegv... yes
checking how to link with libsigsegv... /usr/local/lib/libsigsegv.a -lc -Wl,-rpath -Wl,/usr/local/lib
checking for __etoa_l... no
checking for atexit... yes
checking for btowc... yes
checking for fmod... yes
checking for getgrent... yes
checking for getgroups... yes
checking for grantpt... yes
checking for isascii... yes
checking for iswctype... yes
checking for iswlower... yes
checking for iswupper... yes
checking for mbrlen... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memcpy_ulong... no
checking for memmove... yes
checking for memset... yes
checking for memset_ulong... no
checking for mkstemp... yes
checking for posix_openpt... yes
checking for setenv... yes
checking for setlocale... yes
checking for setsid... yes
checking for snprintf... yes
checking for strchr... yes
checking for strerror... yes
checking for strftime... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcoll... yes
checking for strtod... yes
checking for strtoul... yes
checking for system... yes
checking for tmpfile... yes
checking for towlower... yes
checking for towupper... yes
checking for tzset... yes
checking for usleep... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wctype... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... -ldl
checking whether getpgrp requires zero arguments... yes
checking for printf %F format... yes
checking for gethostbyname... yes
checking for connect... yes
checking where to find the socket library calls... the standard library
checking whether readline via "-lreadline" is present and sane... no
checking whether readline via "-lreadline -ltermcap" is present and sane... no checking whether readline via "-lreadline -lcurses" is present and sane... no checking whether readline via "-lreadline -lncurses" is present and sane... no
checking whether mpfr via "-lmpfr -lgmp" is present and usable... yes
checking for struct stat.st_blksize... yes
checking for struct passwd.pw_passwd... yes
checking for struct group.gr_passwd... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether char is unsigned... yes
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating awklib/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=== configuring in extension (/usr/local/build/gawk-4.1.4_linux_3.16.0-4-powerpc64.001/extension) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-silent-rules' '--enable-dependency-tracking' '--with-libiconv-prefix=/usr/local' '--with-libintl-prefix=/usr/local' '--with-libsigsegv-prefix=/usr/local' '--with-mpfr=/usr/local' 'CFLAGS=-m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames' 'CPPFLAGS=-I/usr/local/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -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 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 for z/OS USS compilation... no
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for struct stat.st_blksize... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) 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... 1572864
checking how to convert powerpc64-unknown-linux-gnu file names to powerpc64-unknown-linux-gnu format... func_convert_file_noop checking how to convert powerpc64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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... -fPIC -DPIC
checking if gcc PIC flag -fPIC -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/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... no
checking for special development options... no
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking whether time.h and sys/time.h may both be included... yes
checking for fdopendir... yes
checking for fnmatch... yes
checking for gettimeofday... yes
checking for getdtablesize... yes
checking for nanosleep... yes
checking for select... yes
checking for statvfs... yes
checking for GetSystemTimeAsFileTime... no
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking how to get the file descriptor associated with an open DIR*... no_such_member
checking for inline... inline
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
deb8_ppc64$


I am using gnu make 4.2.1 and the compile went fine.

Running the testsuite failed strangely :

.
.
.
======== Starting Unix tests ========
fflush
getlnhd
localenl
pid
./pid.ok _pid differ: byte 1, line 1
gmake[1]: [Makefile:1891: pid] Error 1 (ignored)
pipeio1
pipeio2
poundbang
rtlen
./rtlen.ok _rtlen differ: byte 1, line 1
gmake[1]: [Makefile:2101: rtlen] Error 1 (ignored)
rtlen01
./rtlen01.ok _rtlen01 differ: byte 3, line 2
gmake[1]: [Makefile:2106: rtlen01] Error 1 (ignored)
space
strftlng
gawk: ./strftlng.awk:7: fatal: function `strftime' not defined
gmake[1]: *** [Makefile:1895: strftlng] Error 2
gmake[1]: Leaving directory '/usr/local/build/gawk-4.1.4_linux_3.16.0-4-powerpc64.001/test'
gmake: *** [Makefile:742: check-recursive] Error 1
Command exited with non-zero status 2

deb8_ppc64$

Not sure what to make of that.

Dennis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]