opencog / opencog-nix

Build definitions for the NIX package manager
7 stars 4 forks source link

[link-grammar] multi-dict test fails #9

Closed Radivarig closed 5 years ago

Radivarig commented 5 years ago
PASS: dict-reopen
FAIL: multi-dict
PASS: multi-thread
PASS: mem-leak
==============================================
   link-grammar 5.6.0: tests/test-suite.log
==============================================

# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: multi-dict
================
full output

``` these derivations will be built: /nix/store/yxx7piakvpfqdqy119msd8m9n9hyr5bz-link-grammar.drv /nix/store/is28m513fd2m9p57n5y4h6km9qpsamwn-link-grammar-env.drv building '/nix/store/yxx7piakvpfqdqy119msd8m9n9hyr5bz-link-grammar.drv'... unpacking sources unpacking source archive /nix/store/apbq0arjpjxrmimxfx0vaakmkhfwd8dk-source source root is source patching sources configuring automake (GNU automake) 1.16.1 libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' Creating aclocal.m4: aclocal automake --add-missing --copy --foreign Creating configure... checking for a BSD-compatible install... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for C compiler vendor... gnu checking how to run the C preprocessor... gcc -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep checking for egrep... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep -E checking for ANSI C header files... yes checking how to print strings... printf checking for a sed that does not truncate output... /nix/store/j2kj1w5glbr5pg39ssihqk5622jjsghs-gnused-4.5/bin/sed checking for fgrep... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for 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... @ checking for strip... strip checking for ranlib... ranlib checking command to parse nm output from gcc object... ok checking for sysroot... no checking for a working dd... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/dd checking how to truncate binary pipes... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/dd bs=4096 count=1 ../configure: line 7976: /usr/bin/file: No such file or directory checking for mt... no checking if : is a manifest tool... no 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... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (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... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /nix/store/k4dpgbvcvgf50wrrd2gvs5ssfqh3w3g3-pkg-config-0.29.2/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for an ANSI C-conforming const... yes checking for strndup... yes checking for strtok_r... yes checking for aligned_alloc... yes checking for posix_memalign... yes checking for _aligned_malloc... no checking for size_t... 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 for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for prctl... yes checking for native Win32... no checking for Cygwin... no checking for 64-bit Apple OSX... no checking for locale_t in locale.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking for stdatomic.h... checking for stdatomic.h... yes checking for thread local storage (TLS) class... _Thread_local checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes configure: The minisat2 headers include zlib.h checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lminisat... no configure: No system minisat2 library found - using the bundled library checking sqlite3.h usability... no checking sqlite3.h presence... no checking for sqlite3.h... no checking for hunspell... no checking hunspell.h usability... no checking hunspell.h presence... no checking for hunspell.h... no checking for aspell... no checking aspell.h usability... no checking aspell.h presence... no checking for aspell.h... no checking for new_aspell_config in -laspell... no checking for libedit... no configure: Checking for REGEX implementation: checking for pcre2.h... no checking tre/regex.h usability... no checking tre/regex.h presence... no checking for tre/regex.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regex in -lregex... no ... libregex not found, continuing checking for regexec... yes ... found REGEX implementation: -lc checking for jni.h... checking for javac... no configure: cannot find JDK; try setting $JAVAC or $JAVA_HOME checking jni headers... none checking for ant... no checking whether "python" is Python3... no checking for a Python interpreter with version >= 2.6... none checking for python... no configure: Cannot find python in your system path checking for a version of Python >= '2.1.0'... ../configure: line 20293: -c: command not found no configure: error: in `/build/source/build': configure: This version of the AC_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. See `config.log' for more details checking for a version of Python >= '2.6'... ../configure: line 20338: -c: command not found no configure: this package requires Python >= '2.6'. If you have it installed, but it isn't the default Python interpreter in your system path, please pass the PYTHON_VERSION variable to configure. See ``configure --help'' for reference. checking for the distutils Python package... no configure: cannot import Python module "distutils". Please check your Python installation. The error was: ../configure: line 20365: -c: command not found checking for Python include path... ../configure: line 20389: -c: command not found ../configure: line 20391: -c: command not found checking for Python library path... ../configure: line 20421: -: command not found cat: write error: Broken pipe ../configure: line 20428: -c: command not found ../configure: line 20447: -: command not found cat: write error: Broken pipe ../configure: line 20458: -: command not found cat: write error: Broken pipe ../configure: line 20474: -c: command not found -L -lpython checking for Python site-packages path... ../configure: line 20501: -c: command not found checking python extra libraries... ../configure: line 20515: -c: command not found checking python extra linking flags... ../configure: line 20529: -c: command not found checking consistency of all components of python development environment... no configure: error: in `/build/source/build': configure: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable. Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ See `config.log' for more details checking for a Python interpreter with version >= 3.4... none checking for python... no configure: Cannot find python in your system path checking for a version of Python >= '2.1.0'... ../configure: line 21002: -c: command not found no configure: error: in `/build/source/build': configure: This version of the AC_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. See `config.log' for more details checking for a version of Python >= '3.4'... ../configure: line 21047: -c: command not found no configure: this package requires Python >= '3.4'. If you have it installed, but it isn't the default Python interpreter in your system path, please pass the PYTHON_VERSION variable to configure. See ``configure --help'' for reference. checking for the distutils Python package... no configure: cannot import Python module "distutils". Please check your Python installation. The error was: ../configure: line 21074: -c: command not found checking for Python include path... ../configure: line 21098: -c: command not found ../configure: line 21100: -c: command not found checking for Python library path... ../configure: line 21130: -: command not found cat: write error: Broken pipe ../configure: line 21137: -c: command not found ../configure: line 21156: -: command not found cat: write error: Broken pipe ../configure: line 21167: -: command not found cat: write error: Broken pipe ../configure: line 21183: -c: command not found -L -lpython checking for Python site-packages path... ../configure: line 21210: -c: command not found checking python extra libraries... ../configure: line 21224: -c: command not found checking python extra linking flags... ../configure: line 21238: -c: command not found checking consistency of all components of python development environment... no configure: error: in `/build/source/build': configure: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable. Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ See `config.log' for more details configure: Python binding is requested, but an approprite Python version could not be configured. checking for supported warning flags... checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wnested-externs... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wextra... yes checking whether gcc supports -Wsign-compare... yes checking whether gcc supports -Werror-implicit-function-declaration... yes checking whether gcc supports -Wpointer-arith... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wmissing-declarations... yes checking whether gcc supports -Wpacked... yes checking whether gcc supports -Wswitch-enum... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-aliasing... yes checking whether gcc supports -Winit-self... yes checking whether gcc supports -Wshadow... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-attributes... yes checking whether gcc supports -Wno-long-long... yes checking whether gcc supports -Winline... yes checking which warning flags were supported... -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition checking whether gcc supports -fno-strict-aliasing... yes checking whether gcc supports -Wmaybe-uninitialized -Werror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating link-grammar.pc config.status: creating link-grammar.spec config.status: creating link-grammar/Makefile config.status: creating link-grammar/corpus/Makefile config.status: creating link-grammar/minisat/Makefile config.status: creating link-grammar/sat-solver/Makefile config.status: creating link-grammar/link-features.h config.status: creating bindings/Makefile config.status: creating bindings/java-jni/Makefile config.status: creating bindings/java/Makefile config.status: creating bindings/java/build.xml config.status: creating bindings/ocaml/Makefile config.status: creating bindings/perl/Makefile config.status: creating bindings/python/Makefile config.status: creating bindings/python/__init__.py config.status: creating bindings/python3/Makefile config.status: creating bindings/python3/__init__.py config.status: creating bindings/python-examples/Makefile config.status: creating morphology/Makefile config.status: creating link-parser/Makefile config.status: creating tests/Makefile config.status: creating data/Makefile config.status: creating data/ady/Makefile config.status: creating data/amy/Makefile config.status: creating data/any/Makefile config.status: creating data/ar/Makefile config.status: creating data/ar/words/Makefile config.status: creating data/de/Makefile config.status: creating data/en/Makefile config.status: creating data/en/words/Makefile config.status: creating data/fa/Makefile config.status: creating data/fa/words/Makefile config.status: creating data/he/Makefile config.status: creating data/id/Makefile config.status: creating data/kz/Makefile config.status: creating data/lt/Makefile config.status: creating data/ru/Makefile config.status: creating data/ru/words/Makefile config.status: creating data/tr/Makefile config.status: creating data/vn/Makefile config.status: creating data/demo-sql/Makefile config.status: creating man/Makefile config.status: executing depfiles commands config.status: executing libtool commands link-grammar-5.6.0 build configuration settings prefix: /usr/local datadir: ${prefix}/share C compiler: gcc -D_DEFAULT_SOURCE -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_ISOC11_SOURCE -g -O2 -O3 C++ compiler: g++ -D_DEFAULT_SOURCE -std=c++11 -g -O2 -O3 -Wall Regex library: TLS: yes Editline command-line history: no UTF8 editline support: no Java libraries: no Java interfaces: no Swig interfaces generator: no Perl interfaces: no Perl install location: Python2 interfaces: no Python3 interfaces: no ASpell spell checker: no HunSpell spell checker: no HunSpell dictionary location: Boolean SAT parser: yes (using the bundled minisat library) SQLite-backed dictionary: no Corpus statistics database: no RegEx tokenizer: Definitions: -DPACKAGE_NAME=\"link-grammar\" -DPACKAGE_TARNAME=\"link-grammar\" -DPACKAGE_VERSION=\"5.6.0\" -DPACKAGE_STRING=\"link-grammar\ 5.6.0\" -DPACKAGE_BUGREPORT=\"https://github.com/opencog/link-grammar\" -DPACKAGE_URL=\"https://www.abisource.com/projects/link-grammar\" -DPACKAGE=\"link-grammar\" -DVERSION=\"5.6.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DTLS=_Thread_local -DHAVE_MKLIT=1 -DUSE_SAT_SOLVER=1 -DUSE_WORDGRAPH_DISPLAY=1 -DHAVE_REGEX_H=1 -DHAVE_REGEXEC=1 -DHAVE_MAYBE_UNINITIALIZED=1 Libraries: Now type 'make' to compile link-grammar (in the 'build' directory). checking for a BSD-compatible install... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for C compiler vendor... gnu checking how to run the C preprocessor... gcc -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep checking for egrep... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep -E checking for ANSI C header files... yes checking how to print strings... printf checking for a sed that does not truncate output... /nix/store/j2kj1w5glbr5pg39ssihqk5622jjsghs-gnused-4.5/bin/sed checking for fgrep... /nix/store/xkzmszz7vp1wdgbpyfvb1wns2qlx9mhz-gnugrep-3.1/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for 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... @ checking for strip... strip checking for ranlib... ranlib checking command to parse nm output from gcc object... ok checking for sysroot... no checking for a working dd... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/dd checking how to truncate binary pipes... /nix/store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29/bin/dd bs=4096 count=1 ./configure: line 7976: /usr/bin/file: No such file or directory checking for mt... no checking if : is a manifest tool... no 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... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (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... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /nix/store/k4dpgbvcvgf50wrrd2gvs5ssfqh3w3g3-pkg-config-0.29.2/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for an ANSI C-conforming const... yes checking for strndup... yes checking for strtok_r... yes checking for aligned_alloc... yes checking for posix_memalign... yes checking for _aligned_malloc... no checking for size_t... 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 for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for prctl... yes checking for native Win32... no checking for Cygwin... no checking for 64-bit Apple OSX... no checking for locale_t in locale.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking for stdatomic.h... checking for stdatomic.h... yes checking for thread local storage (TLS) class... _Thread_local checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes configure: The minisat2 headers include zlib.h checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lminisat... no configure: No system minisat2 library found - using the bundled library checking sqlite3.h usability... no checking sqlite3.h presence... no checking for sqlite3.h... no checking for hunspell... no checking hunspell.h usability... no checking hunspell.h presence... no checking for hunspell.h... no checking for aspell... no checking aspell.h usability... no checking aspell.h presence... no checking for aspell.h... no checking for new_aspell_config in -laspell... no checking for libedit... no configure: Checking for REGEX implementation: checking for pcre2.h... no checking tre/regex.h usability... no checking tre/regex.h presence... no checking for tre/regex.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regex in -lregex... no ... libregex not found, continuing checking for regexec... yes ... found REGEX implementation: -lc checking for jni.h... checking for javac... no configure: cannot find JDK; try setting $JAVAC or $JAVA_HOME checking jni headers... none checking for ant... no checking whether "python" is Python3... no checking for a Python interpreter with version >= 2.6... none checking for python... no configure: Cannot find python in your system path checking for a version of Python >= '2.1.0'... ./configure: line 20293: -c: command not found no configure: error: in `/build/source': configure: This version of the AC_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. See `config.log' for more details checking for a version of Python >= '2.6'... ./configure: line 20338: -c: command not found no configure: this package requires Python >= '2.6'. If you have it installed, but it isn't the default Python interpreter in your system path, please pass the PYTHON_VERSION variable to configure. See ``configure --help'' for reference. checking for the distutils Python package... no configure: cannot import Python module "distutils". Please check your Python installation. The error was: ./configure: line 20365: -c: command not found checking for Python include path... ./configure: line 20389: -c: command not found ./configure: line 20391: -c: command not found checking for Python library path... ./configure: line 20421: -: command not found cat: write error: Broken pipe ./configure: line 20428: -c: command not found ./configure: line 20447: -: command not found cat: write error: Broken pipe ./configure: line 20458: -: command not found cat: write error: Broken pipe ./configure: line 20474: -c: command not found -L -lpython checking for Python site-packages path... ./configure: line 20501: -c: command not found checking python extra libraries... ./configure: line 20515: -c: command not found checking python extra linking flags... ./configure: line 20529: -c: command not found checking consistency of all components of python development environment... no configure: error: in `/build/source': configure: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable. Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ See `config.log' for more details checking for a Python interpreter with version >= 3.4... none checking for python... no configure: Cannot find python in your system path checking for a version of Python >= '2.1.0'... ./configure: line 21002: -c: command not found no configure: error: in `/build/source': configure: This version of the AC_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. See `config.log' for more details checking for a version of Python >= '3.4'... ./configure: line 21047: -c: command not found no configure: this package requires Python >= '3.4'. If you have it installed, but it isn't the default Python interpreter in your system path, please pass the PYTHON_VERSION variable to configure. See ``configure --help'' for reference. checking for the distutils Python package... no configure: cannot import Python module "distutils". Please check your Python installation. The error was: ./configure: line 21074: -c: command not found checking for Python include path... ./configure: line 21098: -c: command not found ./configure: line 21100: -c: command not found checking for Python library path... ./configure: line 21130: -: command not found cat: write error: Broken pipe ./configure: line 21137: -c: command not found ./configure: line 21156: -: command not found cat: write error: Broken pipe ./configure: line 21167: -: command not found cat: write error: Broken pipe ./configure: line 21183: -c: command not found -L -lpython checking for Python site-packages path... ./configure: line 21210: -c: command not found checking python extra libraries... ./configure: line 21224: -c: command not found checking python extra linking flags... ./configure: line 21238: -c: command not found checking consistency of all components of python development environment... no configure: error: in `/build/source': configure: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable. Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ See `config.log' for more details configure: Python binding is requested, but an approprite Python version could not be configured. checking for supported warning flags... checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wnested-externs... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wextra... yes checking whether gcc supports -Wsign-compare... yes checking whether gcc supports -Werror-implicit-function-declaration... yes checking whether gcc supports -Wpointer-arith... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wmissing-declarations... yes checking whether gcc supports -Wpacked... yes checking whether gcc supports -Wswitch-enum... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-aliasing... yes checking whether gcc supports -Winit-self... yes checking whether gcc supports -Wshadow... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-attributes... yes checking whether gcc supports -Wno-long-long... yes checking whether gcc supports -Winline... yes checking which warning flags were supported... -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition checking whether gcc supports -fno-strict-aliasing... yes checking whether gcc supports -Wmaybe-uninitialized -Werror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating link-grammar.pc config.status: creating link-grammar.spec config.status: creating link-grammar/Makefile config.status: creating link-grammar/corpus/Makefile config.status: creating link-grammar/minisat/Makefile config.status: creating link-grammar/sat-solver/Makefile config.status: creating link-grammar/link-features.h config.status: creating bindings/Makefile config.status: creating bindings/java-jni/Makefile config.status: creating bindings/java/Makefile config.status: creating bindings/java/build.xml config.status: creating bindings/ocaml/Makefile config.status: creating bindings/perl/Makefile config.status: creating bindings/python/Makefile config.status: creating bindings/python/__init__.py config.status: creating bindings/python3/Makefile config.status: creating bindings/python3/__init__.py config.status: creating bindings/python-examples/Makefile config.status: creating morphology/Makefile config.status: creating link-parser/Makefile config.status: creating tests/Makefile config.status: creating data/Makefile config.status: creating data/ady/Makefile config.status: creating data/amy/Makefile config.status: creating data/any/Makefile config.status: creating data/ar/Makefile config.status: creating data/ar/words/Makefile config.status: creating data/de/Makefile config.status: creating data/en/Makefile config.status: creating data/en/words/Makefile config.status: creating data/fa/Makefile config.status: creating data/fa/words/Makefile config.status: creating data/he/Makefile config.status: creating data/id/Makefile config.status: creating data/kz/Makefile config.status: creating data/lt/Makefile config.status: creating data/ru/Makefile config.status: creating data/ru/words/Makefile config.status: creating data/tr/Makefile config.status: creating data/vn/Makefile config.status: creating data/demo-sql/Makefile config.status: creating man/Makefile config.status: executing depfiles commands config.status: executing libtool commands link-grammar-5.6.0 build configuration settings prefix: /nix/store/0vwgw5zmidi7x3606vbgrv5d7yr5ndfj-link-grammar datadir: ${prefix}/share C compiler: gcc -D_DEFAULT_SOURCE -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_ISOC11_SOURCE -g -O2 -O3 C++ compiler: g++ -D_DEFAULT_SOURCE -std=c++11 -g -O2 -O3 -Wall Regex library: TLS: yes Editline command-line history: no UTF8 editline support: no Java libraries: no Java interfaces: no Swig interfaces generator: no Perl interfaces: no Perl install location: Python2 interfaces: no Python3 interfaces: no ASpell spell checker: no HunSpell spell checker: no HunSpell dictionary location: Boolean SAT parser: yes (using the bundled minisat library) SQLite-backed dictionary: no Corpus statistics database: no RegEx tokenizer: Definitions: -DPACKAGE_NAME=\"link-grammar\" -DPACKAGE_TARNAME=\"link-grammar\" -DPACKAGE_VERSION=\"5.6.0\" -DPACKAGE_STRING=\"link-grammar\ 5.6.0\" -DPACKAGE_BUGREPORT=\"https://github.com/opencog/link-grammar\" -DPACKAGE_URL=\"https://www.abisource.com/projects/link-grammar\" -DPACKAGE=\"link-grammar\" -DVERSION=\"5.6.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DTLS=_Thread_local -DHAVE_MKLIT=1 -DUSE_SAT_SOLVER=1 -DUSE_WORDGRAPH_DISPLAY=1 -DHAVE_REGEX_H=1 -DHAVE_REGEXEC=1 -DHAVE_MAYBE_UNINITIALIZED=1 Libraries: building build flags: SHELL=/nix/store/b9p787yqaqi313l9rr0491igjwyzqfmw-bash-4.4-p23/bin/bash Making all in link-grammar make[1]: Entering directory '/build/source/link-grammar' Making all in minisat make[2]: Entering directory '/build/source/link-grammar/minisat' CXX minisat/core/libminisat_la-Solver.lo CXX minisat/utils/libminisat_la-Options.lo CXX minisat/utils/libminisat_la-System.lo CXXLD libminisat.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/build/source/link-grammar/minisat' Making all in sat-solver make[2]: Entering directory '/build/source/link-grammar/sat-solver' CXX fast-sprintf.lo CXX sat-encoder.lo CXX util.lo CXX variables.lo CXX word-tag.lo CXXLD libsat-solver.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/build/source/link-grammar/sat-solver' make[2]: Entering directory '/build/source/link-grammar' CC api.lo CC connectors.lo CC dict-common/dict-common.lo CC dict-common/dict-impl.lo CC dict-common/dict-utils.lo CC dict-common/file-utils.lo dict-common/file-utils.c: In function 'get_file_contents': dict-common/file-utils.c:509:5: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, errbuf, sizeof(errbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC dict-common/idiom.lo CC dict-common/print-dict.lo CC dict-common/regex-morph.lo CC dict-file/dictionary.lo CC dict-file/read-dict.lo CC dict-file/read-regex.lo CC dict-file/word-file.lo CC dict-sql/read-sql.lo CC disjunct-utils.lo CC error.lo CC linkage/analyze-linkage.lo CC linkage/freeli.lo CC linkage/linkage.lo CC linkage/lisjuncts.lo CC linkage/sane.lo CC linkage/score.lo CC memory-pool.lo memory-pool.c: In function 'pool_alloc': memory-pool.c:187:5: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, errbuf, sizeof(errbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC parse/count.lo CC parse/extract-links.lo CC parse/fast-match.lo CC parse/histogram.lo CC parse/parse.lo CC parse/preparation.lo CC parse/prune.lo CC post-process/constituents.lo CC post-process/post-process.lo CC post-process/pp_knowledge.lo LEX post-process/pp_lexer.c CC post-process/pp_lexer.lo CC post-process/pp_linkset.lo CC prepare/build-disjuncts.lo CC prepare/expand.lo CC prepare/exprune.lo CC print/print.lo CC print/print-util.lo print/print-util.c: In function 'vappend_string': print/print-util.c:193:3: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(errno, temp_buffer+sizeof(msg)-1, TMPLEN-sizeof(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC print/wcwidth.lo CC resources.lo CC string-set.lo CC string-id.lo CC tokenize/anysplit.lo CC tokenize/spellcheck-aspell.lo CC tokenize/spellcheck-hun.lo CC tokenize/regex-tokenizer.lo CC tokenize/tokenize.lo CC tokenize/wg-display.lo CC tokenize/wordgraph.lo CC utilities.lo CXXLD liblink-grammar.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/build/source/link-grammar' make[1]: Leaving directory '/build/source/link-grammar' Making all in bindings make[1]: Entering directory '/build/source/bindings' Making all in ocaml make[2]: Entering directory '/build/source/bindings/ocaml' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/bindings/ocaml' make[2]: Entering directory '/build/source/bindings' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/build/source/bindings' make[1]: Leaving directory '/build/source/bindings' Making all in link-parser make[1]: Entering directory '/build/source/link-parser' CC link-parser.o CC command-line.o CC lg_readline.o CC parser-utilities.o CCLD link-parser make[1]: Leaving directory '/build/source/link-parser' Making all in tests make[1]: Entering directory '/build/source/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/source/tests' Making all in morphology make[1]: Entering directory '/build/source/morphology' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/source/morphology' Making all in data make[1]: Entering directory '/build/source/data' Making all in ady make[2]: Entering directory '/build/source/data/ady' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/ady' Making all in amy make[2]: Entering directory '/build/source/data/amy' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/amy' Making all in any make[2]: Entering directory '/build/source/data/any' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/any' Making all in ar make[2]: Entering directory '/build/source/data/ar' Making all in words make[3]: Entering directory '/build/source/data/ar/words' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/source/data/ar/words' make[3]: Entering directory '/build/source/data/ar' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/source/data/ar' make[2]: Leaving directory '/build/source/data/ar' Making all in de make[2]: Entering directory '/build/source/data/de' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/de' Making all in en make[2]: Entering directory '/build/source/data/en' Making all in words make[3]: Entering directory '/build/source/data/en/words' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/source/data/en/words' make[3]: Entering directory '/build/source/data/en' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/source/data/en' make[2]: Leaving directory '/build/source/data/en' Making all in fa make[2]: Entering directory '/build/source/data/fa' Making all in words make[3]: Entering directory '/build/source/data/fa/words' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/source/data/fa/words' make[3]: Entering directory '/build/source/data/fa' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/source/data/fa' make[2]: Leaving directory '/build/source/data/fa' Making all in he make[2]: Entering directory '/build/source/data/he' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/he' Making all in id make[2]: Entering directory '/build/source/data/id' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/id' Making all in kz make[2]: Entering directory '/build/source/data/kz' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/kz' Making all in lt make[2]: Entering directory '/build/source/data/lt' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/lt' Making all in ru make[2]: Entering directory '/build/source/data/ru' Making all in words make[3]: Entering directory '/build/source/data/ru/words' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/source/data/ru/words' make[3]: Entering directory '/build/source/data/ru' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/source/data/ru' make[2]: Leaving directory '/build/source/data/ru' Making all in tr make[2]: Entering directory '/build/source/data/tr' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/tr' Making all in vn make[2]: Entering directory '/build/source/data/vn' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/vn' Making all in demo-sql make[2]: Entering directory '/build/source/data/demo-sql' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/source/data/demo-sql' make[2]: Entering directory '/build/source/data' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/build/source/data' make[1]: Leaving directory '/build/source/data' Making all in man make[1]: Entering directory '/build/source/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/source/man' make[1]: Entering directory '/build/source' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/build/source' running tests check flags: SHELL=/nix/store/b9p787yqaqi313l9rr0491igjwyzqfmw-bash-4.4-p23/bin/bash VERBOSE=y check Making check in link-grammar make[1]: Entering directory '/build/source/link-grammar' Making check in minisat make[2]: Entering directory '/build/source/link-grammar/minisat' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/source/link-grammar/minisat' Making check in sat-solver make[2]: Entering directory '/build/source/link-grammar/sat-solver' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/source/link-grammar/sat-solver' make[2]: Entering directory '/build/source/link-grammar' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/build/source/link-grammar' make[1]: Leaving directory '/build/source/link-grammar' Making check in bindings make[1]: Entering directory '/build/source/bindings' Making check in ocaml make[2]: Entering directory '/build/source/bindings/ocaml' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/source/bindings/ocaml' make[2]: Entering directory '/build/source/bindings' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/build/source/bindings' make[1]: Leaving directory '/build/source/bindings' Making check in link-parser make[1]: Entering directory '/build/source/link-parser' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/build/source/link-parser' Making check in tests make[1]: Entering directory '/build/source/tests' make dict-reopen multi-dict multi-thread mem-leak make[2]: Entering directory '/build/source/tests' CXX dict-reopen.o CXXLD dict-reopen CXX multi-dict.o CXXLD multi-dict CXX multi-thread.o CXXLD multi-thread CXX mem-leak.o CXXLD mem-leak make[2]: Leaving directory '/build/source/tests' make check-TESTS make[2]: Entering directory '/build/source/tests' make[3]: Entering directory '/build/source/tests' PASS: dict-reopen FAIL: multi-dict PASS: multi-thread PASS: mem-leak ============================================== link-grammar 5.6.0: tests/test-suite.log ============================================== # TOTAL: 4 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: multi-dict ================ Creating 10 threads, each parsing 30 sentences link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" link-grammar: Info: Dictionary found at ../data/en/4.0.dict Debug: Dictionary "en/4.0.dict": Locale "en_US.UTF-8" unknown link-grammar: Warning: Program locale en_US.UTF-8 could not be set; force-setting to C.UTF-8 link-grammar: Warning: Could not set a UTF-8 program locale; program may malfunction link-grammar: Warning: Couldn't set dictionary locale! Using current program locale "C" Fatal error: Unable to parse sentence FAIL multi-dict (exit status: 3) ============================================================================ Testsuite summary for link-grammar 5.6.0 ============================================================================ # TOTAL: 4 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to https://github.com/opencog/link-grammar ============================================================================ make[3]: *** [Makefile:800: test-suite.log] Error 1 make[3]: Leaving directory '/build/source/tests' make[2]: *** [Makefile:908: check-TESTS] Error 2 make[2]: Leaving directory '/build/source/tests' make[1]: *** [Makefile:1010: check-am] Error 2 make[1]: Leaving directory '/build/source/tests' make: *** [Makefile:560: check-recursive] Error 1 builder for '/nix/store/yxx7piakvpfqdqy119msd8m9n9hyr5bz-link-grammar.drv' failed with exit code 2 error: build of '/nix/store/is28m513fd2m9p57n5y4h6km9qpsamwn-link-grammar-env.drv', '/nix/store/yxx7piakvpfqdqy119msd8m9n9hyr5bz-link-grammar.drv' failed ```

linas commented 5 years ago

try ./configure --disable-python-bindings to get rid of the python errors. Nothing in opencog needs these.

The failure of the multi-dict unit test is totally bizarre and unexpected. Its a very simple test. Try running it by hand, its just a binary.

Radivarig commented 5 years ago

This was caused by setLocale always returning null in link-grammar/utilities.c#L594.

All tests passed when running genericBuild from impure shell, but not with the --pure flag.

I've found it to be nixos related issue and the solution from here was to add LOCALE_ARCHIVE_2_27 = "${pkgs.glibcLocales}/lib/locale/locale-archive" which was not present in the pure build.