[package - 132arm64-default][print/sioyek] Failed for sioyek-2.0.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 18 Dec 2023 03:51:21 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:     fuz@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/132arm64-default/1dd4264fe4a8/logs/sioyek-2.0.0_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132arm64-default&build=1dd4264fe4a8
Log:

=>> Building print/sioyek
build started at Mon Dec 18 03:49:49 UTC 2023
port directory: /usr/ports/print/sioyek
package name: sioyek-2.0.0_1
building for: FreeBSD 132arm64-default-job-06 13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 arm64
maintained by: fuz@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1008 Jul 30 01:04 /usr/ports/print/sioyek/Makefile
Ports top last git commit: 1dd4264fe4
Ports top unclean checkout: no
Port dir last git commit: 664a2fa1e5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p8
UNAME_r=13.2-RELEASE-p8
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.0
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/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS 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.0
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--
fuz@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-qt-includes=/usr/local/include/qt5  --with-qt-libraries=/usr/local/lib/qt5  --with-extra-includes=/usr/local/include  --with-extra-libs=/usr/local/lib
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" QTDIR="/usr/local/lib/qt5" QMAKE="/usr/local/lib/qt5/bin/qmake"  MOC="/usr/local/lib/qt5/bin/moc" RCC="/usr/local/lib/qt5/bin/rcc" UIC="/usr/local/lib/qt5/bin/uic"  QMAKESPEC="/usr/local/lib/qt5/mkspecs/freebsd-$(ccver="$(c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)" XDG_DATA_HOME=/wrkdirs/usr/ports/print/sioyek/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/sioyek/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/print/sioyek/work/.cache  HOME=/wrkdirs/usr/ports/print/sioyek/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/sioyek/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/sioyek/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--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/print/sioyek/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/sioyek/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/print/sioyek/work/.cache  HOME=/wrkdirs/usr/ports/print/sioyek/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/sioyek/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/sioyek/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,--undefined-version -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/loc
al" 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--
QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_TOOLDIR="lib/qt5/bin" DEBUG="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sioyek"  EXAMPLESDIR="share/examples/sioyek"  DATADIR="share/sioyek"  WWWDIR="www/sioyek"  ETCDIR="etc/sioyek"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sioyek DOCSDIR=/usr/local/share/doc/sioyek EXAMPLESDIR=/usr/local/share/examples/sioyek  WWWDIR=/usr/local/www/sioyek ETCDIR=/usr/local/etc/sioyek
--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
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sioyek-2.0.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[132arm64-default-job-06] Installing pkg-1.20.9...
[132arm64-default-job-06] Extracting pkg-1.20.9: .......... done
===>   sioyek-2.0.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sioyek-2.0.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
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sioyek-2.0.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sioyek-2.0.0_1 for building
=> SHA256 Checksum OK for ahrm-sioyek-v2.0.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by sioyek-2.0.0_1 for building
===>  Extracting for sioyek-2.0.0_1
=> SHA256 Checksum OK for ahrm-sioyek-v2.0.0_GH0.tar.gz.
/bin/rm -f /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/pdf_viewer/sqlite3.h
/bin/rm -f /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/pdf_viewer/sqlite3ext.h
/bin/rm -f /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/pdf_viewer/sqlite3.c
/bin/rm -f /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0/pdf_viewer/shell.c
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for sioyek-2.0.0_1
===>  Applying FreeBSD patches for sioyek-2.0.0_1 from /usr/ports/print/sioyek/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sioyek-2.0.0_1 depends on executable: update-desktop-database - not found
===>   Installing existing package /packages/All/desktop-file-utils-0.26_1.pkg
[132arm64-default-job-06] Installing desktop-file-utils-0.26_1...
[132arm64-default-job-06] `-- Installing gettext-runtime-0.22.3...
[132arm64-default-job-06] |   `-- Installing indexinfo-0.3.1...
[132arm64-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[132arm64-default-job-06] `-- Extracting gettext-runtime-0.22.3: .......... done
[132arm64-default-job-06] `-- Installing glib-2.78.3,2...
[132arm64-default-job-06] |   `-- Installing libffi-3.4.4...
[132arm64-default-job-06] |   `-- Extracting libffi-3.4.4: .......... done
[132arm64-default-job-06] |   `-- Installing libiconv-1.17...
[132arm64-default-job-06] |   `-- Extracting libiconv-1.17: .......... done
[132arm64-default-job-06] |   `-- Installing libxml2-2.10.4_2...
[132arm64-default-job-06] |   | `-- Installing readline-8.2.1...
[132arm64-default-job-06] |   | `-- Extracting readline-8.2.1: .......... done
[132arm64-default-job-06] |   `-- Extracting libxml2-2.10.4_2: .......... done
[132arm64-default-job-06] |   `-- Installing pcre2-10.42...
[132arm64-default-job-06] |   `-- Extracting pcre2-10.42: .......... done
[132arm64-default-job-06] |   `-- Installing python39-3.9.18...
[132arm64-default-job-06] |   | `-- Installing mpdecimal-2.5.1...
[132arm64-default-job-06] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[132arm64-default-job-06] |   `-- Extracting python39-3.9.18: .......... done
<snip>
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
In file included from pdf_viewer/ui.cpp:1:
In file included from pdf_viewer/ui.h:39:
In file included from pdf_viewer/utils.h:21:
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'iterator<std::bidirectional_iterator_tag, unsigned int>' is deprecated [-Wdeprecated-declarations]
          class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> { 
                                       ^
/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::bidirectional_iterator_tag, unsigned int>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
In file included from pdf_viewer/ui.cpp:1:
pdf_viewer/ui.h:132:44: warning: unused parameter 'source_index' [-Wunused-parameter]
        virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
                                                  ^
pdf_viewer/ui.h:132:77: warning: unused parameter 'selected_index' [-Wunused-parameter]
        virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
                                                                                   ^
pdf_viewer/ui.h:134:50: warning: unused parameter 'text' [-Wunused-parameter]
        virtual void on_return_no_select(const QString& text) {
                                                        ^
pdf_viewer/ui.h:141:45: warning: unused parameter 'text' [-Wunused-parameter]
        virtual bool on_text_change(const QString& text) {
                                                   ^
In file included from pdf_viewer/ui.cpp:1:
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: unused function 'fuzzy_match_simple' [-Wunused-function]
    static bool fuzzy_match_simple(char const * pattern, char const * str) {
                ^
7 warnings generated.
--- utils.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -std=gnu++1z -Wall -Wextra -pthread -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/Qt3DInput -I/usr/local/include/qt5/Qt3DCore -I/usr/local/include/qt5/QtOpenGLExtensions -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o utils.o pdf_viewer/utils.cpp
--- path.o ---
In file included from pdf_viewer/path.cpp:2:
In file included from pdf_viewer/path.h:5:
In file included from pdf_viewer/utils.h:21:
In file included from pdf_viewer/utf8.h:31:
pdf_viewer/utf8/checked.h:268:34: warning: 'iterator<std::bidirectional_iterator_tag, unsigned int>' is deprecated [-Wdeprecated-declarations]
    class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
                                 ^
/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::bidirectional_iterator_tag, unsigned int>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
In file included from pdf_viewer/path.cpp:2:
In file included from pdf_viewer/path.h:5:
In file included from pdf_viewer/utils.h:21:
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'iterator<std::bidirectional_iterator_tag, unsigned int>' is deprecated [-Wdeprecated-declarations]
          class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> { 
                                       ^
/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::bidirectional_iterator_tag, unsigned int>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
pdf_viewer/path.cpp:56:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
        return std::move(utf8_encode(get_path()));
               ^
pdf_viewer/path.cpp:56:9: note: remove std::move call here
        return std::move(utf8_encode(get_path()));
               ^~~~~~~~~~                       ~
3 warnings generated.
--- synctex_parser.o ---
cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -pthread -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/Qt3DInput -I/usr/local/include/qt5/Qt3DCore -I/usr/local/include/qt5/QtOpenGLExtensions -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o synctex_parser.o pdf_viewer/synctex/synctex_parser.c
pdf_viewer/synctex/synctex_parser.c:777:9: warning: unused label 'bailey' [-Wunused-label]
        bailey:
        ^~~~~~~
pdf_viewer/synctex/synctex_parser.c:3963:12: warning: variable 'tested_len' set but not used [-Wunused-but-set-variable]
    size_t tested_len = 0; /*  the number of characters at the beginning of the_string that match */
           ^
pdf_viewer/synctex/synctex_parser.c:5493:9: warning: unused label 'continue_scan' [-Wunused-label]
        continue_scan:
        ^~~~~~~~~~~~~~
pdf_viewer/synctex/synctex_parser.c:922:13: warning: function '_synctex_free_handle_old' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void _synctex_free_handle_old(synctex_node_p handle) {
            ^
--- main_widget.o ---
59 warnings generated.
--- synctex_parser_utils.o ---
cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -pthread -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/Qt3DInput -I/usr/local/include/qt5/Qt3DCore -I/usr/local/include/qt5/QtOpenGLExtensions -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o synctex_parser_utils.o pdf_viewer/synctex/synctex_parser_utils.c
--- utils.o ---
In file included from pdf_viewer/utils.cpp:6:
In file included from pdf_viewer/utils.h:21:
In file included from pdf_viewer/utf8.h:31:
pdf_viewer/utf8/checked.h:268:34: warning: 'iterator<std::bidirectional_iterator_tag, unsigned int>' is deprecated [-Wdeprecated-declarations]
    class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
                                 ^
/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::bidirectional_iterator_tag, unsigned int>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
In file included from pdf_viewer/utils.cpp:6:
In file included from pdf_viewer/utils.h:21:
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'iterator<std::bidirectional_iterator_tag, unsigned int>' is deprecated [-Wdeprecated-declarations]
          class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> { 
                                       ^
/usr/include/c++/v1/__iterator/iterator.h:24:29: note: 'iterator<std::bidirectional_iterator_tag, unsigned int>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/usr/include/c++/v1/__config:1030:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/usr/include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
--- RunGuard.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -std=gnu++1z -Wall -Wextra -pthread -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/Qt3DInput -I/usr/local/include/qt5/Qt3DCore -I/usr/local/include/qt5/QtOpenGLExtensions -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o RunGuard.o pdf_viewer/RunGuard.cpp
--- utils.o ---
pdf_viewer/utils.cpp:120:22: error: use of undeclared identifier 'pdf_parse_link_uri'
        fz_link_dest dest = pdf_parse_link_uri(mupdf_context, uri.c_str());
                            ^
pdf_viewer/utils.cpp:174:30: warning: unused parameter 'argv0' [-Wunused-parameter]
void install_app(const char *argv0)
                             ^
pdf_viewer/utils.cpp:844:87: warning: unused parameter 'error' [-Wunused-parameter]
        QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) {
                                                                                             ^
pdf_viewer/utils.cpp:849:102: warning: unused parameter 'exit_code' [-Wunused-parameter]
        QObject::connect(process, qOverload<int, QProcess::ExitStatus >(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) {
                                                                                                            ^
pdf_viewer/utils.cpp:849:134: warning: unused parameter 'stat' [-Wunused-parameter]
        QObject::connect(process, qOverload<int, QProcess::ExitStatus >(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) {
                                                                                                                                            ^
pdf_viewer/utils.cpp:1058:68: warning: unknown escape sequence '\.' [-Wunknown-escape-sequence]
        std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*");
                                                                          ^~
pdf_viewer/utils.cpp:1616:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
        return std::move(dir.absolutePath().toStdWString());
               ^
pdf_viewer/utils.cpp:1616:9: note: remove std::move call here
        return std::move(dir.absolutePath().toStdWString());
               ^~~~~~~~~~                                 ~
pdf_viewer/utils.cpp:1746:20: warning: comparison of integers of different signs: 'int' and 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < input.size(); i++) {
                        ~ ^ ~~~~~~~~~~~~
pdf_viewer/utils.cpp:1829:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
        return std::move(std::wifstream(encoded_file_name.c_str()));
               ^
pdf_viewer/utils.cpp:1829:9: note: remove std::move call here
        return std::move(std::wifstream(encoded_file_name.c_str()));
               ^~~~~~~~~~                                         ~
pdf_viewer/utils.cpp:1901:28: warning: unused parameter 'num' [-Wunused-parameter]
float line_num_penalty(int num) {
                           ^
pdf_viewer/utils.cpp:2120:68: warning: comparison of integers of different signs: 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) {
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
pdf_viewer/utils.cpp:2120:27: warning: comparison of integers of different signs: 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) {
             ~~~~~~~~~~~~~~~~~~~ ^  ~~
pdf_viewer/utils.cpp:2127:40: warning: comparison of integers of different signs: 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]
        if (command.find(L"%{selected_rect}") != -1) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
pdf_viewer/utils.cpp:2173:20: warning: comparison of integers of different signs: 'int' and 'std::vector<fz_stext_char *>::size_type' (aka 'unsigned long') [-Wsign-compare]
        for (int j = 0; j < chars.size(); j++) {
                        ~ ^ ~~~~~~~~~~~~
15 warnings and 1 error generated.
*** [utils.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0
--- synctex_parser.o ---
4 warnings generated.
1 error

make[1]: stopped in /wrkdirs/usr/ports/print/sioyek/work/sioyek-2.0.0
===> 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/print/sioyek