[Ubuntu] GDAL Packaging

Frank Warmerdam warmerdam at pobox.com
Fri Aug 16 16:37:48 PDT 2013


Alan / others,

At my current job we use GDAL on ubuntu for some things.  We have been
using the standard version of GDAL packaged for Ubuntu (precise) so far,
but I'd like to start using builds of trunk so I can add capabilities and
fixes.  I've been encouraged to package trunk for Ubuntu as that would fit
smoothly into our deployment strategy.

To that end, I'm trying to understand debian/ubuntu packaging better.  I've
grabbed:


https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0.orig.tar.gz

https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0-1~precise1.debian.tar.gz

unpacked them and tried:

  debuild -uc -us

On my first pass I got some problems in the ruby bindings.  When I tried
to reproduce the problem I got:

dpkg-source: error: aborting due to unexpected upstream changes, see
/tmp/gdal_1.10.0-1~precise1.diff.N1EYWJ
dpkg-source: info: you can integrate the local changes with dpkg-source
--commit
dpkg-buildpackage: error: dpkg-source -b gdal-1.10.0 gave error exit status
2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed


I looked at the referenced file, and the most obvious issue was that swig
2.0.8 was being used instead of 1.3.40.

I'm seeking suggestions on the steps I should take to get past the above
errors and reproduce
the existing package for GDAL 1.10.0  but hopefully then proceeding to me
packaging trunk
for our own internal use, possibly with some reduced dependencies.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20130816/9d9ca6d3/attachment.html>


More information about the Ubuntu mailing list