[package - main-arm64-default][science/bagel] Failed for bagel-1.2.2_6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 13 Nov 2021 19:49:46 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://ampere2.nyi.freebsd.org/data/main-arm64-default/p0bef5c19453e_sd032cda0d0/logs/bagel-1.2.2_6.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p0bef5c19453e_sd032cda0d0
Log:

=>> Building science/bagel
build started at Sat Nov 13 15:58:35 UTC 2021
port directory: /usr/ports/science/bagel
package name: bagel-1.2.2_6
building for: FreeBSD main-arm64-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400041 arm64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400041
Job Id: 05




!!! Jail is newer than host. (Jail: 1400041, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400041
UNAME_v=FreeBSD 14.0-CURRENT 1400041
UNAME_r=14.0-CURRENT
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/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---
===> The following configuration options are available for bagel-1.2.2_6:
     LIBXC=on: Build DFT with libxc
     MPI=on: MPI (Message Passing Interface) support
     SCALAPACK=on: Use ScaLapack library for parallelized linear algebra
     SMITH=on: Compile SMITH generated code
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--datarootdir=/usr/local/share/bagel --with-libxc --with-mpi=openmpi --enable-scalapack --enable-smith --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" MAKE=gmake PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/science/bagel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/bagel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/bagel/work/.cache  HOME=/wrkdirs/usr/ports/science/bagel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/bagel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.si
 te lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/science/bagel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/bagel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/bagel/work/.cache  HOME=/wrkdirs/usr/ports/science/bagel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/bagel/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-p
 rotector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lscalapack -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++11 "  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--
PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bagel"  EXAMPLESDIR="share/examples/bagel"  DATADIR="share/bagel"  WWWDIR="www/bagel"  ETCDIR="etc/bagel"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/bagel DOCSDIR=/usr/local/share/doc/bagel EXAMPLESDIR=/usr/local/share/examples/bagel  WWWDIR=/usr/local/www/bagel ETCDIR=/usr/local/etc/bagel
--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 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400041
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)  1048576
stack size              (kbytes, -s)  1048576
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    >============================
===>   bagel-1.2.2_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-arm64-default-job-05] Installing pkg-1.17.5...
[main-arm64-default-job-05] Extracting pkg-1.17.5: .......... done
===>   bagel-1.2.2_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bagel-1.2.2_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by bagel-1.2.2_6 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by bagel-1.2.2_6 for building
=> SHA256 Checksum OK for nubakery-bagel-v1.2.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by bagel-1.2.2_6 for building
===>  Extracting for bagel-1.2.2_6
=> SHA256 Checksum OK for nubakery-bagel-v1.2.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bagel-1.2.2_6
===>  Applying FreeBSD patches for bagel-1.2.2_6 from /usr/ports/science/bagel/files
===========================================================================
=======================<phase: build-depends  >============================
===>   bagel-1.2.2_6 depends on executable: gfortran10 - not found
===>   Installing existing package /packages/All/gcc10-10.3.0.pkg
[main-arm64-default-job-05] Installing gcc10-10.3.0...
<snip>
In file included from ../../src/df/df.h:28:
In file included from ../../src/df/paralleldf.h:29:
In file included from ../../src/df/dfinttask_old.h:28:
./../src/integral/rys/rysintegral.h:153:18: warning: 'compute' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void compute() = 0;
                 ^
./../src/integral/rys/rysintegral.h:174:30: note: in instantiation of template class 'bagel::RysIntegral<std::complex<double>, bagel::Int_t::London>' requested here
extern template class bagel::RysIntegral<std::complex<double>,bagel::Int_t::London>;
                             ^
./../src/integral/integral.h:42:18: note: overridden virtual function is here
    virtual void compute() = 0;
                 ^
