Failed clisp-2.49.93+ in FreeBSD

KIRIYAMA Kazuhiko <[email protected]> Fri, 22 Mar 2019 23:09:41 +0900
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Hi all,

I try to build clisp port on FreeBSD 13.0-CURRENT. I
download latest clisp code from gitlab [1] and configure
with that but failed:

root@jdtpkx:/var/ports/jdtpkx/lang/clisp # make configure
===>  License GPLv2 accepted by the user
===>   clisp-2.49.93+ depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by clisp-2.49.93+ for building
===>  Extracting for clisp-2.49.93+
=> SHA256 Checksum OK for gnu-clisp-clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed_GL0.tar.gz.
===>  Patching for clisp-2.49.93+
===>  Applying FreeBSD patches for clisp-2.49.93+
===>   clisp-2.49.93+ depends on file: /usr/local/lib/libavcall.a - found
===>   clisp-2.49.93+ depends on executable: gcc7 - found
===>   clisp-2.49.93+ depends on file: /usr/local/bin/as - found
===>   clisp-2.49.93+ depends on shared library: libreadline.so - found (/usr/local/lib/libreadline.so)
===>   clisp-2.49.93+ depends on shared library: libsigsegv.so - found (/usr/local/lib/libsigsegv.so)
===>  Configuring for clisp-2.49.93+
executing ../src/configure --prefix=/usr/local --mandir=/usr/local/man --elispdir=/usr/local/share/clisp/emacs --vimdir=/usr/local/share/clisp/vim --docdir=/usr/local/share/doc/clisp --with-libiconv=/usr --disable-mmap --disable-nls --with-module=rawsock --with-module=wildcard --with-module=zlib
configure: creating cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: ** check for host type
checking build system type... x86_64-unknown-freebsd13.0
checking host system type... x86_64-unknown-freebsd13.0
checking how to remove colons from paths... echo $x
configure: ** checks for programs
checking for gcc... gcc7
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 gcc7 accepts -g... yes
checking for gcc7 option to accept ISO C89... none needed
checking whether gcc7 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc7... gcc3
checking how to run the C preprocessor... cpp7
checking for windres... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ld used by gcc7... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to make hard links... ln
checking whether ln -s works... yes
checking how to make hard links to symlinks... ln
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc7... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-unknown-freebsd13.0 file names to x86_64-unknown-freebsd13.0 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd13.0 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/local/bin/nm -B output from gcc7 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 gcc7 supports -fno-rtti -fno-exceptions... no
checking for gcc7 option to produce PIC... -fPIC -DPIC
checking if gcc7 PIC flag -fPIC -DPIC works... yes
checking if gcc7 static flag -static works... yes
checking if gcc7 supports -c -o file.o... yes
checking if gcc7 supports -c -o file.o... (cached) yes
checking whether the gcc7 linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for groff... no
checking for ps2pdf... no
checking for gzip... gzip
configure: ** checks for system features
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking whether using GNU C... yes
checking whether using SUNPRO C... no
checking whether using C++... no
checking whether CPP likes empty macro arguments... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether CC works at all... yes
configure: ** check for add-ons
checking for sys/socket.h... yes
checking for arpa/inet.h... yes
checking for features.h... no
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking for sys/param.h... yes
checking for netdb.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for xlocale.h... yes
checking for sys/mman.h... yes
checking for malloc.h... no
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for crtdefs.h... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether <sys/socket.h> is self-contained... yes
checking for shutdown... yes
checking whether <sys/socket.h> defines the SHUT_* macros... yes
checking for struct sockaddr_storage... yes
checking for sa_family_t... yes
checking for struct sockaddr_storage.ss_family... yes
checking whether socket is declared without a macro... yes
checking whether connect is declared without a macro... yes
checking whether accept is declared without a macro... yes
checking whether bind is declared without a macro... yes
checking whether getpeername is declared without a macro... yes
checking whether getsockname is declared without a macro... yes
checking whether getsockopt is declared without a macro... yes
checking whether listen is declared without a macro... yes
checking whether recv is declared without a macro... yes
checking whether send is declared without a macro... yes
checking whether recvfrom is declared without a macro... yes
checking whether sendto is declared without a macro... yes
checking whether setsockopt is declared without a macro... yes
checking whether shutdown is declared without a macro... yes
checking whether accept4 is declared without a macro... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for _set_invalid_parameter_handler... no
checking for symlink... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... no
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for gettimeofday... yes
checking for readlink... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mkstemp... yes
checking for tzset... yes
checking for nl_langinfo... yes
checking for setenv... yes
checking for strdup... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for catgets... yes
checking for snprintf... yes
checking for strptime... yes
checking for localtime_r... yes
checking for timegm... yes
checking for mquery... no
checking for pstat_getprocvm... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether byte ordering is bigendian... no
checking if environ is properly declared... no
checking for complete errno.h... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for pid_t... yes
checking for mode_t... yes
checking for mbstate_t... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether gettimeofday is declared without a macro... yes
checking host CPU and C ABI... x86_64
checking for shared library run path origin... done
checking for the common suffixes of directories in the library search path... lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking whether included libunistring is requested... no
checking for libunistring... no, consider installing GNU libunistring
checking whether limits.h has ULLONG_WIDTH etc.... no
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for wchar_t... yes
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking whether lstat correctly handles trailing slash... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for inline... inline
checking whether <sys/select.h> is self-contained... yes
checking whether pselect is declared without a macro... yes
checking whether select is declared without a macro... yes
checking for library containing setsockopt... none needed
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking for sigset_t... yes
checking for uid_t in sys/types.h... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether strdup is declared... yes
checking whether strerror(0) succeeds... yes
checking for strerror_r with POSIX signature... yes
checking whether strerror_r works... yes
checking whether strerror_r is declared... yes
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking whether ffs is declared without a macro... yes
checking whether strcasecmp is declared without a macro... yes
checking whether strncasecmp is declared without a macro... yes
checking for struct timespec in <time.h>... yes
checking whether unsetenv is declared... yes
checking whether inet_ntop is declared without a macro... no
checking whether inet_pton is declared without a macro... no
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking for __builtin_expect... yes
checking for strtod_l... yes
checking whether dup2 works... yes
checking whether fcntl is declared without a macro... yes
checking whether openat is declared without a macro... yes
checking for flexible array member... yes
checking for working GNU fnmatch... no
checking whether isblank is declared... yes
checking whether isblank is declared... (cached) yes
checking for gethostname... yes
checking for HOST_NAME_MAX... 256
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking for getpagesize... yes
checking whether getpagesize is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for library containing inet_ntop... none required
checking whether inet_ntop is declared... yes
checking for library containing inet_pton... none required
checking whether inet_pton is declared... yes
checking for ioctl... yes
checking for ioctl with POSIX signature... no
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether nl_langinfo is declared without a macro... yes
checking for libsigsegv... yes
checking how to link with libsigsegv... /usr/local/lib/libsigsegv.so -Wl,-rpath -Wl,/usr/local/lib
checking whether to use the included libunistring... yes
checking for __xpg4... no
checking whether link(2) dereferences a symlink... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether locale.h defines locale_t... yes
checking whether struct lconv is properly defined... yes
checking whether setlocale is declared without a macro... yes
checking whether duplocale is declared without a macro... yes
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... yes
checking for mkdtemp... yes
checking whether mkfifo rejects trailing slashes... yes
checking whether mknod can create fifo without root privileges... configure: error: in `/var/ports/work/var/ports/jdtpkx/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed-df3b9f6fdcff22832898e89a989eb499c0f842ed/src':
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/var/ports/work/var/ports/jdtpkx/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed-df3b9f6fdcff22832898e89a989eb499c0f842ed/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /var/ports/jdtpkx/lang/clisp
root@jdtpkx:/var/ports/jdtpkx/lang/clisp # 


My build environment is:

FreeBSD jdtpkx 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r339677M: Fri Oct 26 14:56:49 JST 2018 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ  amd64
root@jdtpkx:~ # 

config.log is in [2] and my working clisp port is on [3].

Is there any suggetions?

Regards

[1] https://gitlab.com/gnu-clisp/clisp
[2] http://www.truefc.org/~kiri/freebsd/ports/config.log
[3] https://github.com/TrueFC/ports/blob/486173/lang/clisp


_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel