Date: Sat, 16 Aug 2014 11:20:46 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 10amd64-default-ssp][net/ushare] Failed for ushare-1.1a_10 in build Message-ID: <201408161120.s7GBKkbs069771@beefy4.isc.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: ports@FreeBSD.org Last committer: adamw@FreeBSD.org Ident: $FreeBSD: head/net/ushare/Makefile 363371 2014-07-29 18:41:15Z adamw $ Log URL: http://beefy4.isc.freebsd.org/data/10amd64-default-ssp/2014-08-15_22h29m11s/logs/ushare-1.1a_10.log Build URL: http://beefy4.isc.freebsd.org/build.html?mastername=10amd64-default-ssp&build=2014-08-15_22h29m11s Log: ====>> Building net/ushare build started at Sat Aug 16 11:20:40 UTC 2014 port directory: /usr/ports/net/ushare building for: FreeBSD pkg.FreeBSD.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/net/ushare/Makefile 363371 2014-07-29 18:41:15Z adamw $ Poudriere version: 3.1-pre Host OSVERSION: 1100027 Jail OSVERSION: 1000510 ---Begin Environment--- OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE-p3 UNAME_r=10.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref PKG_EXT=txz FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=ushare-1.1a_10 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add OLDPWD=/root PWD=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref/.p/pool MASTERNAME=10amd64-default-ssp USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/.p/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/ushare/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ushare/work HOME=/wrkdirs/usr/ports/net/ushare/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net/ushare/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ushare/work HOME=/wrkdirs/usr/ports/net/ushare/work TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/ushare/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ushare/work HOME=/wrkdirs/usr/ports/net/ushare/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net/ushare/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ushare/work HOME=/wrkdirs/usr/ports/net/ushare/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -lintl -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing" MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_ INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=10.0 PREFIX=%D LOCALBASE=/usr/local PORTDOCS="" PORTEXAMPLES="" PORTDATA="" LIB32DIR=lib DOCSDIR="share/doc/ushare" EXAMPLESDIR="share/examples/ushare" DATADIR="share/ushare" WWWDIR="www/ushare" ETCDIR="etc/ushare" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ushare DOCSDIR=/usr/local/share/doc/ushare EXAMPLESDIR=/usr/local/share/examples/ushare WWWDIR=/usr/local/www/ushare ETCDIR=/usr/local/etc/ushare --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes #### /usr/local/etc/poudriere.d/ssp-make.conf #### WITH_SSP_PORTS=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =======================<phase: check-sanity >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. =========================================================================== =======================<phase: pkg-depends >============================ ===> ushare-1.1a_10 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.3.6.txz [pkg.FreeBSD.org] Installing pkg-1.3.6... done Message for pkg-1.3.6: If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ushare-1.1a_10 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by ushare-1.1a_10 for building =========================================================================== =======================<phase: checksum >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by ushare-1.1a_10 for building => SHA256 Checksum OK for ushare-1.1a.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by ushare-1.1a_10 for building ===> Extracting for ushare-1.1a_10 => SHA256 Checksum OK for ushare-1.1a.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for ushare-1.1a_10 ===> Applying FreeBSD patches for ushare-1.1a_10 =========================================================================== =======================<phase: build-depends >============================ ===> ushare-1.1a_10 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz [pkg.FreeBSD.org] Installing indexinfo-0.2... done [pkg.FreeBSD.org] Installing indexinfo-0.2... done [pkg.FreeBSD.org] Installing indexinfo-0.2... done ===> Returning to build of ushare-1.1a_10 ===> ushare-1.1a_10 depends on executable: pkgconf - not found ===> Verifying install for pkgconf in /usr/ports/devel/pkgconf ===> Installing existing package /packages/All/pkgconf-0.9.6_1.txz [pkg.FreeBSD.org] Installing pkgconf-0.9.6_1... done ===> Returning to build of ushare-1.1a_10 ===> ushare-1.1a_10 depends on file: /usr/local/bin/ccache - not found ===> Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache ===> Installing existing package /packages/All/ccache-3.1.9_8.txz [pkg.FreeBSD.org] Installing ccache-3.1.9_8... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) Message for ccache-3.1.9_8: NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> Returning to build of ushare-1.1a_10 =========================================================================== =======================<phase: lib-depends >============================ ===> ushare-1.1a_10 depends on shared library: libupnp.so - not found ===> Verifying for libupnp.so in /usr/ports/devel/upnp ===> Installing existing package /packages/All/upnp-1.6.19_1,1.txz [pkg.FreeBSD.org] Installing upnp-1.6.19_1,1... done ===> Returning to build of ushare-1.1a_10 ===> ushare-1.1a_10 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9) =========================================================================== =======================<phase: configure >============================ ===> Configuring for ushare-1.1a_10 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/configure ./configure: gcc: not found Checking for compiler available... Checking for locales ... Checking for ifaddrs ... Checking for langinfo ... Checking for iconv ... Checking for libixml ... Checking for libthreadutil ... Checking for libupnp >= 1.4.2 ... uShare: configure is OK version 1.1a using libupnp 1.6.19 configuration: install prefix /usr/local configuration dir ${PREFIX}/etc locales dir ${PREFIX}/share/locale NLS support yes DLNA support no C compiler cc STRIP strip make gmake CPU x86 () debug symbols no strip symbols yes optimize yes CFLAGS -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp LDFLAGS -L/usr/local/lib -lintl -fstack-protector extralibs -lixml -lthreadutil -lpthread -lupnp -pthread -L/usr/local/lib Creating config.mak ... Creating config.h ... =========================================================================== =======================<phase: build >============================ ===> Building for ushare-1.1a_10 gmake[1]: Entering directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a' for subdir in po scripts src ; do \ gmake -C $subdir all; \ done gmake[2]: Entering directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/po' gmake fr.gmo de.gmo gmake[3]: Entering directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/po' gmake[3]: `fr.gmo' is up to date. gmake[3]: `de.gmo' is up to date. gmake[3]: Leaving directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/po' touch stamp-po gmake[2]: Leaving directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/po' gmake[2]: Entering directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/scripts' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/scripts' gmake[2]: Entering directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/src' cc -I.. -MM -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing cds.c cms.c msr.c http.c presentation.c metadata.c mime.c services.c buffer.c util_iconv.c content.c cfgparser.c trace.c redblack.c osdep.c ctrl_telnet.c ushare.c 1>.depend cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o cds.o cds.c cds.c:269:47: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] buffer_appendf (out, " %s=\"%lld\"", param, value); ~~~~ ^~~~~ %ld 1 warning generated. cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o cms.o cms.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o msr.o msr.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o http.o http.c http.c:273:20: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] len = (size_t) MIN (buflen, file->detail.memory.len - file->pos); ^ ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/param.h:285:23: note: expanded from macro 'MIN' #define MIN(a,b) (((a)<(b))?(a):(b)) ^ http.c:314:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ http.c:314:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ http.c:319:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ http.c:319:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ http.c:324:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ http.c:324:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] offset, file->pos, file->fullpath); ^~~~~~~~~ ./trace.h:52:35: note: expanded from macro 'log_verbose' print_log (ULOG_VERBOSE, (s), ##str); \ ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o presentation.o presentation.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o metadata.o metadata.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o mime.o mime.c mime.c:147:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (protocol, mime->mime_protocol); ^~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o services.o services.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o buffer.o buffer.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o util_iconv.o util_iconv.c util_iconv.c:104:22: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv (cd, &inptr, &insize, &outptr, &outsize) == (size_t) (-1)) ^~~~~~ /usr/include/iconv.h:56:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ util_iconv.c:145:22: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv (cd, &inptr, &insize, &outptr, &outsize) == (size_t) (-1)) ^~~~~~ /usr/include/iconv.h:56:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o content.o content.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o cfgparser.o cfgparser.c In file included from cfgparser.c:30: In file included from ./cfgparser.h:24: ./ushare.h:135:13: warning: inline function 'display_headers' is not defined [-Wundefined-inline] inline void display_headers (void); ^ cfgparser.c:316:3: note: used here display_headers (); ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o trace.o trace.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o redblack.o redblack.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o osdep.o osdep.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o ctrl_telnet.o ctrl_telnet.c cc -c -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -I/usr/local/include/upnp -o ushare.o ushare.c ushare.c:207:6: warning: incompatible pointer to integer conversion assigning to 'uint32_t' (aka 'unsigned int') from 'void *' [-Wint-conversion] ip = get_ip_addr((struct sockaddr *)&request->CtrlPtIPAddr) ; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ushare.c:72: ./trace.h:32:13: warning: inline function 'start_log' is not defined [-Wundefined-inline] inline void start_log (void); ^ ushare.c:872:5: note: used here start_log (); ^ 2 warnings generated. cc cds.o cms.o msr.o http.o presentation.o metadata.o mime.o services.o buffer.o util_iconv.o content.o cfgparser.o trace.o redblack.o osdep.o ctrl_telnet.o ushare.o -L/usr/local/lib -lintl -fstack-protector -lixml -lthreadutil -lpthread -lupnp -pthread -L/usr/local/lib -o ushare cfgparser.o: In function `parse_command_line': cfgparser.c:(.text+0x58c): undefined reference to `display_headers' cfgparser.c:(.text+0x59b): undefined reference to `display_headers' ushare.o: In function `main': ushare.c:(.text+0x129): undefined reference to `start_log' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [ushare] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/net/ushare/work/ushare-1.1a' *** Error code 1 Stop. make: stopped in /usr/ports/net/ushare
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408161120.s7GBKkbs069771>