>>> Building on localhost under databases/postgresql-pllua BDEPENDS = [databases/postgresql,-server;databases/postgresql,-main;lang/lua/5.3;devel/gmake] DIST = [databases/postgresql-pllua:pllua-REL_2_0_12.tar.gz] FULLPKGNAME = postgresql-pllua-2.0.12p0 RDEPENDS = [databases/postgresql,-server;lang/lua/5.3] (Junk lock obtained for localhost at 1732517917.22) >>> Running depends in databases/postgresql-pllua at 1732517917.27 last junk was in devel/guilib /usr/sbin/pkg_add -aI -Drepair lua-5.3.6 postgresql-client-17.2 postgresql-server-17.2 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 lua-5.3.6 postgresql-client-17.2 postgresql-server-17.2 /usr/sbin/pkg_add -aI -Drepair lua-5.3.6 postgresql-client-17.2 postgresql-server-17.2 The following new rcscripts were installed: /etc/rc.d/postgresql See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/postgresql-server >>> Running show-prepare-results in databases/postgresql-pllua at 1732517959.21 ===> databases/postgresql-pllua ===> Building from scratch postgresql-pllua-2.0.12p0 ===> postgresql-pllua-2.0.12p0 depends on: postgresql-server->=17,<18 -> postgresql-server-17.2 ===> postgresql-pllua-2.0.12p0 depends on: lua->=5.3,<5.4 -> lua-5.3.6 ===> postgresql-pllua-2.0.12p0 depends on: postgresql-client->=17,<18 -> postgresql-client-17.2 ===> postgresql-pllua-2.0.12p0 depends on: gmake-* -> gmake-4.4.1 ===> Verifying specs: c lua5.3 ===> found c.100.3 lua5.3.5.3 gmake-4.4.1 lua-5.3.6 postgresql-client-17.2 postgresql-server-17.2 (Junk lock released for localhost at 1732517969.78) distfiles size=222446 >>> Running build in databases/postgresql-pllua at 1732517969.83 ===> databases/postgresql-pllua ===> Checking files for postgresql-pllua-2.0.12p0 `/ports/distfiles/pllua-REL_2_0_12.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for postgresql-pllua-2.0.12p0 ===> Patching for postgresql-pllua-2.0.12p0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 42. 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++ ===> Generating configure for postgresql-pllua-2.0.12p0 ===> Configuring for postgresql-pllua-2.0.12p0 /usr/bin/perl /ports/infrastructure/bin/pkg_subst -DMODLUA_INCL_DIR=/usr/local/include/lua-5.3/ -DMODLUA_WANTLIB=lua5.3 -DMODLUA_BIN=/usr/local/bin/lua53 -DLLD_EMUL= -DMODLUA_VERSION=5.3 -DMODLUA_LIB=-llua5.3 -DMODLUA_INCL_DIR=/usr/local/include/lua-5.3/ -DMODLUA_EXAMPLEDIR=/usr/local/share/examples/postgresql-pllua-2.0.12p0/ -DMODLUA_DOCDIR=/usr/local/share/doc/postgresql-pllua-2.0.12p0/ -DMODLUA_LIBDIR=/usr/local/lib/lua/5.3/ -DMODLUA_DATADIR=/usr/local/share/lua/5.3/ -DMODLUA_DEP=lua53 -DMODLUA_DEP_VERSION=53 -DMODLUA_BIN=/usr/local/bin/lua53 -DARCH=octeon -DBASE_PKGPATH=databases/postgresql-pllua -DFLAVOR_EXT= -DFULLPKGNAME=postgresql-pllua-2.0.12p0 -DHOMEPAGE=https://github.com/pllua/pllua -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=mips64 -DMAINTAINER=Jeremy\ Evans\ \ -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=postgresql-pllua -i -B /pobj/postgresql-pllua-2.0.12 /pobj/postgresql-pllua-2.0.12/pllua-REL_2_0_12/Makefile ===> Building for postgresql-pllua-2.0.12p0 cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/compile.o src/compile.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/datum.o src/datum.c src/datum.c:5222:7: warning: variable 'arity' set but not used [-Wunused-but-set-variable] int arity = 0; ^ 1 warning generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/elog.o src/elog.c lua53 .//tools/errcodes.lua /usr/local/share/postgresql/errcodes.txt >plerrcodes.h cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/error.o src/error.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/exec.o src/exec.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/globals.o src/globals.c lua53 .//tools/functable.lua .//src/compile.c .//src/datum.c .//src/elog.c .//src/error.c .//src/exec.c .//src/globals.c .//src/init.c .//src/jsonb.c .//src/numeric.c .//src/objects.c .//src/paths.c .//src/pllua.c .//src/preload.c .//src/spi.c .//src/time.c .//src/trigger.c .//src/trusted.c >pllua_functable.h cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/init.o src/init.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/jsonb.o src/jsonb.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/numeric.o src/numeric.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/objects.o src/objects.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/paths.o src/paths.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/pllua.o src/pllua.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/preload.o src/preload.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/spi.o src/spi.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/time.o src/time.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/trigger.o src/trigger.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -I/usr/local/include/lua-5.3/ -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o src/trusted.o src/trusted.c luac53 -o src/compat.luac src/compat.lua ld -r -b binary -o src/compat.o src/compat.luac objcopy --rename-section .data=.rodata,contents,alloc,load,readonly src/compat.o cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -O2 -pipe -fPIC -DPIC -fvisibility=hidden -shared -o pllua.so src/compile.o src/datum.o src/elog.o src/error.o src/exec.o src/globals.o src/init.o src/jsonb.o src/numeric.o src/objects.o src/paths.o src/pllua.o src/preload.o src/spi.o src/time.o src/trigger.o src/trusted.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -fvisibility=hidden src/compat.o -L/usr/local/lib -llua5.3 -lc /usr/bin/ld: src/compat.o: warning: linking PIC files with non-PIC files /usr/bin/ld: src/compat.o: linking 32-bit code with 64-bit code /usr/bin/ld: failed to merge target specific data of file src/compat.o cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:261: pllua.so] Error 1 *** Error 2 in databases/postgresql-pllua (/ports/infrastructure/mk/bsd.port.mk:3069 '/pobj/postgresql-pllua-2.0.12/.build_done': @cd /pobj/...) *** Error 2 in databases/postgresql-pllua (/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=postgresql-pllua-2.0.12p0; export _LOCK...) ===> Exiting databases/postgresql-pllua 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 1732518076.81 max_stuck=33.49/depends=41.94/show-prepare-results=10.62/build=107.02 Error: job failed with 512 on localhost at 1732518076