[package - 130releng-riscv64-quarterly][audio/surge-synthesizer-lv2] Failed for surge-synthesizer-lv2-1.8.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 20 Jun 2021 04:31:56 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/130releng-riscv64-quarterly/3ce47d16f7eb/logs/surge-synthesizer-lv2-1.8.1.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=130releng-riscv64-quarterly&build=3ce47d16f7eb
Log:

=>> Building audio/surge-synthesizer-lv2
build started at Sun Jun 20 04:30:02 UTC 2021
port directory: /usr/ports/audio/surge-synthesizer-lv2
package name: surge-synthesizer-lv2-1.8.1
building for: FreeBSD 130releng-riscv64-quarterly-job-16 13.0-RELEASE-p2 FreeBSD 13.0-RELEASE-p2 1300139 riscv
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 16

---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p2 1300139
UNAME_r=13.0-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-riscv64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work  HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work  HOME=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lmidifile -lexecinfo -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-s
 trict-aliasing  -I/usr/local/include/midifile -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" PYTHON_INCLUDEDIR=include/python3.7m  PYTHON_LIBDIR=lib/python3.7  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.7/site-packages  PYTHON_SUFFIX=37  PYTHON_EXT_SUFFIX=  PYTHON_VER=3.7  PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/surge-synthesizer"  EXAMPLESDIR="share/examples/surge-synthesizer"  DATADIR="share/surge-synthesizer"  WWWDIR="www/surge-synthesizer"  ETCDIR="etc/surge-synthesizer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/surge-synthesizer DOCSDIR=/usr/local/share/doc/surge-synthesizer EXAMPLESDIR=/usr/local/share/examples/surge-synthesizer  WWWDIR=/usr/local/www/surge-synthesizer ETCDIR=/usr/local/etc/surge-synthesizer
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p2
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   surge-synthesizer-lv2-1.8.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-riscv64-quarterly-job-16] Installing pkg-1.16.3...
[130releng-riscv64-quarterly-job-16] Extracting pkg-1.16.3: .......... done
===>   surge-synthesizer-lv2-1.8.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of surge-synthesizer-lv2-1.8.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by surge-synthesizer-lv2-1.8.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by surge-synthesizer-lv2-1.8.1 for building
=> SHA256 Checksum OK for surge-synthesizer-surge-release_1.8.1_GH0.tar.gz.
=> SHA256 Checksum OK for surge-synthesizer-vst3sdk-10287bc37bbb34324b8097369e2ec4eb73a51d65_GH0.tar.gz.
=> SHA256 Checksum OK for surge-synthesizer-vstgui-8abd688c76edfb7215413080960649a532a6755c_GH0.tar.gz.
=> SHA256 Checksum OK for surge-synthesizer-tuning-library-d9660eff4b59cafb9dcd712864b6c8af536089bc_GH0.tar.gz.
=> SHA256 Checksum OK for steinbergmedia-vst3_base-37dbdb6ff7af29e518877f57f14050594164a0d6_GH0.tar.gz.
=> SHA256 Checksum OK for steinbergmedia-vst3_cmake-f7ae22417019aa355de6f7ec46ecf890d3c2a76f_GH0.tar.gz.
=> SHA256 Checksum OK for steinbergmedia-vst3_pluginterfaces-6c6bb30d18c3d5a553e55aa74afc5d146571be0a_GH0.tar.gz.
=> SHA256 Checksum OK for steinbergmedia-vst3_public_sdk-ced72c00d5c1365a4cca16cdbfb871be2496848b_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
<snip>

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   Returning to build of surge-synthesizer-lv2-1.8.1
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libxcb-cursor.so - not found
===>   Installing existing package /packages/All/xcb-util-cursor-0.1.3.txz
[130releng-riscv64-quarterly-job-16] Installing xcb-util-cursor-0.1.3...
[130releng-riscv64-quarterly-job-16] `-- Installing xcb-util-image-0.4.0_1...
[130releng-riscv64-quarterly-job-16] `-- Extracting xcb-util-image-0.4.0_1: .......... done
[130releng-riscv64-quarterly-job-16] `-- Installing xcb-util-renderutil-0.3.9_1...
[130releng-riscv64-quarterly-job-16] `-- Extracting xcb-util-renderutil-0.3.9_1: ......... done
[130releng-riscv64-quarterly-job-16] Extracting xcb-util-cursor-0.1.3: ......... done
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libxcb-cursor.so - found (/usr/local/lib/libxcb-cursor.so)
===>   Returning to build of surge-synthesizer-lv2-1.8.1
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libxcb-keysyms.so - found (/usr/local/lib/libxcb-keysyms.so)
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libxcb-util.so - found (/usr/local/lib/libxcb-util.so)
===>   surge-synthesizer-lv2-1.8.1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for surge-synthesizer-lv2-1.8.1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.build
-- The CXX compiler identification is Clang 11.0.1
-- The ASM compiler identification is Clang
-- Found assembler: /nxb-bin/usr/bin/cc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nxb-bin/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake Version is 3.19.6
-- Compiler Version is 11.0.1
-- Building in 64 bit configuration
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Performing Test SURGE_FILESYSTEM_STD_FS_FOUND
-- Performing Test SURGE_FILESYSTEM_STD_FS_FOUND - Success
-- filesystem: Using std::filesystem from <filesystem>
-- The C compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nxb-bin/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at cmake/versiontools.cmake:38 (message):
  Could not determine Git branch, using placeholder.


CMake Warning at cmake/versiontools.cmake:42 (message):
  Could not determine Git commit hash, using placeholder.


