[Ubuntu] GDAL Packaging
Frank Warmerdam
warmerdam at pobox.com
Tue Aug 20 12:33:18 PDT 2013
Jerome,
I tried to follow it and ran into a problem at:
vagrant at precise64:/vagrant/packages/gdal/gdal$ pbuilder-dist precise amd64
build ../gdal_1.10.0-1~precise2.dsc
pbuilder-dist: Error: "" is an invalid distribution codename.
I found that pbuilder-dist is a bash function which does:
export OTHERMIRROR="deb [trusted=yes]
http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu main"
/usr/bin/pbuilder-dist ""
The error seems to be trying to use the "" arg as the dist. How is this
supposed to work?
I did skip the .dput.cf step. There is also some question if bootstrap.sh
really worked properly as by the time it was done it has corrupted my
terminal mode and I couldn't see what was really happening.
Best regards,
Frnak
On Mon, Aug 19, 2013 at 10:10 AM, Jerome Villeneuve Larouche <
jlarouche at mapgears.com> wrote:
> 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/EnvironmentSetup>
> http://trac.osgeo.org/**ubuntugis/wiki/VagrantBuild<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.orig.tar.gz>
>>> https://launchpad.net/~**ubuntugis/+archive/ubuntugis-**
>>> unstable/+files/gdal_1.10.0-1~**precise1.debian.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://lists.osgeo.org/mailman/listinfo/ubuntu>
>>> http://trac.osgeo.org/**ubuntugis/wiki<http://trac.osgeo.org/ubuntugis/wiki>
>>>
>>>
>>
>>
> ______________________________**_________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/ubuntu<http://lists.osgeo.org/mailman/listinfo/ubuntu>
> http://trac.osgeo.org/**ubuntugis/wiki<http://trac.osgeo.org/ubuntugis/wiki>
>
--
---------------------------------------+--------------------------------------
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/20130820/1637cf09/attachment.html>
More information about the Ubuntu
mailing list