From nobody Tue Nov 12 22:07:04 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 4Xp0rS3wXtz5ch3T for ; Tue, 12 Nov 2024 22:07:04 +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 4Xp0rS18HZz4RvN for ; Tue, 12 Nov 2024 22:07:04 +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=1731449224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=5EQAgUBnwD6CaeLYUrD8pLCUXW8RRbZF21qgQol9ADA=; b=rlPlNAKs97IYr3daxlyj27L6rSnJRaz+5E1UND945TMJ8j5U95s8E/OklyvrLOu3BkbEZU hcNAomt2u2p4S9ZhCgOa0SGfIEBKF2RDHFi624n6eXTsg2/RIrOv8+83fV4thOifuDkKEC EoOqI9t8Z9YpagbEg1Q/FOky9XNUPxqlNhqZmSPF1m3aTLcMCvuWRQ+rYt6XMiaLGkaQRp pMnz7t4KIaMwXHI6tIo3ZF43V7XbPMX9MGo2c3H1jfVMsXdA+S9sHTI67Mn5UPUGppxY1e cCIjp4kDdW9QLexZBu1bjFlnXK4JIIvbxYH+dtLmBsMNOz5kNklkAyd/ZN+Nfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731449224; a=rsa-sha256; cv=none; b=TP1pk/mmZhxAmKhzUInlwKb+XVJmfXllFyqjbVDhw0lJrYOnZLsMGPdAC6Esrqx6VL+xjJ aMpVJ6G12YXK/+WatyBJBpYUXDrsX9x25X26hBbgdetQeQDIakndv+fbKGkxRPbbnSvXrl blZIyAIcc1Kenk8uzS66PIFwJjHF3iJGXhXeCLJ4+SgKpcSW4JitnidRMVObRvoWQ3C++z yluaKoBBTDh4ZvY6jQDyMazNGwF/BFJSCvzcLJRYokMaJoIyk9B+wXmTMK+3AauwFNWNIy RNEQAf/F1BGJ2psaC0SblF4x9srvk1uLD19e9HZQ2SXt9JxjWqdZLFUFEbDprg== 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 4Xp0rS0YnMzSGD for ; Tue, 12 Nov 2024 22:07:04 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 7856 by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Tue, 12 Nov 2024 22:07:04 +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: Tue, 12 Nov 2024 22:07:04 +0000 Message-Id: <6733d188.7856.2157e748@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/pea7acb655568_s65a4daeaf32/logs/spacejunk-1.0.5_3.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pea7acb655568_s65a4daeaf32 Log: =>> Building games/spacejunk build started at Tue Nov 12 22:05:55 UTC 2024 port directory: /usr/ports/games/spacejunk package name: spacejunk-1.0.5_3 building for: FreeBSD main-amd64-default-job-04 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: ea7acb65556 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: 04 !!! 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/04/.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-04] Installing pkg-1.21.3... [main-amd64-default-job-04] 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-04] Installing sdl-1.2.15_17,2... [main-amd64-default-job-04] `-- Installing aalib-1.4.r5_14... 76 | PointedType & operator *() const { | ^ In file included from graphic.cpp:20: 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 graphic.cpp:20: 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 graphic.cpp:20: 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 { | ^ --- 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: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 { | ^ --- spacejunk-graphic.o --- In file included from graphic.cpp:20: 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 { | ^ --- 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: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 { | ^ --- spacejunk-graphic.o --- In file included from graphic.cpp:20: 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(); | ^ graphic.cpp:196:14: note: in instantiation of member function 'Resource::~Resource' requested here 196 | RMPALETTERef pal; | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ --- spacejunk-cworld.o --- 9 warnings and 3 errors generated. --- spacejunk-graphic.o --- 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:201:13: note: in instantiation of member function 'Resource::Resource' requested here 201 | pal=RMPALETTERef(id); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ --- spacejunk-cworld.o --- *** [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 --- In file included from graphic.cpp:20: 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(); | ^ graphic.cpp:250:10: note: in instantiation of member function 'Resource::~Resource' requested here 250 | Graphic::Graphic() : cache(NULL),images(Ref(),0),bmp() { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from graphic.cpp:20: 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(); | ^ graphic.cpp:250:10: note: in instantiation of member function 'Resource::~Resource' requested here 250 | Graphic::Graphic() : cache(NULL),images(Ref(),0),bmp() { | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ 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:308:13: note: in instantiation of member function 'Resource::Resource' requested here 308 | rot=RMROTRef(id); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ In file included from graphic.cpp:20: 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.cpp:774:44: note: in instantiation of member function 'Singleton::getInstance' requested here 774 | P1(Singleton::getInstance()->parse,&imagepath); | ^ ./reference.h:76:19: note: 'operator*' returns a reference 76 | PointedType & operator *() const { | ^ 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 { | ^ 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