Re: Problem building ARMHF Debian deb file
David Goodenough <[email protected]>
| Newsgroups | gmane.mail.imap.dbmail |
|---|---|
| Message-ID | <3862018.9rCvs65eWu@stargate> |
On Tuesday 23 December 2014 18:08:22 David Goodenough wrote: > I am trying to install dbmail on a Cubieboard-2, which is an armhf system. > > The Cubieboard-2 is installed using the standard debian-installer as a > jessie (i.e. currently testing) system. > > I have installed all the dependencies, and git cloned the repository. The > only pre-req I had to adjust was on automake, the debian/control file says > automake1-9, but the earliest version available seems to be 1-14, so I > changed the debian/control file to say simply automake. I realise that this > may cause problems later on, but I seem to be failing long before this. > > But when I use dpkg-buildpackage I get:- > > $dpkg-buildpackage > dpkg-buildpackage: source package dbmail > dpkg-buildpackage: source version 3.0.2-1 > dpkg-buildpackage: source distribution oneiric > dpkg-buildpackage: source changed by Paul J Stevens <[email protected]> > dpkg-buildpackage: host architecture armhf > dpkg-source --before-build dbmail > fakeroot debian/rules clean > debian/rules:138: *** missing separator. Stop. > dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status > 2 > > Any idea as to why this might happen? > > I also tried apt-get source dbmail but that gave:- > > $apt-get source dbmail > Reading package lists... Done > Building dependency tree > Reading state information... Done > WARNING: The following packages cannot be authenticated! > dbmail > E: Some packages could not be authenticated > > I am not sure how I get the source authenticated? Anyone know? > > David > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail Well I made some progress. Firstly the lines flagged as in error in the debian/rules file seem to be unnecessary. binary-%: build install make -f debian/rules binary-common $* DH_OPTIONS=-p$* They can be either commented out or deleted. I then had a problem where it complained that it could not use quilt and download the relevant source tarball. Switching from (quilt) to (git) in debian/source/format cured that, but various files were not checked in and needed to be to keep things going. Any now it seems to work, but I have only built 3.0 as yet as that is what the debian directory seems to have been set up with. I have also not upgraded the dependencies, but it still seems to build. Now to try to install and run the .deb file. David David