[package - 132arm64-default][emulators/visualboyadvance-m] Failed for visualboyadvance-m-2.0.0b2_12 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 23 May 2024 03:58:22 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/132arm64-default/a40e2625494e/logs/visualboyadvance-m-2.0.0b2_12.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132arm64-default&build=a40e2625494e
Log:

=>> Building emulators/visualboyadvance-m
build started at Thu May 23 03:57:56 UTC 2024
port directory: /usr/ports/emulators/visualboyadvance-m
package name: visualboyadvance-m-2.0.0b2_12
building for: FreeBSD 132arm64-default-job-07 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2771 Feb 27 01:02 /usr/ports/emulators/visualboyadvance-m/Makefile
Ports top last git commit: a40e2625494
Ports top unclean checkout: no
Port dir last git commit: cb893d93175
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1302001
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p11
UNAME_r=13.2-RELEASE-p11
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/132arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132arm64-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for visualboyadvance-m-2.0.0b2_12:
     DEBUGGER=on: Enable the debugger
     FFMPEG=off: Enable FFmpeg A/V recording
     LINK=off: Enable GBA linking functionality
     LIRC=off: Enable LIRC infrared support
     NLS=on: Native Language Support
====> Options available for the multi INTERFACE: you have to choose at least one of them
     GVBAM=off: Enable GTK interface
     SDL=on: Enable SDL interface
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work/.cache  HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/visualboyadvance-m/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--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work/.cache  HOME=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/visualboyadvance-m/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/visualboyadvance-m/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 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/loca
l/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc13" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing "  CPP="cpp13" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS=""  CXX="g++13" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -std=c++11 " 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--
 DEBUGGER="" NO_DEBUGGER="@comment " FFMPEG="@comment " NO_FFMPEG="" GVBAM="@comment " NO_GVBAM="" LINK="@comment " NO_LINK="" LIRC="@comment " NO_LIRC="" NLS="" NO_NLS="@comment " SDL="" NO_SDL="@comment " CMAKE_BUILD_TYPE="release" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/visualboyadvance-m"  EXAMPLESDIR="share/examples/visualboyadvance-m"  DATADIR="share/visualboyadvance-m"  WWWDIR="www/visualboyadvance-m"  ETCDIR="etc/visualboyadvance-m"
--End PLIST_SUB--

