=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for TeXmacs-1.99.5-src.tar.gz
=> Checksum RMD160 OK for TeXmacs-1.99.5-src.tar.gz
=> Checksum SHA512 OK for TeXmacs-1.99.5-src.tar.gz
===> Installing dependencies for TeXmacs-1.99.5nb1
==========================================================================
The following variables will affect the build process of this package,
TeXmacs-1.99.5nb1.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 27
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

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

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-4.4.012
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xproto>=7.0.9: found xproto-7.0.31
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0
=> Build dependency inputproto>=1.4: found inputproto-2.3.2
=> Build dependency qt4-tools>=4.8.7nb1: found qt4-tools-4.8.7nb2
=> Build dependency dri2proto>=2.1: found dri2proto-2.8
=> Build dependency dri3proto>=1.0: found dri3proto-1.0
=> Build dependency presentproto>=1.0: found presentproto-1.1
=> Build dependency glproto>=1.4.11: found glproto-1.4.17
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency fixesproto>=4.0.0: found fixesproto-5.0
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.4: found randrproto-1.5.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency ps2pkm>=1.5: found ps2pkm-1.8
=> Full dependency perl>=5.0: found perl-5.24.1
=> Full dependency shared-mime-info>=1.0nb1: found shared-mime-info-1.8
=> Full dependency freetype2>=2.4.11: found freetype2-2.7.1
=> Full dependency gnome-icon-theme>=2.12.1nb2: found gnome-icon-theme-3.12.0nb1
=> Full dependency guile>=1.8.8nb8: found guile-1.8.8nb8
=> Full dependency python27>=2.7.1nb2: found python27-2.7.13nb1
=> Full dependency ghostscript>=9.05nb8: found ghostscript-9.05nb8
===> Overriding tools for TeXmacs-1.99.5nb1
===> Extracting for TeXmacs-1.99.5nb1
tar: File extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for TeXmacs-1.99.5nb1
=> Applying pkgsrc patches for TeXmacs-1.99.5nb1
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2004/01/20 14:44:13 recht Exp $
|
|--- Makefile.in.orig	2003-12-28 17:18:07.000000000 +0100
|+++ Makefile.in	2003-12-29 18:03:37.000000000 +0100
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 214 (offset 48 lines).
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.14 2016/09/16 09:42:25 wiz Exp $
|
|--- configure.orig	2016-07-07 18:34:10.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2898.
Hunk #2 succeeded at 5218.
Hunk #3 succeeded at 18545.
Hunk #4 succeeded at 20139.
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.7 2015/08/05 13:09:17 ryoon Exp $
|
|--- plugins/python/progs/init-python.scm.orig	2014-03-03 11:44:12.000000000 +0000
|+++ plugins/python/progs/init-python.scm
--------------------------
Patching file plugins/python/progs/init-python.scm using Plan A...
Hunk #1 succeeded at 36 (offset 5 lines).
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.5 2015/08/05 13:09:17 ryoon Exp $
|
|--- src/System/Link/pipe_link.cpp.orig	2014-03-03 11:44:14.000000000 +0000
|+++ src/System/Link/pipe_link.cpp
--------------------------
Patching file src/System/Link/pipe_link.cpp using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.2 2005/07/27 17:32:13 drochner Exp $
|
|--- ./src/System/Classes/timer.hpp.orig	2005-07-26 11:46:06.000000000 +0200
|+++ ./src/System/Classes/timer.hpp
--------------------------
Patching file ./src/System/Classes/timer.hpp using Plan A...
Hunk #1 succeeded at 14 (offset -1 lines).
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-aj
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.8 2016/07/16 21:13:22 wiz Exp $
|
|--- plugins/r/src/tm_r.c.orig	2016-05-26 01:33:18.000000000 +0000
|+++ plugins/r/src/tm_r.c
--------------------------
Patching file plugins/r/src/tm_r.c using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 845.
Hunk #3 succeeded at 1012.
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-al
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.1 2008/07/13 14:30:21 obache Exp $
|
|--- plugins/shell/src/tm_shell.cpp.orig	2008-03-20 02:16:36.000000000 +0900
|+++ plugins/shell/src/tm_shell.cpp
--------------------------
Patching file plugins/shell/src/tm_shell.cpp using Plan A...
Hunk #1 succeeded at 24 (offset -1 lines).
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-src_System_Link_socket__server.cpp
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-src_System_Link_socket__server.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_System_Link_socket__server.cpp,v 1.2 2016/07/16 21:13:22 wiz Exp $
|
|--- src/System/Link/socket_server.cpp.orig	2015-12-16 16:15:03.000000000 +0000
|+++ src/System/Link/socket_server.cpp
--------------------------
Patching file src/System/Link/socket_server.cpp using Plan A...
Hunk #1 succeeded at 21.
done
=> Verifying /data/pkgsrc/editors/TeXmacs/patches/patch-src_makefile.in
=> Applying pkgsrc patch /data/pkgsrc/editors/TeXmacs/patches/patch-src_makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_makefile.in,v 1.1 2016/09/16 09:42:25 wiz Exp $
|
|--- src/makefile.in.orig	2016-09-16 09:21:53.122589456 +0000
|+++ src/makefile.in
--------------------------
Patching file src/makefile.in using Plan A...
Hunk #1 succeeded at 32.
done
=> Substituting "init" in plugins/python/progs/init-python.scm
===> Creating toolchain wrappers for TeXmacs-1.99.5nb1
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/editors/TeXmacs/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/editors/TeXmacs/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for TeXmacs-1.99.5nb1
=> Search for guile library in proper directory.
=> Fixing hardcoded bash path.
=> Generating pkg-config file for builtin expat package.
=> 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
=> Replacing python interpreter in plugins/python/bin/tm_python plugins/sage/bin/tm_sage plugins/mathematica/bin/realpath.py.
=> Replacing Perl interpreter in plugins/asymptote/bin/perl-tm_asy plugins/asymptote/bin/tm_asy2 plugins/feynmf/bin/bbox_add.pl.
=> Replacing sh interpreter in plugins/asymptote/bin/tm_asy plugins/dratex/bin/tm_dratex plugins/eukleides/bin/tm_eukleides plugins/eukleides/bin/tm_eukleides.old plugins/gnuplot/bin/tm_gnuplot plugins/lisp/bin/tm_lisp plugins/lush/bin/tm_lush plugins/matlab/bin/tm_matlab plugins/maxima/bin/maxima_detect plugins/maxima/bin/tm_maxima plugins/mupad/bin/tm_mupad plugins/mupad/bin/tm_mupad_help plugins/octave/bin/tm_octave plugins/reduce/bin/tm_reduce plugins/texgraph/bin/tm_texgraph plugins/xypic/bin/tm_xypic misc/admin/sign_update misc/scripts/gs.
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking current Subversion revision number... 223_232
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for x86_64--netbsd-clang... no
checking for x86_64--netbsd-gcc... no
checking for clang... clang
checking whether we are using the GNU Objective C compiler... yes
checking whether clang accepts -g... yes
checking for x86_64--netbsd-clang++... no
checking for x86_64--netbsd-g++... no
checking for clang++... clang++
checking whether we are using the GNU Objective C++ compiler... yes
checking whether clang++ accepts -g... yes
checking whether GNU C++ compiler is default... yes
checking version of gcc... 4.2.1
checking version of g++... 4.2.1
checking for C++ stack backtrace support... no
checking how to run the C++ preprocessor... clang++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 size of void *... 8
checking alignment of void *... 8
checking if we are on a 64-bits computer... yes
final adjustments for an Intel or AMD GNU/BSD host
checking for FILE... yes
checking for intptr_t... yes
checking for time_t... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking for gettimeofday... yes
checking for library containing dlopen... none required
checking for iconv.h... yes
configure: iconv found in default compiler location
checking for iconv.h... (cached) yes
checking iconv linking... yes
./configure: command substitution: line 15570: syntax error near unexpected token `^'
./configure: command substitution: line 15570: `echo (^|[[:space:]])(ICONV|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking for freetype-config... /data/scratch/editors/TeXmacs/work/.buildlink/bin/freetype-config
configure: WARNING: Flag -Wl,-R/usr/pkg/lib dropped for lib FREETYPE
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking for FT_Get_PS_Font_Value in -lfreetype... yes
./configure: command substitution: line 18230: syntax error near unexpected token `^'
./configure: command substitution: line 18230: `echo (^|[[:space:]])(FREETYPE|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking for guile18-config... no
checking for guile17-config... no
checking for guile16-config... no
checking for guile-config... guile-config
checking whether C++ compiler accepts -pthread... yes
checking whether C++ compiler accepts -Wl,-R/usr/pkg/guile/1.8/lib... yes
checking whether C++ compiler accepts -Wl,-R/usr/pkg/guile/1.8/lib... (cached) yes
checking whether C++ compiler accepts -Wl,-R/usr/pkg/lib... yes
checking whether C++ compiler accepts -Wl,-R/usr/lib... yes
checking whether C++ compiler accepts -pthread... (cached) yes
checking whether C++ compiler accepts -pthread... (cached) yes
configure: GUILE_CFLAGS:
configure: GUILE_CXXFLAGS:-pthread -Wl,-R/usr/pkg/guile/1.8/lib -Wl,-R/usr/pkg/guile/1.8/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib
configure: GUILE_CPPFLAGS:-I/usr/pkg/include -I/usr/include -I/usr/pkg/guile/1.8/include -I/usr/pkg/guile/1.8/include/guile
configure: GUILE_LIBS:-lguile -lltdl -lgmp -lcrypt -lm -lintl
configure: GUILE_LDFLAGS:-L/usr/pkg/guile/1.8/lib -L/usr/pkg/lib -L/usr/lib
configure: Guile version 1.8
configure: Guile data path: /usr/pkg/guile/1.8/share/guile/1.8
configure: skipping presence test for the library intl
configure: skipping presence test for the library m
configure: skipping presence test for the library crypt
checking for __gmpf_init in -lgmp... yes
configure: skipping presence test for the library ltdl
checking gh.h usability... yes
checking gh.h presence... yes
checking for gh.h... yes
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for gh_scm2newstr in -L/usr/pkg/guile/1.8/lib -lguile... yes
checking Guile DOTS linking... no
checking for Guile size type... size_t
./configure: command substitution: line 20299: syntax error near unexpected token `^'
./configure: command substitution: line 20299: `echo (^|[[:space:]])(GUILE|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
disabling cairo support
./configure: command substitution: line 21053: syntax error near unexpected token `^'
./configure: command substitution: line 21053: `echo (^|[[:space:]])(CAIRO|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
disabling imlib2 support
./configure: command substitution: line 21140: syntax error near unexpected token `^'
./configure: command substitution: line 21140: `echo (^|[[:space:]])(IMLIB2|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
disabling axel support
./configure: command substitution: line 21224: syntax error near unexpected token `^'
./configure: command substitution: line 21224: `echo (^|[[:space:]])(AXEL|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking for gs... /usr/pkg/bin/gs
disabling sqlite3 support
./configure: command substitution: line 21463: syntax error near unexpected token `^'
./configure: command substitution: line 21463: `echo (^|[[:space:]])(SQLITE3|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
disabling Sparkle usage
./configure: command substitution: line 21613: syntax error near unexpected token `^'
./configure: command substitution: line 21613: `echo (^|[[:space:]])(SPARKLE|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking for XML_ParserCreate in -lexpat... no
checking for xcb_disconnect in -lxcb... no
checking look for new allocator style1 linking... yes
disabling experimental style rewriting code
enabling Qt
checking for the QMAKE to use with Qt... /usr/pkg/qt4/bin/qmake
checking for the MOC to use with Qt... /usr/pkg/qt4/bin/moc
checking for the UIC to use with Qt... /usr/pkg/qt4/bin/uic
checking for rcc... (cached) /usr/pkg/qt4/bin/rcc
checking for the QT_PATH to use with Qt... /usr/pkg/qt4
checking whether we can build a simple Qt app... ok, looks like Qt 4
checking for the DEFINES to use with Qt... -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
checking for the QT_DEFINES to use with Qt... -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
checking for the CFLAGS to use with Qt... -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -D_REENTRANT $(QT_DEFINES)
checking for the QT_CFLAGS to use with Qt... -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -D_REENTRANT $(QT_DEFINES)
checking for the CXXFLAGS to use with Qt... -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT $(QT_DEFINES)
checking for the QT_CXXFLAGS to use with Qt... -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT $(QT_DEFINES)
checking for the INCPATH to use with Qt... -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I$(QT_QTDIR)/include/QtCore -I$(QT_QTDIR)/include/QtGui -I$(QT_QTDIR)/include -I. -I. -I/usr/pkg/include
checking for the QT_INCPATH to use with Qt... -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I$(QT_QTDIR)/include/QtCore -I$(QT_QTDIR)/include/QtGui -I$(QT_QTDIR)/include -I. -I. -I/usr/pkg/include
checking for the LDFLAGS to use with Qt... $(QT_LDFLAGS) -L$(QT_QTDIR)/lib -pthread -Wl,-R/usr/pkg/qt4/lib
checking for the QT_LDFLAGS to use with Qt... $(QT_LDFLAGS) -L$(QT_QTDIR)/lib -pthread -Wl,-R/usr/pkg/qt4/lib
checking whether host operating system is Darwin... no
checking for the LIBS to use with Qt... -L/usr/pkg/lib -L$(QT_QTDIR)/lib -lQtGui -lQtCore 
checking for the QT_LIBS to use with Qt... -L/usr/pkg/lib -L$(QT_QTDIR)/lib -lQtGui -lQtCore 
checking whether C++ compiler accepts -O2... yes
checking whether C++ compiler accepts -pthread... (cached) yes
configure: WARNING: Flag -Wl,-R/usr/pkg/qt4/lib dropped for lib QT
./configure: command substitution: line 24978: syntax error near unexpected token `^'
./configure: command substitution: line 24978: `echo (^|[[:space:]])(QT|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking hummus support for native pdf exports... disabled: needs libz
./configure: command substitution: line 26464: syntax error near unexpected token `^'
./configure: command substitution: line 26464: `echo (^|[[:space:]])(PDF|ALL)LC_SET_TRIVIAL_FLAGS($|[[:space:]]))'
checking if compiler supports -fno-rtti... yes
disabling debugging
enabling assertion checking
enabling warning flags -Wall -Wno-return-type
enabling optimizations, -O3 -fexpensive-optimizations
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/makefile
config.status: creating misc/admin/admin.makefile
config.status: creating misc/doxygen/Doxyfile
config.status: creating misc/man/texmacs.1
config.status: creating packages/redhat/TeXmacs.spec
config.status: creating misc/scripts/fig2ps
config.status: creating misc/scripts/texmacs
config.status: creating TeXmacs/examples/plugins/dynlink/Makefile
config.status: creating packages/macos/Base.xcconfig
config.status: creating packages/macos/Info-Xcode.plist
config.status: creating packages/macos/Info.plist
config.status: creating packages/fedora/TeXmacs.spec
config.status: creating packages/mandriva/TeXmacs.spec
config.status: creating packages/centos/TeXmacs.spec
config.status: creating packages/windows/TeXmacs.iss
config.status: creating packages/windows/resource.rc
config.status: creating packages/debian/changelog
config.status: creating packages/debian/control
config.status: creating src/System/config.h