=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar", "configure", "PYTHON_VERSION_REQD=312", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] => Checksum BLAKE2s OK for link-grammar-5.12.8.tar.gz => Checksum SHA512 OK for link-grammar-5.12.8.tar.gz ===> Installing dependencies for py312-link-grammar-5.12.8nb2 ========================================================================== The following variables will affect the build process of this package, py312-link-grammar-5.12.8nb2. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 313 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 `/opt/local/bin/bmake clean' after the changes. ========================================================================== => Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-84.0.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-3.0.6 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc13>=13.4.0: found gcc13-13.4.0 => Full dependency link-grammar-[0-9]*: found link-grammar-5.12.8nb2 => Full dependency gcc13-libs>=13.4.0: found gcc13-libs-13.4.0 => Full dependency pcre2>=10.48: found pcre2-10.48 => Full dependency python312>=3.12.0: found python312-3.12.14 => Full dependency gettext-lib>=0.22: found gettext-lib-1.0 => Full dependency libiconv>=1.9.1: found libiconv-1.19 ===> Overriding tools for py312-link-grammar-5.12.8nb2 ===> Extracting for py312-link-grammar-5.12.8nb2 ===> Patching for py312-link-grammar-5.12.8nb2 => Applying pkgsrc patches for py312-link-grammar-5.12.8nb2 => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-aa => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.3 2015/08/26 12:23:01 wiz Exp $ | |Do not try to regenerate words. | |--- data/en/words/Makefile.in.orig 2015-02-01 05:46:07.000000000 +0000 |+++ data/en/words/Makefile.in -------------------------- Patching file data/en/words/Makefile.in using Plan A... Hunk #1 succeeded at 485 (offset 57 lines). Hunk #2 succeeded at 490 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.7 2025/09/29 21:57:06 gutteridge Exp $ | |* Do not include -std=gnu11 in CC and PTHREAD_CC to fix compile. |* POSIX shell portability. | |--- configure.orig 2025-09-26 19:28:23.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 5171. Hunk #2 succeeded at 5197. Hunk #3 succeeded at 19808. Hunk #4 succeeded at 28229. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-link-grammar_resources.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/py-link-grammar/../link-grammar/patches/patch-link-grammar_resources.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-link-grammar_resources.c,v 1.1 2023/10/15 06:39:25 ryoon Exp $ | |--- link-grammar/resources.c.orig 2023-03-05 03:54:59.000000000 +0000 |+++ link-grammar/resources.c -------------------------- Patching file link-grammar/resources.c using Plan A... Hunk #1 succeeded at 38. done ===> Creating toolchain wrappers for py312-link-grammar-5.12.8nb2 /usr/bin/sed -e '/^#/d' -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g' -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g' -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g' < ../../extra/gcc13-libs/files/specs.pkgsrc > /tmp/work/textproc/py-link-grammar/work/.cwrapper/specs.pkgsrc ===> Configuring for py312-link-grammar-5.12.8nb2 => 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 configure: WARNING: unrecognized options: --with-libiconv-prefix checking whether configure should try to set CFLAGS/CXXFLAGS... no checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbuild -g pbuild checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 Hello World! Where am I?\nchecking for x86_64-sun-solaris2.11-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... -std=gnu11 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... 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/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B checking the name lister (/opt/local/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 786240 checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for file... file checking for x86_64-sun-solaris2.11-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-sun-solaris2.11-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking command to parse /opt/local/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-sun-solaris2.11-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for threads.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... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... solaris2.11 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... /bin/ld -64 checking if the linker (/bin/ld -64) is GNU ld... no checking whether the g++ linker (/bin/ld -64) 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... rm: conftest*: No such file or directory yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 ld.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 for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking for native Win32... no checking for Cygwin... no checking for NetBSD... no checking for FreeBSD... no checking for __builtin_types_compatible_p... yes checking for typeof syntax and keyword spelling... typeof checking for strndup... yes checking for strtok_r... yes checking for sigaction... yes checking for malloc_trim... no checking for asprintf... yes checking for aligned_alloc... yes checking for posix_memalign... yes checking for _aligned_malloc... no checking for pid_t... yes 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 size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for thread local storage (TLS) class... _Thread_local checking for egrep -e... (cached) /usr/xpg4/bin/grep -E checking for pthread_join using gcc -pthread -lpthread -lrt... yes checking whether gcc is Clang... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS checking for PTHREAD_PRIO_INHERIT... yes checking whether the -Werror option is usable... yes checking for __attribute__((visibility("default"))) & __attribute__((visibility("hidden")))... yes checking for locale_t in locale.h... yes checking for xlocale.h... yes checking for stdatomic.h... checking for stdatomic.h... yes checking for g++ options needed to detect all undeclared functions... none needed checking for sqlite3.h... yes checking for sqlite3 >= 3.0.0... no checking for sqlite3_open in -lsqlite3... no checking for opencog/atomspace/AtomSpace.h... no checking for opencog/nlp/types/atom_types.h... no checking for hunspell... no checking for hunspell.h... no checking for aspell... 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/opt/local/lib -L/opt/local/lib -lpcre2-8 checking whether /opt/local/bin/python3.12 version is >= 3.4... yes checking for /opt/local/bin/python3.12 version... 3.12 checking for /opt/local/bin/python3.12 platform... sunos5 checking for GNU default /opt/local/bin/python3.12 prefix... ${prefix} checking for GNU default /opt/local/bin/python3.12 exec_prefix... ${exec_prefix} checking for /opt/local/bin/python3.12 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.12/site-packages checking for /opt/local/bin/python3.12 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.12/site-packages checking for python3.12... /opt/local/bin/python3.12 checking for a version of Python >= '2.1.0'... yes checking for the sysconfig Python package... yes checking for Python include path... -I/opt/local/include/python3.12 checking for Python library path... -L/opt/local/lib -lpython3.12 checking for Python site-packages path... /opt/local/lib/python3.12/site-packages checking for Python platform specific site-packages path... /opt/local/lib/python3.12/site-packages checking python extra libraries... -lsocket -lnsl -lintl -ldl -lsendfile -lrt -lm checking python extra linking flags... checking consistency of all components of python development environment... yes 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 for gcc options needed to detect all undeclared functions... none needed checking whether strerror_r is declared... 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 configure: WARNING: unrecognized options: --with-libiconv-prefix link-grammar-5.12.8 build configuration settings prefix: /opt/local datadir: ${prefix}/share C compiler: gcc -D__EXTENSIONS__ -I/opt/local/include -I/usr/include -I/opt/local/include/python3.12 -D_DEFAULT_SOURCE -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_ISOC11_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/python3.12 -std=gnu11 -std=gnu11 -I/opt/local/include -D_POSIX_PTHREAD_SEMANTICS -pthread C++ compiler: g++ -D__EXTENSIONS__ -I/opt/local/include -I/usr/include -I/opt/local/include/python3.12 -D_DEFAULT_SOURCE -std=c++17 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/python3.12 -Wall Regex library: -Wl,-R/opt/local/lib -L/opt/local/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: 3.12 (/opt/local/bin/python3.12) ASpell spell checker: no HunSpell spell checker: no HunSpell dictionary location: Boolean SAT parser: no SQLite-backed dictionary: no AtomSpace-backed dictionary: no Definitions: -DPACKAGE_NAME="link-grammar" -DPACKAGE_TARNAME="link-grammar" -DPACKAGE_VERSION="5.12.8" -DPACKAGE_STRING="link-grammar 5.12.8" -DPACKAGE_BUGREPORT="https://github.com/opencog/link-grammar" -DPACKAGE_URL="https://opencog.github.io/link-grammar-website" -DPACKAGE="link-grammar" -DVERSION="5.12.8" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_THREADS_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 -DHAVE___BUILTIN_TYPES_COMPATIBLE_P=1 -DHAVE_TYPEOF=1 -DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_SIGACTION=1 -DHAVE_ASPRINTF=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DTLS=_Thread_local -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_VISIBILITY=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_XLOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DUSE_WORDGRAPH_DISPLAY=1 -DHAVE_PCRE2_H=1 -DHAVE_MAYBE_UNINITIALIZED=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 Libraries: -Wl,-R/opt/local/lib -L/opt/local/lib -lpcre2-8 Loader flags: -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -liconv => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp