[package - main-i386-default][print/paps] Failed for paps-0.8.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 07 Aug 2024 14:11:45 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/beefy17/data/main-i386-default/p46b3743b8469_s3a4b04e82df/logs/paps-0.8.0_2.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p46b3743b8469_s3a4b04e82df
Log:

=>> Building print/paps
build started at Wed Aug  7 14:11:31 UTC 2024
port directory: /usr/ports/print/paps
package name: paps-0.8.0_2
building for: FreeBSD main-i386-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 698 Apr 13 01:01 /usr/ports/print/paps/Makefile
Ports top last git commit: 46b3743b846
Ports top unclean checkout: no
Port dir last git commit: 43d9a1336dd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500023
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500023
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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/main-i386-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--prefix /usr/local  --infodir share/info --auto-features=enabled -Dpython.bytecompile=-1 -Db_colorout=never --buildtype release  --optimization plain  --strip  _build
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/print/paps/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/paps/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/print/paps/work/.cache  HOME=/wrkdirs/usr/ports/print/paps/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/paps/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/paps/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/print/paps/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/paps/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/print/paps/work/.cache  HOME=/wrkdirs/usr/ports/print/paps/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/paps/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/paps/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/print/paps/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++17 " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRI
PT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/paps"  EXAMPLESDIR="share/examples/paps"  DATADIR="share/paps"  WWWDIR="www/paps"  ETCDIR="etc/paps"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/paps DOCSDIR=/usr/local/share/doc/paps EXAMPLESDIR=/usr/local/share/examples/paps  WWWDIR=/usr/local/www/paps ETCDIR=/usr/local/etc/paps
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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 paps 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 LGPL20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   paps-0.8.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-10] Installing pkg-1.21.3...
[main-i386-default-job-10] Extracting pkg-1.21.3: .......... done
===>   paps-0.8.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of paps-0.8.0_2
===========================================================================
=======================<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 paps 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 LGPL20 accepted by the user
===> Fetching all distfiles required by paps-0.8.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The paps 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
<snip>
Run-time dependency gobject-2.0 found: YES 2.80.4
Checking for function "memmove" : YES 
Checking for function "memset" : YES 
Checking for function "strdup" : YES 
Has header "stdlib.h" : YES 
Has header "string.h" : YES 
Has header "memory.h" : YES 
Has header "strings.h" : YES 
Has header "sys/times.h" : YES 
Has header "strings.h" : YES (cached)
Configuring config.h using configuration
Checking for size of "int" : 4 
Build targets in project: 1

paps 0.8.0

  User defined options
    auto_features     : enabled
    buildtype         : release
    infodir           : share/info
    optimization      : plain
    prefix            : /usr/local
    strip             : true
    python.bytecompile: -1
    b_colorout        : never

Found ninja-1.11.1 at /usr/local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for paps-0.8.0_2
[ 33% 2/3] c++ -Isrc/paps.p -Isrc -I../src -I. -I.. -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -pthread -D_THREAD_SAFE -MD -MQ src/paps.p/format_from_dict.cc.o -MF src/paps.p/format_from_dict.cc.o.d -o src/paps.p/format_from_dict.cc.o -c ../src/format_from_dict.cc
FAILED: src/paps.p/format_from_dict.cc.o 
c++ -Isrc/paps.p -Isrc -I../src -I. -I.. -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -pthread -D_THREAD_SAFE -MD -MQ src/paps.p/format_from_dict.cc.o -MF src/paps.p/format_from_dict.cc.o.d -o src/paps.p/format_from_dict.cc.o -c ../src/format_from_dict.cc
In file included from ../src/format_from_dict.cc:23:
In file included from ../src/format_from_dict.h:25:
In file included from /usr/include/c++/v1/string:625:
In file included from /usr/include/c++/v1/string_view:213:
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<fmt::detail::char8_type>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]
   22 | template <class _CharT, class _Traits = char_traits<_CharT> >
      |                                         ^
/usr/local/include/fmt/core.h:361:26: note: in instantiation of default argument for 'basic_string_view<fmt::detail::char8_type>' required here
  361 | template <typename Char> using std_string_view = std::basic_string_view<Char>;
      |                          ^~~~~
/usr/local/include/fmt/core.h:452:50: note: in instantiation of template type alias 'std_string_view' requested here
  452 |                                       S, detail::std_string_view<Char>>::value)>
      |                                                  ^
