From nobody Mon Jul 26 17:02:36 2021 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1E33112B1BAA for ; Mon, 26 Jul 2021 17:02:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYR7K0JG1z4Zhn for ; Mon, 26 Jul 2021 17:02:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy7.nyi.freebsd.org (beefy7.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E5D4F1AC9F for ; Mon, 26 Jul 2021 17:02:36 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy7.nyi.freebsd.org (localhost [127.0.0.1]) by beefy7.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 16QH2atF015778 for ; Mon, 26 Jul 2021 17:02:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy7.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 16QH2aqF015777; Mon, 26 Jul 2021 17:02:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 26 Jul 2021 17:02:36 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202107261702.16QH2aqF015777@beefy7.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-riscv64-default][games/spacejunk] Failed for spacejunk-1.0.5_3 in build X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: amdmi3@FreeBSD.org Log URL: http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pe8cfea34d340_s7685f8344d/logs/spacejunk-1.0.5_3.log Build URL: http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pe8cfea34d340_s7685f8344d Log: =>> Building games/spacejunk build started at Mon Jul 26 16:59:03 UTC 2021 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD main-riscv64-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400026 riscv maintained by: amdmi3@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1400008 Jail OSVERSION: 1400026 Job Id: 09 !!! Jail is newer than host. (Jail: 1400026, Host: 1400008) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=riscv64 UNAME_m=riscv ABI_FILE=/usr/lib/crt1.o OSVERSION=1400026 UNAME_v=FreeBSD 14.0-CURRENT 1400026 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-riscv64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-default/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--- ===> The following configuration options are available for spacejunk-1.0.5_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/spacejunk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacejunk/work HOME=/wrkdirs/usr/ports/games/spacejunk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacejunk/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/spacejunk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacejunk/work HOME=/wrkdirs/usr/ports/games/spacejunk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacejunk/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 CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O0 -isystem /usr/local/include -std=c++98 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INS TALL_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="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spacejunk" EXAMPLESDIR="share/examples/spacejunk" DATADIR="share/spacejunk" WWWDIR="www/spacejunk" ETCDIR="etc/spacejunk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spacejunk DOCSDIR=/usr/local/share/doc/spacejunk EXAMPLESDIR=/usr/local/share/examples/spacejunk WWWDIR=/usr/local/www/spacejunk ETCDIR=/usr/local/etc/spacejunk --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=riscv MACHINE_ARCH=riscv64 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 #### _CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=riscv64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400026 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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 GPLv3+ accepted by the user =========================================================================== =================================================== ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.0.pkg [main-riscv64-default-job-09] Installing pkg-1.17.0... [main-riscv64-default-job-09] Extracting pkg-1.17.0: .......... done ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spacejunk-1.0.5_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building =========================================================================== mv -f .deps/spacejunk-serializer.Tpo .deps/spacejunk-serializer.Po /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../guichan/include -I../sge030809 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wno-deprecated -Wall -isystem /usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O0 -isystem /usr/local/include -std=c++98 -MT spacejunk-bodyfactory.o -MD -MP -MF .deps/spacejunk-bodyfactory.Tpo -c -o spacejunk-bodyfactory.o `test -f 'bodyfactory.cpp' || echo './'`bodyfactory.cpp In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:258:35: note: in instantiation of member function 'Singleton::getInstance' requested here return Singleton::getInstance()->create(id); ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:274:36: note: in instantiation of member function 'Singleton::getInstance' requested here return Singleton::getInstance()->create(""); ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:171:55: note: in instantiation of member function 'Singleton >::getInstance' requested here ResourceList * rl=Singleton >::getInstance(); ^ ./reference.h:34:5: note: in instantiation of member function 'Resource::~Resource' requested here delete [] p; ^ ./graphic.h:45:75: note: in instantiation of function template specialization 'delarray >' requested here class ImageSetLoader : public ResourceLoaderNonRef,int> > { ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./graphic.h:59:39: note: in instantiation of member function 'Singleton::getInstance' requested here return Singleton::getInstance()->create(id); ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here Singleton::getInstance()->free(p); ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here class Resource : public Ref > { ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here Singleton::getInstance()->free(p); ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here class Resource : public Ref > { ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ In file included from bodyfactory.cpp:20: In file included from ./bodyfactory.h:23: In file included from ./gamebody.h:23: In file included from ./graphic.h:25: ./resourcemanager.h:64:15: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!&*i) i=Ref(new T()); ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here Singleton::getInstance()->free(p); ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here class Resource : public Ref > { ^ ./reference.h:76:19: note: 'operator*' returns a reference PointedType & operator *() const { ^ 7 warnings generated. mv -f .deps/spacejunk-bodyfactory.Tpo .deps/spacejunk-bodyfactory.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../guichan/include -I../sge030809 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wno-deprecated -Wall -isystem /usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wall -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT spacejunk-collist.o -MD -MP -MF .deps/spacejunk-collist.Tpo -c -o spacejunk-collist.o `test -f 'collist.c' || echo './'`collist.c collist.c:240:9: warning: unused variable 'get_item_callback' [-Wunused-variable] void (*get_item_callback) (COLLIST_ITEM *coldata) = collist->get_item_callback; ^ collist.c:284:9: warning: unused variable 'get_item_callback' [-Wunused-variable] void (*get_item_callback) (COLLIST_ITEM *coldata) = collist->get_item_callback; ^ collist.c:615:9: warning: unused variable 'y2' [-Wunused-variable] float y2 = y1 + collidables[i]->h; ^ collist.c:657:9: warning: unused variable 'y2' [-Wunused-variable] float y2 = y1 + collidables[i]->h; ^ collist.c:727:9: warning: unused variable 'maxy' [-Wunused-variable] float maxy = collidables[base + maxn - 1]->y; ^ collist.c:768:23: warning: initializing 'const COLLIST_ITEM **' (aka 'const struct COLLIST_ITEM **') with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] CONST COLLIST_ITEM **a = _a; ^ ~~ collist.c:769:23: warning: initializing 'const COLLIST_ITEM **' (aka 'const struct COLLIST_ITEM **') with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] CONST COLLIST_ITEM **b = _b; ^ ~~ collist.c:773:23: warning: initializing 'const COLLIST_ITEM **' (aka 'const struct COLLIST_ITEM **') with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] CONST COLLIST_ITEM **a = _a; ^ ~~ collist.c:774:23: warning: initializing 'const COLLIST_ITEM **' (aka 'const struct COLLIST_ITEM **') with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] CONST COLLIST_ITEM **b = _b; ^ ~~ collist.c:778:15: warning: initializing 'const void **' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] const void **a = _a; ^ ~~ collist.c:779:15: warning: initializing 'const void **' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] const void **b = _b; ^ ~~ collist.c:780:9: warning: cast to smaller integer type 'int' from 'const void *' [-Wvoid-pointer-to-int-cast] return (int)*a - (int)*b; ^~~~~~~ collist.c:780:19: warning: cast to smaller integer type 'int' from 'const void *' [-Wvoid-pointer-to-int-cast] return (int)*a - (int)*b; ^~~~~~~ collist.c:415:13: warning: unused function '_sort_collidables_y_indirect' [-Wunused-function] static void _sort_collidables_y_indirect ( COLLIST_ITEM **collidables, int num, int algorithm ) { ^ collist.c:782:12: warning: unused function 'qsort_random' [-Wunused-function] static int qsort_random ( CONST void *_a, CONST void *_b ) { ^ collist.c:387:13: warning: unused function '_sort_collidables_x' [-Wunused-function] static void _sort_collidables_x ( COLLIST_ITEM *collidables, int num, int algorithm ) { ^ collist.c:562:12: warning: unused function '_find_collisions_x' [-Wunused-function] static int _find_collisions_x ( ^ collist.c:600:12: warning: unused function '_find_collisions_x_indirect' [-Wunused-function] static int _find_collisions_x_indirect ( ^ collist.c:788:14: warning: unused function 'MIN_DIFF' [-Wunused-function] static float MIN_DIFF (float a, float b, float c) { ^ 19 warnings generated. mv -f .deps/spacejunk-collist.Tpo .deps/spacejunk-collist.Po /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../guichan/include -I../sge030809 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wno-deprecated -Wall -isystem /usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -Wall -O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT spacejunk-pmask.o -MD -MP -MF .deps/spacejunk-pmask.Tpo -c -o spacejunk-pmask.o `test -f 'pmask.c' || echo './'`pmask.c pmask.c:34:2: error: '_compile_time_assert__' declared as an array with a negative size COMPILE_TIME_ASSERT((1 << MASK_WORD_BITBITS) == MASK_WORD_BITS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pmask.c:32:77: note: expanded from macro 'COMPILE_TIME_ASSERT' #define COMPILE_TIME_ASSERT(condition) {typedef char _compile_time_assert__[(condition) ? 1 : -1];} ^~~~~~~~~~~~~~~~~~~~ pmask.c:40:29: warning: unused variable 'error' [-Wunused-variable] int words, total_words, x, error = 0; ^ pmask.c:105:6: warning: unused variable 'words' [-Wunused-variable] int words = 1 + ((w-1) >> MASK_WORD_BITBITS); ^ 2 warnings and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 *** Error code 1 Stop. make: stopped in /usr/ports/games/spacejunk