[Qgis-developer] building debs: dependency on osgearth to be added?

Jürgen E. Fischer jef at norbit.de
Sat Aug 13 03:39:20 EDT 2011


Hi Paolo,

On Sat, 13. Aug 2011 at 06:47:18 +0200, Paolo Cavallini wrote:
> Il 12/08/2011 21:59, Pirmin Kalberer ha scritto:
> > libosgearth-dev is already a build dependency. Did you run "sudo apt-get 
> > build-dep qgis"?
> 
> I'm running:
> dpkg-buildpackage -us -uc
> Compilation goes smoothly, not asking for osgearth, but packaging stops with an error
> (complaining about missing osgearth).

That because of the support for multiple distributions in our debian/.

The general debian/control is replaced with debian/control.sid when building,
but dpkg-buildpackage only checks debian/control for build dependencies.

If the package is build in two steps, first building a source package and then
compiling that (like the nightly builds do using pbuild/cowbuilder), that
problem doesn't arise as the general debian/control is enough to build the
source package and the source package contains the replaced debian/control
version - therefore the dependencies including osgearth are fetched for sid then.

And we can't put osgearth to the generic debian/control as it's not available for
all distributions.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list