From nobody Fri Nov 15 06:33:10 2024 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 4XqRzV4Gkyz5cj0s for ; Fri, 15 Nov 2024 06:33:10 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqRzV27mQz41sB for ; Fri, 15 Nov 2024 06:33:10 +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=1731652390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=WrLeFGg9wJg2QWgNHMN/HNzS/U6k4PlW+/s4ZeMOeu8=; b=lbZt7AUXVps+sWJjS+wn1wboH2QUa6dby+jqZr2w/wx0AewZZw/6fZgijkyrhHJp6YObjL TozEyZFQl0vjcQ3laYaQXcrAc31SKgIA+ZfFtvgorvQS6OZTTTp2u8hvqCPGU9MV+bAKvZ rlZNH07cnWLCe+tjJ0FtoS/DMIFbGfL+7xFRIsrSyKcvNn/rzCbsxG74ydrLXNb11C842A ZfK7oHUFnp5ZhQ+eR4jfohq6407AWQOtHPPTG2a8Q/gMxB+oopI0UzmA93GdMr9l7EfmgG rtSQKGIOn7vb/puuhevnTlFpbMrz3SDReTl9TqGrhidMDrI8IqS+DiPezAMkIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731652390; a=rsa-sha256; cv=none; b=b3MmPmpyvJE9+wF4I1BLDzHy4CiKDsXD9kgVSfC3dIHlPZH0rKvbeFNPKBOsyxKIJOLiLs XZl0veFPbqTkoapYFi39dillD1GSp5tsMoaapR1anBYrZLNg8fkZNNH2QM38swTvvroa0s MI2u9dUGJlZJI/tvl1g5XFNtK0zIrEvh+438Fq8ADsVrXF5Im6chXJDESdxsf80ToTYd82 AMv4NoTMWZhRj9A7YI5h2ZbR6Pi9mkJgK0npFaDVSZj1wmHYKsyugbLY5i6e14wajkx6ja tzvjBi5IGq4x+/Fe+/i96evtI+BkgBzWx85rn/Kkz6R3tpV+ZhexUh9mtWi5MA== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4XqRzV1lGyz1Bhg for ; Fri, 15 Nov 2024 06:33:10 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 2a48 by beefy17.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy17.nyi.freebsd.org); Fri, 15 Nov 2024 06:33:10 +0000 To: amdmi3@FreeBSD.org Subject: [package - main-i386-default][games/spacejunk] Failed for spacejunk-1.0.5_3 in build Cc: pkg-fallout@FreeBSD.org Date: Fri, 15 Nov 2024 06:33:10 +0000 Message-Id: <6736eb26.2a48.269d5089@beefy17.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/beefy17/data/main-i386-default/pdfee61567d9e_s36887e04947/logs/spacejunk-1.0.5_3.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pdfee61567d9e_s36887e04947 Log: =>> Building games/spacejunk build started at Fri Nov 15 06:31:55 UTC 2024 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD main-i386-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 i386 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1526 Jan 4 2024 /usr/ports/games/spacejunk/Makefile Ports top last git commit: dfee61567d9 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: 1500023 Jail OSVERSION: 1500026 Job Id: 07 !!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1500026 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=15.0-CURRENT LOCALBASE=/usr/local UNAME_v=FreeBSD 15.0-CURRENT 1500026 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-i386-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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### #### # 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-- ulimit: can't get limit: Invalid argument 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 --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-1.21.3.pkg [main-i386-default-job-07] Installing pkg-1.21.3... [main-i386-default-job-07] Extracting pkg-1.21.3: .......... 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 =========================================================================== =================================================== spacejunk.cpp:96:5: note: in instantiation of function template specialization 'FreeLoader' requested here 96 | FreeLoader(); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ 22 warnings and 3 errors generated. *** [spacejunk-spacejunk.o] Error code 1 make[2]: stopped making "all" in /wrkdirs/usr/ports/games/spacejunk/work/spacejunk-1.0.5/src --- 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) { | ^ --- spacejunk-graphic.o --- 18 warnings generated. mv -f .deps/spacejunk-graphic.Tpo .deps/spacejunk-graphic.Po --- spacejunk-cworld.o --- 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 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