On 2026/11/06 01:13, Nam Nguyen wrote:
> On Wed, Nov 04, 2026, at 03:27 p.m. +0000, sthen wrote:
> 
> > does anyone fancy taking a look?  full log inline.
> 
> I cannot reproduce this on i386 running in vmd both with and without
> lua-5.5.1 installed.

I doubt it's i386-specific, more likely related to dpb junking (e.g.
maybe some version of lua was partially picked up during the build and
it failed when junking occurred).

here's a log diff between a good build and this broken one, though
it doesn't really give any clues



--- e   Fri Nov  6 10:42:57 2026
+++ enigma.log  Wed Nov  4 15:26:18 2026
@@ -1,15 +1,15 @@
->>> Building on i386-2 under games/enigma
-       BDEPENDS = 
[devel/gettext,-runtime;graphics/ImageMagick;net/curl;devel/gmake;devel/sdl2-image;converters/libiconv;graphics/png;devel/sdl2-mixer;net/enet;textproc/xerces-c;devel/sdl2-ttf]
+>>> Building on i386-3 under games/enigma
+       BDEPENDS = 
[converters/libiconv;devel/sdl2-ttf;devel/gettext,-runtime;devel/sdl2-mixer;net/enet;net/curl;devel/gmake;devel/sdl2-image;graphics/ImageMagick;textproc/xerces-c;graphics/png]
        DIST = [games/enigma:Enigma-1.30-src.tar.gz]
        FULLPKGNAME = enigma-1.30p1
-       RDEPENDS = 
[x11/gtk+4,-guic;devel/sdl2-image;devel/sdl2-mixer;graphics/png;converters/libiconv;textproc/xerces-c;devel/sdl2-ttf;net/enet;devel/desktop-file-utils;devel/gettext,-runtime;net/curl]
-(Junk lock obtained for i386-2 at 1793902398.42)
->>> Running depends in games/enigma at 1793902398.45
-   last junk was in sysutils/py-vmomi
-/usr/sbin/pkg_add -aI -Drepair ImageMagick-6.9.13.60 enet-1.3.18 png-1.6.59 
sdl2-image-2.8.12 sdl2-mixer-2.8.2 sdl2-ttf-2.24.0 xerces-c-3.3.0
+       RDEPENDS = 
[devel/desktop-file-utils;converters/libiconv;devel/gettext,-runtime;devel/sdl2-ttf;x11/gtk+4,-guic;graphics/png;textproc/xerces-c;net/enet;net/curl;devel/sdl2-image;devel/sdl2-mixer]
+(Junk lock obtained for i386-3 at 1793800594.24)
+>>> Running depends in games/enigma at 1793800594.27
+   last junk was in games/irrlamb
+/usr/sbin/pkg_add -aI -Drepair ImageMagick-6.9.13.60 curl-8.23.0 enet-1.3.18 
gettext-runtime-1.0 libiconv-1.19 sdl2-image-2.8.12 sdl2-mixer-2.8.2 
sdl2-ttf-2.24.0 xerces-c-3.3.0
 was: /usr/sbin/pkg_add -aI -Drepair ImageMagick-6.9.13.60 curl-8.23.0 
enet-1.3.18 gettext-runtime-1.0 gmake-4.4.1p0 libiconv-1.19 png-1.6.59 
sdl2-image-2.8.12 sdl2-mixer-2.8.2 sdl2-ttf-2.24.0 xerces-c-3.3.0
-/usr/sbin/pkg_add -aI -Drepair ImageMagick-6.9.13.60 enet-1.3.18 png-1.6.59 
sdl2-image-2.8.12 sdl2-mixer-2.8.2 sdl2-ttf-2.24.0 xerces-c-3.3.0
->>> Running show-prepare-results in games/enigma at 1793902414.47
+/usr/sbin/pkg_add -aI -Drepair ImageMagick-6.9.13.60 curl-8.23.0 enet-1.3.18 
gettext-runtime-1.0 libiconv-1.19 sdl2-image-2.8.12 sdl2-mixer-2.8.2 
sdl2-ttf-2.24.0 xerces-c-3.3.0
+>>> Running show-prepare-results in games/enigma at 1793800603.18
 ===> games/enigma
 ===> Building from scratch enigma-1.30p1
 ===> enigma-1.30p1 depends on: ImageMagick-* -> ImageMagick-6.9.13.60
