From nobody Wed Feb 05 07:17:16 2025 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 4Yns4Y0Svsz5mJ9p for ; Wed, 05 Feb 2025 07:17:17 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yns4X5lkfz4L1h for ; Wed, 05 Feb 2025 07:17:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738739836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=bS4Rcpxn3LcRbhcHyigv7S3hBCr/Yb+eUpx/PgxZQ0M=; b=eKTHyCSrlxPYOzanJTcRMK55kn4aRjBrPw2g9Bgv5jLIORVfVGlCkcIY3Xj0/gjXw6G+kg u9kkmQARGldyUkVA9RweF2r8XFvTMAdH2ho9kZ5y1Tw/j22Bym30zHOdJO1a0wVQxNu97X F0hoPH5QUkdpNJT9USxrHSgGe2fCz0WnR15yW+igk8WPpfHu+Ygr+lciEX3ziIVN/LDW06 RfK7QlAh9GMNKEcROjjS2pkwm2ID4EMOGm3vwMAK2dLMvFFhuXJigIf6AHYwRlvjuKVj7Z dbjU6C4pf8InKG1cHc9ASGKJkkwnAvaYaD2GCOZtJqKhcT4zwinqkyfSUXgTLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738739836; a=rsa-sha256; cv=none; b=Ufc/5rZig7ww0vADtrSqqip2EMuGQ/JSGo36oW5/sFiJNDO5zWKQe56a8X5gBxZ7003orW mgVuB/nMJbFgOiWOnDDWMyZ8AToQV7B92YisH25nd6BDY/Ldu2mVn5+yJyAlklYpqJKYu2 CYc4Ev2B+xqLm3Op2ZAsUb/h77zPbzaCc6mUfNKwMqK09wX6aBSB6M9ygf7j+gaUrxInrt 7jYYwlLP97bOyKEccKXj3NYI1MnYe4iop/crmMlX2/NI8vyR9UVUFlWLn5jga0QF0hI1A7 MlNw06dyC9MA2cDII1m+KNdFKhHzQDRcEsSi2Ux3ld5kyHfEqxG70LETDB0z3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ampere2.nyi.freebsd.org (ampere2.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:24]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4Yns4X5323zhpp for ; Wed, 05 Feb 2025 07:17:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 5cb1 by ampere2.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on ampere2.nyi.freebsd.org); Wed, 05 Feb 2025 07:17:16 +0000 To: pkg-fallout@FreeBSD.org Subject: [package - main-armv7-default][games/spacejunk] Failed for spacejunk-1.0.5_3 in build Date: Wed, 05 Feb 2025 07:17:16 +0000 Message-Id: <67a3107c.5cb1.282d930a@ampere2.nyi.freebsd.org> From: 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: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p7b2be625f599_s95ea57c856/logs/spacejunk-1.0.5_3.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p7b2be625f599_s95ea57c856 Log: =>> Building games/spacejunk build started at Wed Feb 5 07:14:48 UTC 2025 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD main-armv7-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500030 arm maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1526 Jan 6 2024 /usr/ports/games/spacejunk/Makefile Ports top last git commit: 7b2be625f59 Ports top unclean checkout: no Port dir last git commit: bbab7f59e96 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500028 Jail OSVERSION: 1500030 Job Id: 05 !!! Jail is newer than host. (Jail: 1500030, Host: 1500028) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500030 UNAME_v=FreeBSD 15.0-CURRENT 1500030 UNAME_r=15.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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-armv7-default/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= 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 XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spacejunk/work/.cache 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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spacejunk/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spacejunk/work/.cache 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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spacejunk/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O0 -isystem /usr/lo cal/include -std=c++98 " 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-- PORTDOCS="" OSREL=15.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--- # 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 3 jobs MAKE_JOBS_NUMBER=3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # 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 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 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) 8192 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv3+ accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.5.pkg [main-armv7-default-job-05] Installing pkg-2.0.5... [main-armv7-default-job-05] Extracting pkg-2.0.5: .......... done ===> spacejunk-1.0.5_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spacejunk-1.0.5_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv3+ accepted by the user ===> Fetching all distfiles required by spacejunk-1.0.5_3 for building ===> Extracting for spacejunk-1.0.5_3 => SHA256 Checksum OK for spacejunk-1.0.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for spacejunk-1.0.5_3 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for spacejunk-1.0.5_3 from /usr/ports/games/spacejunk/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spacejunk-1.0.5_3 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [main-armv7-default-job-05] Installing sdl-1.2.15_17,2... [main-armv7-default-job-05] `-- Installing aalib-1.4.r5_14... In file included from graphic.cpp:20: In file included from ./graphic.h:25: ./resourcemanager.h:164:11: 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] 164 | if (!&**this) | ~ ^~~~~~ graphic.cpp:801:34: note: in instantiation of member function 'Resource::Resource' requested here 801 | (&*buf.first)[counter++]=Resource(*i); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ --- spacejunk-cworld.o --- In file included from cworld.cpp:20: In file included from ./cworld.h:24: ./functionexts.h:434:18: error: cannot assign to non-static data member within const member function 'operator=' 434 | iterating=ei.iterating; | ~~~~~~~~~^ ./functionexts.h:432:22: note: member function 'erase_iterator::operator=' is declared const here 432 | erase_iterator & operator = (const erase_iterator &ei) const { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./functionexts.h:435:19: error: cannot assign to non-static data member within const member function 'operator=' 435 | _iterating=ei._iterating; | ~~~~~~~~~~^ ./functionexts.h:432:22: note: member function 'erase_iterator::operator=' is declared const here 432 | erase_iterator & operator = (const erase_iterator &ei) const { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./functionexts.h:439:10: error: no viable overloaded '=' 439 | r=ei.r; | ~^~~~~ ./reference.h:59:36: note: candidate function not viable: 'this' argument has type 'const Ref', but method is not marked const 59 | Ref & operator=(const Ref & r) { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:258:35: note: in instantiation of member function 'Singleton::getInstance' requested here 258 | return Singleton::getInstance()->create(id); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:274:36: note: in instantiation of member function 'Singleton::getInstance' requested here 274 | return Singleton::getInstance()->create(""); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:171:55: note: in instantiation of member function 'Singleton >::getInstance' requested here 171 | ResourceList * rl=Singleton >::getInstance(); | ^ ./reference.h:34:5: note: in instantiation of member function 'Resource::~Resource' requested here 34 | delete [] p; | ^ ./graphic.h:45:75: note: in instantiation of function template specialization 'delarray >' requested here 45 | class ImageSetLoader : public ResourceLoaderNonRef,int> > { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./graphic.h:59:39: note: in instantiation of member function 'Singleton::getInstance' requested here 59 | return Singleton::getInstance()->create(id); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here 77 | Singleton::getInstance()->free(p); | ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here 139 | class Resource : public Ref > { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here 77 | Singleton::getInstance()->free(p); | ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here 139 | class Resource : public Ref > { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here 77 | Singleton::getInstance()->free(p); | ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here 139 | class Resource : public Ref > { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:77:19: note: in instantiation of member function 'Singleton::getInstance' requested here 77 | Singleton::getInstance()->free(p); | ^ ./resourcemanager.h:139:51: note: in instantiation of function template specialization 'FreeResource' requested here 139 | class Resource : public Ref > { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from cworld.cpp:20: In file included from ./cworld.h:26: In file included from ./simulation.h:24: 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] 64 | if (!&*i) i=Ref(new T()); | ~ ^~ ./resourcemanager.h:171:55: note: in instantiation of member function 'Singleton >::getInstance' requested here 171 | ResourceList * rl=Singleton >::getInstance(); | ^ ./gamebody.h:32:7: note: in instantiation of member function 'Resource::~Resource' requested here 32 | class GameBody : public Graphic, public PhysicBody { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ 9 warnings and 3 errors generated. *** [spacejunk-cworld.o] Error code 1 make[2]: stopped making "all" in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5/src --- spacejunk-graphic.o --- 18 warnings generated. mv -f .deps/spacejunk-graphic.Tpo .deps/spacejunk-graphic.Po make[2]: 2 errors make[2]: stopped making "all" in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5/src make[1]: stopped making "all-recursive" in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 make: stopped making "all" in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped making "build" in /usr/ports/games/spacejunk