--SUB_LIST--
 DEBUGGER="" NO_DEBUGGER="@comment " FFMPEG="@comment " NO_FFMPEG="" GVBAM="@comment " NO_GVBAM="" LINK="@comment " NO_LINK="" LIRC="@comment " NO_LIRC="" NLS="" NO_NLS="@comment " SDL="" NO_SDL="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/visualboyadvance-m DOCSDIR=/usr/local/share/doc/visualboyadvance-m EXAMPLESDIR=/usr/local/share/examples/visualboyadvance-m  WWWDIR=/usr/local/www/visualboyadvance-m ETCDIR=/usr/local/etc/visualboyadvance-m
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The visualboyadvance-m port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   visualboyadvance-m-2.0.0b2_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[132arm64-default-job-07] Installing pkg-1.21.2...
[132arm64-default-job-07] Extracting pkg-1.21.2: .......... done
===>   visualboyadvance-m-2.0.0b2_12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of visualboyadvance-m-2.0.0b2_12
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The visualboyadvance-m port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by visualboyadvance-m-2.0.0b2_12 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The visualboyadvance-m port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by visualboyadvance-m-2.0.0b2_12 for building
=> SHA256 Checksum OK for visualboyadvance-m-visualboyadvance-m-2.0.0b2-VBA-M_Beta_2_GH0.tar.gz.
===========================================================================
<snip>
      |                            ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >&'
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >&&)'
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >&&'
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int>; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000000000, 1>]':
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Per
iod2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:438:37:   required from 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/convert_to_timespec.h:40:62:   required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/__threading_support:410:80:   required from here
/usr/include/c++/v1/__chrono/duration.h:96:16: error: no matching function for call to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep)'
   96 |         return _ToDuration(static_cast<typename _ToDuration::rep>(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                            static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note: candidate: 'template<class _Rep2, class _Period2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  263 |         duration(const duration<_Rep2, _Period2>& __d,
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h:96:16: note:   mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'}
   96 |         return _ToDuration(static_cast<typename _ToDuration::rep>(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                            static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note: candidate: 'template<class _Rep2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, _Rep>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  251 |         explicit duration(const _Rep2& __r,
      |                  ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h: In substitution of 'template<class _Rep2> constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, long long int>::value && (std::__1::chrono::treat_as_floating_point<long long int>::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]':
/usr/include/c++/v1/__chrono/duration.h:96:16:   required from 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int>; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000000000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Per
iod2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:438:37:   required from 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/convert_to_timespec.h:40:62:   required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/__threading_support:410:80:   required from here
/usr/include/c++/v1/__chrono/duration.h:254:51: error: incomplete type 'std::__1::is_convertible<const long long int&, long long int>' used in nested name specifier
  254 |                is_convertible<const _Rep2&, rep>::value &&
      |                                                   ^~~~~
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int>; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000000000, 1>]':
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Per
iod2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:438:37:   required from 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/convert_to_timespec.h:40:62:   required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/__threading_support:410:80:   required from here
/usr/include/c++/v1/__chrono/duration.h:244:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  244 |         duration() = default;
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:244:9: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&)'
  199 | class _LIBCPP_TEMPLATE_VIS duration
      |                            ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&'
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&)'
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&'
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]':
/usr/include/c++/v1/__chrono/time_point.h:240:37:   required from 'typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration<long long int, std::__1::ratio<1, 1000000000> >; _Duration2 = duration<long long int, std::__1::ratio<1, 1000000000> >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:46:82:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:438:12: error: no matching function for call to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep)'
  438 |     return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count());
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note: candidate: 'template<class _Rep2, class _Period2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  263 |         duration(const duration<_Rep2, _Period2>& __d,
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h:438:12: note:   mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'}
  438 |     return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count());
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note: candidate: 'template<class _Rep2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, _Rep>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  251 |         explicit duration(const _Rep2& __r,
      |                  ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h: In substitution of 'template<class _Rep2> constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, long long int>::value && (std::__1::chrono::treat_as_floating_point<long long int>::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]':
