Skip to content

Build failing in latest release #307

@sheharyaar

Description

@sheharyaar

Build logs:

make -C /lib/modules/6.15.7-arch1-1/build M=/home/wazir/workspace/repos/lunatik CONFIG_LUNATIK=m	\
CONFIG_LUNATIK_RUN=m CONFIG_LUNATIK_RUNTIME=y CONFIG_LUNATIK_DEVICE=m	\
CONFIG_LUNATIK_LINUX=m CONFIG_LUNATIK_NOTIFIER=m CONFIG_LUNATIK_SOCKET=m \
CONFIG_LUNATIK_RCU=m CONFIG_LUNATIK_THREAD=m CONFIG_LUNATIK_FIB=m \
CONFIG_LUNATIK_DATA=m CONFIG_LUNATIK_PROBE=m CONFIG_LUNATIK_SYSCALL=m \
CONFIG_LUNATIK_XDP=m CONFIG_LUNATIK_FIFO=m CONFIG_LUNATIK_XTABLE=m \
CONFIG_LUNATIK_NETFILTER=m CONFIG_LUNATIK_COMPLETION=m \
CONFIG_LUNATIK_CRYPTO_SHASH=m CONFIG_LUNATIK_CRYPTO_SKCIPHER=m \
CONFIG_LUNATIK_CRYPTO_AEAD=m CONFIG_LUNATIK_CRYPTO_RNG=m \
CONFIG_LUNATIK_CRYPTO_COMP=m
make[1]: Entering directory '/usr/lib/modules/6.15.7-arch1-1/build'
make[2]: Entering directory '/home/wazir/workspace/repos/lunatik'
  CC [M]  lua/lapi.o
  CC [M]  lua/lcode.o
  CC [M]  lua/lctype.o
  CC [M]  lua/ldebug.o
  CC [M]  lua/ldo.o
  CC [M]  lua/ldump.o
  CC [M]  lua/lfunc.o
  CC [M]  lua/lgc.o
  CC [M]  lua/llex.o
  CC [M]  lua/lobject.o
  CC [M]  lua/lmem.o
  CC [M]  lua/lopcodes.o
  CC [M]  lua/lparser.o
  CC [M]  lua/lstate.o
  CC [M]  lua/lstring.o
  CC [M]  lua/ltable.o
  CC [M]  lua/ltm.o
  CC [M]  lua/lundump.o
  CC [M]  lua/lvm.o
  CC [M]  lua/lzio.o
  CC [M]  lua/lauxlib.o
  CC [M]  lua/lbaselib.o
  CC [M]  lua/lcorolib.o
  CC [M]  lua/ldblib.o
  CC [M]  lua/lstrlib.o
  CC [M]  lua/ltablib.o
  CC [M]  lua/lutf8lib.o
  CC [M]  lua/lmathlib.o
  CC [M]  lua/linit.o
  CC [M]  lua/loadlib.o
  AS      klibc/usr/klibc/arch/x86_64/setjmp.o
  CC [M]  lunatik_aux.o
  CC [M]  lunatik_obj.o
  CC [M]  lunatik_core.o
  CC [M]  lunatik_run.o
  CC [M]  lib/luadevice.o
  CC [M]  lib/lualinux.o
  CC [M]  lib/luasocket.o
  CC [M]  lib/luanotifier.o
  CC [M]  lib/luarcu.o
  CC [M]  lib/luathread.o
  CC [M]  lib/luafib.o
  CC [M]  lib/luadata.o
  CC [M]  lib/luaprobe.o
  CC [M]  lib/luasyscall.o
  CC [M]  lib/luaxdp.o
  CC [M]  lib/luafifo.o
  CC [M]  lib/luaxtable.o
  CC [M]  lib/luanetfilter.o
  CC [M]  lib/luacompletion.o
  CC [M]  lib/luacrypto_shash.o
  CC [M]  lib/luacrypto_skcipher.o
  CC [M]  lib/luacrypto_aead.o
  CC [M]  lib/luacrypto_rng.o
  CC [M]  lib/luacrypto_comp.o
  LD [M]  lunatik.o
lunatik.o: warning: objtool: luaV_execute+0x71: sibling call from callable instruction with modified stack frame
In file included from lib/luacrypto_comp.c:30:
lib/luacrypto_comp.c: In function ‘luacrypto_comp_release’:
lib/luacrypto_comp.c:34:46: error: implicit declaration of function ‘crypto_free_comp’; did you mean ‘crypto_free_tfm’? [-Wimplicit-function-declaration]
   34 | LUACRYPTO_RELEASER(comp, struct crypto_comp, crypto_free_comp, NULL);
      |                                              ^~~~~~~~~~~~~~~~