In file included from pseudospin/pseudospin.cc:33:
In file included from ../../src/mat1e/rel/small1e.h:30:
In file included from ../../src/integral/smallints1e.h:30:
In file included from ../../src/integral/rys/eribatch.h:28:
./../src/integral/rys/eribatch_base.h:41:18: warning: 'root_weight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void root_weight(const int ps) = 0;
                 ^
./../src/integral/rys/eribatch_base.h:95:30: note: in instantiation of template class 'bagel::ERIBatch_Base<double, bagel::Int_t::Standard>' requested here
extern template class bagel::ERIBatch_Base<double,bagel::Int_t::Standard>;
                             ^
./../src/integral/rys/rysintegral.h:92:18: note: overridden virtual function is here
    virtual void root_weight(const int ps) = 0;
                 ^
In file included from pseudospin/pseudospin.cc:33:
In file included from ../../src/mat1e/rel/small1e.h:30:
In file included from ../../src/integral/smallints1e.h:30:
In file included from ../../src/integral/rys/eribatch.h:28:
./../src/integral/rys/eribatch_base.h:41:18: warning: 'root_weight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void root_weight(const int ps) = 0;
                 ^
./../src/integral/rys/eribatch_base.h:96:30: note: in instantiation of template class 'bagel::ERIBatch_Base<std::complex<double>, bagel::Int_t::London>' requested here
extern template class bagel::ERIBatch_Base<std::complex<double>,bagel::Int_t::London>;
                             ^
./../src/integral/rys/rysintegral.h:92:18: note: overridden virtual function is here
    virtual void root_weight(const int ps) = 0;
                 ^
In file included from pseudospin/pseudospin.cc:33:
In file included from ../../src/mat1e/rel/small1e.h:31:
In file included from ../../src/integral/rys/naibatch.h:28:
In file included from ../../src/integral/rys/coulombbatch_energy.h:28:
./../src/integral/rys/coulombbatch_base.h:50:18: warning: 'root_weight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void root_weight(const int ps) = 0;
                 ^
./../src/integral/rys/coulombbatch_base.h:99:30: note: in instantiation of template class 'bagel::CoulombBatch_Base<double, bagel::Int_t::Standard>' requested here
extern template class bagel::CoulombBatch_Base<double>;
                             ^
./../src/integral/rys/rysintegral.h:92:18: note: overridden virtual function is here
    virtual void root_weight(const int ps) = 0;
                 ^
In file included from pseudospin/pseudospin.cc:33:
In file included from ../../src/mat1e/rel/small1e.h:31:
In file included from ../../src/integral/rys/naibatch.h:28:
In file included from ../../src/integral/rys/coulombbatch_energy.h:28:
./../src/integral/rys/coulombbatch_base.h:50:18: warning: 'root_weight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void root_weight(const int ps) = 0;
                 ^
./../src/integral/rys/coulombbatch_base.h:100:30: note: in instantiation of template class 'bagel::CoulombBatch_Base<std::complex<double>, bagel::Int_t::London>' requested here
extern template class bagel::CoulombBatch_Base<std::complex<double>,bagel::Int_t::London>;
                             ^
./../src/integral/rys/rysintegral.h:92:18: note: overridden virtual function is here
    virtual void root_weight(const int ps) = 0;
                 ^