@@ -36,11 +36,12 @@ sdl2-image-2.8.12
 sdl2-mixer-2.8.2
 sdl2-ttf-2.24.0
 xerces-c-3.3.0
-(Junk lock released for i386-2 at 1793902417.04)
+(Junk lock released for i386-3 at 1793800605.16)
 distfiles size=43653520
->>> Running patch in games/enigma at 1793902417.07
+>>> Running patch in games/enigma at 1793800605.19
 ===> games/enigma
 ===>  Checking files for enigma-1.30p1
+`/mnt/distfiles/Enigma-1.30-src.tar.gz' is up to date.
 >> (SHA256) all files: OK
 ===>  Extracting for enigma-1.30p1
 ===>  Patching for enigma-1.30p1
@@ -59,7 +60,7 @@ done
 ===>  Compiler link: clang++ -> /usr/bin/clang++
 ===>  Compiler link: cc -> /usr/bin/cc
 ===>  Compiler link: c++ -> /usr/bin/c++
->>> Running configure in games/enigma at 1793902419.00
+>>> Running configure in games/enigma at 1793800607.05
 ===> games/enigma
 ===>  Generating configure for enigma-1.30p1
 ===>  Configuring for enigma-1.30p1
@@ -188,7 +189,8 @@ checking for iconv declaration... 
          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft);
 checking for nl_langinfo and CODESET... yes
 checking for LC_MESSAGES... yes
-checking for bison... no
+checking for bison... bison
+checking version of bison... 3.8.2, ok
 checking whether NLS is requested... yes
 checking whether included gettext is requested... no
 checking for GNU gettext in libc... no
@@ -213,8 +215,8 @@ checking how to run the C preprocessor... cc -E
 checking for ranlib... (cached) ranlib
 checking for pkg-config... /usr/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
-checking for texi2html... no
-checking for pdflatex... no
+checking for texi2html... /usr/local/bin/texi2html
+checking for pdflatex... /usr/local/bin/pdflatex
 checking for convert... /usr/local/bin/convert
 checking for dirent.h... (cached) yes
 checking for library containing dlopen... none required
@@ -234,8 +236,8 @@ checking whether to profile the game... no
 checking whether to build lua using c++... yes
 checking whether to enable warnings... no
 checking whether to use system enet... ./configure[12082]: LIBENET_CFLAGS: not 
found
-./configure[12082]: C: not found
-checking for LIBENET... ./configure[12082]: LIBENET_LIBS: not found
+checking for LIBENET... ./configure[12082]: C: not found
+./configure[12082]: LIBENET_LIBS: not found
 ./configure[12082]: linker: not found
 yes
 checking that generated files are newer than configure... done
@@ -440,7 +442,7 @@ Enigma is now configured
 
 If these values seem to make sense, you can now run make.
 
->>> Running build in games/enigma at 1793902454.53
+>>> Running build in games/enigma at 1793800638.04
 ===> games/enigma
 ===>  Building for enigma-1.30p1
 Making all in m4
@@ -692,9809 +694,85 @@ ld: warning: lvm.c:53(liblua_a-lvm.o:(luaV_tostring(lu
 ld: warning: loslib.c:60(liblua_a-loslib.o:(os_tmpname(lua_State*)) in archive 
../lib-src/lua/liblua.a): warning: tmpnam() possibly used unsafely; consider 
using mkstemp()
 ld: warning: lobject.c:198(liblua_a-lobject.o:(luaO_chunkid(char*, char 
const*, unsigned long)) in archive ../lib-src/lua/liblua.a): warning: strcat() 
is almost always misused, please use strlcat()
 ld: warning: lmathlib.c:184(liblua_a-lmathlib.o:(math_random(lua_State*)) in 
archive ../lib-src/lua/liblua.a): warning: rand() may return deterministic 
values, is that what you want?
+ld: error: undefined symbol: lua_gettop
+>>> referenced by toluabind.c:32
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced by toluabind.c:101
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced by toluabind.c:384
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced 20 more times
+>>> did you mean to declare lua_gettop(lua_State*) as extern "C"?
+>>> defined in: ../lib-src/lua/liblua.a(liblua_a-lapi.o)
+
+ld: error: undefined symbol: lua_settop
+>>> referenced by toluabind.c:95
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced by toluabind.c:378
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced by toluabind.c:900
+>>>               tolua-toluabind.o:(tolua_tolua_open(lua_State*))
+>>> referenced 21 more times
+>>> did you mean to declare lua_settop(lua_State*, int) as extern "C"?
+>>> defined in: ../lib-src/lua/liblua.a(liblua_a-lapi.o)
+
+ld: error: undefined symbol: luaL_newstate
+>>> referenced by tolua.c:85
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_pushstring
+>>> referenced by tolua.c:97
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:98
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:70
+>>>               tolua-tolua.o:(main)
+>>> referenced 5 more times
+
+ld: error: undefined symbol: lua_setfield
+>>> referenced by tolua.c:97
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:98
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:109
+>>>               tolua-tolua.o:(main)
+>>> referenced 1 more times
+
+ld: error: undefined symbol: lua_createtable
+>>> referenced by tolua.c:108
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:110
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_pushvalue
+>>> referenced by tolua.c:111
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_getfield
+>>> referenced by tolua.c:68
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_objlen
+>>> referenced by tolua.c:69
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_rawseti
+>>> referenced by tolua.c:71
+>>>               tolua-tolua.o:(main)
+
+ld: error: undefined symbol: lua_settable
+>>> referenced by tolua.c:63
+>>>               tolua-tolua.o:(main)
+>>> referenced by tolua.c:63
+>>>               tolua-tolua.o:(main)
+c++: error: linker command failed with exit code 1 (use -v to see invocation)
+gmake[1]: *** [Makefile:411: tolua] Error 1
 gmake[1]: Leaving directory '/pobj/enigma-1.30/enigma-1.30/tools'
-Making all in intl
-gmake[1]: Entering directory '/pobj/enigma-1.30/enigma-1.30/intl'
-gmake[1]: Nothing to be done for 'all'.
-gmake[1]: Leaving directory '/pobj/enigma-1.30/enigma-1.30/intl'
-Making all in src
-gmake[1]: Entering directory '/pobj/enigma-1.30/enigma-1.30/src'
-gmake  all-am
-gmake[2]: Entering directory '/pobj/enigma-1.30/enigma-1.30/src'
-depbase=`echo actors.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
-c++ -std=c++14 -DHAVE_CONFIG_H -I.   -I/usr/local/include -I/usr/X11R6/include 
 -O2 -pipe -DENABLE_ASSERT -g -DCXXLUA 
-DSYSTEM_DATA_DIR=\"/usr/local/share/enigma\" 
-DDOCDIR=\"/usr/local/share/doc/enigma\" -I../lib-src/zipios++ 
-I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/tinygettext 
-I../lib-src/enigma-core -I/usr/local/include   -I../lib-src -I../intl 
-I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -MT actors.o -MD 
-MP -MF $depbase.Tpo -c -o actors.o actors.cc &&\
-mv -f $depbase.Tpo $depbase.Po

<snip>

+gmake: *** [Makefile:478: all-recursive] Error 1
+*** Error 2 in games/enigma (/usr/ports/infrastructure/mk/bsd.port.mk:3094 
'/pobj/enigma-1.30/.build_done': @cd /pobj/enigma-1.30/enigma-1.3...)
+*** Error 2 in games/enigma (/usr/ports/infrastructure/mk/bsd.port.mk:2729 
'build': @lock=enigma-1.30p1;  export _LOCKS_HELD=" enigma-1.30p1...)
+===> Exiting games/enigma with an error
+*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': 
@: ${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
+>>> Ended at 1793800751.67
+max_stuck=2.36/depends=8.91/show-prepare-results=2.01/patch=1.86/configure=31.00/build=113.65
+Error: job failed with 512 on i386-3 at 1793800751


Reply via email to