[package - main-i386-default][print/sioyek] Failed for sioyek-2.0.0_1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Dec 2023 23:06:24 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/beefy17/data/main-i386-default/pd85c123861ba_s6f3e9bac4d/logs/sioyek-2.0.0_1.log
Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pd85c123861ba_s6f3e9bac4d
Log:
=>> Building print/sioyek
build started at Mon Dec 18 23:05:26 UTC 2023
port directory: /usr/ports/print/sioyek
package name: sioyek-2.0.0_1
building for: FreeBSD main-i386-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 i386
maintained by: fuz@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 1008 Jul 29 01:01 /usr/ports/print/sioyek/Makefile
Ports top last git commit: d85c123861b
Ports top unclean checkout: no
Port dir last git commit: 664a2fa1e56
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1500007
Job Id: 02
!!! Jail is newer than host. (Jail: 1500007, Host: 1500006) !!!
!!! 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=1500007
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 1500007
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
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/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS 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.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=15.0 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
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
===> 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
[main-i386-default-job-02] Installing pkg-1.20.9...
[main-i386-default-job-02] 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
[main-i386-default-job-02] Installing desktop-file-utils-0.26_1...
[main-i386-default-job-02] `-- Installing gettext-runtime-0.22.3...
[main-i386-default-job-02] | `-- Installing indexinfo-0.3.1...
[main-i386-default-job-02] | `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-02] `-- Extracting gettext-runtime-0.22.3: .......... done
<snip>
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # 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]
179 | 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
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
| ^
/usr/include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # 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]
132 | 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]
132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
| ^
pdf_viewer/ui.h:134:50: warning: unused parameter 'text' [-Wunused-parameter]
134 | virtual void on_return_no_select(const QString& text) {
| ^
pdf_viewer/ui.h:141:45: warning: unused parameter 'text' [-Wunused-parameter]
141 | virtual bool on_text_change(const QString& text) {
| ^
--- new_file_checker.o ---
11 warnings generated.
--- path.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 path.o pdf_viewer/path.cpp
--- ui.o ---
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]
59 | 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]
268 | 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
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
| ^
/usr/include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # 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]
179 | 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
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
| ^
/usr/include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
pdf_viewer/path.cpp:56:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
56 | return std::move(utf8_encode(get_path()));
| ^
pdf_viewer/path.cpp:56:9: note: remove std::move call here
56 | 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]
777 | bailey:
| ^~~~~~~
pdf_viewer/synctex/synctex_parser.c:3963:12: warning: variable 'tested_len' set but not used [-Wunused-but-set-variable]
3963 | 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]
5493 | 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]
922 | static void _synctex_free_handle_old(synctex_node_p handle) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
--- 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]
268 | 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
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
| ^
/usr/include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # 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]
179 | 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
24 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
| ^
/usr/include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED'
956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
pdf_viewer/utils.cpp:120:22: error: use of undeclared identifier 'pdf_parse_link_uri'
120 | 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]
174 | void install_app(const char *argv0)
| ^
pdf_viewer/utils.cpp:844:87: warning: unused parameter 'error' [-Wunused-parameter]
844 | QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) {
| ^
pdf_viewer/utils.cpp:849:102: warning: unused parameter 'exit_code' [-Wunused-parameter]
849 | 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]
849 | 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]
1058 | 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]
1616 | return std::move(dir.absolutePath().toStdWString());
| ^
pdf_viewer/utils.cpp:1616:9: note: remove std::move call here
1616 | return std::move(dir.absolutePath().toStdWString());
| ^~~~~~~~~~ ~
pdf_viewer/utils.cpp:1746:20: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned int') [-Wsign-compare]
1746 | for (int i = 0; i < input.size(); i++) {
| ~ ^ ~~~~~~~~~~~~
pdf_viewer/utils.cpp:1829:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
1829 | return std::move(std::wifstream(encoded_file_name.c_str()));
| ^
pdf_viewer/utils.cpp:1829:9: note: remove std::move call here
1829 | return std::move(std::wifstream(encoded_file_name.c_str()));
| ^~~~~~~~~~ ~
pdf_viewer/utils.cpp:1901:28: warning: unused parameter 'num' [-Wunused-parameter]
1901 | float line_num_penalty(int num) {
| ^
pdf_viewer/utils.cpp:2120:68: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned int') and 'int' [-Wsign-compare]
2120 | 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: 'size_type' (aka 'unsigned int') and 'int' [-Wsign-compare]
2120 | 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: 'size_type' (aka 'unsigned int') and 'int' [-Wsign-compare]
2127 | if (command.find(L"%{selected_rect}") != -1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
pdf_viewer/utils.cpp:2173:20: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned int') [-Wsign-compare]
2173 | for (int j = 0; j < chars.size(); j++) {
| ~ ^ ~~~~~~~~~~~~
--- 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 ---
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