-- Setting up surge version
--   git hash is git-no-commit and branch is git-no-branch
--   buildhost is 130releng-riscv64-quarterly-job-16
--   buildarch is riscv
-- Developer Local Build
-- Using SURGE_VERSION=1.8.git-no-branch.git-no-commit
-- Configuring /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.build/geninclude/version.cpp
-- Found PkgConfig: pkgconf (found version "1.7.4") 
-- Checking for module 'cairo'
--   Found cairo, version 1.16.0
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.13.93
-- Checking for module 'x11'
--   Found x11, version 1.7.1
-- Checking for module 'xcb'
--   Found xcb, version 1.14
-- Checking for module 'xcb-cursor'
--   Found xcb-cursor, version 0.1.3
-- Checking for module 'xcb-keysyms'
--   Found xcb-keysyms, version 0.4.0
-- Checking for module 'xcb-util'
--   Found xcb-util, version 0.4.0
-- Checking for module 'xcb-xkb'
--   Found xcb-xkb, version 1.14
-- Checking for module 'xkbcommon'
--   Found xkbcommon, version 1.1.0
-- Checking for module 'xkbcommon-x11'
--   Found xkbcommon-x11, version 1.1.0
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Found Threads: TRUE  
-- Python bindings disabled
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    Python_ADDITIONAL_VERSIONS


-- Build files have been written to: /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for surge-synthesizer-lv2-1.8.1
[1/330] cd /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1 && /usr/local/bin/cmake -D PROJECT_VERSION_MAJOR=1 -D PROJECT_VERSION_MINOR=8 -D SURGESRC=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1 -D SURGEBLD=/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.build -D AZURE_PIPELINE= -D WIN32= -P /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/cmake/versiontools.cmake
CMake Warning at cmake/versiontools.cmake:38 (message):
  Could not determine Git branch, using placeholder.


CMake Warning at cmake/versiontools.cmake:42 (message):
  Could not determine Git commit hash, using placeholder.


-- Setting up surge version
--   git hash is git-no-commit and branch is git-no-branch
--   buildhost is 130releng-riscv64-quarterly-job-16
--   buildarch is riscv
-- Developer Local Build
-- Using SURGE_VERSION=1.8.git-no-branch.git-no-commit
-- Configuring /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/.build/geninclude/version.cpp
[2/330] /nxb-bin/usr/bin/c++ -DBUILD_IS_RELEASE=1 -DLIBMIDIFILE=1 -DLINUX=1 -DTARGET_HEADLESS=1 -DTIXML_USE_STL -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/strnatcmp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/tuning-library/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/dsp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/thread -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/vt_dsp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/linux -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/l
 ibdrm -I/usr/local/include/libpng16 -Ilintemp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/headless -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/airwindows/include -Ilibs/filesystem/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/tinyxml/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/catch2/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/midifile -isystem /usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/midifile -isystem /usr/local/include -fPIE -Wno-multichar -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wno-deprecated-declarations -Werror=inconsistent-missing-override -Werror=logical-op-parentheses -Werror=dynamic-class-memacces
 s -Werror=undefined-bool-conversion -Werror=!
 bitwise-op-parentheses -Werror=pointer-bool-conversion -pthread -std=c++17 -MD -MT CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o -MF CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o.d -o CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o -c /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.cpp
FAILED: CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o 
/nxb-bin/usr/bin/c++ -DBUILD_IS_RELEASE=1 -DLIBMIDIFILE=1 -DLINUX=1 -DTARGET_HEADLESS=1 -DTIXML_USE_STL -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/strnatcmp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/tuning-library/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/dsp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/thread -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/vt_dsp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/linux -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I
 /usr/local/include/libpng16 -Ilintemp -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/headless -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/airwindows/include -Ilibs/filesystem/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/tinyxml/include -I/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/libs/catch2/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/midifile -isystem /usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/midifile -isystem /usr/local/include -fPIE -Wno-multichar -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wno-deprecated-declarations -Werror=inconsistent-missing-override -Werror=logical-op-parentheses -Werror=dynamic-class-memaccess -Werro
 r=undefined-bool-conversion -Werror=bitwise-!
 op-parentheses -Werror=pointer-bool-conversion -pthread -std=c++17 -MD -MT CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o -MF CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o.d -o CMakeFiles/surge-headless.dir/src/common/SurgeSynthesizer.cpp.o -c /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.cpp
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.cpp:16:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.h:17:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeStorage.h:17:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/globals.h:37:
In file included from /nxb-bin/usr/lib/clang/11.0.1/include/xmmintrin.h:13:
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/usr/include/c++/v1/math.h:649:12: note: '__builtin_isless' declared here
    return isless(__lcpp_x, __lcpp_y);
           ^
/usr/include/math.h:120:23: note: expanded from macro 'isless'
#define isless(x, y)            __builtin_isless((x), (y))
                                ^
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.cpp:16:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeSynthesizer.h:17:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/SurgeStorage.h:17:
In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.8.1/src/common/globals.h:37:
In file included from /nxb-bin/usr/lib/clang/11.0.1/include/xmmintrin.h:13:
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:33:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
                        ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:50:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:67:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:159:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:189:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:216:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:239:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:260:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:287:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:310:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:331:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:352:19: error: use of undeclared identifier '__builtin_ia32_paddb'
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:373:19: error: use of undeclared identifier '__builtin_ia32_paddw'
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:394:19: error: use of undeclared identifier '__builtin_ia32_paddd'
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:416:19: error: use of undeclared identifier '__builtin_ia32_paddsb'
    return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:439:19: error: use of undeclared identifier '__builtin_ia32_paddsw'
    return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/nxb-bin/usr/lib/clang/11.0.1/include/mmintrin.h:461:19: error: use of undeclared identifier '__builtin_ia32_paddusb'
    return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/surge-synthesizer-lv2