[package - main-riscv64-default][net-im/uTox] Failed for uTox-0.17.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 20 Aug 2021 12:27: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:     ports@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pa8720dde236b_seba8e643b1/logs/uTox-0.17.2_1.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pa8720dde236b_seba8e643b1
Log:

=>> Building net-im/uTox
build started at Fri Aug 20 12:26:09 UTC 2021
port directory: /usr/ports/net-im/uTox
package name: uTox-0.17.2_1
building for: FreeBSD main-riscv64-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400030 riscv
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400030
Job Id: 09




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400030
UNAME_v=FreeBSD 14.0-CURRENT 1400030
UNAME_r=14.0-CURRENT
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
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-riscv64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for uTox-0.17.2_1:
     DBUS=on: D-Bus IPC system support
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/uTox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/uTox/work  HOME=/wrkdirs/usr/ports/net-im/uTox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/uTox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/uTox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/uTox/work  HOME=/wrkdirs/usr/ports/net-im/uTox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/uTox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/net-im/uTox/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 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_M
 AN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/uTox"  EXAMPLESDIR="share/examples/uTox"  DATADIR="share/uTox"  WWWDIR="www/uTox"  ETCDIR="etc/uTox"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/uTox DOCSDIR=/usr/local/share/doc/uTox EXAMPLESDIR=/usr/local/share/examples/uTox  WWWDIR=/usr/local/www/uTox ETCDIR=/usr/local/etc/uTox
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400030
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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)  1024
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   >============================
===>   NOTICE:

The uTox 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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   uTox-0.17.2_1 depends on file: /usr/local/sbin/pkg - not found
<snip>
===>   uTox-0.17.2_1 depends on shared library: libsodium.so - not found
===>   Installing existing package /packages/All/libsodium-1.0.18.pkg
[main-riscv64-default-job-09] Installing libsodium-1.0.18...
[main-riscv64-default-job-09] Extracting libsodium-1.0.18: .......... done
===>   uTox-0.17.2_1 depends on shared library: libsodium.so - found (/usr/local/lib/libsodium.so)
===>   Returning to build of uTox-0.17.2_1
===>   uTox-0.17.2_1 depends on shared library: libtoxcore.so - not found
===>   Installing existing package /packages/All/toxcore-0.2.12_2,1.pkg
[main-riscv64-default-job-09] Installing toxcore-0.2.12_2,1...
[main-riscv64-default-job-09] `-- Installing libconfig-1.7.2_1...
[main-riscv64-default-job-09] `-- Extracting libconfig-1.7.2_1: .......... done
[main-riscv64-default-job-09] `-- Installing libsndfile-1.0.31...
[main-riscv64-default-job-09] |   `-- Installing flac-1.3.3_1...
[main-riscv64-default-job-09] |   | `-- Installing libogg-1.3.5,4...
[main-riscv64-default-job-09] |   | `-- Extracting libogg-1.3.5,4: .......... done
[main-riscv64-default-job-09] |   `-- Extracting flac-1.3.3_1: .......... done
[main-riscv64-default-job-09] |   `-- Installing libvorbis-1.3.7_2,3...
[main-riscv64-default-job-09] |   `-- Extracting libvorbis-1.3.7_2,3: .......... done
[main-riscv64-default-job-09] `-- Extracting libsndfile-1.0.31: .......... done
[main-riscv64-default-job-09] `-- Installing libvpx-1.10.0...
[main-riscv64-default-job-09] `-- Extracting libvpx-1.10.0: .......... done
[main-riscv64-default-job-09] `-- Installing msgpack-3.3.0...
[main-riscv64-default-job-09] `-- Extracting msgpack-3.3.0: .......... done
[main-riscv64-default-job-09] `-- Installing portaudio-19.6.0_6,1...
[main-riscv64-default-job-09] `-- Extracting portaudio-19.6.0_6,1: .......... done
[main-riscv64-default-job-09] Extracting toxcore-0.2.12_2,1: .......... done
===>   uTox-0.17.2_1 depends on shared library: libtoxcore.so - found (/usr/local/lib/libtoxcore.so)
===>   Returning to build of uTox-0.17.2_1
===>   uTox-0.17.2_1 depends on shared library: libv4lconvert.so - not found
===>   Installing existing package /packages/All/libv4l-1.20.0_2.pkg
[main-riscv64-default-job-09] Installing libv4l-1.20.0_2...
[main-riscv64-default-job-09] `-- Installing argp-standalone-1.3_4...
[main-riscv64-default-job-09] `-- Extracting argp-standalone-1.3_4: ......... done
[main-riscv64-default-job-09] `-- Installing jpeg-turbo-2.0.6...
[main-riscv64-default-job-09] `-- Extracting jpeg-turbo-2.0.6: .......... done
[main-riscv64-default-job-09] `-- Installing libudev-devd-0.4.2_1...
[main-riscv64-default-job-09] `-- Extracting libudev-devd-0.4.2_1: ........ done
[main-riscv64-default-job-09] Extracting libv4l-1.20.0_2: .......... done
=====
Message from argp-standalone-1.3_4:

--
===>   NOTICE:

