From owner-freebsd-toolchain@freebsd.org Fri Jul 28 11:56:32 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B60CDC45B8 for ; Fri, 28 Jul 2017 11:56:32 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 021C182B0B for ; Fri, 28 Jul 2017 11:56:32 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F28F6DC45B7; Fri, 28 Jul 2017 11:56:31 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2173DC45B6 for ; Fri, 28 Jul 2017 11:56:31 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay116.isp.belgacom.be (mailrelay116.isp.belgacom.be [195.238.20.143]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F92D82B0A; Fri, 28 Jul 2017 11:56:27 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3A3pqRLh987UvX5v9uRHKM819IXTAuvvDOBiVQ1KB4?= =?us-ascii?q?2uMcTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/?= =?us-ascii?q?8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1?= =?us-ascii?q?Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+?= =?us-ascii?q?RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTF?= =?us-ascii?q?UACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRhHohi?= =?us-ascii?q?kZKjA382PYisJ/g61HrxysvAB/zozIbI2JKPZyYr3RcNUHTmRBRMZRUClBD5ui?= =?us-ascii?q?YYsODeoBOftTopf6p1sJthuxGwysC/npyj9Tm3T72rE60+UjEQHCxwEuH8gOv2?= =?us-ascii?q?rKo9joKakcX/q5zK7SzTXMdv5b3yr25obPchAku/6MXLRwfNLfyUk1CQzKkE6f?= =?us-ascii?q?qZf4MD+P0eQNqWeb4ux9Xuysk24qswJ8riW1yssyhYTEhpgZxk3G+Ch92oo5ON?= =?us-ascii?q?+1RFJ9bNW5CpVfrTuaOJFzQs46RmFovzs1xaMetJ6geSgK1IwnxxnCa/yba4SI?= =?us-ascii?q?4gzsVOKWITpgh3JqYra/hxe38Ue+0O38UdO40EpLripHltnArGwC1xvU6sicVP?= =?us-ascii?q?R9+12u2TCU1wzJ7eFEO080mbLaK54n3LEwioIevEfeEiPshkn7g6+bel859uWq?= =?us-ascii?q?7+nreKjqq52AO4NsjwHxKKUumsixAeQiNQgOWnCW+fi91L3h+U30W7tKjucona?= =?us-ascii?q?bHq5/aPtkUqrS+Aw9P3YYv8wy/ACu+0NQEgXkHK0pIeA6Aj4juP1HBPPD4Au2+?= =?us-ascii?q?g1SqizpryerGMaP/DZrWNXjMja3tfbFn605T0AAz18xQ54pICrEdJ/L+QlL+tN?= =?us-ascii?q?3dDhIiPQy02fjoB8tm2YMFRG2DGKiZMLndsQzA2uV6L+iJTKEPtTvXENRj4OTh?= =?us-ascii?q?3lEjnlpIQair2dM8b3ejE/FvJV7RNWbtgNMpP30HsyAFYKrtklLUAm0bXGq7Q6?= =?us-ascii?q?9pvmJzM4mhF4qWHo0=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AgBgC3JHtZ/6qz9VFVCBoBAQEBAgEBA?= =?us-ascii?q?QEIAQEBARUBAQEBAgEBAQEIAQEBAYMvRBAQgQETjg1zjwYBgWstAUeVFoISLoE?= =?us-ascii?q?5AYNfAoNvQBgBAQEBAQEBAQEBAWoogjMigkQBBScTEQEKIxALGAklDyoeGYozD?= =?us-ascii?q?LBfOoQOAYcvAQEBAQEFAQEBAQEjgyiFLoJzNIMAJoEnAQUBAQgWhXQFiWCIbI0?= =?us-ascii?q?hh0+DTAWIeV4egR1XhHuKXos4ijofOIEKUzEISYUTAxwZgVA+NgEBAQGHPQ4Xg?= =?us-ascii?q?hoBAQE?= X-IPAS-Result: =?us-ascii?q?A2AgBgC3JHtZ/6qz9VFVCBoBAQEBAgEBAQEIAQEBARUBAQE?= =?us-ascii?q?BAgEBAQEIAQEBAYMvRBAQgQETjg1zjwYBgWstAUeVFoISLoE5AYNfAoNvQBgBA?= =?us-ascii?q?QEBAQEBAQEBAWoogjMigkQBBScTEQEKIxALGAklDyoeGYozDLBfOoQOAYcvAQE?= =?us-ascii?q?BAQEFAQEBAQEjgyiFLoJzNIMAJoEnAQUBAQgWhXQFiWCIbI0hh0+DTAWIeV4eg?= =?us-ascii?q?R1XhHuKXos4ijofOIEKUzEISYUTAxwZgVA+NgEBAQGHPQ4XghoBAQE?= Received: from 170.179-245-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.245.179.170]) by relay.skynet.be with ESMTP; 28 Jul 2017 13:55:11 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v6SBtAhj061561; Fri, 28 Jul 2017 13:55:10 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 28 Jul 2017 13:55:10 +0200 From: Tijl Coosemans To: dim@FreeBSD.org Cc: toolchain@FreeBSD.org Subject: Re: [package - head-amd64-default][games/simutrans] Failed for simutrans-120.2.2 in build Message-ID: <20170728135510.2c6de57f@kalimero.tijl.coosemans.org> In-Reply-To: <201707272142.v6RLg1G4099900@beefy12.nyi.freebsd.org> References: <201707272142.v6RLg1G4099900@beefy12.nyi.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 11:56:32 -0000 On Thu, 27 Jul 2017 21:42:01 +0000 pkg-fallout@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@FreeBSD.org > Last committer: tijl@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@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-- > =================================================== > ===> License ART10 accepted by the user > =========================================================================== > =================================================== > ===> 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 > =========================================================================== > =================================================== > =========================================================================== > =================================================== > ===> License ART10 accepted by the user > ===> Fetching all distfiles required by simutrans-120.2.2 for building > =========================================================================== > =================================================== > ===> 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. > =========================================================================== > =================================================== > =========================================================================== > =================================================== > ===> 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. > =========================================================================== > =================================================== > =========================================================================== > =================================================== > ===> Patching for simutrans-120.2.2 > ===> Converting DOS text files to UNIX text files > ===> Applying FreeBSD patches for simutrans-120.2.2 > =========================================================================== > =================================================== > ===> 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... > > 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?