Phil Wyett <philip.wy...@kathenas.org> writes: > The Fail To Build From Source (FTBFS) still remains.
As far as I can tell, that problem is happening because you're on a machine that doesn't have git installed, despite the fact that debian/control declares a Build-Depends on git. > make[1]: Leaving directory '/build/fennel-1.5.1+dfsg' > dh_auto_test > make -j10 test > make[1]: Entering directory '/build/fennel-1.5.1+dfsg' > lua bootstrap/aot.lua test/faith.fnl > test/faith.lua > fatal: not a git repository (or any of the parent directories): .git > lua: test/irc.lua:6: attempt to index local 'remote' (a nil value) > stack traceback: > test/irc.lua:6: in main chunk > [C]: in function 'dofile' > test/init.lua:17: in main chunk > [C]: in ? My understanding is that this problem would not be encountered normally because the control file would ensure that any machine attempting the build would install git first before running the commands you're running. Please let me know if I'm overlooking anything. If necessary I can patch out this part of the test script if the existing Build-Depends fix is not appropriate for some reason. The part of the script that is failing is intended to announce build failures in CI on IRC, so it's not relevant here. > OK... Lua is not my language, so here goes. I have attached diffs for > 'debian/control' and 'debian/rules' that fix the issues including the > 'missing-dep-for-interpreter'. Thank you. But as I mentioned previously, 'missing-dep-for-interpreter' is due to a bug in lintian rather than a problem with the packaging: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041675 So I don't think removing the dependency on lua is a good idea. > --- rules.orig 2024-08-25 19:34:25.000000000 +0100 > +++ rules 2024-08-27 20:06:55.000000000 +0100 > @@ -1,7 +1,7 @@ > #!/usr/bin/make -f > > %: > - dh $@ > + dh $@ --buildsystem=lua --with lua Can you elaborate on the purpose of this change? It doesn't seem to be related to the problem above. I am having trouble finding documentation; it appears to be missing from the dh man page. It is briefly mentioned in the debhelper man page, but there is no explanation as to what it actually means. -Phil
signature.asc
Description: PGP signature