[package - 131powerpc64-quarterly][biology/megahit] Failed for megahit-1.2.9_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 22:30:44 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:     jwb@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/131powerpc64-quarterly/96225165defd/logs/megahit-1.2.9_1.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=131powerpc64-quarterly&build=96225165defd
Log:

=>> Building biology/megahit
build started at Wed Jan 25 22:30:00 UTC 2023
port directory: /usr/ports/biology/megahit
package name: megahit-1.2.9_1
building for: FreeBSD 131powerpc64-quarterly-job-08 13.1-RELEASE FreeBSD 13.1-RELEASE powerpc
maintained by: jwb@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE
UNAME_r=13.1-RELEASE
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131powerpc64-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--
jwb@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/biology/megahit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/megahit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/biology/megahit/work/.cache  HOME=/wrkdirs/usr/ports/biology/megahit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/megahit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/biology/megahit/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/biology/megahit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/megahit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/biology/megahit/work/.cache  HOME=/wrkdirs/usr/ports/biology/megahit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/megahit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/biology/megahit/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/biology/megahit/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -pthread -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing  "  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" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/megahit"  EXAMPLESDIR="share/examples/megahit"  DATADIR="share/megahit"  WWWDIR="www/megahit"  ETCDIR="etc/megahit"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /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_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE
OSREL=13.1
OSVERSION=1301000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.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    >============================
===>   megahit-1.2.9_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.0.pkg
[131powerpc64-quarterly-job-08] Installing pkg-1.19.0...
[131powerpc64-quarterly-job-08] Extracting pkg-1.19.0: .......... done
===>   megahit-1.2.9_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of megahit-1.2.9_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by megahit-1.2.9_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by megahit-1.2.9_1 for building
=> SHA256 Checksum OK for voutcn-megahit-v1.2.9_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by megahit-1.2.9_1 for building
===>  Extracting for megahit-1.2.9_1
=> SHA256 Checksum OK for voutcn-megahit-v1.2.9_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for megahit-1.2.9_1
===>  Applying FreeBSD patches for megahit-1.2.9_1 from /usr/ports/biology/megahit/files
===========================================================================
=======================<phase: build-depends  >============================
===>   megahit-1.2.9_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.24.3_2.pkg
[131powerpc64-quarterly-job-08] Installing cmake-core-3.24.3_2...
[131powerpc64-quarterly-job-08] `-- Installing expat-2.5.0...
[131powerpc64-quarterly-job-08] `-- Extracting expat-2.5.0: .......... done
[131powerpc64-quarterly-job-08] `-- Installing jsoncpp-1.9.5...
[131powerpc64-quarterly-job-08] `-- Extracting jsoncpp-1.9.5: .......... done
[131powerpc64-quarterly-job-08] `-- Installing libuv-1.44.2...
[131powerpc64-quarterly-job-08] `-- Extracting libuv-1.44.2: .......... done
[131powerpc64-quarterly-job-08] `-- Installing rhash-1.4.3...
[131powerpc64-quarterly-job-08] |   `-- Installing gettext-runtime-0.21.1...
[131powerpc64-quarterly-job-08] |   | `-- Installing indexinfo-0.3.1...
[131powerpc64-quarterly-job-08] |   | `-- Extracting indexinfo-0.3.1: .... done
[131powerpc64-quarterly-job-08] |   `-- Extracting gettext-runtime-0.21.1: .......... done
<snip>

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   megahit-1.2.9_1 depends on executable: ninja - found
===>   Returning to build of megahit-1.2.9_1
===>   megahit-1.2.9_1 depends on file: /usr/local/bin/python3.9 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for megahit-1.2.9_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/biology/megahit/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") 
-- Found OpenMP_C: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
-- Build type: Release: -O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing -fopenmp=libomp -DXXH_INLINE_ALL -ftemplate-depth=3000 -Wall -Wno-unused-function -D__XROOT__='"/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src"'
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    FETCHCONTENT_FULLY_DISCONNECTED
    Python_ADDITIONAL_VERSIONS
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/biology/megahit/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for megahit-1.2.9_1
[  0% 2/110] /usr/bin/c++  -I/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src -O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing -fopenmp=libomp -DXXH_INLINE_ALL -ftemplate-depth=3000 -Wall -Wno-unused-function -D__XROOT__='"/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src"' -DNDEBUG -mbmi2 -DUSE_BMI2 -mpopcnt -std=gnu++11 -MD -MT CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o -MF CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o.d -o CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o -c /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main_assemble.cpp
FAILED: CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src -O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing -fopenmp=libomp -DXXH_INLINE_ALL -ftemplate-depth=3000 -Wall -Wno-unused-function -D__XROOT__='"/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src"' -DNDEBUG -mbmi2 -DUSE_BMI2 -mpopcnt -std=gnu++11 -MD -MT CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o -MF CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o.d -o CMakeFiles/megahit_core.dir/src/main_assemble.cpp.o -c /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main_assemble.cpp
c++: warning: argument unused during compilation: '-mbmi2' [-Wunused-command-line-argument]
c++: warning: argument unused during compilation: '-mpopcnt' [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main_assemble.cpp:29:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/all_algo.h:8:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/bubble_remover.h:10:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/unitig_graph.h:11:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/sdbg/sdbg.h:15:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/kmlib/kmrns.h:11:
In file included from /usr/lib/clang/13.0.0/include/x86intrin.h:13:
/usr/lib/clang/13.0.0/include/ia32intrin.h:200:10: error: use of undeclared identifier '__builtin_ia32_readeflags_u32'
  return __builtin_ia32_readeflags_u32();
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:206:3: error: use of undeclared identifier '__builtin_ia32_writeeflags_u32'
  __builtin_ia32_writeeflags_u32(__f);
  ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:288:10: error: use of undeclared identifier '__builtin_ia32_crc32qi'
  return __builtin_ia32_crc32qi(__C, __D);
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:309:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'
  return __builtin_ia32_crc32hi(__C, __D);
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:330:10: error: use of undeclared identifier '__builtin_ia32_crc32si'
  return __builtin_ia32_crc32si(__C, __D);
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:358:10: error: use of undeclared identifier '__builtin_ia32_rdpmc'
  return __builtin_ia32_rdpmc(__A);
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:364:10: error: use of undeclared identifier '__builtin_ia32_rdtscp'
  return __builtin_ia32_rdtscp(__A);
         ^
/usr/lib/clang/13.0.0/include/ia32intrin.h:373:3: error: use of undeclared identifier '__builtin_ia32_wbinvd'
  __builtin_ia32_wbinvd();
  ^
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main_assemble.cpp:29:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/all_algo.h:8:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/bubble_remover.h:10:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/unitig_graph.h:11:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/sdbg/sdbg.h:15:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/kmlib/kmrns.h:11:
In file included from /usr/lib/clang/13.0.0/include/x86intrin.h:15:
In file included from /usr/lib/clang/13.0.0/include/immintrin.h:17:
/usr/lib/clang/13.0.0/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:670:12: note: '__builtin_isless' declared here
    return isless(__lcpp_x, __lcpp_y);
           ^
/usr/include/math.h:119:23: note: expanded from macro 'isless'
#define isless(x, y)            __builtin_isless((x), (y))
                                ^
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main_assemble.cpp:29:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/all_algo.h:8:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/bubble_remover.h:10:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/assembly/unitig_graph.h:11:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/sdbg/sdbg.h:15:
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/kmlib/kmrns.h:11:
In file included from /usr/lib/clang/13.0.0/include/x86intrin.h:15:
In file included from /usr/lib/clang/13.0.0/include/immintrin.h:17:
/usr/lib/clang/13.0.0/include/mmintrin.h:33:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
    ~~~~~~~~~~~~~~~~~~~~^
/usr/lib/clang/13.0.0/include/mmintrin.h:50:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:67:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/usr/lib/clang/13.0.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:159:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:189:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:216:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:239:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:260:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/usr/lib/clang/13.0.0/include/mmintrin.h:287:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[  1% 2/110] /usr/bin/c++  -I/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src -O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing -fopenmp=libomp -DXXH_INLINE_ALL -ftemplate-depth=3000 -Wall -Wno-unused-function -D__XROOT__='"/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src"' -DNDEBUG -mbmi2 -DUSE_BMI2 -mpopcnt -std=gnu++11 -MD -MT CMakeFiles/megahit_core.dir/src/main.cpp.o -MF CMakeFiles/megahit_core.dir/src/main.cpp.o.d -o CMakeFiles/megahit_core.dir/src/main.cpp.o -c /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp
FAILED: CMakeFiles/megahit_core.dir/src/main.cpp.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src -O2 -pipe -pthread -fstack-protector-strong -fno-strict-aliasing -fopenmp=libomp -DXXH_INLINE_ALL -ftemplate-depth=3000 -Wall -Wno-unused-function -D__XROOT__='"/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src"' -DNDEBUG -mbmi2 -DUSE_BMI2 -mpopcnt -std=gnu++11 -MD -MT CMakeFiles/megahit_core.dir/src/main.cpp.o -MF CMakeFiles/megahit_core.dir/src/main.cpp.o.d -o CMakeFiles/megahit_core.dir/src/main.cpp.o -c /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp
c++: warning: argument unused during compilation: '-mbmi2' [-Wunused-command-line-argument]
c++: warning: argument unused during compilation: '-mpopcnt' [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:27:
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:16:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:30:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:16:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:95:21: note: called by 'main'
    pprintf("{}\n", HasPopcnt() && HasBmi2());
                    ^
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:27:
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:30:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:95:36: note: called by 'main'
    pprintf("{}\n", HasPopcnt() && HasBmi2());
                                   ^
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:27:
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:16:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:97:21: note: called by 'main'
    pprintf("{}\n", HasPopcnt());
                    ^
In file included from /wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:27:
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/utils/cpu_dispatch.h:30:18: error: invalid output constraint '=a' in asm
               : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
                 ^
/wrkdirs/usr/ports/biology/megahit/work/megahit-1.2.9/src/main.cpp:99:21: note: called by 'main'
    pprintf("{}\n", HasBmi2());
                    ^
6 errors generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/biology/megahit