Date: Thu, 18 Apr 2019 03:27:00 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 120powerpc64-quarterly][games/dxx-rebirth] Failed for dxx-rebirth-0.60.0.b2 in build Message-ID: <201904180327.x3I3R00M070568@pylon.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: pkubaj@anongoth.pl Last committer: linimon@FreeBSD.org Ident: $FreeBSD: branches/2019Q2/games/dxx-rebirth/Makefile 497213 2019-03-29 22:17:11Z linimon $ Log URL: http://pylon.nyi.freebsd.org/data/120powerpc64-quarterly/499227/logs/dxx-rebirth-0.60.0.b2.log Build URL: http://pylon.nyi.freebsd.org/build.html?mastername=120powerpc64-quarterly&build=499227 Log: =>> Building games/dxx-rebirth build started at Thu Apr 18 03:25:13 UTC 2019 port directory: /usr/ports/games/dxx-rebirth package name: dxx-rebirth-0.60.0.b2 building for: FreeBSD 120powerpc64-quarterly-job-15 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 1200086 powerpc maintained by: pkubaj@anongoth.pl Makefile ident: $FreeBSD: branches/2019Q2/games/dxx-rebirth/Makefile 497213 2019-03-29 22:17:11Z linimon $ Poudriere version: 3.2.8-3-g02cc9753 Host OSVERSION: 1300012 Jail OSVERSION: 1200086 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE-p3 1200086 UNAME_r=12.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-3-g02cc9753 MASTERMNT=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120powerpc64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh 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-- pkubaj@anongoth.pl --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dxx-rebirth/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work HOME=/wrkdirs/usr/ports/games/dxx-rebirth/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dxx-rebirth/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc8" CFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp8" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc8 -L/usr/local/lib/gcc8 -L/usr/local/lib " LIBS="" CXX="g++8" CXXFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include " 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 LIB32DIR=lib DOCSDIR="share/doc/dxx-rebirth" EXAMPLESDIR="share/examples/dxx-rebirth" DATADIR="share/dxx-rebirth" WWWDIR="www/dxx-rebirth" ETCDIR="etc/dxx-rebirth" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dxx-rebirth DOCSDIR=/usr/local/share/doc/dxx-rebirth EXAMPLESDIR=/usr/local/share/examples/dxx-rebirth WWWDIR=/usr/local/www/dxx-rebirth ETCDIR=/usr/local/etc/dxx-rebirth --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 #### /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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11" CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11" CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x" CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11" CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14" CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17" CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11" CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14" CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17" _OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64 OPSYS=FreeBSD _OSRELEASE=12.0-RELEASE-p3 OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=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 GPLv3 PARALLAX accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> dxx-rebirth-0.60.0.b2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [120powerpc64-quarterly-job-15] Installing pkg-1.10.5_5... [120powerpc64-quarterly-job-15] Extracting pkg-1.10.5_5: .......... done ===> dxx-rebirth-0.60.0.b2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dxx-rebirth-0.60.0.b2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv3 PARALLAX accepted by the user => dxx-rebirth-0.60.0-beta2-git.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://www.dxx-rebirth.com/download/dxx/user/afuturepilot/dxx-rebirth-0.60.0-beta2-git.tar.gz dxx-rebirth-0.60.0-beta2-git.tar.gz 1829 kB 1152 kBps 01s ===> Fetching all distfiles required by dxx-rebirth-0.60.0.b2 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv3 PARALLAX accepted by the user ===> Fetching all distfiles required by dxx-rebirth-0.60.0.b2 for building => SHA256 Checksum OK for dxx-rebirth-0.60.0-beta2-git.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv3 PARALLAX accepted by the user ===> Fetching all distfiles required by dxx-rebirth-0.60.0.b2 for building ===> Extracting for dxx-rebirth-0.60.0.b2 => SHA256 Checksum OK for dxx-rebirth-0.60.0-beta2-git.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for dxx-rebirth-0.60.0.b2 ===> Applying FreeBSD patches for dxx-rebirth-0.60.0.b2 =========================================================================== =======================<phase: build-depends >============================ ===> dxx-rebirth-0.60.0.b2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.0,1.txz [120powerpc64-quarterly-job-15] Installing pkgconf-1.6.0,1... [120powerpc64-quarterly-job-15] Extracting pkgconf-1.6.0,1: .......... done ===> dxx-rebirth-0.60.0.b2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of dxx-rebirth-0.60.0.b2 ===> dxx-rebirth-0.60.0.b2 depends on file: /usr/local/bin/scons - not found ===> Installing existing package /packages/All/scons-3.0.1.txz [120powerpc64-quarterly-job-15] Installing scons-3.0.1... [120powerpc64-quarterly-job-15] `-- Installing m4-1.4.18_1,1... [120powerpc64-quarterly-job-15] | `-- Installing indexinfo-0.3.1... <snip> more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> dxx-rebirth-0.60.0.b2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of dxx-rebirth-0.60.0.b2 ===> dxx-rebirth-0.60.0.b2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =======================<phase: configure >============================ ===> Configuring for dxx-rebirth-0.60.0.b2 =========================================================================== =======================<phase: build >============================ ===> Building for dxx-rebirth-0.60.0.b2 scons: Reading SConscript files ... ===== D1X-Rebirth v0.59.100 ===== ===== D2X-Rebirth v0.59.100 ===== DXX-Archive.3: compiling on 'freebsd12'/'powerpc' for 'freebsd' into . DXX-Archive.3: checking version of C++ compiler 'g++8' ... 'g++8 (FreeBSD Ports Collection) 8.3.0' DXX-Archive.3: checking path to assembler ... '/usr/local/bin/as' DXX-Archive.3: checking version of assembler '/usr/local/bin/as' ... 'GNU assembler (GNU Binutils) 2.32' DXX-Archive.3: checking path to linker ... '/usr/local/bin/ld' DXX-Archive.3: checking version of linker '/usr/local/bin/ld' ... 'GNU ld (GNU Binutils) 2.32' DXX-Archive.3: CXX: 'g++8' DXX-Archive.3: CPPDEFINES: [('PHYSFS_DEPRECATED', '')] DXX-Archive.3: CPPPATH: ['common/include', 'common/main', '.'] DXX-Archive.3: CPPFLAGS: ['-Wno-sign-compare', '-isystem', '/usr/local/include'] DXX-Archive.3: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=redundant-decls', '-Werror=vla', '-pthread', '-funsigned-char', '-O2', '-pipe', '-Wl,-rpath=/usr/local/lib/gcc8', '-Wl,-rpath=/usr/local/lib/gcc8', '-isystem', '/usr/local/include'] DXX-Archive.3: LIBS: [] DXX-Archive.3: LINKFLAGS: ['-Wl,-rpath=/usr/local/lib/gcc8', '-L/usr/local/lib/gcc8', '-L/usr/local/lib'] DXX-Archive.3: $CCACHE_PREFIX: None DXX-Archive.3: $DISTCC_HOSTS: None DXX-Archive.3: checking whether C++ compiler and linker work...yes DXX-Archive.3: checking whether C++ compiler accepts -std=gnu++14...yes DXX-Archive.3: checking endian to use...big DXX-Archive.3: checking whether to enable word alignment fixups...no DXX-Archive.3: building with OpenGL DXX-Archive.3: checking whether to enable release options...yes DXX-Archive.3: checking whether to enable memory allocation tracking...no DXX-Archive.3: checking whether to enable level editor...no DXX-Archive.3: checking whether to enable IPv6 support...no DXX-Archive.3: checking whether to enable multiplayer over UDP...yes DXX-Archive.3: checking whether to enable UDP game tracker...yes DXX-Archive.3: checking how to format screenshots...png DXX-Archive.3: checking libpng pkg-config libpng DXX-Archive.3: using pkg-config at discovered path /usr/local/bin/pkg-config DXX-Archive.3: reading libpng version from ('/usr/local/bin/pkg-config', '--modversion', 'libpng') DXX-Archive.3: libpng version: '1.6.36' DXX-Archive.3: reading libpng settings from ('/usr/local/bin/pkg-config', '--cflags', '--libs', 'libpng') DXX-Archive.3: libpng settings: {'LIBS': ['png16', 'z'], 'CPPPATH': ['/usr/local/include/libpng16'], 'LIBPATH': ['/usr/local/lib']} DXX-Archive.3: checking for usable library png...yes DXX-Archive.3: checking for usable library physfs...yes DXX-Archive.3: checking SDL pkg-config sdl DXX-Archive.3: reading sdl version from ('/usr/local/bin/pkg-config', '--modversion', 'sdl') DXX-Archive.3: SDL version: '1.2.15' DXX-Archive.3: reading SDL settings from ('/usr/local/bin/pkg-config', '--cflags', '--libs', 'sdl') DXX-Archive.3: SDL settings: {'LINKFLAGS': ['-Wl,-rpath,/usr/local/lib', '-pthread'], 'CPPDEFINES': ['_REENTRANT', '_THREAD_SAFE'], 'CCFLAGS': ['-pthread'], 'LIBS': ['SDL'], 'CPPPATH': ['/usr/local/include/SDL', '/usr/local/include'], 'LIBPATH': ['/usr/local/lib']} DXX-Archive.3: checking whether to enable joystick support...yes DXX-Archive.3: checking for usable library SDL with OpenGL...yes DXX-Archive.3: checking whether to use SDL_mixer...yes DXX-Archive.3: checking SDL_mixer pkg-config SDL_mixer DXX-Archive.3: reading SDL_mixer version from ('/usr/local/bin/pkg-config', '--modversion', 'SDL_mixer') DXX-Archive.3: SDL_mixer version: '1.2.12' DXX-Archive.3: reading SDL_mixer settings from ('/usr/local/bin/pkg-config', '--cflags', '--libs', 'SDL_mixer') DXX-Archive.3: SDL_mixer settings: {'LINKFLAGS': ['-Wl,-rpath,/usr/local/lib', '-pthread'], 'CPPDEFINES': ['_REENTRANT', '_THREAD_SAFE'], 'CCFLAGS': ['-pthread'], 'LIBS': ['SDL_mixer', 'SDL'], 'CPPPATH': ['/usr/local/include/SDL', '/usr/local/include'], 'LIBPATH': ['/usr/local/lib']} DXX-Archive.3: checking for usable library SDL_mixer...yes DXX-Archive.3: checking whether C++ compiler accepts {} initialization...yes DXX-Archive.3: checking whether compiler accepts extended identifiers by default...yes DXX-Archive.3: checking whether compiler optimizes function __attribute__((__error__))...yes DXX-Archive.3: checking whether compiler implements __builtin_bswap{16,32,64} functions...yes DXX-Archive.3: checking whether compiler optimizes __builtin_constant_p...no DXX-Archive.3: checking whether compiler accepts __builtin_constant_p...yes DXX-Archive.3: checking whether compiler accepts __builtin_expect...yes DXX-Archive.3: checking whether compiler accepts __builtin_FILE, __builtin_LINE...yes DXX-Archive.3: checking whether compiler optimizes __builtin_object_size...yes DXX-Archive.3: checking whether compiler understands embedded compound statements...yes DXX-Archive.3: checking whether compiler allows dead calls to undefined functions in the anonymous namespace...no DXX-Archive.3: checking for function __attribute__((always_inline))...yes DXX-Archive.3: checking for function __attribute__((alloc_size))...yes DXX-Archive.3: checking for function __attribute__((cold))...yes DXX-Archive.3: checking for function __attribute__((format_arg))...yes DXX-Archive.3: checking for function __attribute__((format(printf)))...yes DXX-Archive.3: checking for function __attribute__((malloc))...yes DXX-Archive.3: checking for function __attribute__((nonnull))...yes DXX-Archive.3: checking for function __attribute__((noreturn))...yes DXX-Archive.3: checking for function __attribute__((used))...yes DXX-Archive.3: checking for function __attribute__((unused))...yes DXX-Archive.3: checking for function __attribute__((warn_unused_result))...yes DXX-Archive.3: checking whether compiler optimizes function __attribute__((__warning__))...yes DXX-Archive.3: checking for C++11 intrinsic static_assert when true...yes DXX-Archive.3: checking for C++11 intrinsic static_assert when false...yes DXX-Archive.3: checking whether compiler handles classes from "using namespace"...yes DXX-Archive.3: checking for required C++11 features...yes DXX-Archive.3: checking when to pre-compile own headers...never DXX-Archive.3: checking when to pre-compile system headers...never DXX-Archive.3: checking for explicitly deleted functions with named parameters...yes DXX-Archive.3: checking for C++11 functions begin(), end()...yes DXX-Archive.3: checking for C++11 function addressof()...yes DXX-Archive.3: checking for C++14 exchange...yes DXX-Archive.3: checking for depth-efficient C++14 integer_sequence...yes DXX-Archive.3: checking for C++14 make_unique...yes DXX-Archive.3: checking for C++11 inherited constructors with good unique_ptr<T[]> support...yes DXX-Archive.3: checking whether compiler handles 20-element tuples...yes DXX-Archive.3: checking whether to use overwrite poisoning...(cached) no DXX-Archive.3: checking whether to use Valgrind poisoning...(cached) no DXX-Archive.3: checking whether to format std::size_t with "%zu"...yes DXX-Archive.3: checking whether compiler argument -Wuseless-cast works with SDL and with constructor inheritance...yes DXX-Archive.3: checking whether to cast operator-(T*,T*) to int...yes DXX-Archive.3: checking for strcasecmp...yes DXX-Archive.3: checking for getaddrinfo...yes DXX-Archive.3: checking for struct timespec...yes DXX-Archive.3: checking whether compiler accepts preferred options...yes DXX-Archive.3: CXX: 'g++8' DXX-Archive.3: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT'] DXX-Archive.3: CPPPATH: ['common/include', 'common/main', '.', '/usr/local/include/libpng16', '/usr/local/include/SDL', '/usr/local/include'] DXX-Archive.3: CPPFLAGS: ['-Wno-sign-compare', '-isystem', '/usr/local/include'] DXX-Archive.3: CXXFLAGS: ['-g', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=redundant-decls', '-Werror=vla', '-pthread', '-funsigned-char', '-O2', '-pipe', '-Wl,-rpath=/usr/local/lib/gcc8', '-isystem', '/usr/local/include', '-std=gnu++14', '-Werror=unused', '-Werror=useless-cast', '-fvisibility=hidden', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wno-format-truncation', '-Wno-implicit-fallthrough'] DXX-Archive.3: LIBS: ['z', 'png16', 'physfs', 'SDL_mixer', 'SDL'] DXX-Archive.3: LINKFLAGS: ['-Wl,-rpath=/usr/local/lib/gcc8', '-L/usr/local/lib/gcc8', '-L/usr/local/lib', '-Wl,-rpath,/usr/local/lib', '-pthread'] DXX-Archive.3: $CCACHE_PREFIX: None DXX-Archive.3: $DISTCC_HOSTS: None D1X-Rebirth.1: compiling on 'freebsd12'/'powerpc' for 'freebsd' into . with prefix list ('d1x', '') D1X-Rebirth.1: CXX: 'g++8' D1X-Rebirth.1: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT', ('DXX_BUILD_DESCENT_I',), ('__STDC_FORMAT_MACROS',)] D1X-Rebirth.1: CPPPATH: ['common/include', 'common/main', '.', '/usr/local/include/libpng16', '/usr/local/include/SDL', '/usr/local/include', 'd1x-rebirth/main'] D1X-Rebirth.1: CPPFLAGS: ['-Wno-sign-compare', '-isystem', '/usr/local/include'] D1X-Rebirth.1: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=redundant-decls', '-Werror=vla', '-pthread', '-funsigned-char', '-O2', '-pipe', '-Wl,-rpath=/usr/local/lib/gcc8', '-isystem', '/usr/local/include', '-std=gnu++14', '-Werror=unused', '-Werror=useless-cast', '-fvisibility=hidden', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wno-format-truncation', '-Wno-implicit-fallthrough'] D1X-Rebirth.1: LIBS: ['z', 'png16', 'physfs', 'SDL_mixer', 'SDL', 'm', 'GL', 'GLU'] D1X-Rebirth.1: LINKFLAGS: ['-Wl,-rpath=/usr/local/lib/gcc8', '-L/usr/local/lib/gcc8', '-L/usr/local/lib', '-Wl,-rpath,/usr/local/lib', '-pthread'] D1X-Rebirth.1: $CCACHE_PREFIX: None D1X-Rebirth.1: $DISTCC_HOSTS: None D2X-Rebirth.2: compiling on 'freebsd12'/'powerpc' for 'freebsd' into . with prefix list ('d2x', '') D2X-Rebirth.2: CXX: 'g++8' D2X-Rebirth.2: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT', ('DXX_BUILD_DESCENT_II',), ('__STDC_FORMAT_MACROS',)] D2X-Rebirth.2: CPPPATH: ['common/include', 'common/main', '.', '/usr/local/include/libpng16', '/usr/local/include/SDL', '/usr/local/include', 'd2x-rebirth/main'] D2X-Rebirth.2: CPPFLAGS: ['-Wno-sign-compare', '-isystem', '/usr/local/include'] D2X-Rebirth.2: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=redundant-decls', '-Werror=vla', '-pthread', '-funsigned-char', '-O2', '-pipe', '-Wl,-rpath=/usr/local/lib/gcc8', '-isystem', '/usr/local/include', '-std=gnu++14', '-Werror=unused', '-Werror=useless-cast', '-fvisibility=hidden', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wno-format-truncation', '-Wno-implicit-fallthrough'] D2X-Rebirth.2: LIBS: ['SDL_mixer', 'SDL', 'physfs', 'png16', 'z', 'm', 'GL', 'GLU'] D2X-Rebirth.2: LINKFLAGS: ['-Wl,-rpath=/usr/local/lib/gcc8', '-L/usr/local/lib/gcc8', '-L/usr/local/lib', '-Wl,-rpath,/usr/local/lib', '-pthread'] D2X-Rebirth.2: $CCACHE_PREFIX: None D2X-Rebirth.2: $DISTCC_HOSTS: None warning: Unknown values specified on command line. CC PKGCONFIGDIR destdir LIBPATH PREFIX CCFLAGS CPPPATH Build will continue, but these values have no effect. scons: done reading SConscript files. scons: Building targets ... scons: Configure: creating dxxsconf.h g++8 -c -g -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=redundant-decls -Werror=vla -pthread -funsigned-char -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -std=gnu++14 -Werror=unused -Werror=useless-cast -fvisibility=hidden -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wno-format-truncation -Wno-implicit-fallthrough -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -Icommon/include -Icommon/main -I. -I/usr/local/include/libpng16 -I/usr/local/include/SDL -I/usr/local/include common/2d/2dsline.cpp -o common/2d/2dsline.o g++8 -c -g -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=redundant-decls -Werror=vla -pthread -funsigned-char -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -std=gnu++14 -Werror=unused -Werror=useless-cast -fvisibility=hidden -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wno-format-truncation -Wno-implicit-fallthrough -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -Icommon/include -Icommon/main -I. -I/usr/local/include/libpng16 -I/usr/local/include/SDL -I/usr/local/include common/2d/bitblt.cpp -o common/2d/bitblt.o In file included from common/2d/bitblt.cpp:34: common/include/byteutil.h: In function 'uint32_t GET_INTEL_INT(const T*)': common/include/byteutil.h:76:63: error: useless cast to type 'uint32_t&' {aka 'unsigned int&'} [-Werror=useless-cast] #define byteutil_unaligned_copy(dt, d, s) (static_cast<dt &>(d) = *reinterpret_cast<const dt *>(s)) ^ common/include/byteutil.h:106:2: note: in expansion of macro 'byteutil_unaligned_copy' byteutil_unaligned_copy(uint32_t, u, p); ^~~~~~~~~~~~~~~~~~~~~~~ common/include/byteutil.h: In function 'uint16_t GET_INTEL_SHORT(const T*)': common/include/byteutil.h:76:63: error: useless cast to type 'uint16_t&' {aka 'short unsigned int&'} [-Werror=useless-cast] #define byteutil_unaligned_copy(dt, d, s) (static_cast<dt &>(d) = *reinterpret_cast<const dt *>(s)) ^ common/include/byteutil.h:114:2: note: in expansion of macro 'byteutil_unaligned_copy' byteutil_unaligned_copy(uint16_t, u, p); ^~~~~~~~~~~~~~~~~~~~~~~ common/include/byteutil.h: In function 'void PUT_INTEL_SHORT(uint16_t*, const T&)': common/include/byteutil.h:76:63: error: useless cast to type 'uint16_t&' {aka 'short unsigned int&'} [-Werror=useless-cast] #define byteutil_unaligned_copy(dt, d, s) (static_cast<dt &>(d) = *reinterpret_cast<const dt *>(s)) ^ common/include/byteutil.h:122:2: note: in expansion of macro 'byteutil_unaligned_copy' byteutil_unaligned_copy(uint16_t, *d, &u); ^~~~~~~~~~~~~~~~~~~~~~~ common/include/byteutil.h: In function 'void PUT_INTEL_INT(uint32_t*, const T&)': common/include/byteutil.h:76:63: error: useless cast to type 'uint32_t&' {aka 'unsigned int&'} [-Werror=useless-cast] #define byteutil_unaligned_copy(dt, d, s) (static_cast<dt &>(d) = *reinterpret_cast<const dt *>(s)) ^ common/include/byteutil.h:135:2: note: in expansion of macro 'byteutil_unaligned_copy' byteutil_unaligned_copy(uint32_t, *d, &u); ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors scons: *** [common/2d/bitblt.o] Error 1 scons: building terminated because of errors. Failed target count: total=1; targets with enable_build_failure_summary=1: 1 Failed node list: common/2d/bitblt.o Failed command list: g++8 -c -g -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=redundant-decls -Werror=vla -pthread -funsigned-char -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -std=gnu++14 -Werror=unused -Werror=useless-cast -fvisibility=hidden -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wno-format-truncation -Wno-implicit-fallthrough -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -Icommon/include -Icommon/main -I. -I/usr/local/include/libpng16 -I/usr/local/include/SDL -I/usr/local/include "common/2d/bitblt.cpp" -o "common/2d/bitblt.o" *** Error code 1 Stop. make: stopped in /usr/ports/games/dxx-rebirth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904180327.x3I3R00M070568>