[package - 140i386-quarterly][print/paps] Failed for paps-0.8.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 22:05:28 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/beefy7/data/140i386-quarterly/a9ead8bdf05d/logs/paps-0.8.0_1.log
Build URL:      https://pkg-status.freebsd.org/beefy7/build.html?mastername=140i386-quarterly&build=a9ead8bdf05d
Log:

=>> Building print/paps
build started at Thu Feb 29 22:05:18 UTC 2024
port directory: /usr/ports/print/paps
package name: paps-0.8.0_1
building for: FreeBSD 140i386-quarterly-job-11 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 715 Jan  6 01:02 /usr/ports/print/paps/Makefile
Ports top last git commit: a9ead8bdf
Ports top unclean checkout: no
Port dir last git commit: 756e18783
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 11

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
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=14.0-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/140i386-quarterly/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/140i386-quarterly/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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  --mandir man  --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.9" 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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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 "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 5
55"  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--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.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.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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---
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
DISABLE_MAKE_JOBS=poudriere
---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_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[140i386-quarterly-job-11] Installing pkg-1.20.9...
[140i386-quarterly-job-11] Extracting pkg-1.20.9: .......... done
===>   paps-0.8.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of paps-0.8.0_1
===========================================================================
=======================<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_1 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
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_1 for building
=> SHA256 Checksum OK for dov-paps-v0.8.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
<snip>
[140i386-quarterly-job-11] |   `-- Extracting libdatrie-0.2.13_1: .......... done
[140i386-quarterly-job-11] `-- Extracting libthai-0.1.29: .......... done
[140i386-quarterly-job-11] `-- Installing xorg-fonts-truetype-7.7_1...
[140i386-quarterly-job-11] |   `-- Installing dejavu-2.37_3...
[140i386-quarterly-job-11] |   | `-- Installing mkfontscale-1.2.1...
[140i386-quarterly-job-11] |   |   `-- Installing libfontenc-1.1.7...
[140i386-quarterly-job-11] |   |   `-- Extracting libfontenc-1.1.7: ......... done
[140i386-quarterly-job-11] |   | `-- Extracting mkfontscale-1.2.1: ....... done
[140i386-quarterly-job-11] |   `-- Extracting dejavu-2.37_3: .......... done
[140i386-quarterly-job-11] |   `-- Installing font-bh-ttf-1.0.3_5...
[140i386-quarterly-job-11] |   `-- Extracting font-bh-ttf-1.0.3_5: .......... done
[140i386-quarterly-job-11] |   `-- Installing font-misc-ethiopic-1.0.4...
[140i386-quarterly-job-11] |   `-- Extracting font-misc-ethiopic-1.0.4: ...... done
[140i386-quarterly-job-11] |   `-- Installing font-misc-meltho-1.0.3_5...
[140i386-quarterly-job-11] |   `-- Extracting font-misc-meltho-1.0.3_5: .......... done
[140i386-quarterly-job-11] `-- Extracting xorg-fonts-truetype-7.7_1: ... done
[140i386-quarterly-job-11] Extracting pango-1.50.14: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
=====
Message from libthai-0.1.29:

--
===>   NOTICE:

The libthai 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
=====
Message from dejavu-2.37_3:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   paps-0.8.0_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>   Returning to build of paps-0.8.0_1
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for paps-0.8.0_1
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.3.1
Source dir: /wrkdirs/usr/ports/print/paps/work/paps-0.8.0
Build dir: /wrkdirs/usr/ports/print/paps/work/paps-0.8.0/_build
Build type: native build
Project name: paps
Project version: 0.8.0
C compiler for the host machine: cc (clang 16.0.6 "FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)")
C linker for the host machine: cc ld.lld 16.0.6
C++ compiler for the host machine: c++ (clang 16.0.6 "FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)")
C++ linker for the host machine: c++ ld.lld 16.0.6
Host machine cpu family: x86
Host machine cpu: i386
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.0.3
Run-time dependency fmt found: YES 10.1.1
Run-time dependency pangoft2 found: YES 1.50.14
Run-time dependency pangocairo found: YES 1.50.14
Run-time dependency glib-2.0 found: YES 2.78.3
Run-time dependency gobject-2.0 found: YES 2.78.3
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
    mandir            : man
    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_1
[ 33% 1/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/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -fdiagnostics-color=never -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/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -fdiagnostics-color=never -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
../src/paps.cc:1400:30: error: no viable overloaded '='
  document_info["num_pages"] = 0;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1412:33: error: no viable overloaded '='
      document_info["page_idx"] = page_idx;
      ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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 &>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1444:45: error: no viable overloaded '='
                  document_info["page_idx"] = page_idx;
                  ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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 &>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1485:38: error: no viable overloaded '='
          document_info["num_pages"] = num_pages;
          ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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 &>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1845:26: error: no viable overloaded '='
  document_info["mtime"] = (time_t)stat_buf.st_mtime;
  ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1846:24: error: no viable overloaded '='
  document_info["now"] = time(nullptr);
  ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'time_t' (aka 'int') to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
../src/paps.cc:1848:43: error: no viable overloaded '='
  page_layout->document_info["num_pages"] = page_layout->num_pages;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/variant:1398:22: note: candidate function not viable: no known conversion from 'int' to 'const variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(const variant&) = default;
                     ^
/usr/include/c++/v1/variant:1399:22: note: candidate function not viable: no known conversion from 'int' to 'variant<int, string, double, int>' for 1st argument
  constexpr variant& operator=(variant&&) = default;
                     ^
/usr/include/c++/v1/variant:1410:12: 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 &>'
  variant& operator=(_Arg&& __arg) noexcept(
           ^
7 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/print/paps