=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 glmark2-2017.07-168d2f1650c84be3f13d1a5b76ccec8cbb89188e.tar.gz
=> Checksum RMD160 OK for glmark2-2017.07-168d2f1650c84be3f13d1a5b76ccec8cbb89188e.tar.gz
=> Checksum SHA512 OK for glmark2-2017.07-168d2f1650c84be3f13d1a5b76ccec8cbb89188e.tar.gz
===> Installing dependencies for glmark2-2017.07
==========================================================================
The following variables will affect the build process of this package,
glmark2-2017.07.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 27

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

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

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 pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.13
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency MesaLib>=10.5.3: found MesaLib-11.2.2nb6
=> Full dependency jpeg>=9: found jpeg-9c
=> Full dependency png>=1.6.0nb1: found png-1.6.34
=> Full dependency python27>=2.7.1nb2: found python27-2.7.15nb1
===> Overriding tools for glmark2-2017.07
===> Extracting for glmark2-2017.07
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for glmark2-2017.07
===> Creating toolchain wrappers for glmark2-2017.07
===> Configuring for glmark2-2017.07
=> remove -ldl
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files
cd /data/scratch/benchmarks/glmark2/work/glmark2-168d2f1650c84be3f13d1a5b76ccec8cbb89188e &&  /usr/bin/env DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr INSTALL_INFO= MAKEINFO=/data/scratch/benchmarks/glmark2/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/data/scratch/benchmarks/glmark2/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/benchmarks/glmark2/work/.buildlink/lib/pkgconfig:/data/scratch/benchmarks/glmark2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/benchmarks/glmark2/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make CWRAPPERS_CONFIG_DIR=/data/scratch/benchmarks/glmark2/work/.cwrapper/config PYTHON=/usr/pkg/bin/python2.7 CC=clang CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm CPPFLAGS=-I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm CXX=clang++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/benchmarks/glmark2/work/.cwrapper/bin:/data/scratch/benchmarks/glmark2/work/.buildlink/bin:/data/scratch/benchmarks/glmark2/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/benchmarks/glmark2/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/benchmarks/glmark2/work/.cwrapper/config /usr/pkg/bin/python2.7 ./waf configure  --with-flavors=x11-gl  --prefix=/usr/pkg --mandir=/usr/pkg/man
Setting top to                           : /data/scratch/benchmarks/glmark2/work/glmark2-168d2f1650c84be3f13d1a5b76ccec8cbb89188e 
Setting out to                           : /data/scratch/benchmarks/glmark2/work/glmark2-168d2f1650c84be3f13d1a5b76ccec8cbb89188e/build 
Checking for 'clang' (C compiler)        : clang 
Checking for 'clang++' (C++ compiler)    : not found 
Checking for 'g++' (C++ compiler)        : not found 
could not configure a C++ compiler!
(complete log in /data/scratch/benchmarks/glmark2/work/glmark2-168d2f1650c84be3f13d1a5b76ccec8cbb89188e/build/config.log)
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/benchmarks/glmark2
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/benchmarks/glmark2