Figured that I should send the Config/Lua error tonight, may not be able to get back to this until next weekend.

When trying to start the Config utility, and lua fails to build.

Attached are the scripts that I am using to create the chroot rootfs from the iso (mk-t2-chroot.sh), and the script to set up the chroot environment when entering the rootfs: (t2-chroot-setup.sh),  If you run these against the latest iso, and do a svn fetch, you should see the same trouble when running Config.

(t2-chroot-3):root@j-ryzen-3950:/opt/t2-trunk# scripts/Config
Aquiring config write lock (may take until other configs finished) ...
Creating confdialog tool.
cc misc/confdialog/*.c -Imisc/confdialog -lncurses -o src/confdialog.bin
T2 9.0-svn configuration ...
Building src/luabash.so.
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lapi.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lauxlib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lbaselib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lcode.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ldblib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ldebug.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ldo.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ldump.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lfunc.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lgc.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/linit.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/liolib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/llex.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lmathlib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lmem.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/loadlib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lobject.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lopcodes.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/loslib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lparser.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lstate.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lstring.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lstrlib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ltable.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ltablib.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/ltm.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lundump.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lvm.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/lzio.o
  C         /opt/t2-trunk/src/Linux-x86_64/lua/print.o
lua/lauxlib.c: In function 'luaL_loadfile':
lua/lauxlib.c:578:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  578 |    while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
      |    ^~~~~
lua/lauxlib.c:579:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  579 |     lf.extraline = 0;
      |     ^~
  LINK LIB  /opt/t2-trunk/src/Linux-x86_64/lua/lua.a
  C         /opt/t2-trunk/src/Linux-x86_64/bash/luabash.o
  LINK DYN  /opt/t2-trunk/src/Linux-x86_64/bash/luabash.so
/usr/lib64/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld: /opt/t2-trunk/src/Linux-x86_64/lua/lua.a: in function `os_tmpname': loslib.c:(.text+0xf4f1): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
INSTALL DYNLIB /opt/t2-trunk/src/Linux-x86_64/bash/luabash.so

STONE - Setup Tool ONE - System Configuration

Usage: /usr/sbin/install [ -text | -dialog | -x11 ] [ module [ command ] ]

Error building the Lua bash accelerator.


Jan

Attachment: mk-t2-chroot.sh
Description: application/shellscript

Attachment: t2-chroot-setup.sh
Description: application/shellscript

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
li...@t2-project.org with a subject of: unsubscribe t2

Reply via email to