From nobody Fri Nov 15 11:43:47 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 4XqZsw06kSz5d2mX for ; Fri, 15 Nov 2024 11:43:47 +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 4XqZsv3ClGz4g3k for ; Fri, 15 Nov 2024 11:43:47 +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=1731671027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=TPaRY7XFXwo6pZHaXYJpKCF1BnG/jbFwuj3J9E374tM=; b=LYh+MQ6TFamLc9+4C8TN5n9Gu7dBC/oF8OjJATp7zX18cBktNbJPPJiSUuz9bKu99o+miZ 97J1diSgd8YIc5DU6m8CPPvCdmW1Nicr8wDV/32KPS+XawTgTVxdFrD9x8+V1HT6idteQM KpmV/ZztQ2QMk2yA2JNdedtk4PCbAnMwjujubwLxK3GVDlG7B+SejeZNei2Dfx9J0BjQQi UOTXpPbBIxsscsn86Ysznv98D1beHU3quLwwlPUEpuh8vladLABMQSTbzC5kw7ijIkkisg LKbq9GJfiA3sBjOam+Lw6of6q9djADTusZAupha6LUjQF5argSbi7xB5tT2nKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731671027; a=rsa-sha256; cv=none; b=uEiBZRBCmdl7hZbm6O/HYFxwfXeMMKOGOM5VzMzTSa5YSNCjKPMbHTkT1V+d21cmjPCCun z4Baugt8ERi3Jb/lqZsBtbX+ZrQF8HTsHkVHntSAUk6R78S/rvbaM3n4rs/eDnl8LPs2WR slsiWq3W4P0hYXQm7bQI2+r92r4TdQIvOVeuJrV7gNnkhyMS2+QG26qZ8H9R/VSi1t5Itj 9yge16N1JTKOgtROa/0S2PN5rxii7AJfdj/79jEF7RUJ3/FujiX8AXDVJmDoVyQbQMEEk0 tnCjs/0Y6wdUI7+McBmGSJQpe4hYviwcIadLCg6gvG3WAdqlMkSkoWM1B4VwRg== Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4XqZsv2h6xzLKq for ; Fri, 15 Nov 2024 11:43:47 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 85cf by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Fri, 15 Nov 2024 11:43:47 +0000 To: amdmi3@FreeBSD.org Subject: [package - main-amd64-default][games/spacejunk] Failed for spacejunk-1.0.5_3 in build Cc: pkg-fallout@FreeBSD.org Date: Fri, 15 Nov 2024 11:43:47 +0000 Message-Id: <673733f3.85cf.3fefe313@beefy18.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/beefy18/data/main-amd64-default/pdfee61567d9e_s36887e04947/logs/spacejunk-1.0.5_3.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pdfee61567d9e_s36887e04947 Log: =>> Building games/spacejunk build started at Fri Nov 15 11:42:43 UTC 2024 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD main-amd64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1526 Jan 2 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: 10 !!! 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 OSVERSION=1500026 UNAME_v=FreeBSD 15.0-CURRENT 1500026 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-amd64-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-amd64-default/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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-- ulimit: can't get limit: Invalid argument 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) 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-amd64-default-job-10] Installing pkg-1.21.3... [main-amd64-default-job-10] 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 =========================================================================== =================================================== ===== 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-amd64-default-job-10] Installing sdl-1.2.15_17,2... [main-amd64-default-job-10] `-- Installing aalib-1.4.r5_14... 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) { | ^ --- 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