On Tue, 27 Aug 2024 08:44:15 -0700 Phil Hagelberg <p...@hagelb.org> wrote:
> Soren Stoutner <so...@debian.org> writes:
> 
> >> Any idea why gbp would fail to parse this?
> >
> > My guess is that when changing the release version, it created a mismatch
> > between the upstream/pristine-tar tree name and what gbp is now
expecting.  
> > You might need work with a clean gbp and do a fresh gbp import.
> 
> Thanks; I realized I just needed a specific tag for the import I did
> instead of just having an "upstream/latest+dfsg" branch.
> 
> Once I created that tag I did another attempt and it looks good now!
> The only thing it's complaining about is "missing-dep-for-interpreter"
> which is actually a bug in lintian, not a problem in my package.
> 
> -Phil

Hi Phil,

The Fail To Build From Source (FTBFS) still remains.

dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: warning: upstream signing key but no upstream tarball signature
dpkg-source: info: building fennel using existing
./fennel_1.5.1+dfsg.orig.tar.gz
dpkg-source: info: building fennel in fennel_1.5.1+dfsg-1.debian.tar.xz
dpkg-source: info: building fennel in fennel_1.5.1+dfsg-1.dsc
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j10 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/fennel-1.5.1+dfsg'
FENNEL_PATH=src/?.fnl lua bootstrap/aot.lua src/fennel/view.fnl >
bootstrap/view.lua
FENNEL_PATH=src/?.fnl lua bootstrap/aot.lua src/fennel.fnl --require-as-
include >> fennel.lua
FENNEL_PATH=src/?.fnl lua bootstrap/aot.lua src/launcher.fnl --require-as-
include >> fennel
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 ?
make[1]: *** [Makefile:29: test] Error 1
make[1]: Leaving directory '/build/fennel-1.5.1+dfsg'
dh_auto_test: error: make -j10 test returned exit code 2
make: *** [debian/rules:4: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
2

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'.

Regards

Phil

-- 

"I play the game for the game’s own sake"

Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

--

Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

Internet Relay Chat (IRC): kathenas

Matrix: #kathenas:matrix.org

Website: https://kathenas.org

Instagram: https://instagram.com/kathenasorg/

Threads: https://www.threads.net/@kathenasorg

--






--- control.orig	2024-08-25 19:34:25.000000000 +0100
+++ control	2024-08-27 20:06:47.000000000 +0100
@@ -5,7 +5,7 @@
 Build-Depends:
  debhelper-compat (= 13),
  git,
- lua5.4,
+ dh-lua,
 Standards-Version: 4.7.0
 Homepage: https://fennel-lang.org
 Vcs-Browser: https://salsa.debian.org/technomancy-guest/fennel2/
@@ -16,8 +16,7 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${shlibs:Depends},
- lua5.4 | lua,
+ ${shlibs:Depends}, 
 Description: Lisp-based programming language for the Lua runtime
  Fennel is a lisp that compiles to Lua. It aims to be easy to use,
  expressive, and has almost zero overhead compared to handwritten Lua.
--- 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
 
 override_dh_auto_install:
 	dh_auto_install -- PREFIX=/usr

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to