=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for link-grammar-5.12.3.tar.gz => Checksum SHA512 OK for link-grammar-5.12.3.tar.gz ===> Installing dependencies for py312-link-grammar-5.12.3 ========================================================================== The following variables will affect the build process of this package, py312-link-grammar-5.12.3. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * PYPACKAGE = python312 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency link-grammar-[0-9]*: found link-grammar-5.12.3 => Full dependency pcre2>=10.30: found pcre2-10.42 => Full dependency python312>=3.12.0: found python312-3.12.1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for py312-link-grammar-5.12.3 ===> Extracting for py312-link-grammar-5.12.3 ===> Patching for py312-link-grammar-5.12.3 => Applying pkgsrc patches for py312-link-grammar-5.12.3 ===> Creating toolchain wrappers for py312-link-grammar-5.12.3 ===> Configuring for py312-link-grammar-5.12.3 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking whether configure should try to set CFLAGS/CXXFLAGS... no checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd Hello World! Where am I?\nchecking for x86_64--netbsd-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 Hah! I think I found where you are hiding!\nchecking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for C compiler vendor... gnu checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld checking if the linker (/pbulk/work/textproc/py-link-grammar/work/.cwrapper/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 the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... no 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 x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... NetBSD ld.elf_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... c++ -E checking for ld used by c++... /pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld checking if the linker (/pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld) is GNU ld... yes checking whether the c++ linker (/pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/pbulk/work/textproc/py-link-grammar/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking pkg-config is at least version 0.9.0... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for an ANSI C-conforming const... yes checking for strndup... yes checking for strtok_r... yes checking for sigaction... 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... no checking for alloca... yes 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... no checking for thread local storage (TLS) class... _Thread_local checking for pthread_join using gcc -pthread ... yes checking whether gcc is Clang... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for threads.h... yes checking whether the -Werror option is usable... yes checking for __attribute__((visibility("default"))) & __attribute__((visibility("hidden")))... yes checking for native Win32... no checking for Cygwin... no checking for 64-bit Apple OSX... no checking for NetBSD... yes checking for FreeBSD... 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 sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for sqlite3 >= 3.0.0... no checking for sqlite3_open in -lsqlite3... yes checking opencog/atomspace/AtomSpace.h usability... no checking opencog/atomspace/AtomSpace.h presence... no checking for opencog/atomspace/AtomSpace.h... no checking opencog/nlp/types/atom_types.h usability... no checking opencog/nlp/types/atom_types.h presence... no checking for opencog/nlp/types/atom_types.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 checking for libpcre2-8... yes configure: Checking for REGEX implementation: checking for libpcre2-8... yes ... found REGEX implementation: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpcre2-8 checking whether /usr/pkg/bin/python3.12 version is >= 3.4... yes checking for /usr/pkg/bin/python3.12 version... 3.12 checking for /usr/pkg/bin/python3.12 platform... netbsd9 checking for /usr/pkg/bin/python3.12 script directory... ${prefix}/lib/python3.12/site-packages checking for /usr/pkg/bin/python3.12 extension module directory... ${exec_prefix}/lib/python3.12/site-packages checking for python3.12... /usr/pkg/bin/python3.12 checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... no configure: cannot import Python module "distutils". Please check your Python installation. The error was: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' checking for Python include path... Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' checking for Python library path... Traceback (most recent call last): File "", line 4, in ModuleNotFoundError: No module named 'distutils' Traceback (most recent call last): File "", line 3, in ModuleNotFoundError: No module named 'distutils' Traceback (most recent call last): File "", line 2, in ModuleNotFoundError: No module named 'distutils' Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' -L -lpython3.1 checking for Python site-packages path... Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' checking python extra libraries... Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' checking python extra linking flags... Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' checking consistency of all components of python development environment... no configure: error: in `/pbulk/work/textproc/py-link-grammar/work/link-grammar-5.12.3': 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: 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. configure: Python binding is enabled, but an appropriate Python version could not be configured (minimum version: 3.4). checking for supported warning flags... checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wformat-signedness... yes checking whether gcc supports -Wnested-externs... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Werror-implicit-function-declaration... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wextra... yes checking whether gcc supports -Wsign-compare... 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 -Wformat-signedness -Wnested-externs -Wold-style-definition -Werror-implicit-function-declaration checking whether gcc supports -Wmaybe-uninitialized -Werror... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no 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/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/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/gen/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/th/Makefile config.status: creating data/th/words/Makefile config.status: creating data/tr/Makefile config.status: creating data/vn/Makefile config.status: creating data/demo-atomese/Makefile config.status: creating data/demo-sql/Makefile config.status: creating man/Makefile config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory link-grammar-5.12.3 build configuration settings prefix: /usr/pkg datadir: ${prefix}/share C compiler: gcc -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -D_DEFAULT_SOURCE -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_ISOC11_SOURCE -fvisibility=hidden -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -I/usr/pkg/include -pthread C++ compiler: c++ -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -D_DEFAULT_SOURCE -std=c++17 -fvisibility=hidden -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -Wall Regex library: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpcre2-8 TLS: yes Editline command-line history: no UTF8 editline support: no Java libraries: no Java interfaces: Swig interfaces generator: no Perl interfaces: no Perl install location: Python interfaces: no ASpell spell checker: no HunSpell spell checker: no HunSpell dictionary location: Boolean SAT parser: no SQLite-backed dictionary: yes AtomSpace-backed dictionary: no Definitions: -DPACKAGE_NAME="link-grammar" -DPACKAGE_TARNAME="link-grammar" -DPACKAGE_VERSION="5.12.3" -DPACKAGE_STRING="link-grammar 5.12.3" -DPACKAGE_BUGREPORT="https://github.com/opencog/link-grammar" -DPACKAGE_URL="https://www.abisource.com/projects/link-grammar" -DPACKAGE="link-grammar" -DVERSION="5.12.3" -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/" -DYYTEXT_POINTER=1 -DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_SIGACTION=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -DTLS=_Thread_local -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_THREADS_H=1 -DHAVE_VISIBILITY=1 -DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DUSE_WORDGRAPH_DISPLAY=1 -DHAVE_SQLITE3=1 -DHAVE_PCRE2_H=1 -DHAVE_MAYBE_UNINITIALIZED=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 Libraries: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpcre2-8 -lsqlite3 Loader flags: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp