Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 14:58:07 GMT
From:      pkg-fallout@FreeBSD.org
To:        brg@dgate.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][emulators/vmips] Failed for vmips-1.5 in build
Message-ID:  <201802031458.w13Ew7oS061473@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:     brg@dgate.org
Last committer: pawel@FreeBSD.org
Ident:          $FreeBSD: head/emulators/vmips/Makefile 375264 2014-12-22 20:26:16Z pawel $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p460764_s328823/logs/vmips-1.5.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p460764_s328823
Log:

=>> Building emulators/vmips
build started at Sat Feb  3 14:57:43 UTC 2018
port directory: /usr/ports/emulators/vmips
package name: vmips-1.5
building for: FreeBSD head-i386-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: brg@dgate.org
Makefile ident:      $FreeBSD: head/emulators/vmips/Makefile 375264 2014-12-22 20:26:16Z pawel $
Poudriere version: 3.2.4-34-g673bd441
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 18




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! 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
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-34-g673bd441
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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---
---End OPTIONS List---

--MAINTAINER--
brg@dgate.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/vmips/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/vmips/work  HOME=/wrkdirs/usr/ports/emulators/vmips/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/vmips/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/vmips/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/vmips/work  HOME=/wrkdirs/usr/ports/emulators/vmips/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/vmips/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 PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vmips"  EXAMPLESDIR="share/examples/vmips"  DATADIR="share/vmips"  WWWDIR="www/vmips"  ETCDIR="etc/vmips"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   vmips-1.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-18] Installing pkg-1.10.4...
[head-i386-default-job-18] Extracting pkg-1.10.4: .......... done
===>   vmips-1.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of vmips-1.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vmips-1.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vmips-1.5 for building
=> SHA256 Checksum OK for vmips-1.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vmips-1.5 for building
===>  Extracting for vmips-1.5
=> SHA256 Checksum OK for vmips-1.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for vmips-1.5
===========================================================================
=======================<phase: build-depends  >============================
===>   vmips-1.5 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[head-i386-default-job-18] Installing gmake-4.2.1_1...
[head-i386-default-job-18] `-- Installing gettext-runtime-0.19.8.1_1...
[head-i386-default-job-18] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-18] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-18] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-i386-default-job-18] Extracting gmake-4.2.1_1: .......... done
===>   vmips-1.5 depends on executable: gmake - found
===>   Returning to build of vmips-1.5
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for vmips-1.5
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd12.0
checking host system type... i386-portbld-freebsd12.0
checking target system type... i386-portbld-freebsd12.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
configure: WARNING: --with-mips directory "/opt/mips" does not exist
configure: WARNING: --with-mips-bin directory "/opt/mips/bin" does not exist
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for mips tool prefix... 
configure: WARNING: cannot seem to find any mips tools under /opt/mips/bin
configure: WARNING: xmboot and test_code will not be built
checking for cross tools target endianness... configure: WARNING: defaulting to little-endian VMIPS
no
checking whether to build a profiled version... no
checking for gawk... (cached) /usr/bin/awk
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether you can pass a template function to a function whose return type is the same as the type of its parameter... yes
checking how to run the C preprocessor... cpp
checking dependency style of cc... gcc3
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether gmake sets $(MAKE)... (cached) yes
checking how to run the C++ preprocessor... c++ -E
checking whether cc needs -traditional... no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for socklen_t... yes
checking whether specifying that a function will never return works... yes
checking whether specifying that a function takes printf-style arguments works... yes
checking size of long long... 8
checking size of long... 4
checking size of int... 4
checking size of short... 2
checking size of char... 1
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for gettimeofday... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for random... (cached) yes
checking for select... (cached) yes
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vmips.spec
config.status: creating vmipsrc
config.status: creating doc/Makefile
config.status: creating libopcodes_mips/Makefile
config.status: creating sample_code/Makefile
config.status: creating sample_code/xmboot/Makefile
config.status: creating test_code/Makefile
config.status: creating test_code/vmips.misc-tests/Makefile
config.status: creating test_code/vmips.outcheck/Makefile
config.status: creating test_code/vmips.regcheck/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for vmips-1.5
gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
Making all in libopcodes_mips
gmake[3]: Entering directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5/libopcodes_mips'
cc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT dis-buf.o -MD -MP -MF .deps/dis-buf.Tpo -c -o dis-buf.o dis-buf.c
mv -f .deps/dis-buf.Tpo .deps/dis-buf.Po
cc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT libbfd-support.o -MD -MP -MF .deps/libbfd-support.Tpo -c -o libbfd-support.o libbfd-support.c
mv -f .deps/libbfd-support.Tpo .deps/libbfd-support.Po
cc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT mips-dis.o -MD -MP -MF .deps/mips-dis.Tpo -c -o mips-dis.o mips-dis.c
mv -f .deps/mips-dis.Tpo .deps/mips-dis.Po
cc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT mips-opc.o -MD -MP -MF .deps/mips-opc.Tpo -c -o mips-opc.o mips-opc.c
mv -f .deps/mips-opc.Tpo .deps/mips-opc.Po
cc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT mips16-opc.o -MD -MP -MF .deps/mips16-opc.Tpo -c -o mips16-opc.o mips16-opc.c
mv -f .deps/mips16-opc.Tpo .deps/mips16-opc.Po
rm -f libopcodes_mips.a
ar cru libopcodes_mips.a dis-buf.o libbfd-support.o mips-dis.o mips-opc.o mips16-opc.o 
ranlib libopcodes_mips.a
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5/libopcodes_mips'
Making all in .
gmake[3]: Entering directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.cc
mv -f .deps/cpu.Tpo .deps/cpu.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT cpzero.o -MD -MP -MF .deps/cpzero.Tpo -c -o cpzero.o cpzero.cc
mv -f .deps/cpzero.Tpo .deps/cpzero.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT devicemap.o -MD -MP -MF .deps/devicemap.Tpo -c -o devicemap.o devicemap.cc
mv -f .deps/devicemap.Tpo .deps/devicemap.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT mapper.o -MD -MP -MF .deps/mapper.Tpo -c -o mapper.o mapper.cc
mv -f .deps/mapper.Tpo .deps/mapper.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.cc
mv -f .deps/options.Tpo .deps/options.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT range.o -MD -MP -MF .deps/range.Tpo -c -o range.o range.cc
mv -f .deps/range.Tpo .deps/range.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT intctrl.o -MD -MP -MF .deps/intctrl.Tpo -c -o intctrl.o intctrl.cc
mv -f .deps/intctrl.Tpo .deps/intctrl.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT spimconsole.o -MD -MP -MF .deps/spimconsole.Tpo -c -o spimconsole.o spimconsole.cc
mv -f .deps/spimconsole.Tpo .deps/spimconsole.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT stub-dis.o -MD -MP -MF .deps/stub-dis.Tpo -c -o stub-dis.o stub-dis.cc
mv -f .deps/stub-dis.Tpo .deps/stub-dis.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT vmips.o -MD -MP -MF .deps/vmips.Tpo -c -o vmips.o vmips.cc
mv -f .deps/vmips.Tpo .deps/vmips.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT deviceint.o -MD -MP -MF .deps/deviceint.Tpo -c -o deviceint.o deviceint.cc
mv -f .deps/deviceint.Tpo .deps/deviceint.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.cc
mv -f .deps/debug.Tpo .deps/debug.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT remotegdb.o -MD -MP -MF .deps/remotegdb.Tpo -c -o remotegdb.o remotegdb.cc
mv -f .deps/remotegdb.Tpo .deps/remotegdb.Po
c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing  -MT clockdev.o -MD -MP -MF .deps/clockdev.Tpo -c -o clockdev.o clockdev.cc
clockdev.cc:109:21: error: non-constant-expression cannot be narrowed from type 'uint32' (aka 'unsigned int') to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
                timespec time = { data, clock->get_time().tv_nsec };
                                  ^~~~
clockdev.cc:109:21: note: insert an explicit cast to silence this issue
                timespec time = { data, clock->get_time().tv_nsec };
                                  ^~~~
                                  static_cast<time_t>( )
clockdev.cc:118:48: error: non-constant-expression cannot be narrowed from type 'uint32' (aka 'unsigned int') to 'long' in initializer list [-Wc++11-narrowing]
                timespec time =  { clock->get_time().tv_sec, data };
                                                             ^~~~
clockdev.cc:118:48: note: insert an explicit cast to silence this issue
                timespec time =  { clock->get_time().tv_sec, data };
                                                             ^~~~
                                                             static_cast<long>( )
2 errors generated.
gmake[3]: *** [Makefile:509: clockdev.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
gmake[2]: *** [Makefile:550: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
gmake[1]: *** [Makefile:364: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/vmips/work/vmips-1.5'
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/vmips



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