>>> Building on octeon-2 under games/goldberg_emulator BDEPENDS = [devel/protobuf;devel/gmake] DIST = [games/goldberg_emulator:goldberg_emulator-0.2.5pl3.tar.gz] FULLPKGNAME = goldberg_emulator-0.2.5pl3p0 RDEPENDS = [devel/protobuf] (Junk lock failure for octeon-2 at 1728781997.61611) Received IO (Junk lock obtained for octeon-2 at 1728782011.85) Received IO Woken up games/goldberg_emulator >>> Running depends in games/goldberg_emulator at 1728782017.21 last junk was in games/angband,sdl /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 protobuf-5.27.5 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 protobuf-5.27.5 /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 protobuf-5.27.5 >>> Running show-prepare-results in games/goldberg_emulator at 1728782043.37 ===> games/goldberg_emulator ===> Building from scratch goldberg_emulator-0.2.5pl3p0 ===> goldberg_emulator-0.2.5pl3p0 depends on: gmake-* -> gmake-4.4.1 ===> goldberg_emulator-0.2.5pl3p0 depends on: protobuf-* -> protobuf-5.27.5 ===> Verifying specs: c++ c++abi pthread m protobuf-lite ===> found c++.10.0 c++abi.7.0 pthread.27.1 m.10.1 protobuf-lite.23.0 gmake-4.4.1 protobuf-5.27.5 (Junk lock released for octeon-2 at 1728782047.37) distfiles size=2260829 >>> Running patch in games/goldberg_emulator at 1728782047.44 ===> games/goldberg_emulator ===> Checking files for goldberg_emulator-0.2.5pl3p0 `/ports/distfiles/goldberg_emulator-0.2.5pl3.tar.gz' is up to date. >> (SHA256) goldberg_emulator-0.2.5pl3.tar.gz: OK ===> Extracting for goldberg_emulator-0.2.5pl3p0 ===> Patching for goldberg_emulator-0.2.5pl3p0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't link libdl |look in LOCALBASE for libs and headers |remove -Ofast |honor CXXFLAGS |don't hardcode clang++ | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 21. done ===> Applying OpenBSD patch patch-dll_base_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |use getwd(3), realpath(3) |return "." for get_lib_path | |Index: dll/base.cpp |--- dll/base.cpp.orig |+++ dll/base.cpp -------------------------- Patching file dll/base.cpp using Plan A... Hunk #1 succeeded at 201. Hunk #2 succeeded at 241. Hunk #3 succeeded at 266. done ===> Applying OpenBSD patch patch-dll_common_includes_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |add OpenBSD includes | |Index: dll/common_includes.h |--- dll/common_includes.h.orig |+++ dll/common_includes.h -------------------------- Patching file dll/common_includes.h using Plan A... Hunk #1 succeeded at 104. Hunk #2 succeeded at 118. Hunk #3 succeeded at 209. done ===> Applying OpenBSD patch patch-dll_network_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |enable get_broadcast_info for OpenBSD | |Index: dll/network.cpp |--- dll/network.cpp.orig |+++ dll/network.cpp -------------------------- Patching file dll/network.cpp using Plan A... Hunk #1 succeeded at 122. done ===> Applying OpenBSD patch patch-dll_wrap_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |work around *64 function names linuxisms |use OpenBSD's mount(2) syntax (need to drop const for *data) |__xstat{,64} => stat(2) |__xlstat{,64} => lstat(2) |__xmknod => mknod(2) |dlmopen => dlopen(3) | |Index: dll/wrap.cpp |--- dll/wrap.cpp.orig |+++ dll/wrap.cpp -------------------------- Patching file dll/wrap.cpp using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 298. Hunk #3 succeeded at 313. Hunk #4 succeeded at 355. Hunk #5 succeeded at 385. Hunk #6 succeeded at 456. Hunk #7 succeeded at 565. done ===> Applying OpenBSD patch patch-sdk_includes_steam_gameserver_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |remove duplicate function definition with only different return type | |Index: sdk_includes/steam_gameserver.h |--- sdk_includes/steam_gameserver.h.orig |+++ sdk_includes/steam_gameserver.h -------------------------- Patching file sdk_includes/steam_gameserver.h using Plan A... Hunk #1 succeeded at 63. done ===> Applying OpenBSD patch patch-sdk_includes_steamclientpublic_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix error on 32bit arches with size of ValvePackingSentinel_t | |Index: sdk_includes/steamclientpublic.h |--- sdk_includes/steamclientpublic.h.orig |+++ sdk_includes/steamclientpublic.h -------------------------- Patching file sdk_includes/steamclientpublic.h using Plan A... Hunk #1 succeeded at 1531. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in games/goldberg_emulator at 1728782051.29 ===> games/goldberg_emulator ===> Generating configure for goldberg_emulator-0.2.5pl3p0 /usr/bin/perl /ports/infrastructure/bin/pkg_subst -DCXXFLAGS=-O2\ -pipe\ \ -std=c++17\ -DLIBsteam_api_VERSION=3.0 -DARCH=octeon -DBASE_PKGPATH=games/goldberg_emulator -DFLAVOR_EXT= -DFULLPKGNAME=goldberg_emulator-0.2.5pl3p0 -DHOMEPAGE=https://gitlab.com/Mr_Goldberg/goldberg_emulator -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=mips64 -DMAINTAINER=Thomas\ Frohwein\ \ -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=goldberg_emulator -i -B /pobj/goldberg_emulator-0.2.5pl3 /pobj/goldberg_emulator-0.2.5pl3/goldberg_emulator-475342f0d8b2bd7eb0d93bd7cfdd61e3ae7cda24/Makefile ===> Configuring for goldberg_emulator-0.2.5pl3p0 >>> Running build in games/goldberg_emulator at 1728782053.10 ===> games/goldberg_emulator ===> Building for goldberg_emulator-0.2.5pl3p0 protoc -I./dll/ --cpp_out=./dll/ ./dll/*.proto c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/base.o dll/base.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/dll.o dll/dll.cpp In file included from dll/dll.cpp:19: In file included from dll/dll.h:18: In file included from dll/steam_client.h:20: In file included from dll/steam_friends.h:22: dll/../overlay_experimental/steam_overlay.h:218:31: warning: non-void function does not return a value [-Wreturn-type] bool ShowOverlay() const {} ^ dll/../overlay_experimental/steam_overlay.h:220:40: warning: non-void function does not return a value [-Wreturn-type] bool OpenOverlayHook(bool toggle) {} ^ In file included from dll/dll.cpp:19: In file included from dll/dll.h:18: In file included from dll/steam_client.h:43: dll/steam_networking_utils.h:599:13: warning: 5 enumeration values not handled in switch: 'k_ESteamNetworkingIdentityType_Invalid', 'k_ESteamNetworkingIdentityType_XboxPairwiseID', 'k_ESteamNetworkingIdentityType_SonyPSN'... [-Wswitch] switch (identity.m_eType) ^~~~~~~~~~~~~~~~ 3 warnings generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/flat.o dll/flat.cpp In file included from dll/flat.cpp:20: In file included from dll/dll.h:18: In file included from dll/steam_client.h:20: In file included from dll/steam_friends.h:22: dll/../overlay_experimental/steam_overlay.h:218:31: warning: non-void function does not return a value [-Wreturn-type] bool ShowOverlay() const {} ^ dll/../overlay_experimental/steam_overlay.h:220:40: warning: non-void function does not return a value [-Wreturn-type] bool OpenOverlayHook(bool toggle) {} ^ In file included from dll/flat.cpp:20: In file included from dll/dll.h:18: In file included from dll/steam_client.h:43: dll/steam_networking_utils.h:599:13: warning: 5 enumeration values not handled in switch: 'k_ESteamNetworkingIdentityType_Invalid', 'k_ESteamNetworkingIdentityType_XboxPairwiseID', 'k_ESteamNetworkingIdentityType_SonyPSN'... [-Wswitch] switch (identity.m_eType) ^~~~~~~~~~~~~~~~ dll/flat.cpp:6664:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] return (void *)((ISteamGameServer012 *)instancePtr)->GetPublicIP_old(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/local_storage.o dll/local_storage.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/network.o dll/network.cpp dll/network.cpp:589:17: warning: enumeration values 'Low_Level_Types_Low_Level_Types_INT_MIN_SENTINEL_DO_NOT_USE_', 'Low_Level_Types_CONNECT', and 'Low_Level_Types_Low_Level_Types_INT_MAX_SENTINEL_DO_NOT_USE_' not handled in switch [-Wswitch] switch (msg->low_level().type()) { ^~~~~~~~~~~~~~~~~~~~~~~ dll/network.cpp:743:13: warning: enumeration values 'Low_Level_Types_Low_Level_Types_INT_MIN_SENTINEL_DO_NOT_USE_', 'Low_Level_Types_CONNECT', and 'Low_Level_Types_Low_Level_Types_INT_MAX_SENTINEL_DO_NOT_USE_' not handled in switch [-Wswitch] switch (msg->low_level().type()) { ^~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/settings.o dll/settings.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/settings_parser.o dll/settings_parser.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_applist.o dll/steam_applist.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_apps.o dll/steam_apps.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_client.o dll/steam_client.cpp In file included from dll/steam_client.cpp:18: In file included from dll/steam_client.h:20: In file included from dll/steam_friends.h:22: dll/../overlay_experimental/steam_overlay.h:218:31: warning: non-void function does not return a value [-Wreturn-type] bool ShowOverlay() const {} ^ dll/../overlay_experimental/steam_overlay.h:220:40: warning: non-void function does not return a value [-Wreturn-type] bool OpenOverlayHook(bool toggle) {} ^ In file included from dll/steam_client.cpp:18: In file included from dll/steam_client.h:43: dll/steam_networking_utils.h:599:13: warning: 5 enumeration values not handled in switch: 'k_ESteamNetworkingIdentityType_Invalid', 'k_ESteamNetworkingIdentityType_XboxPairwiseID', 'k_ESteamNetworkingIdentityType_SonyPSN'... [-Wswitch] switch (identity.m_eType) ^~~~~~~~~~~~~~~~ 3 warnings generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_gameserver.o dll/steam_gameserver.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_gameserverstats.o dll/steam_gameserverstats.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_http.o dll/steam_http.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_matchmaking_servers.o dll/steam_matchmaking_servers.cpp dll/steam_matchmaking_servers.cpp:60:40: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] requests[requests.size() - 1].id = (void *)server_list_request; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_music.o dll/steam_music.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_musicremote.o dll/steam_musicremote.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_parental.o dll/steam_parental.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_screenshots.o dll/steam_screenshots.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/steam_video.o dll/steam_video.cpp c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/wrap.o dll/wrap.cpp In file included from dll/wrap.cpp:37: In file included from dll/dll.h:18: In file included from dll/steam_client.h:20: In file included from dll/steam_friends.h:22: dll/../overlay_experimental/steam_overlay.h:218:31: warning: non-void function does not return a value [-Wreturn-type] bool ShowOverlay() const {} ^ dll/../overlay_experimental/steam_overlay.h:220:40: warning: non-void function does not return a value [-Wreturn-type] bool OpenOverlayHook(bool toggle) {} ^ In file included from dll/wrap.cpp:37: In file included from dll/dll.h:18: In file included from dll/steam_client.h:43: dll/steam_networking_utils.h:599:13: warning: 5 enumeration values not handled in switch: 'k_ESteamNetworkingIdentityType_Invalid', 'k_ESteamNetworkingIdentityType_XboxPairwiseID', 'k_ESteamNetworkingIdentityType_SonyPSN'... [-Wswitch] switch (identity.m_eType) ^~~~~~~~~~~~~~~~ 3 warnings generated. c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -c -o dll/net.pb.o dll/net.pb.cc c++ -O2 -pipe -std=c++17 -fPIC -I/usr/local/include -DNDEBUG -DEMU_RELEASE_BUILD -o libsteam_api.so dll/base.o dll/dll.o dll/flat.o dll/local_storage.o dll/network.o dll/settings.o dll/settings_parser.o dll/steam_applist.o dll/steam_apps.o dll/steam_client.o dll/steam_gameserver.o dll/steam_gameserverstats.o dll/steam_http.o dll/steam_matchmaking_servers.o dll/steam_music.o dll/steam_musicremote.o dll/steam_parental.o dll/steam_screenshots.o dll/steam_video.o dll/wrap.o dll/net.pb.o -shared -L/usr/local/lib -lprotobuf-lite -lpthread dll/steam_client.o: In function `Steam_Client::Steam_Client()': steam_client.cpp:(.text+0x120): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x16c): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x194): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x1bc): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x1e0): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x204): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x26c): relocation truncated to fit: R_MIPS_CALL16 against `set_env_variable(std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >)' steam_client.cpp:(.text+0x2d8): relocation truncated to fit: R_MIPS_CALL16 against `set_env_variable(std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >)' steam_client.cpp:(.text+0x2fc): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x30c): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' steam_client.cpp:(.text+0x330): additional relocation overflows omitted from the output /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:47: libsteam_api.so] Error 1 *** Error 2 in games/goldberg_emulator (/ports/infrastructure/mk/bsd.port.mk:3067 '/pobj/goldberg_emulator-0.2.5pl3/.build_done': @cd /pobj/...) *** Error 2 in games/goldberg_emulator (/ports/infrastructure/mk/bsd.port.mk:2710 'build': @lock=goldberg_emulator-0.2.5pl3p0; export _LOCK...) ===> Exiting games/goldberg_emulator with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1728784888.38 max_stuck=395.72/waiting-for-lock #2=19.59/depends=26.15/show-prepare-results=4.07/patch=3.85/configure=1.81/build=2835.32 Error: job failed with 512 on octeon-2 at 1728784888