/usr/local/include/fmt/format.h:737:57: note: in instantiation of template class 'fmt::basic_string_view<fmt::detail::char8_type>' requested here
  737 | inline auto compute_width(basic_string_view<char8_type> s) -> size_t {
      |                                                         ^
/usr/include/c++/v1/__string/char_traits.h:81:8: note: 'char_traits<fmt::detail::char8_type>' has been explicitly marked deprecated here
   81 | struct _LIBCPP_DEPRECATED_(
      |        ^
/usr/include/c++/v1/__config:978:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
  978 | #      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
      |                                                     ^
In file included from ../src/format_from_dict.cc:23:
In file included from ../src/format_from_dict.h:25:
In file included from /usr/include/c++/v1/string:594:
In file included from /usr/include/c++/v1/__memory_resource/polymorphic_allocator.h:20:
/usr/include/c++/v1/tuple:1119:17: error: static assertion failed due to requirement 'value != __ambiguous': type occurs more than once in type list
 1119 |   static_assert(value != __ambiguous, "type occurs more than once in type list");
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/tuple:1130:38: note: in instantiation of template class 'std::__find_detail::__find_exactly_one_checked<int, int, std::string, double, int>' requested here
 1130 | struct __find_exactly_one_t : public __find_detail::__find_exactly_one_checked<_T1, _Args...> {};
      |                                      ^
/usr/include/c++/v1/variant:1332:35: note: in instantiation of template class 'std::__find_exactly_one_t<int, int, std::string, double, int>' requested here
 1332 |   return std::__holds_alternative<__find_exactly_one_t<_Tp, _Types...>::value>(__v);
      |                                   ^
../src/format_from_dict.cc:38:7: note: in instantiation of function template specialization 'std::holds_alternative<int, int, std::string, double, int>' requested here
   38 |   if (holds_alternative<int>(scalar))
      |       ^
/usr/include/c++/v1/tuple:1119:23: note: expression evaluates to '4294967294 != 4294967294'
 1119 |   static_assert(value != __ambiguous, "type occurs more than once in type list");
      |                 ~~~~~~^~~~~~~~~~~~~~
../src/format_from_dict.cc:52:7: error: no matching function for call to 'holds_alternative'
   52 |   if (holds_alternative<time_t>(scalar))
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1331:38: note: candidate template ignored: substitution failure [with _Tp = time_t, _Types = <int, std::string, double, int>]
 1331 | _LIBCPP_HIDE_FROM_ABI constexpr bool holds_alternative(const variant<_Types...>& __v) noexcept {
      |                                      ^
1 warning and 2 errors generated.
[ 66% 2/3] c++ -Isrc/paps.p -Isrc -I../src -I. -I.. -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -pthread -D_THREAD_SAFE -MD -MQ src/paps.p/paps.cc.o -MF src/paps.p/paps.cc.o.d -o src/paps.p/paps.cc.o -c ../src/paps.cc
FAILED: src/paps.p/paps.cc.o 
c++ -Isrc/paps.p -Isrc -I../src -I. -I.. -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -pthread -D_THREAD_SAFE -MD -MQ src/paps.p/paps.cc.o -MF src/paps.p/paps.cc.o.d -o src/paps.p/paps.cc.o -c ../src/paps.cc
In file included from ../src/paps.cc:40:
In file included from /usr/include/c++/v1/string:625:
In file included from /usr/include/c++/v1/string_view:213:
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<fmt::detail::char8_type>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]
   22 | template <class _CharT, class _Traits = char_traits<_CharT> >
      |                                         ^
/usr/local/include/fmt/core.h:361:26: note: in instantiation of default argument for 'basic_string_view<fmt::detail::char8_type>' required here
  361 | template <typename Char> using std_string_view = std::basic_string_view<Char>;
      |                          ^~~~~
/usr/local/include/fmt/core.h:452:50: note: in instantiation of template type alias 'std_string_view' requested here
  452 |                                       S, detail::std_string_view<Char>>::value)>
      |                                                  ^
/usr/local/include/fmt/format.h:737:57: note: in instantiation of template class 'fmt::basic_string_view<fmt::detail::char8_type>' requested here
  737 | inline auto compute_width(basic_string_view<char8_type> s) -> size_t {
      |                                                         ^
/usr/include/c++/v1/__string/char_traits.h:81:8: note: 'char_traits<fmt::detail::char8_type>' has been explicitly marked deprecated here
   81 | struct _LIBCPP_DEPRECATED_(
      |        ^
/usr/include/c++/v1/__config:978:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
  978 | #      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
      |                                                     ^
../src/paps.cc:1400:30: error: no viable overloaded '='
 1400 |   document_info["num_pages"] = 0;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = int, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int, int>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1412:33: error: no viable overloaded '='
 1412 |       document_info["page_idx"] = page_idx;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = int &, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int &, int &>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1444:45: error: no viable overloaded '='
 1444 |                   document_info["page_idx"] = page_idx;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = int &, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int &, int &>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1485:38: error: no viable overloaded '='
 1485 |           document_info["num_pages"] = num_pages;
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = int &, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int &, int &>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1845:26: error: no viable overloaded '='
 1845 |   document_info["mtime"] = (time_t)stat_buf.st_mtime;
      |   ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = time_t, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int, int>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1846:24: error: no viable overloaded '='
 1846 |   document_info["now"] = time(nullptr);
      |   ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = time_t, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int, int>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
../src/paps.cc:1848:43: error: no viable overloaded '='
 1848 |   page_layout->document_info["num_pages"] = page_layout->num_pages;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1232:44: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
 1232 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(const variant&) = default;
      |                                            ^         ~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1233:44: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
 1233 |   _LIBCPP_HIDE_FROM_ABI constexpr variant& operator=(variant&&)      = default;
      |                                            ^         ~~~~~~~~~
/usr/include/c++/v1/variant:1241:3: note: candidate template ignored: substitution failure [with _Arg = int &, $1 = 0]: no type named 'type' in 'std::invoke_result<std::__variant_detail::__all_overloads<std::__variant_detail::__overload<int, 0>, std::__variant_detail::__overload<std::string, 1>, std::__variant_detail::__overload<double, 2>, std::__variant_detail::__overload<int, 3>>, int &, int &>'
 1241 |   operator=(_Arg&& __arg) noexcept(is_nothrow_assignable_v<_Tp&, _Arg> && is_nothrow_constructible_v<_Tp, _Arg>) {
      |   ^
1 warning and 7 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 making "build" in /usr/ports/print/paps