=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for TeXmacs-1.99.13-src.tar.gz
=> Checksum SHA512 OK for TeXmacs-1.99.13-src.tar.gz
===> Installing dependencies for TeXmacs-1.99.13nb10
==========================================================================
The following variables will affect the build process of this package,
TeXmacs-1.99.13nb10.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 39
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python39
        * TERMCAP_TYPE = termcap

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 glib2-tools-[0-9]*: found glib2-tools-2.70.2
=> Tool dependency bash-[0-9]*: found bash-5.1.12
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.22.1nb1
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ps2pkm>=1.5: found ps2pkm-1.8nb5
=> Full dependency perl>=5.0: found perl-5.34.0nb3
=> Full dependency shared-mime-info>=1.0nb1: found shared-mime-info-1.10nb5
=> Full dependency freetype2>=2.8.1: found freetype2-2.10.4
=> Full dependency gnome-icon-theme>=3.12.0nb6: found gnome-icon-theme-3.12.0nb7
=> Full dependency guile>=1.8.8nb8: found guile-1.8.8nb11
=> Full dependency python39>=3.9.0: found python39-3.9.9nb1
=> Full dependency ghostscript>=9.05nb26: found ghostscript-9.05nb27
=> Full dependency qt5-qtbase>=5.15.2nb7: found qt5-qtbase-5.15.2nb8
===> 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 TeXmacs-1.99.13nb10
===> Extracting for TeXmacs-1.99.13nb10
===> Patching for TeXmacs-1.99.13nb10
=> Applying pkgsrc patches for TeXmacs-1.99.13nb10
=> Verifying /tree/pkgsrc/editors/TeXmacs/patches/patch-cmake_FindGuile.cmake
=> Applying pkgsrc patch /tree/pkgsrc/editors/TeXmacs/patches/patch-cmake_FindGuile.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_FindGuile.cmake,v 1.1 2019/10/28 15:10:00 kamil Exp $
|
|Hack to set libguile library as find_library() does not work.
|
|--- cmake/FindGuile.cmake.orig	2019-07-26 14:44:40.000000000 +0000
|+++ cmake/FindGuile.cmake
--------------------------
Patching file cmake/FindGuile.cmake using Plan A...
Hunk #1 succeeded at 64.
Hunk #2 succeeded at 90.
done
=> Verifying /tree/pkgsrc/editors/TeXmacs/patches/patch-misc_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/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 /tree/pkgsrc/editors/TeXmacs/patches/patch-misc_tm-devel-mac_Makefile
=> Applying pkgsrc patch /tree/pkgsrc/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 /tree/pkgsrc/editors/TeXmacs/patches/patch-src_Plugins_Qt_QTMStyle.cpp
=> Applying pkgsrc patch /tree/pkgsrc/editors/TeXmacs/patches/patch-src_Plugins_Qt_QTMStyle.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Plugins_Qt_QTMStyle.cpp,v 1.1 2020/06/21 03:54:54 mef Exp $
|
|Adapt to QT 5.15.0
|
|--- src/Plugins/Qt/QTMStyle.cpp.orig	2020-05-28 08:56:46.524435324 +0000
|+++ src/Plugins/Qt/QTMStyle.cpp
--------------------------
Patching file src/Plugins/Qt/QTMStyle.cpp using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /tree/pkgsrc/editors/TeXmacs/patches/patch-src_Plugins_Qt_qt__renderer.hpp
=> Applying pkgsrc patch /tree/pkgsrc/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-1.99.13nb10
===> Configuring for TeXmacs-1.99.13nb10
=> Fixing hardcoded bash path.
=> Substituting "guile" in cmake/FindGuile.cmake
=> Generating pkg-config file for builtin expat package.
=> Replacing python interpreter in plugins/mathematica/bin/realpath.py.
=> Replacing bash interpreter in configure cmake/CreateBundle.sh.in plugins/dratex/bin/tm_dratex plugins/eukleides/bin/tm_eukleides plugins/eukleides/bin/tm_eukleides.old plugins/mupad/bin/tm_mupad_help plugins/texgraph/bin/tm_texgraph.
WARNING: [replace-interpreter] Skipping non-existent file "plugins/dratex/bin/tm_dratex".
=> Replacing Perl interpreter in plugins/feynmf/bin/bbox_add.pl.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The CXX compiler identification is GNU 5.5.0
-- The C compiler identification is GNU 5.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch/work/editors/TeXmacs/work/.cwrapper/bin/c++ - 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: /scratch/work/editors/TeXmacs/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SQLITE3)
  does not match the name of the calling package (SQLite3).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSQLite3.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:75 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SQLITE3: /usr/lib/libsqlite3.so  
-- Found Freetype: /usr/pkg/lib/libfreetype.so (found version "2.10.4") 
-- Found GMP: /usr/pkg/include  
-- Found PkgConfig: /scratch/work/editors/TeXmacs/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Found X11: /usr/X11R7/include   
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so - 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
-- -lguile-lltdl-lgmp-lcrypt-lm-lltdl

>>> /usr/pkg/guile/1.8/include; /usr/pkg/include; /usr/include
>>>/usr/pkg/lib/libltdl.so;/usr/pkg/lib/libgmp.so;/usr/lib/libcrypt.so;/usr/lib/libm.so;/usr/pkg/lib/libltdl.so;/usr/pkg/guile/1.8/lib/libguile.so
>>>
>>>guile-config - Guile version 1.8.8

-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.37") 
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success
-- Found Iconv: /usr/lib/libc.so
-- Found JPEG: /usr/pkg/lib/libjpeg.so (found version "90") 
-- Checking the size_t of guile strings
-- Performing Test _guile_str_size_test
-- Performing Test _guile_str_size_test - Success
-- Checking whether ... arguments behave correctly
-- Performing Test _guile_dots_test
-- Performing Test _guile_dots_test - Failed
-- Enabling experimental  Qt port
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /scratch/work/editors/TeXmacs/work/TeXmacs-1.99.13
=> Rewrite cmake Dependencies files