=> Checksum BLAKE2s OK for TeXmacs-2.1.2-src.tar.gz
=> Checksum SHA512 OK for TeXmacs-2.1.2-src.tar.gz
===> Installing dependencies for TeXmacs-2.1.2nb8
==========================================================================
The following variables will affect the build process of this package,
TeXmacs-2.1.2nb8.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python312
        * TERMCAP_TYPE = curses

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ps2pkm>=1.5: found ps2pkm-1.8nb8
=> Full dependency perl>=5.0: found perl-5.40.0nb1
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency ghostscript>=9.05nb40: found ghostscript-9.05nb40
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency gnome-icon-theme>=3.12.0nb8: found gnome-icon-theme-3.12.0nb8
=> Full dependency guile18>=1.8.8nb13: found guile18-1.8.8nb13
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency python312>=3.12.0: found python312-3.12.7nb3
=> Full dependency qt5-qtbase>=5.15.16: found qt5-qtbase-5.15.16
=> Full dependency qt5-qtmacextras>=5.15.16: found qt5-qtmacextras-5.15.16
=> Full dependency qt5-qtsvg>=5.15.16: found qt5-qtsvg-5.15.16
=> Full dependency shared-mime-info>=2.2nb3: found shared-mime-info-2.4nb4
=> Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.47.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency ghostscript-agpl>=8.63nb1: found ghostscript-agpl-10.04.0nb3
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> Full dependency icu>=3.4: found icu-76.1nb1
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency libproxy>=0.2.3: found libproxy-0.5.9nb3
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency openjpeg>=2.1.0: found openjpeg-2.5.2
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency qt5-qtxmlpatterns>=5.9.1: found qt5-qtxmlpatterns-5.15.16
=> Full dependency readline>=2.2: found readline-8.2nb2
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for TeXmacs-2.1.2nb8
===> Extracting for TeXmacs-2.1.2nb8
===> Patching for TeXmacs-2.1.2nb8
=> Applying pkgsrc patches for TeXmacs-2.1.2nb8
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2023/11/02 21:34:26 nros Exp $
|
|Set GS_* vars to pkgsrc values
|
|Pass -L and rpath linking arguments when linking Guile
|Fixes: "-lguile not found" when linking TeXmacs
|
|Don't look for homebrew libs on mac
|Don't install files directly under PREFIX on mac
|
|Don't install pkgsrc patch files
|
|--- CMakeLists.txt.orig	2022-05-05 15:27:04.522996359 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 345.
Hunk #2 succeeded at 550.
Hunk #3 succeeded at 586.
Hunk #4 succeeded at 766.
Hunk #5 succeeded at 798.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-misc_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-misc_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc_CMakeLists.txt,v 1.1 2019/10/28 15:10:00 kamil Exp $
|
|Set proper man install dir.
|
|--- misc/CMakeLists.txt.orig	2019-07-26 14:43:15.000000000 +0000
|+++ misc/CMakeLists.txt
--------------------------
Patching file misc/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 18.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-misc_tm-devel-mac_Makefile
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-misc_tm-devel-mac_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc_tm-devel-mac_Makefile,v 1.2 2020/06/21 03:54:54 mef Exp $
|
|Fix portability
|
|--- misc/tm-devel-mac/Makefile.orig	2020-03-18 13:42:35.761140022 +0000
|+++ misc/tm-devel-mac/Makefile
--------------------------
Patching file misc/tm-devel-mac/Makefile using Plan A...
Hunk #1 succeeded at 84.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-plugins_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-plugins_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_CMakeLists.txt,v 1.1 2023/11/02 21:34:26 nros Exp $
|
|Don't set execute permission on scilab files
|
|--- plugins/CMakeLists.txt.orig	2022-05-05 15:27:07.955037215 +0000
|+++ plugins/CMakeLists.txt
--------------------------
Patching file plugins/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 27.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-src_Plugins_Qt_qt__renderer.hpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs/patches/patch-src_Plugins_Qt_qt__renderer.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Plugins_Qt_qt__renderer.hpp,v 1.1 2020/06/21 03:54:54 mef Exp $
|
|Adapt to QT 5.15.0
|
|--- src/Plugins/Qt/qt_renderer.hpp.orig	2020-06-21 02:24:51.846185942 +0000
|+++ src/Plugins/Qt/qt_renderer.hpp
--------------------------
Patching file src/Plugins/Qt/qt_renderer.hpp using Plan A...
Hunk #1 succeeded at 18.
done
===> Creating toolchain wrappers for TeXmacs-2.1.2nb8
===> Configuring for TeXmacs-2.1.2nb8
=> Fixing hardcoded bash path in src/Texmacs/Texmacs/texmacs.cpp plugins/mupad/bin/tm_mupad
=> Fixing name of python executable in TeXmacs/progs/kernel/library/base.scm
=> Replacing python interpreter in plugins/mathematica/bin/realpath.py plugins/eukleides/python/tm_eukleides.py.
=> Replacing bash interpreter in configure cmake/CreateBundle.sh.in plugins/matlab/bin/tm_matlab plugins/mupad/bin/tm_mupad_help plugins/texgraph/bin/tm_texgraph.
INFO: [replace-interpreter] Nothing changed in plugins/matlab/bin/tm_matlab.
INFO: [replace-interpreter] Nothing changed in plugins/mupad/bin/tm_mupad_help.
INFO: [replace-interpreter] Nothing changed in plugins/texgraph/bin/tm_texgraph.
=> Replacing Perl interpreter in plugins/feynmf/bin/bbox_add.pl.
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/pbulk/build/editors/TeXmacs/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/editors/TeXmacs/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found SQLite3: /opt/pkg/lib/libsqlite3.dylib
-- Found Freetype: /opt/pkg/lib/libfreetype.dylib (found version "2.13.3")
-- Found GMP: /opt/pkg/include
-- Found PkgConfig: /Users/pbulk/build/editors/TeXmacs/work/.tools/bin/pkg-config (found version "2.3.0")
-- Found X11: /opt/pkg/include
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.dylib;/opt/pkg/lib/libXext.dylib
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.dylib;/opt/pkg/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of FILE
-- Check size of FILE - failed
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for X11/Xlib.h
-- Looking for X11/Xlib.h - found
-- Looking for X11/Xutil.h
-- Looking for X11/Xutil.h - found
-- Looking for pty.h
-- Looking for pty.h - not found
-- Looking for util.h
-- Looking for util.h - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Check size of void*
-- Check size of void* - done
-- Check if we are on a 64-bits computer
-- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.3.1")
-- Found PNG: /opt/pkg/lib/libpng16.dylib (found version "1.6.44")
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /opt/pkg/lib/libiconv.dylib
-- Found JPEG: /opt/pkg/lib/libjpeg.dylib (found version "90")
-- Looking for Scheme implementation: default
-- Checking for one of the modules 'guile-1.8;guile-3.0;guile-2.2;guile-2.0'
-- Using GUILE_C: 1.8.8
-- Checking whether ... arguments behave correctly
-- Performing Test _guile_dots_test
CMake Error: Parse error in command line argument: _THREAD_SAFE
 Should be: VAR:type=value

CMake Error at cmake/CheckCSourceCompiles.cmake:47 (TRY_COMPILE):
  Failed to configure test project build system.
Call Stack (most recent call first):
  CMakeLists.txt:327 (check_c_source_compiles)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/TeXmacs