[package - head-amd64-default][games/simutrans] Failed for simutrans-120.2.2 in build
Tijl Coosemans
tijl at FreeBSD.org
Fri Jul 28 11:56:32 UTC 2017
On Thu, 27 Jul 2017 21:42:01 +0000 pkg-fallout at FreeBSD.org wrote:
> 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: tijl at FreeBSD.org
> Last committer: tijl at FreeBSD.org
> Ident: $FreeBSD: head/games/simutrans/Makefile 441004 2017-05-16 15:28:53Z tijl $
> Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p446708_s321589/logs/simutrans-120.2.2.log
> Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p446708_s321589
> Log:
>
> ====>> Building games/simutrans
> build started at Thu Jul 27 21:35:40 UTC 2017
> port directory: /usr/ports/games/simutrans
> building for: FreeBSD head-amd64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200039 amd64
> maintained by: tijl at FreeBSD.org
> Makefile ident: $FreeBSD: head/games/simutrans/Makefile 441004 2017-05-16 15:28:53Z tijl $
> Poudriere version: 3.1.19-51-g177d9e6d
> Host OSVERSION: 1200033
> Jail OSVERSION: 1200039
> Job Id: 06
>
>
>
>
> !!! Jail is newer than host. (Jail: 1200039, Host: 1200033) !!!
> !!! This is not supported. !!!
> !!! Host kernel must be same or newer than jail. !!!
> !!! Expect build failures. !!!
>
>
>
> ---Begin Environment---
> SHELL=/bin/csh
> OSVERSION=1200039
> UNAME_v=FreeBSD 12.0-CURRENT 1200039
> UNAME_r=12.0-CURRENT
> BLOCKSIZE=K
> MAIL=/var/mail/root
> STATUS=1
> SAVED_TERM=
> MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> POUDRIERE_BUILD_TYPE=bulk
> PKGNAME=simutrans-120.2.2
> OLDPWD=/
> PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
> MASTERNAME=head-amd64-default
> SCRIPTPREFIX=/usr/local/share/poudriere
> USER=root
> HOME=/root
> POUDRIERE_VERSION=3.1.19-51-g177d9e6d
> SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
> LIBEXECPREFIX=/usr/local/libexec/poudriere
> LOCALBASE=/usr/local
> POUDRIEREPATH=/usr/local/bin/poudriere
> ---End Environment---
>
> ---Begin Poudriere Port Flags/Env---
> PORT_FLAGS=
> PKGENV=
> ---End Poudriere Port Flags/Env---
>
> ---Begin OPTIONS List---
> ===> The following configuration options are available for simutrans-120.2.2:
> DOCS=on: Build and/or install documentation
> ====> Options available for the multi PAK: you have to choose at least one of them
> PAK64=on: Default graphics
> PAK128=off: High resolution graphics
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
>
> --CONFIGURE_ARGS--
>
> --End CONFIGURE_ARGS--
>
> --CONFIGURE_ENV--
> SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/simutrans/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/simutrans/work HOME=/wrkdirs/usr/ports/games/simutrans/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
> --End CONFIGURE_ENV--
>
> --MAKE_ENV--
> SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/simutrans/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/simutrans/work HOME=/wrkdirs/usr/ports/games/simutrans/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 -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--
> OSREL=12.0
> PREFIX=%D
> LOCALBASE=/usr/local
> RESETPREFIX=/usr/local
> PORTDOCS=""
> PORTEXAMPLES=""
> LIB32DIR=lib
> DOCSDIR="share/doc/simutrans"
> EXAMPLESDIR="share/examples/simutrans"
> DATADIR="share/simutrans"
> WWWDIR="www/simutrans"
> ETCDIR="etc/simutrans"
> --End PLIST_SUB--
>
> --SUB_LIST--
> PREFIX=/usr/local
> LOCALBASE=/usr/local
> DATADIR=/usr/local/share/simutrans
> DOCSDIR=/usr/local/share/doc/simutrans
> EXAMPLESDIR=/usr/local/share/examples/simutrans
> WWWDIR=/usr/local/www/simutrans
> ETCDIR=/usr/local/etc/simutrans
> --End SUB_LIST--
>
> ---Begin make.conf---
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PORTSDIR=/usr/ports
> PACKAGES=/packages
> DISTDIR=/distfiles
> PACKAGE_BUILDING=yes
> #### /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=amd64
> CONFIGURE_MAX_CMD_LEN=262144
> HAVE_COMPAT_IA32_KERN=YES
> OPSYS=FreeBSD
> OSREL=12.0
> OSVERSION=1200039
> PYTHONBASE=/usr/local
> UID=0
> _JAVA_OS_LIST_REGEXP=native|linux
> _JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
> _JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
> _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) 33554432
> stack size (kbytes, -s) 524288
> core file size (512-blocks, -c) unlimited
> max memory size (kbytes, -m) unlimited
> locked memory (kbytes, -l) unlimited
> max user processes (-u) 89999
> open files (-n) 1024
> virtual mem size (kbytes, -v) unlimited
> swap limit (kbytes, -w) unlimited
> socket buffer size (bytes, -b) unlimited
> pseudo-terminals (-p) unlimited
> kqueues (-k) unlimited
> umtx shared locks (-o) unlimited
> --End resource limits--
> =======================<phase: check-sanity >============================
> ===> License ART10 accepted by the user
> ===========================================================================
> =======================<phase: pkg-depends >============================
> ===> simutrans-120.2.2 depends on file: /usr/local/sbin/pkg - not found
> ===> Installing existing package /packages/All/pkg-1.10.1.txz
> [head-amd64-default-job-06] Installing pkg-1.10.1...
> [head-amd64-default-job-06] Extracting pkg-1.10.1: .......... done
> ===> simutrans-120.2.2 depends on file: /usr/local/sbin/pkg - found
> ===> Returning to build of simutrans-120.2.2
> ===========================================================================
> =======================<phase: fetch-depends >============================
> ===========================================================================
> =======================<phase: fetch >============================
> ===> License ART10 accepted by the user
> ===> Fetching all distfiles required by simutrans-120.2.2 for building
> ===========================================================================
> =======================<phase: checksum >============================
> ===> License ART10 accepted by the user
> ===> Fetching all distfiles required by simutrans-120.2.2 for building
> => SHA256 Checksum OK for simutrans-src-120-2-2.zip.
> => SHA256 Checksum OK for simulinux-120-2-2.zip.
> => SHA256 Checksum OK for simupak64-120-2.zip.
> ===========================================================================
> =======================<phase: extract-depends>============================
> ===========================================================================
> =======================<phase: extract >============================
> ===> License ART10 accepted by the user
> ===> Fetching all distfiles required by simutrans-120.2.2 for building
> ===> Extracting for simutrans-120.2.2
> => SHA256 Checksum OK for simutrans-src-120-2-2.zip.
> => SHA256 Checksum OK for simulinux-120-2-2.zip.
> => SHA256 Checksum OK for simupak64-120-2.zip.
> ===========================================================================
> =======================<phase: patch-depends >============================
> ===========================================================================
> =======================<phase: patch >============================
> ===> Patching for simutrans-120.2.2
> ===> Converting DOS text files to UNIX text files
> ===> Applying FreeBSD patches for simutrans-120.2.2
> ===========================================================================
> =======================<phase: build-depends >============================
> ===> simutrans-120.2.2 depends on file: /usr/local/bin/sdl-config - not found
> ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz
> [head-amd64-default-job-06] Installing sdl-1.2.15_10,2...
> [head-amd64-default-job-06] `-- Installing aalib-1.4.r5_11...
> [head-amd64-default-job-06] | `-- Installing indexinfo-0.2.6...
> [head-amd64-default-job-06] | `-- Extracting indexinfo-0.2.6: .... done
> [head-amd64-default-job-06] `-- Extracting aalib-1.4.r5_11: .......... done
> [head-amd64-default-job-06] `-- Installing libGLU-9.0.0_3...
> [head-amd64-default-job-06] | `-- Installing mesa-libs-17.1.5...
> <snip>
> In file included from squirrel/squirrel/sqtable.cc:7:
> squirrel/squirrel/sqfuncproto.h:79:18: warning: cast from 'SQInstruction *' to 'SQObjectPtr *' increases required alignment from 4 to 8 [-Wcast-align]
> f->_literals = (SQObjectPtr*)&f->_instructions[ninstructions];
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
> ===> HOSTCXX squirrel/squirrel/sqbaselib.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqbaselib.o squirrel/squirrel/sqbaselib.cc
> In file included from squirrel/squirrel/sqbaselib.cc:9:
> squirrel/squirrel/sqfuncproto.h:79:18: warning: cast from 'SQInstruction *' to 'SQObjectPtr *' increases required alignment from 4 to 8 [-Wcast-align]
> f->_literals = (SQObjectPtr*)&f->_instructions[ninstructions];
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
> ===> HOSTCXX squirrel/squirrel/sqcompiler.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqcompiler.o squirrel/squirrel/sqcompiler.cc
> In file included from squirrel/squirrel/sqcompiler.cc:11:
> squirrel/squirrel/sqfuncproto.h:79:18: warning: cast from 'SQInstruction *' to 'SQObjectPtr *' increases required alignment from 4 to 8 [-Wcast-align]
> f->_literals = (SQObjectPtr*)&f->_instructions[ninstructions];
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
> ===> HOSTCXX squirrel/squirrel/sqfuncstate.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqfuncstate.o squirrel/squirrel/sqfuncstate.cc
> In file included from squirrel/squirrel/sqfuncstate.cc:8:
> squirrel/squirrel/sqfuncproto.h:79:18: warning: cast from 'SQInstruction *' to 'SQObjectPtr *' increases required alignment from 4 to 8 [-Wcast-align]
> f->_literals = (SQObjectPtr*)&f->_instructions[ninstructions];
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
> ===> HOSTCXX squirrel/squirrel/sqmem.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqmem.o squirrel/squirrel/sqmem.cc
> ===> HOSTCXX squirrel/squirrel/sqstate.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqstate.o squirrel/squirrel/sqstate.cc
> In file included from squirrel/squirrel/sqstate.cc:7:
> squirrel/squirrel/sqfuncproto.h:79:18: warning: cast from 'SQInstruction *' to 'SQObjectPtr *' increases required alignment from 4 to 8 [-Wcast-align]
> f->_literals = (SQObjectPtr*)&f->_instructions[ninstructions];
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
> ===> HOSTCXX squirrel/squirrel/sqvm.cc
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -DREVISION=8163 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DCOLOUR_DEPTH=16 -c -MMD -o build/default/squirrel/squirrel/sqvm.o squirrel/squirrel/sqvm.cc
> In file included from squirrel/squirrel/sqvm.cc:5:
> In file included from /usr/include/c++/v1/math.h:310:
> /usr/include/c++/v1/limits:148:85: error: expected expression
> _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}
> ^
> squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
> #define type(obj) ((obj)._type)
> ^
> In file included from squirrel/squirrel/sqvm.cc:5:
> In file included from /usr/include/c++/v1/math.h:310:
> /usr/include/c++/v1/limits:149:85: error: expected expression
> _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
> ^
> squirrel/squirrel/sqobject.h:131:24: note: expanded from macro 'type'
> #define type(obj) ((obj)._type)
> ^
Simutrans code defines 'type' as a macro. Shouldn't libc++ headers use
_type or __type or something?
More information about the freebsd-toolchain
mailing list