[Ubuntu] GDAL Packaging

Jerome Villeneuve Larouche jlarouche at mapgears.com
Mon Aug 19 10:10:58 PDT 2013


Hi,

Here are the two tutorials to set up your environment using Vagrant and 
build a package.

http://trac.osgeo.org/ubuntugis/wiki/EnvironmentSetup
http://trac.osgeo.org/ubuntugis/wiki/VagrantBuild

If you have any questions do not hesitate, they're probably not perfect.

Thank you

On 13-08-19 10:21 AM, Alan Boudreault wrote:
> Jérome,
>
> Could you publish on the wiki the tutorial you wrote for GSoC to setup 
> a fresh environment for building packages? Some people on the list 
> might be interested.
>
> Thanks,
> Alan
>
> On 13-08-16 07:37 PM, Frank Warmerdam wrote:
>> 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 <mailto:warmerdam at pobox.com>
>> light and sound - activate the windows | http://pobox.com/~warmerdam
>> and watch the world go round - Rush    | Geospatial Software Developer
>>
>>
>> _______________________________________________
>> UbuntuGIS mailing list
>> Ubuntu at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/ubuntu
>> http://trac.osgeo.org/ubuntugis/wiki
>>
>
>



More information about the Ubuntu mailing list