Created a .deb, but running the image just drops to a REPL
Hello dear lispers,
I delved into the topic and created my first .deb package. I installed
it and all seems well, except that when I run my program, I am dropped
to a REPL instead :S
To be fair there's a remaining error at the end of the process:
sudo debuild -us -uc
[…]
make[1]: Leaving directory '/home/vince/work/next'
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'next-dbgsym' in
'debian/.debhelper/scratch-space/build-next/next-dbgsym_1.3.1_amd64.deb'.
dpkg-deb: building package 'next' in '../next_1.3.1_amd64.deb'.
Renaming next-dbgsym_1.3.1_amd64.deb to next-dbgsym_1.3.1_amd64.ddeb
dpkg-genbuildinfo
dpkg-genbuildinfo: error: badly formed line in files list file, line 2
dpkg-buildpackage: error: dpkg-genbuildinfo subprocess returned exit
status 25
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
It does create a .deb, but it seems that genbuildinfo happens inside
dpkg-deb, so that sounds important.
I also have no clues about this error. Would you mind reviewing my recipe ?
I am trying to package the Next browser. You can view the files here:
https://github.com/atlas-engineer/next/tree/vindarel/debian-package/debian
My rule files:
---
#!/usr/bin/make -f
DH_VERBOSE = 1
%:
dh $@
override_dh_auto_build:
$(MAKE) all
# XXX: avoid "desktop is not a directory" error.
override_dh_usrlocal:
echo
---
The control file:
---
Source: next
Maintainer: Next developers <hello@atlas.engineer>
Section: Web Software
Priority: extra
Standards-Version: 1.3.1
Build-Depends: debhelper (>= 8.0.0)
Package: next
Architecture: any
Priority: extra
Homepage: http://next.atlas.engineer/
Depends: sbcl (>= 1.4.2),
${shlibs:Depends},
libwebkit2gtk-4.0-dev (>= 2.24),
default-dbus-session-bus | dbus-session-bus,
glib-networking,
sqlite,
gsettings-desktop-schemas,
libfixposix-dev,
libgstreamer1.0-0,
gir1.2-gst-plugins-base-1.0,
xclip,
${misc:Depends}
Description: Next, the infinitely extensible web browser.
Next is the programmable web browser. All the browser logic is
accessible and modifiable live with the Lisp language. This package
provides the Webkit webview. See the downloads page for a
Webengine/Blink platform port.
---
I also pasted the full output of my build here:
https://github.com/atlas-engineer/next/issues/338
Thank you
Reply to: