The issue seems to be that current version tries to build out-of-order: 0.3.17 is followed by 0.3.2, which sees unexpected files and a failed git switch. However, a separate issue coming from the split enable-curses config flag.
/usr/bin/ld: static/demo.o: warning: relocation against `stdscr' in read-only section `.text.startup'
/usr/bin/ld: static/demo.o: in function `main':
MYDIR/repos/koliseo/static/demo.c:172:(.text.startup+0x5ca): undefined reference to `initscr'
/usr/bin/ld: MYDIR/repos/koliseo/static/demo.c:173:(.text.startup+0x5d1): undefined reference to `stdscr'
/usr/bin/ld: MYDIR/repos/koliseo/static/demo.c:173:(.text.startup+0x5d6): undefined reference to `wclear'
[...]
/usr/bin/ld: src/koliseo.o: in function `kls_show_toWin':
MYDIR/repos/koliseo/src/koliseo.c:2009:(.text+0xb2a): undefined reference to `wclear'
/usr/bin/ld: MYDIR/repos/koliseo/src/koliseo.c:2010:(.text+0xb48): undefined reference to `wborder'
[...]
/usr/bin/ld: src/koliseo.o: in function `kls_show_toWin':
MYDIR/repos/koliseo/src/koliseo.c:2049:(.text+0xd0d): undefined reference to `wrefresh'
/usr/bin/ld: MYDIR/repos/koliseo/src/koliseo.c:2054:(.text+0xd1c): undefined reference to `wgetch'
/usr/bin/ld: src/koliseo.o: in function `kls_temp_show_toWin':
MYDIR/repos/koliseo/src/koliseo.c:2094:(.text+0xde8): undefined reference to `wclear'
/usr/bin/ld: MYDIR/repos/koliseo/src/koliseo.c:2095:(.text+0xe06): undefined reference to `wborder'
/usr/bin/ld: MYDIR/repos/koliseo/src/koliseo.c:2096:(.text+0xe12): undefined reference to `wrefresh'
[...]
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make: *** [Makefile:649: demo] Error 1
[WARN] do_init(): Build failed for tag {0.3.17}. Err: make failed
[INFO] Trying to build {"0.3.2"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '6116d3415e6609831a90c53d22866e9e1dca1ca7'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.2}. Err: git switch failed
[INFO] Trying to build {"0.3.3"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit 'a7d4c6c0d858c463e878c68f804ed053ee773b38'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.3}. Err: git switch failed
[INFO] Trying to build {"0.3.4"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit 'cc2f581fd89cf4d66df86c713d527a053c124b4b'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.4}. Err: git switch failed
[INFO] Trying to build {"0.3.5"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '91d097d7b0518cbde556d095b88c4a1c0955e649'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.5}. Err: git switch failed
[INFO] Trying to build {"0.3.6"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '5f033ce72d1bb7a3bd0f654a16b3ac0b515bedb7'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.6}. Err: git switch failed
[INFO] Trying to build {"0.3.7"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '2207768dcfefca4f8b725bef90f30afb83148146'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.7}. Err: git switch failed
[INFO] Trying to build {"0.3.8"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '495ad957e71fdffd9487d284d5fd9da89276b328'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.8}. Err: git switch failed
[INFO] Trying to build {"0.3.9"}
[WARN] git switch failed with status: 128
fatal: atteso branch, ricevuto commit '7bbe81c020904ef11f8e53745d2326117169e92b'
suggerimento: If you want to detach HEAD at the commit, try again with the --detach option.
[WARN] do_init(): Build failed for tag {0.3.9}. Err: git switch failed
[WARN] No tag provided for query op.
[WARN] do_query() failed in handle_amboso_env(). Err: No tag provided.
As of
0.3.17
,anvil
build fails when usinginvil
.The issue seems to be that current version tries to build out-of-order:
0.3.17
is followed by0.3.2
, which sees unexpected files and a failedgit switch
. However, a separate issue coming from the splitenable-curses
config flag.To Reproduce
./scripts/boostrap_anvil.sh repo_invil && ./anvil -i
0.3.17
failsConsole log, with some ellipses:
0.3.17