Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 02:38:01 GMT
From:      pkg-fallout@FreeBSD.org
To:        portmaster@BSDforge.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 103amd64-default][net-im/uTox] Failed for uTox-0.11.1 in build
Message-ID:  <201702020238.v122c1Qc074662@beefy6.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     portmaster@BSDforge.com
Last committer: thierry@FreeBSD.org
Ident:          $FreeBSD: head/net-im/uTox/Makefile 431133 2017-01-10 20:52:40Z thierry $
Log URL:        http://beefy6.nyi.freebsd.org/data/103amd64-default/433120/logs/uTox-0.11.1.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=103amd64-default&build=433120
Log:

====>> Building net-im/uTox
build started at Thu Feb  2 02:37:29 UTC 2017
port directory: /usr/ports/net-im/uTox
building for: FreeBSD 103amd64-default-job-15 10.3-RELEASE-p16 FreeBSD 10.3-RELEASE-p16 amd64
maintained by: portmaster@BSDforge.com
Makefile ident:      $FreeBSD: head/net-im/uTox/Makefile 431133 2017-01-10 20:52:40Z thierry $
Poudriere version: 3.1.14
Host OSVERSION: 1200018
Jail OSVERSION: 1003000
Job Id: 15

---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 10.3-RELEASE-p16
UNAME_r=10.3-RELEASE-p16
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
ARCH=amd64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/103amd64-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=uTox-0.11.1
OSREL=10.3
_OSRELEASE=10.3-RELEASE-p16
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/103amd64-default/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD
MASTERNAME=103amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1003000
---End Environment---

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

--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" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
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" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector -L/usr/local/lib" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release"
OSREL=10.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   uTox-0.11.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.4_1.txz
[103amd64-default-job-15] Installing pkg-1.9.4_1...
[103amd64-default-job-15] Extracting pkg-1.9.4_1: .......... done
===>   uTox-0.11.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of uTox-0.11.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by uTox-0.11.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by uTox-0.11.1 for building
=> SHA256 Checksum OK for uTox-uTox-0.11.1-1835eae_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by uTox-0.11.1 for building
===>  Extracting for uTox-0.11.1
=> SHA256 Checksum OK for uTox-uTox-0.11.1-1835eae_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for uTox-0.11.1
===>  Applying FreeBSD patches for uTox-0.11.1
===========================================================================
=======================<phase: build-depends  >============================
===>   uTox-0.11.1 depends on file: /usr/local/lib/libtoxcore.a - not found
===>   Installing existing package /packages/All/toxcore-0.1.5,1.txz
[103amd64-default-job-15] Installing toxcore-0.1.5,1...
[103amd64-default-job-15] `-- Installing libsndfile-1.0.27...
[103amd64-default-job-15] |   `-- Installing flac-1.3.2...
[103amd64-default-job-15] |   | `-- Installing libogg-1.3.2_2,4...
[103amd64-default-job-15] |   | `-- Extracting libogg-1.3.2_2,4: .......... done
[103amd64-default-job-15] |   `-- Extracting flac-1.3.2: .......... done
[103amd64-default-job-15] |   `-- Installing libvorbis-1.3.5_1,3...
[103amd64-default-job-15] |   `-- Extracting libvorbis-1.3.5_1,3: .......... done
[103amd64-default-job-15] `-- Extracting libsndfile-1.0.27: .......... done
[103amd64-default-job-15] `-- Installing libvpx-1.6.1...
[103amd64-default-job-15] `-- Extracting libvpx-1.6.1: .......... done
[103amd64-default-job-15] `-- Installing opencv2-core-2.4.13.1_1...
[103amd64-default-job-15] `-- Extracting opencv2-core-2.4.13.1_1: .......... done
[103amd64-default-job-15] `-- Installing libsodium-1.0.11_1...
[103amd64-default-job-15] `-- Extracting libsodium-1.0.11_1: .......... done
[103amd64-default-job-15] `-- Installing opus-1.1.4...
[103amd64-default-job-15] `-- Extracting opus-1.1.4: .......... done
[103amd64-default-job-15] Extracting toxcore-0.1.5,1: .......... done
Message from opencv2-core-2.4.13.1_1:
===>   NOTICE:

The opencv2-core 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   uTox-0.11.1 depends on file: /usr/local/lib/libtoxcore.a - found
===>   Returning to build of uTox-0.11.1
===>   uTox-0.11.1 depends on file: /usr/local/include/linux/videodev2.h - not found
===>   Installing existing package /packages/All/v4l_compat-1.6.3.txz
[103amd64-default-job-15] Installing v4l_compat-1.6.3...
[103amd64-default-job-15] Extracting v4l_compat-1.6.3: .......... done
===>   uTox-0.11.1 depends on file: /usr/local/include/linux/videodev2.h - found
===>   Returning to build of uTox-0.11.1
===>   uTox-0.11.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.7.2.txz
[103amd64-default-job-15] Installing cmake-3.7.2...
[103amd64-default-job-15] `-- Installing expat-2.2.0_1...
[103amd64-default-job-15] `-- Extracting expat-2.2.0_1: .......... done
[103amd64-default-job-15] `-- Installing cmake-modules-3.7.2...
[103amd64-default-job-15] `-- Extracting cmake-modules-3.7.2: .......... done
[103amd64-default-job-15] `-- Installing curl-7.52.1_1...
[103amd64-default-job-15] |   `-- Installing libnghttp2-1.19.0...
[103amd64-default-job-15] |   `-- Extracting libnghttp2-1.19.0: .......... done
[103amd64-default-job-15] |   `-- Installing ca_root_nss-3.28.1...
[103amd64-default-job-15] |   `-- Extracting ca_root_nss-3.28.1: ........ done
[103amd64-default-job-15] `-- Extracting curl-7.52.1_1: .......... done
[103amd64-default-job-15] `-- Installing libarchive-3.2.2,1...
[103amd64-default-job-15] |   `-- Installing liblz4-131...
<snip>
/usr/include/sys/stat.h:342:23: note: passing argument to parameter here
int     mkdir(const char *, mode_t);
                          ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/posix/filesys.c:46:18: warning: passing 'uint8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(path, UTOX_FILE_NAME_LENGTH, "./tox/");
                 ^~~~
/usr/include/stdio.h:282:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/posix/filesys.c:48:18: warning: passing 'uint8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(path, UTOX_FILE_NAME_LENGTH, "%s/.config/tox/", getenv("HOME"));
                 ^~~~
/usr/include/stdio.h:282:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/posix/filesys.c:70:16: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        remove(path);
               ^~~~
/usr/include/stdio.h:264:25: note: passing argument to parameter here
int      remove(const char *);
                            ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/posix/filesys.c:77:22: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    FILE *fp = fopen(path, mode);
                     ^~~~
/usr/include/stdio.h:245:36: note: passing argument to parameter here
FILE    *fopen(const char * __restrict, const char * __restrict);
                                      ^
5 warnings generated.
[ 49%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/freetype.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/freetype.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/freetype.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/freetype.c:77:24: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
        while (g->ucs4 != ~0) {
               ~~~~~~~ ^  ~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/freetype.c:432:32: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
                while (g->ucs4 != ~0) {
                       ~~~~~~~ ^  ~~
2 warnings generated.
[ 50%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/gtk.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/gtk.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/gtk.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/gtk.c:307:13: warning: implicit declaration of function 'utox_export_chatlog' is invalid in C99 [-Wimplicit-function-declaration]
            utox_export_chatlog(friend[friend_number].id_str, fp);
            ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/gtk.c:337:41: warning: unused parameter 'fid' [-Wunused-parameter]
void ugtk_native_select_dir_ft(uint32_t fid, FILE_TRANSFER *file) {
                                        ^
2 warnings generated.
[ 52%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/main.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/main.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/main.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/main.c:646:19: warning: unused parameter 'title' [-Wunused-parameter]
void notify(char *title, uint16_t UNUSED(title_length), const char *msg, uint16_t msg_length, void *object, bool is_group) {
                  ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/main.c:646:69: warning: unused parameter 'msg' [-Wunused-parameter]
void notify(char *title, uint16_t UNUSED(title_length), const char *msg, uint16_t msg_length, void *object, bool is_group) {
                                                                    ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/main.c:646:83: warning: unused parameter 'msg_length' [-Wunused-parameter]
void notify(char *title, uint16_t UNUSED(title_length), const char *msg, uint16_t msg_length, void *object, bool is_group) {
                                                                                  ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/main.c:885:32: warning: missing field 'green' initializer [-Wmissing-field-initializers]
    XRenderColor xrcolor = { 0 };
                               ^
4 warnings generated.
[ 54%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/mmenu.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/mmenu.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/mmenu.c
[ 56%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/v4l.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/v4l.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/v4l.c
[ 58%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/video.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/video.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/video.c
[ 60%] Building C object CMakeFiles/utoxNATIVE.dir/src/xlib/filesys.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utoxNATIVE.dir/src/xlib/filesys.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/filesys.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/xlib/filesys.c:130:13: warning: implicit declaration of function 'utox_export_chatlog' is invalid in C99 [-Wimplicit-function-declaration]
            utox_export_chatlog(get_friend(friend_number)->id_str, file);
            ^
1 warning generated.
[ 61%] Linking C static library libutoxNATIVE.a
/usr/local/bin/cmake -P CMakeFiles/utoxNATIVE.dir/cmake_clean_target.cmake
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/utoxNATIVE.dir/link.txt --verbose=1
/usr/bin/ar qc libutoxNATIVE.a  CMakeFiles/utoxNATIVE.dir/src/xlib/audio.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/dbus.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/drawing.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/event.c.o CMakeFiles/utoxNATIVE.dir/src/posix/filesys.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/freetype.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/gtk.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/main.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/mmenu.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/v4l.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/video.c.o CMakeFiles/utoxNATIVE.dir/src/xlib/filesys.c.o
/usr/bin/ranlib libutoxNATIVE.a
[ 61%] Built target utoxNATIVE
/usr/bin/make -f CMakeFiles/utox.dir/build.make CMakeFiles/utox.dir/depend
cd /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/CMakeFiles/utox.dir/DependInfo.cmake
Scanning dependencies of target utox
/usr/bin/make -f CMakeFiles/utox.dir/build.make CMakeFiles/utox.dir/build
[ 63%] Building C object CMakeFiles/utox.dir/src/avatar.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/avatar.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/avatar.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/avatar.c:23:26: warning: passing 'char [78]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    fp = native_get_file(name, NULL, UTOX_FILE_OPTS_WRITE);
                         ^~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:339:38: note: passing argument to parameter 'name' here
FILE *native_get_file(const uint8_t *name, size_t *size, UTOX_FILE_OPTS opts);
                                     ^
1 warning generated.
[ 65%] Building C object CMakeFiles/utox.dir/src/chatlog.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/chatlog.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/chatlog.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/chatlog.c:158:27: warning: implicit declaration of function 'utf8_validate' is invalid in C99 [-Wimplicit-function-declaration]
            msg->length = utf8_validate((uint8_t *)msg->msg, msg->length);
                          ^
1 warning generated.
[ 67%] Building C object CMakeFiles/utox.dir/src/command_funcs.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/command_funcs.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/command_funcs.c
[ 69%] Building C object CMakeFiles/utox.dir/src/commands.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/commands.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/commands.c
[ 70%] Building C object CMakeFiles/utox.dir/src/devices.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/devices.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/devices.c
[ 72%] Building C object CMakeFiles/utox.dir/src/dns.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/dns.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/dns.c
[ 74%] Building C object CMakeFiles/utox.dir/src/file_transfers.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/file_transfers.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:133:39: warning: passing 'char [1024]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    ft->resume_data = native_get_file(name, NULL, UTOX_FILE_OPTS_WRITE | UTOX_FILE_OPTS_MKDIR);
                                      ^~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:339:38: note: passing argument to parameter 'name' here
FILE *native_get_file(const uint8_t *name, size_t *size, UTOX_FILE_OPTS opts);
                                     ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:151:34: warning: passing 'char [1024]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    FILE *file = native_get_file(name, &size, UTOX_FILE_OPTS_READ | UTOX_FILE_OPTS_WRITE);
                                 ^~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:339:38: note: passing argument to parameter 'name' here
FILE *native_get_file(const uint8_t *name, size_t *size, UTOX_FILE_OPTS opts);
                                     ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:157:28: warning: passing 'char [1024]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    file = native_get_file(name, &size, UTOX_FILE_OPTS_DELETE);
                           ^~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:339:38: note: passing argument to parameter 'name' here
FILE *native_get_file(const uint8_t *name, size_t *size, UTOX_FILE_OPTS opts);
                                     ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:160:48: warning: unused parameter 'ft' [-Wunused-parameter]
static bool ft_restart_outgoing(FILE_TRANSFER *ft) {
                                               ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:171:41: warning: passing 'char [1024]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    FILE *resume_file = native_get_file(resume_name, &size, UTOX_FILE_OPTS_READ);
                                        ^~~~~~~~~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:339:38: note: passing argument to parameter 'name' here
FILE *native_get_file(const uint8_t *name, size_t *size, UTOX_FILE_OPTS opts);
                                     ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/file_transfers.c:160:13: warning: unused function 'ft_restart_outgoing' [-Wunused-function]
static bool ft_restart_outgoing(FILE_TRANSFER *ft) {
            ^
6 warnings generated.
[ 76%] Building C object CMakeFiles/utox.dir/src/flist.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/flist.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/flist.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/flist.c:258:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
        || my >= showncount * real_height) { /* TODO: Height is a bit buggy, Height needs /2
           ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/flist.c:689:29: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
    if (index >= 0 && index < showncount) {
                      ~~~~~ ^ ~~~~~~~~~~
2 warnings generated.
[ 78%] Building C object CMakeFiles/utox.dir/src/friend.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/friend.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/friend.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/friend.c:302:5: warning: implicit declaration of function 'utox_remove_friend_chatlog' is invalid in C99 [-Wimplicit-function-declaration]
    utox_remove_friend_chatlog(f->id_str);
    ^
1 warning generated.
[ 80%] Building C object CMakeFiles/utox.dir/src/groups.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/groups.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/groups.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/groups.c:52:46: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
    msg->our_msg       = (g->our_peer_number == peer_id ? 1 : 0);
                          ~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~
1 warning generated.
[ 81%] Building C object CMakeFiles/utox.dir/src/inline_video.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/inline_video.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/inline_video.c
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/inline_video.c:21:43: warning: missing field 'h' initializer [-Wmissing-field-initializers]
static UTOX_FRAME_PKG current_frame = { 0 };
                                          ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/inline_video.c:41:65: warning: unused parameter 'width' [-Wunused-parameter]
void inline_video_draw(INLINE_VID *UNUSED(p), int x, int y, int width, int height) {
                                                                ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/inline_video.c:41:76: warning: unused parameter 'height' [-Wunused-parameter]
void inline_video_draw(INLINE_VID *UNUSED(p), int x, int y, int width, int height) {
                                                                           ^
3 warnings generated.
[ 83%] Building C object CMakeFiles/utox.dir/src/main.c.o
/usr/bin/cc   -I/usr/local/include/freetype2 -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -fno-strict-aliasing -O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing   -std=gnu99 -o CMakeFiles/utox.dir/src/main.c.o   -c /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.c
In file included from /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.c:5:
In file included from /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:282:
In file included from /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/stb_image.h:678:
/usr/include/clang/3.4.1/emmintrin.h:1444:21: error: expected '(' after 'asm'
  __asm__ volatile ("pause");
                    ^
/wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae/src/main.h:84:21: note: expanded from macro 'volatile'
#define volatile(x) x
                    ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-im/uTox/work/uTox-1835eae
*** Error code 1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702020238.v122c1Qc074662>