The argp-standalone 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
===>   uTox-0.17.2_1 depends on shared library: libv4lconvert.so - found (/usr/local/lib/libv4lconvert.so)
===>   Returning to build of uTox-0.17.2_1
===>   uTox-0.17.2_1 depends on shared library: libvpx.so - found (/usr/local/lib/libvpx.so)
===>   uTox-0.17.2_1 depends on shared library: libdbus-1.so - not found
===>   Installing existing package /packages/All/dbus-1.12.20_5.pkg
[main-riscv64-default-job-09] Installing dbus-1.12.20_5...
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[main-riscv64-default-job-09] Extracting dbus-1.12.20_5: ......... done
===>   uTox-0.17.2_1 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   Returning to build of uTox-0.17.2_1
===>   uTox-0.17.2_1 depends on shared library: libopenal.so.1 - not found
===>   Installing existing package /packages/All/openal-soft-1.21.0_1.pkg
[main-riscv64-default-job-09] Installing openal-soft-1.21.0_1...
[main-riscv64-default-job-09] `-- Installing libmysofa-1.2...
[main-riscv64-default-job-09] `-- Extracting libmysofa-1.2: .......... done
[main-riscv64-default-job-09] Extracting openal-soft-1.21.0_1: .......... done
===>   uTox-0.17.2_1 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1)
===>   Returning to build of uTox-0.17.2_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for uTox-0.17.2_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/net-im/uTox/work/.build
-- The C compiler identification is Clang 12.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nxb-bin/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- checking for C compiler flag: -Wall
-- checking for C compiler flag: -Wextra
-- checking for C compiler flag: -Wpointer-arith
-- checking for C compiler flag: -Wimplicit-fallthrough=5
-- Warning: Can't find flag -Wimplicit-fallthrough=5
-- checking for C compiler flag: -Werror=implicit-function-declaration
-- checking for C compiler flag: -Wformat=0
-- checking for C compiler flag: -Wno-misleading-indentation
-- checking for C compiler flag: -fno-strict-aliasing
-- checking for C compiler flag: -fPIC
-- checking for C compiler flag: -fno-common
-- checking for C compiler flag: -Wno-missing-field-initializers
-- checking for C compiler flag: -fsanitize=safe-stack
-- Warning: Can't find flag -fsanitize=safe-stack
-- checking for C compiler flag: -DAUDIO_FILTERING=1
-- Found PkgConfig: pkgconf (found version "1.7.4") 
-- Found libtox: /usr/local/lib/libtoxcore.so  
-- Found libsodium: /usr/local/lib/libsodium.so  
-- Found libvpx: /usr/local/lib/libvpx.so  
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (DBUS) does
  not match the name of the calling package (DBus).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindDBus.cmake:67 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/xlib/CMakeLists.txt:7 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found DBUS: /usr/local/include/dbus-1.0;/usr/local/lib/dbus-1.0/include  
-- checking for C compiler flag: -DHAVE_DBUS=1
-- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.10.4") 
Found Freetype version 2.10.4
Freetype include: /usr/local/include/freetype2
Freetype library: /usr/local/lib/libfreetype.so
-- Found libfontconfig: /usr/local/lib/libfontconfig.so  
FontConfig include: /usr/local/include
FontConfig library: /usr/local/lib/libfontconfig.so
X include:         /usr/local/include
X library:         /usr/local/lib/libSM.so;/usr/local/lib/libICE.so;/usr/local/lib/libX11.so;/usr/local/lib/libXext.so
Xrender include:   /usr/local/include
Xrender library:   /usr/local/lib/libXrender.so
-- Found libv4lconvert: /usr/local/lib/libv4lconvert.so  
V4Lconvert include: /usr/local/include
V4Lconvert library: /usr/local/lib/libv4lconvert.so
DBus include:  /usr/local/include/dbus-1.0;/usr/local/lib/dbus-1.0/include
DBus library:  /usr/local/lib/libdbus-1.so
-- Found libopus: /usr/local/lib/libopus.so  
-- Found OpenAL: /usr/local/lib/libopenal.so  
-- Found libfilteraudio: /usr/local/lib/libfilteraudio.so  
Build options:
- CMake Module Path:        /wrkdirs/usr/ports/net-im/uTox/work/uTox/cmake/
----------------------------------
- Add ASAN:                OFF
- Link-Time Optimization:  OFF
- Error on Warning:        OFF
- Filter Audio:            ON
- Static uTox:             OFF
- Static Toxcore:          OFF
- Static DBus:             OFF
- Static Filteraudio:      OFF
- Static Opus:             OFF
- Static Sodium:           OFF
- Static VPX:              OFF
-- Platform Options --------------
- Enable DBus:             true
- Enable Tests             OFF
* CMake system is 'FreeBSD'
* CMake build type is 'Release'
* C Compiler is '/nxb-bin/usr/bin/cc' with the following flags:
* C flags for Debug:       -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing
* C flags for Release:     -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing
* C flags for all types:   -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wpointer-arith -Werror=implicit-function-declaration -Wformat=0 -Wno-misleading-indentation -fno-strict-aliasing -fPIC -fno-common -Wno-missing-field-initializers -DAUDIO_FILTERING=1
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/net-im/uTox/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for uTox-0.17.2_1
[  1% 1/76] cd /wrkdirs/usr/ports/net-im/uTox/work/.build/src/xlib && cd /wrkdirs/usr/ports/net-im/uTox/work/uTox/ && ld -m -r -b binary -o /wrkdirs/usr/ports/net-im/uTox/work/.build/src/xlib/icon.o icons/utox-128x128.png
FAILED: src/xlib/icon.o /wrkdirs/usr/ports/net-im/uTox/work/.build/src/xlib/icon.o 
cd /wrkdirs/usr/ports/net-im/uTox/work/.build/src/xlib && cd /wrkdirs/usr/ports/net-im/uTox/work/uTox/ && ld -m -r -b binary -o /wrkdirs/usr/ports/net-im/uTox/work/.build/src/xlib/icon.o icons/utox-128x128.png
ld: error: unknown emulation: -r
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/uTox