[debhelper-devel] error: binary build with no binary artifacts found; .buildinfo is meaningless
Gunter Königsmann
gunter at peterpall.de
Sun Jul 16 14:38:36 UTC 2017
Dear all,
I never found any place you could ask debhelper questions in so I tried
joining this mailing list:
I currently try to setup a nightly build for
https://maxima.sourceforge.net, a computer algebra system. My first try
went relatively well, actually: I created a package that was installable
and worked, but all other programs needed the package to be split into
two packages:
- maxima
- maxima-doc (with version requirement => a "provides" isn't sufficient).
Since I started trying the package in 2 halves I never again got a
working build. My current version of debian/control and debian/rules is
attached to this mail. My guess is that since maxima is written in lisp
the binaries the compiler creates (and that end up in /usr/lisp) don't
look like binaries. But I might be entirely wrong here.
My other guess is that I am doing something seriously wrong - which I
assume will be the case in the end.
Do you have any hints for me - or a place I can get help at?
The current debian/rules installs a working maxima in debian/tmp/usr and
then calls dpkg-genbuildinfo - which fails.
Thanks a lot,
and kind regards,
Gunter.
-------------- next part --------------
#!/usr/bin/make -f
# The standard rule.
%:
dh $@
# Tell configure to produce a build for two lisps.
override_dh_auto_configure:
./bootstrap
./configure --enable-sbcl --enable-clisp --prefix=$(CURDIR)/debian/tmp/usr
# Not necessary. But speeds up the build by using more processors
override_dh_auto_build:
make -j 4
make install
ls -l debian
binary: binary-arch binary-indep
binary-arch:
make -j 4
make install
ls -l debian
binary-indep:
make -j 4
make install
ls -l debian
# The following rules are needed as debhelper by default aborts if no standard elf binary is
# produced. We produce a lisp core dump or something similar it doesn't interpret as "compiled".
override_dh_genbuildinfo:
./debian/dpkg-genbuildinfo
override_dh_genbuildinfo-any:
./debian/dpkg-genbuildinfo
override_dh_genbuildinfo-indep:
./debian/dpkg-genbuildinfo
get-orig-source:
uscan --force-download --repack --rename --destdir .
.PHONY: get-orig-source
-------------- next part --------------
Source: maxima
Section: math
Priority: optional
Maintainer: Gunter Königsmann <gunter at physikbuch.de>
Build-Depends: sbcl, clisp , texinfo, libreadline-dev, locales, automake, debhelper ( >=9 ), autoconf, gawk | awk, texlive-latex-recommended, tex-common, python, dh-autoreconf | debhelper (>= 9.20160403~)
Vcs-Browser: https://sourceforge.net/p/maxima/code/ci/master/tree/
Vcs-Git: https://peterpall@git.code.sf.net/p/maxima/code
Homepage: https://maxima.sourceforge.net/
Standards-Version: 3.9.8
Package: maxima
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, sbcl, clisp
Recommends: gnuplot-x11, wxmaxima, maxima-doc
Suggests: texmacs, wish
Replaces: maxima-share, xmaxima, maxima-emacs
Breaks: maxima-share, xmaxima, maxima-emacs
Provides: maxima-share, xmaxima, maxima-emacs
Description: Computer algebra system
Maxima is a fully symbolic computation program. It is full featured
doing symbolic manipulation of polynomials, matrices, rational
functions, integration, Todd-coxeter methods for finite group
analysis, graphing, multiple precision floating point computation.
It has a symbolic source level debugger for maxima code. Maxima is
based on the original Macsyma developed at MIT in the 1970s. It is
quite versatile, reasonably powerful and comes with over
10000 self test steps.
Package: maxima-doc
Architecture: all
Depends: ${misc:Depends}
Description: Computer algebra system
Maxima is a fully symbolic computation program. It is full featured
doing symbolic manipulation of polynomials, matrices, rational
functions, integration, Todd-coxeter methods for finite group
analysis, graphing, multiple precision floating point computation.
It has a symbolic source level debugger for maxima code. Maxima is
based on the original Macsyma developed at MIT in the 1970s. It is
quite versatile, reasonably powerful and comes with over
10000 self test steps.
This package contains maxima's online manual.
More information about the debhelper-devel
mailing list