Date: Fri, 17 Feb 2017 15:20:58 GMT From: pkg-fallout@FreeBSD.org To: gnn@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][sysutils/mbgtools] Failed for mbgtools-f.d.2013.06.26 in build Message-ID: <201702171520.v1HFKw5f037498@beefy11.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: gnn@FreeBSD.org Last committer: linimon@FreeBSD.org Ident: $FreeBSD: head/sysutils/mbgtools/Makefile 426201 2016-11-16 00:35:29Z linimon $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p434195_s313785/logs/mbgtools-f.d.2013.06.26.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p434195_s313785 Log: ====>> Building sysutils/mbgtools build started at Fri Feb 17 15:20:37 UTC 2017 port directory: /usr/ports/sysutils/mbgtools building for: FreeBSD head-i386-default-job-13 12.0-CURRENT FreeBSD 12.0-CURRENT r313785 i386 maintained by: gnn@FreeBSD.org Makefile ident: $FreeBSD: head/sysutils/mbgtools/Makefile 426201 2016-11-16 00:35:29Z linimon $ Poudriere version: 3.1.14 Host OSVERSION: 1200018 Jail OSVERSION: 1200020 Job Id: 13 !!! Jail is newer than host. (Jail: 1200020, Host: 1200018) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 UNAME_v=FreeBSD 12.0-CURRENT r313785 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 OPSYS=FreeBSD ARCH=i386 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref UID=0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/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=mbgtools-f.d.2013.06.26 OSREL=12.0 _OSRELEASE=12.0-CURRENT PYTHONBASE=/usr/local OLDPWD=/ _SMP_CPUS=24 PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool MASTERNAME=head-i386-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=1200020 ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work HOME=/wrkdirs/usr/ports/sysutils/mbgtools/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " 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-- KMODDIR="boot/modules" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/mbgtools" EXAMPLESDIR="share/examples/mbgtools" DATADIR="share/mbgtools" WWWDIR="www/mbgtools" ETCDIR="etc/mbgtools" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mbgtools DOCSDIR=/usr/local/share/doc/mbgtools EXAMPLESDIR=/usr/local/share/examples/mbgtools WWWDIR=/usr/local/www/mbgtools ETCDIR=/usr/local/etc/mbgtools --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MACHINE=i386 MACHINE_ARCH=i386 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 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =======================<phase: check-sanity >============================ ===> License BSD accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> mbgtools-f.d.2013.06.26 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.9.4_1.txz [head-i386-default-job-13] Installing pkg-1.9.4_1... [head-i386-default-job-13] Extracting pkg-1.9.4_1: .......... done ===> mbgtools-f.d.2013.06.26 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mbgtools-f.d.2013.06.26 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD accepted by the user ===> Fetching all distfiles required by mbgtools-f.d.2013.06.26 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD accepted by the user ===> Fetching all distfiles required by mbgtools-f.d.2013.06.26 for building => SHA256 Checksum OK for mbgtools-fbsd-dev-2013-06-26.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License BSD accepted by the user ===> Fetching all distfiles required by mbgtools-f.d.2013.06.26 for building ===> Extracting for mbgtools-f.d.2013.06.26 => SHA256 Checksum OK for mbgtools-fbsd-dev-2013-06-26.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for mbgtools-f.d.2013.06.26 ===> Applying FreeBSD patches for mbgtools-f.d.2013.06.26 =========================================================================== =======================<phase: build-depends >============================ =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for mbgtools-f.d.2013.06.26 =========================================================================== =======================<phase: build >============================ ===> Building for mbgtools-f.d.2013.06.26 cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbgstatus.c -o mbgstatus.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/pcpsutil.c -o pcpsutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgmktm.c -o mbgmktm.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/pcpslstr.c -o pcpslstr.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/parmpcps.c -o parmpcps.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/parmgps.c -o parmgps.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/ctrydttm.c -o ctrydttm.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/ctry.c -o ctry.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/lan_util.c -o lan_util.o ./mbglib/common/lan_util.c:89:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if DEBUG_NETLINK ^ ./mbglib/common/lan_util.c:85:34: note: expanded from macro 'DEBUG_NETLINK' #define DEBUG_NETLINK ( 0 && defined( DEBUG ) && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/lan_util.c:89:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./mbglib/common/lan_util.c:85:54: note: expanded from macro 'DEBUG_NETLINK' #define DEBUG_NETLINK ( 0 && defined( DEBUG ) && defined( MBG_TGT_LINUX ) ) ^ 2 warnings generated. cc -o mbgstatus mbgstatus.o mbgdevio.o toolutil.o gpsutils.o pcpsutil.o mbgmktm.o pcpslstr.o parmpcps.o parmgps.o ctrydttm.o ctry.o lan_util.o <snip> ^~~~~~~~~~~~~~~~~~~~~~~~ ./mbglib/common/gpsdefs.h:1690:3: note: expanded from macro 'DEFAULT_TZDL_EET_EEST_EN' DEFAULT_TZDL_TM_OFF_EET_EEST, /* tm_off */ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mbglib/common/gpsdefs.h:1672:5: note: expanded from macro 'DEFAULT_TZDL_TM_OFF_EET_EEST' { DEFAULT_TZDL_AUTO_YEAR, 10, 25, 0, 0, 4, 0, 0, 0L, 0L, 0 } ~ ^~~~~~~~~~~~~~~~~~~~~~ ./mbglib/common/gpsdefs.h:1594:41: note: expanded from macro 'DEFAULT_TZDL_AUTO_YEAR' #define DEFAULT_TZDL_AUTO_YEAR ( 2007 | DL_AUTO_FLAG ) ~~~~~^~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/deviohlp.c -o deviohlp.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/pcpsutil.c -o pcpsutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/parmgps.c -o parmgps.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/parmpcps.c -o parmpcps.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=0 -c ../mbglib/common/lan_util.c -o lan_util.o ./mbglib/common/lan_util.c:89:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if DEBUG_NETLINK ^ ./mbglib/common/lan_util.c:85:34: note: expanded from macro 'DEBUG_NETLINK' #define DEBUG_NETLINK ( 0 && defined( DEBUG ) && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/lan_util.c:89:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ./mbglib/common/lan_util.c:85:54: note: expanded from macro 'DEBUG_NETLINK' #define DEBUG_NETLINK ( 0 && defined( DEBUG ) && defined( MBG_TGT_LINUX ) ) ^ 2 warnings generated. cc -o mbgctrl mbgctrl.o mbgdevio.o deviohlp.o toolutil.o gpsutils.o pcpsutil.o parmgps.o parmpcps.o lan_util.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbgirigcfg.c -o mbgirigcfg.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -o mbgirigcfg mbgirigcfg.o mbgdevio.o toolutil.o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbgshowsignal.c -o mbgshowsignal.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -o mbgshowsignal mbgshowsignal.o mbgdevio.o toolutil.o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbggpscap.c -o mbggpscap.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -o mbggpscap mbggpscap.o mbgdevio.o gpsutils.o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbghrtime.c -o mbghrtime.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -o mbghrtime mbghrtime.o mbgdevio.o toolutil.o gpsutils.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c mbgfasttstamp.c -o mbgfasttstamp.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/mbgdevio.c -o mbgdevio.o In file included from ../mbglib/common/mbgdevio.c:275: ./mbglib/common/mbgioctl.h:842:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ ./mbglib/common/mbgdevio.c:1174:45: warning: address of array 'device_info_list[i].hw_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if ( hw_name && device_info_list[i].hw_name && strcmp( device_info_list[i].hw_name, hw_name ) == 0 ) //##+++++ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/toolutil.c -o toolutil.o cc -O2 -pipe -fno-strict-aliasing -Wall -O2 -I. -I.. -I../mbglib/common -I../mbglib/bsd -DMBGDEVIO_SIMPLE=1 -c ../mbglib/common/gpsutils.c -o gpsutils.o cc -o mbgfasttstamp mbgfasttstamp.o mbgdevio.o toolutil.o gpsutils.o machine -> /usr/src/sys/i386/include x86 -> /usr/src/sys/x86/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /wrkdirs/usr/ports/sysutils/mbgtools/work/mbgtools-fbsd-dev-2013-06-26/mbgclock cc -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I.. -I../mbglib/common -I../mbglib/bsd -I. -I/usr/src/sys -fno-common -MD -MF.depend.mbgclock_main.o -MTmbgclock_main.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx -std=iso9899:1999 -c mbgclock_main.c -o mbgclock_main.o In file included from mbgclock_main.c:84: In file included from ../mbglib/common/macioctl.h:190: ./mbglib/common/mbgioctl.h:842:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ In file included from mbgclock_main.c:84: ./mbglib/common/macioctl.h:537:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:659:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:668:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:683:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:711:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:716:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if TEST_MM_ACCESS_TIME ^ ./mbglib/common/macioctl.h:533:37: note: expanded from macro 'TEST_MM_ACCESS_TIME' #define TEST_MM_ACCESS_TIME ( 0 && defined( MBG_TGT_LINUX ) ) ^ ./mbglib/common/macioctl.h:799:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ In file included from mbgclock_main.c:84: ./mbglib/common/macioctl.h:1986:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if USE_DEBUG_PORT ^ ./mbglib/common/mbgioctl.h:133:27: note: expanded from macro 'USE_DEBUG_PORT' #define USE_DEBUG_PORT defined( MBG_ARCH_X86 ) ^ 9 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/sysutils/mbgtools/work/mbgtools-fbsd-dev-2013-06-26/mbgclock *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/sysutils/mbgtools/work/mbgtools-fbsd-dev-2013-06-26 *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/mbgtools
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702171520.v1HFKw5f037498>