3 warnings generated.
7 warnings generated.
/bin/sh ../../libtool  --tag=CXX   --mode=link mpicxx -I../.. -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++11   -L/usr/local/lib  -lscalapack -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong  -o libbagel_prop.la  multipole.lo hyperfine.lo momentum.lo momentum_london.lo momentum_point.lo current.lo overlap_point.lo moprint.lo sphmultipole.lo pseudospin/stevensop.lo pseudospin/pseudospin.lo  -lxc -lboost_regex -lboost_unit_test_framework -lboost_serialization -lscalapack  -L/usr/local/lib
libtool: link: /usr/local/bin/ar cru .libs/libbagel_prop.a .libs/multipole.o .libs/hyperfine.o .libs/momentum.o .libs/momentum_london.o .libs/momentum_point.o .libs/current.o .libs/overlap_point.o .libs/moprint.o .libs/sphmultipole.o pseudospin/.libs/stevensop.o pseudospin/.libs/pseudospin.o 
/usr/local/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: /usr/local/bin/ranlib .libs/libbagel_prop.a
libtool: link: ( cd ".libs" && rm -f "libbagel_prop.la" && ln -s "../libbagel_prop.la" "libbagel_prop.la" )
gmake[4]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src/prop'
Making all in ci
gmake[4]: Entering directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src/ci'
Making all in ciutil
gmake[5]: Entering directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src/ci/ciutil'
/bin/sh ../../../libtool  --tag=CXX   --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../..   -isystem /usr/local/include -I/usr/local/include -I../../.. -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++11  -MT cistring.lo -MD -MP -MF .deps/cistring.Tpo -c -o cistring.lo cistring.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../..   -isystem /usr/local/include -I/usr/local/include -I../../.. -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++11  -MT cistringset.lo -MD -MP -MF .deps/cistringset.Tpo -c -o cistringset.lo cistringset.cc
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I../../.. -isystem /usr/local/include -I/usr/local/include -I../../.. -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cistring.lo -MD -MP -MF .deps/cistring.Tpo -c cistring.cc  -fPIC -DPIC -o .libs/cistring.o
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I../../.. -isystem /usr/local/include -I/usr/local/include -I../../.. -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cistringset.lo -MD -MP -MF .deps/cistringset.Tpo -c cistringset.cc  -fPIC -DPIC -o .libs/cistringset.o
cistring.cc:84:21: error: reference to 'bitset' is ambiguous
  strings_ = vector<bitset<nbit__>>(size, bitset<nbit__>(0ul));
                    ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistring.cc:84:43: error: reference to 'bitset' is ambiguous
  strings_ = vector<bitset<nbit__>>(size, bitset<nbit__>(0ul));
                                          ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistring.cc:103:9: error: reference to 'bitset' is ambiguous
        bitset<nbit__> bit(0ul);
        ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistring.cc:128:21: error: reference to 'bitset' is ambiguous
  strings_ = vector<bitset<nbit__>>(graphs_[0]->size(), bitset<nbit__>(0ul));
                    ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistring.cc:128:57: error: reference to 'bitset' is ambiguous
  strings_ = vector<bitset<nbit__>>(graphs_[0]->size(), bitset<nbit__>(0ul));
                                                        ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistring.cc:131:5: error: reference to 'bitset' is ambiguous
    bitset<nbit__> bit(0lu);
    ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistringset.cc:50:9: error: reference to 'bitset' is ambiguous
        bitset<nbit__> nbit = istring; nbit.reset(i); // annihilated.
        ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistringset.cc:53:13: error: reference to 'bitset' is ambiguous
            bitset<nbit__> mbit = nbit;
            ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistringset.cc:73:17: error: reference to 'bitset' is ambiguous
  unordered_map<bitset<nbit__>, size_t> lexmap;
                ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistringset.cc:81:7: error: reference to 'bitset' is ambiguous
      bitset<nbit__> intermediatebit = istring; intermediatebit.reset(j);
      ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
cistringset.cc:84:9: error: reference to 'bitset' is ambiguous
        bitset<nbit__> sourcebit = intermediatebit; sourcebit.set(i);
        ^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
              ^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
                           ^
6 errors generated.
gmake[5]: *** [Makefile:402: cistring.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
5 errors generated.
gmake[5]: *** [Makefile:402: cistringset.lo] Error 1
gmake[5]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src/ci/ciutil'
gmake[4]: *** [Makefile:375: all-recursive] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src/ci'
gmake[3]: *** [Makefile:641: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2/src'
gmake[2]: *** [Makefile:423: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2'
gmake[1]: *** [Makefile:355: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/science/bagel/work/bagel-1.2.2'
===> 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/science/bagel