/usr/include/c++/v1/__chrono/duration.h:438:12:   required from 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/time_point.h:240:37:   required from 'typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration<long long int, std::__1::ratio<1, 1000000000> >; _Duration2 = duration<long long int, std::__1::ratio<1, 1000000000> >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:46:82:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:254:51: error: incomplete type 'std::__1::is_convertible<const long long int&, long long int>' used in nested name specifier
  254 |                is_convertible<const _Rep2&, rep>::value &&
      |                                                   ^~~~~
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type<std::__1::chrono::duration<_Rep, _Period>, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type<duration<_Rep, _Period>, duration<_Rep2, _Period2> >::type = duration<long long int, std::__1::ratio<1, 1000000000> >]':
/usr/include/c++/v1/__chrono/time_point.h:240:37:   required from 'typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration<long long int, std::__1::ratio<1, 1000000000> >; _Duration2 = duration<long long int, std::__1::ratio<1, 1000000000> >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:46:82:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:244:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  244 |         duration() = default;
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:244:9: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&)'
  199 | class _LIBCPP_TEMPLATE_VIS duration
      |                            ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&'
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&)'
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&'
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000, 1>]':
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_over
flow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:363:20:   required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _RhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:381:82:   required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]'
/usr/include/c++/v1/__chrono/duration.h:392:18:   required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]'
/usr/include/c++/v1/atomic:1489:22:   required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl<bool>; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl<const volatile std::__1::__cxx_atomic_impl<bool>, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:49:15:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:96:16: error: no matching function for call to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep)'
   96 |         return _ToDuration(static_cast<typename _ToDuration::rep>(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                            static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note: candidate: 'template<class _Rep2, class _Period2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  263 |         duration(const duration<_Rep2, _Period2>& __d,
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:263:9: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h:96:16: note:   mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'}
   96 |         return _ToDuration(static_cast<typename _ToDuration::rep>(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                            static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note: candidate: 'template<class _Rep2> constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, _Rep>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  251 |         explicit duration(const _Rep2& __r,
      |                  ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:251:18: note:   template argument deduction/substitution failed:
/usr/include/c++/v1/__chrono/duration.h: In substitution of 'template<class _Rep2> constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible<const _Rep2&, long long int>::value && (std::__1::chrono::treat_as_floating_point<long long int>::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]':
/usr/include/c++/v1/__chrono/duration.h:96:16:   required from 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_over
flow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:363:20:   required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _RhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:381:82:   required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]'
/usr/include/c++/v1/__chrono/duration.h:392:18:   required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]'
/usr/include/c++/v1/atomic:1489:22:   required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl<bool>; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl<const volatile std::__1::__cxx_atomic_impl<bool>, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:49:15:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:254:51: error: incomplete type 'std::__1::is_convertible<const long long int&, long long int>' used in nested name specifier
  254 |                is_convertible<const _Rep2&, rep>::value &&
      |                                                   ^~~~~
/usr/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _ToDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >; _Period = std::__1::ratio<1000, 1>]':
/usr/include/c++/v1/__chrono/duration.h:124:67:   required from 'constexpr typename std::__1::enable_if<std::__1::chrono::__is_duration<_Tp>::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration<long long int, std::__1::ratio<1, 1000000000> >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:271:57:   required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_over
flow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]'
/usr/include/c++/v1/__chrono/duration.h:363:20:   required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000> >; _RhsDuration = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__chrono/duration.h:381:82:   required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]'
/usr/include/c++/v1/__chrono/duration.h:392:18:   required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]'
/usr/include/c++/v1/atomic:1489:22:   required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl<bool>; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl<const volatile std::__1::__cxx_atomic_impl<bool>, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >]'
/usr/include/c++/v1/__thread/poll_with_backoff.h:49:15:   required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl<const volatile __cxx_atomic_impl<bool>, __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool> >&; chrono::nanoseconds = chrono::duration<long long int, ratio<1, 1000000000> >]'
/usr/include/c++/v1/atomic:1509:45:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Fn = __cxx_atomic_wait_test_fn_impl<const volatile __cxx_atomic_impl<bool>, bool>&]'
/usr/include/c++/v1/atomic:1547:29:   required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl<bool>; _Tp = bool; memory_order = memory_order]'
/usr/include/c++/v1/atomic:2414:27:   required from here
/usr/include/c++/v1/__chrono/duration.h:244:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]'
  244 |         duration() = default;
      |         ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:244:9: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&)'
  199 | class _LIBCPP_TEMPLATE_VIS duration
      |                            ^~~~~~~~
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&'
/usr/include/c++/v1/__chrono/duration.h:199:28: note: candidate: 'constexpr std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::duration(std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&)'
/usr/include/c++/v1/__chrono/duration.h:199:28: note:   no known conversion for argument 1 from 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >::rep' {aka 'long long int'} to 'std::__1::chrono::duration<long long int, std::__1::ratio<1, 1000000000> >&&'
--- CMakeFiles/vbamcore.dir/src/Util.cpp.o ---
*** [CMakeFiles/vbamcore.dir/src/Util.cpp.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
--- fex/CMakeFiles/fex.dir/all ---
*** [fex/CMakeFiles/fex.dir/all] Error code 6

make[1]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
--- CMakeFiles/vbamcore.dir/all ---
--- CMakeFiles/vbamcore.dir/src/common/ConfigManager.cpp.o ---
*** [CMakeFiles/vbamcore.dir/src/common/ConfigManager.cpp.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
2 errors

make[2]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
*** [CMakeFiles/vbamcore.dir/all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
2 errors

make[1]: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
*** [all] Error code 2

make: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_2
1 error

make: stopped in /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-VBA-M_Beta_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/emulators/visualboyadvance-m