Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2021 16:18:22 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-riscv64-quarterly][games/spacejunk] Failed for spacejunk-1.0.5_3 in build
Message-ID:  <202107041618.164GIMOX068116@beefy7.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:     amdmi3@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/130releng-riscv64-quarterly/bf299f1b74f5/logs/spacejunk-1.0.5_3.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=130releng-riscv64-quarterly&build=bf299f1b74f5
Log:

=>> Building games/spacejunk
build started at Sun Jul  4 16:15:34 UTC 2021
port directory: /usr/ports/games/spacejunk
package name: spacejunk-1.0.5_3
building for: FreeBSD 130releng-riscv64-quarterly-job-08 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 1300139 riscv
maintained by: amdmi3@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p3 1300139
UNAME_r=13.0-RELEASE-p3
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/130releng-riscv64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-riscv64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-riscv64-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---
===> 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=13.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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p3
OSREL=13.0
OSVERSION=1300139
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--
=======================<phase: check-sanity   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-riscv64-quarterly-job-08] Installing pkg-1.16.3...
[130releng-riscv64-quarterly-job-08] Extracting pkg-1.16.3: .......... done
===>   spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of spacejunk-1.0.5_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacejunk-1.0.5_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacejunk-1.0.5_3 for building
=> SHA256 Checksum OK for spacejunk-1.0.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacejunk-1.0.5_3 for building
<snip>
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<T>(new T());
            ~ ^~
./resourcemanager.h:258:35: note: in instantiation of member function 'Singleton<TextLoader>::getInstance' requested here
    return Singleton<TextLoader>::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<T>(new T());
            ~ ^~
./resourcemanager.h:274:36: note: in instantiation of member function 'Singleton<LevelLoader>::getInstance' requested here
    return Singleton<LevelLoader>::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<T>(new T());
            ~ ^~
./resourcemanager.h:171:55: note: in instantiation of member function 'Singleton<ResourceList<ImageLoader> >::getInstance' requested here
    ResourceList<R> * rl=Singleton<ResourceList<R> >::getInstance();
                                                      ^
./reference.h:34:5: note: in instantiation of member function 'Resource<ImageLoader>::~Resource' requested here
    delete [] p;
    ^
./graphic.h:45:75: note: in instantiation of function template specialization 'delarray<Resource<ImageLoader> >' requested here
class ImageSetLoader : public ResourceLoaderNonRef<std::pair<Ref<RMIMGRef,delarray>,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<T>(new T());
            ~ ^~
./graphic.h:59:39: note: in instantiation of member function 'Singleton<ImageSetLoader>::getInstance' requested here
    return Singleton<ImageSetLoader>::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<T>(new T());
            ~ ^~
./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton<RotateImageLoader>::getInstance' requested here
    Singleton<R>::getInstance()->free(p);
                  ^
./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource<RotateImageLoader>' requested here
class Resource : public Ref<typename R::ResourceT,FreeResource<R> > {
                                                  ^
./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<T>(new T());
            ~ ^~
./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton<ImageLoader>::getInstance' requested here
    Singleton<R>::getInstance()->free(p);
                  ^
./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource<ImageLoader>' requested here
class Resource : public Ref<typename R::ResourceT,FreeResource<R> > {
                                                  ^
./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<T>(new T());
            ~ ^~
./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton<CMaskLoader>::getInstance' requested here
    Singleton<R>::getInstance()->free(p);
                  ^
./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource<CMaskLoader>' requested here
class Resource : public Ref<typename R::ResourceT,FreeResource<R> > {
                                                  ^
./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



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