lib/luacrypto.h:70:17: note: in definition of macro ‘LUACRYPTO_RELEASER’
   70 |                 obj_free(obj);                                                  \
      |                 ^~~~~~~~
In file included from lib/luacrypto_comp.c:28:
lib/luacrypto_comp.c: In function ‘luacrypto_comp_compress’:
lib/luacrypto_comp.c:54:24: error: implicit declaration of function ‘crypto_comp_compress’; did you mean ‘luacrypto_comp_compress’? [-Wimplicit-function-declaration]
   54 |         lunatik_try(L, crypto_comp_##name, tfm, data, (unsigned int)datalen, output_buf, &max_len);     \
      |                        ^~~~~~~~~~~~
././lunatik.h:126:20: note: in definition of macro ‘lunatik_tryret’
  126 |         if ((ret = op(__VA_ARGS__)) < 0) {                      \
      |                    ^~
lib/luacrypto_comp.c:54:9: note: in expansion of macro ‘lunatik_try’
   54 |         lunatik_try(L, crypto_comp_##name, tfm, data, (unsigned int)datalen, output_buf, &max_len);     \
      |         ^~~~~~~~~~~
lib/luacrypto_comp.c:70:1: note: in expansion of macro ‘LUACRYPTO_COMP_OPERATION’
   70 | LUACRYPTO_COMP_OPERATION(compress);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
lib/luacrypto_comp.c: In function ‘luacrypto_comp_decompress’:
lib/luacrypto_comp.c:54:24: error: implicit declaration of function ‘crypto_comp_decompress’; did you mean ‘luacrypto_comp_decompress’? [-Wimplicit-function-declaration]
   54 |         lunatik_try(L, crypto_comp_##name, tfm, data, (unsigned int)datalen, output_buf, &max_len);     \
      |                        ^~~~~~~~~~~~
././lunatik.h:126:20: note: in definition of macro ‘lunatik_tryret’
  126 |         if ((ret = op(__VA_ARGS__)) < 0) {                      \
      |                    ^~
lib/luacrypto_comp.c:54:9: note: in expansion of macro ‘lunatik_try’
   54 |         lunatik_try(L, crypto_comp_##name, tfm, data, (unsigned int)datalen, output_buf, &max_len);     \
      |         ^~~~~~~~~~~
lib/luacrypto_comp.c:83:1: note: in expansion of macro ‘LUACRYPTO_COMP_OPERATION’
   83 | LUACRYPTO_COMP_OPERATION(decompress);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
lib/luacrypto_comp.c: In function ‘luacrypto_comp_new’:
lib/luacrypto_comp.c:114:41: error: implicit declaration of function ‘crypto_alloc_comp’; did you mean ‘crypto_alloc_base’? [-Wimplicit-function-declaration]
  114 | LUACRYPTO_NEW(comp, struct crypto_comp, crypto_alloc_comp, luacrypto_comp_class, NULL);
      |                                         ^~~~~~~~~~~~~~~~~
lib/luacrypto.h:37:18: note: in definition of macro ‘LUACRYPTO_NEW’
   37 |         T *tfm = alloc(algname, 0, 0);                                                                  \
      |                  ^~~~~
lib/luacrypto_comp.c:114:41: error: initialization of ‘struct crypto_comp *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  114 | LUACRYPTO_NEW(comp, struct crypto_comp, crypto_alloc_comp, luacrypto_comp_class, NULL);
      |                                         ^~~~~~~~~~~~~~~~~
lib/luacrypto.h:37:18: note: in definition of macro ‘LUACRYPTO_NEW’
   37 |         T *tfm = alloc(algname, 0, 0);                                                                  \
      |                  ^~~~~
make[4]: *** [/usr/lib/modules/6.15.7-arch1-1/build/scripts/Makefile.build:203: lib/luacrypto_comp.o] Error 1
make[3]: *** [/usr/lib/modules/6.15.7-arch1-1/build/Makefile:2003: .] Error 2
make[2]: *** [/usr/lib/modules/6.15.7-arch1-1/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/wazir/workspace/repos/lunatik'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.15.7-arch1-1/build'
make: *** [Makefile:24: all] Error 2

It builds successfully for this commit: 8e79d4e

uname:

Linux virtme-ng 6.15.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 17 Jul 2025 21:05:29 +0000 x86_64 GNU/Linux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions