On 2026/11/06 17:12, Nam Nguyen wrote:
> On Fri, Nov 06, 2026, at 10:55 a.m. +0000, sthen wrote:
> 
> > 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 is a guess moving -I../lib-src/lua before -I/usr/local/include.

I don't think it can be that, the problem is from linking rather than
compiling.

(If you do want to change the order of include processing, use -isystem
or -idirafter instead of -I; patching automake-generated output files is
a pain for future maintainability. But I don't think it can help with
this particular error).

> Making all in tools
> gmake[1]: Entering directory '/usr/obj/pobj/enigma-1.30/enigma-1.30/tools'
> cc -DHAVE_CONFIG_H -I. -I../src -I../lib-src/lua  -x c++  -O2 -pipe 
> -DENABLE_ASSERT -g -DCXXLUA   -I/usr/local/include -I/usr/X11R6/include -O2 
> -pipe -MT tolua-tolua.o -MD -MP -MF .deps/tolua-tolua.Tpo -c -o tolua-tolua.o 
> `test -f 'tolua.c' || echo './'`tolua.c
> cc -DHAVE_CONFIG_H -I. -I../src -I../lib-src/lua  -x c++  -O2 -pipe 
> -DENABLE_ASSERT -g -DCXXLUA   -I/usr/local/include -I/usr/X11R6/include -O2 
> -pipe -MT tolua-toluabind.o -MD -MP -MF .deps/tolua-toluabind.Tpo -c -o 
> tolua-toluabind.o `test -f 'toluabind.c' || echo './'`toluabind.c
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/games/enigma/Makefile,v
> diff -u -p -r1.43 Makefile
> --- Makefile  16 Jul 2025 00:36:36 -0000      1.43
> +++ Makefile  6 Nov 2026 15:56:09 -0000
> @@ -3,7 +3,7 @@ COMMENT=      Oxyd/Rock'n'Roll clone
>  V=           1.30
>  PKGNAME=     enigma-${V}
>  DISTNAME=    Enigma-${V}
> -REVISION=    1
> +REVISION=    2
>  
>  CATEGORIES=  games x11
>  
> Index: patches/patch-tools_Makefile_in
> ===================================================================
> RCS file: patches/patch-tools_Makefile_in
> diff -N patches/patch-tools_Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-tools_Makefile_in   6 Nov 2026 15:56:09 -0000
> @@ -0,0 +1,38 @@
> +include lib-src/lua before system lua
> +
> +Index: tools/Makefile.in
> +--- tools/Makefile.in.orig
> ++++ tools/Makefile.in
> +@@ -448,28 +448,28 @@ am--depfiles: $(am__depfiles_remade)
> + @am__fastdepCC_FALSE@       $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ 
> `$(CYGPATH_W) '$<'`
> + 
> + tolua-tolua.o: tolua.c
> +-@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) $(CFLAGS) -MT 
> tolua-tolua.o -MD -MP -MF $(DEPDIR)/tolua-tolua.Tpo -c -o tolua-tolua.o `test 
> -f 'tolua.c' || echo '$(srcdir)/'`tolua.c
> ++@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(tolua_CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT 
> tolua-tolua.o -MD -MP -MF $(DEPDIR)/tolua-tolua.Tpo -c -o tolua-tolua.o `test 
> -f 'tolua.c' || echo '$(srcdir)/'`tolua.c
> + @am__fastdepCC_TRUE@        $(AM_V_at)$(am__mv) $(DEPDIR)/tolua-tolua.Tpo 
> $(DEPDIR)/tolua-tolua.Po
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   $(AM_V_CC)source='tolua.c' 
> object='tolua-tolua.o' libtool=no @AMDEPBACKSLASH@
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) 
> $(depcomp) @AMDEPBACKSLASH@
> + @am__fastdepCC_FALSE@       $(AM_V_CC@am__nodep@)$(CC) $(DEFS) 
> $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) 
> $(CFLAGS) -c -o tolua-tolua.o `test -f 'tolua.c' || echo '$(srcdir)/'`tolua.c
> + 
> + tolua-tolua.obj: tolua.c
> +-@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) $(CFLAGS) -MT 
> tolua-tolua.obj -MD -MP -MF $(DEPDIR)/tolua-tolua.Tpo -c -o tolua-tolua.obj 
> `if test -f 'tolua.c'; then $(CYGPATH_W) 'tolua.c'; else $(CYGPATH_W) 
> '$(srcdir)/tolua.c'; fi`
> ++@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(tolua_CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT 
> tolua-tolua.obj -MD -MP -MF $(DEPDIR)/tolua-tolua.Tpo -c -o tolua-tolua.obj 
> `if test -f 'tolua.c'; then $(CYGPATH_W) 'tolua.c'; else $(CYGPATH_W) 
> '$(srcdir)/tolua.c'; fi`
> + @am__fastdepCC_TRUE@        $(AM_V_at)$(am__mv) $(DEPDIR)/tolua-tolua.Tpo 
> $(DEPDIR)/tolua-tolua.Po
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   $(AM_V_CC)source='tolua.c' 
> object='tolua-tolua.obj' libtool=no @AMDEPBACKSLASH@
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) 
> $(depcomp) @AMDEPBACKSLASH@
> + @am__fastdepCC_FALSE@       $(AM_V_CC@am__nodep@)$(CC) $(DEFS) 
> $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) 
> $(CFLAGS) -c -o tolua-tolua.obj `if test -f 'tolua.c'; then $(CYGPATH_W) 
> 'tolua.c'; else $(CYGPATH_W) '$(srcdir)/tolua.c'; fi`
> + 
> + tolua-toluabind.o: toluabind.c
> +-@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) $(CFLAGS) -MT 
> tolua-toluabind.o -MD -MP -MF $(DEPDIR)/tolua-toluabind.Tpo -c -o 
> tolua-toluabind.o `test -f 'toluabind.c' || echo '$(srcdir)/'`toluabind.c
> ++@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(tolua_CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT 
> tolua-toluabind.o -MD -MP -MF $(DEPDIR)/tolua-toluabind.Tpo -c -o 
> tolua-toluabind.o `test -f 'toluabind.c' || echo '$(srcdir)/'`toluabind.c
> + @am__fastdepCC_TRUE@        $(AM_V_at)$(am__mv) 
> $(DEPDIR)/tolua-toluabind.Tpo $(DEPDIR)/tolua-toluabind.Po
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   $(AM_V_CC)source='toluabind.c' 
> object='tolua-toluabind.o' libtool=no @AMDEPBACKSLASH@
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) 
> $(depcomp) @AMDEPBACKSLASH@
> + @am__fastdepCC_FALSE@       $(AM_V_CC@am__nodep@)$(CC) $(DEFS) 
> $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) 
> $(CFLAGS) -c -o tolua-toluabind.o `test -f 'toluabind.c' || echo 
> '$(srcdir)/'`toluabind.c
> + 
> + tolua-toluabind.obj: toluabind.c
> +-@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tolua_CFLAGS) $(CFLAGS) -MT 
> tolua-toluabind.obj -MD -MP -MF $(DEPDIR)/tolua-toluabind.Tpo -c -o 
> tolua-toluabind.obj `if test -f 'toluabind.c'; then $(CYGPATH_W) 
> 'toluabind.c'; else $(CYGPATH_W) '$(srcdir)/toluabind.c'; fi`
> ++@am__fastdepCC_TRUE@        $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) 
> $(tolua_CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT 
> tolua-toluabind.obj -MD -MP -MF $(DEPDIR)/tolua-toluabind.Tpo -c -o 
> tolua-toluabind.obj `if test -f 'toluabind.c'; then $(CYGPATH_W) 
> 'toluabind.c'; else $(CYGPATH_W) '$(srcdir)/toluabind.c'; fi`
> + @am__fastdepCC_TRUE@        $(AM_V_at)$(am__mv) 
> $(DEPDIR)/tolua-toluabind.Tpo $(DEPDIR)/tolua-toluabind.Po
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   $(AM_V_CC)source='toluabind.c' 
> object='tolua-toluabind.obj' libtool=no @AMDEPBACKSLASH@
> + @AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) 
> $(depcomp) @AMDEPBACKSLASH@
> 

Reply via email to