<div dir="ltr">Jerome,<div><br></div><div>I tried to follow it and ran into a problem at:</div><div><br></div><div><div>vagrant@precise64:/vagrant/packages/gdal/gdal$ pbuilder-dist precise amd64 build ../gdal_1.10.0-1~precise2.dsc</div>
<div>pbuilder-dist: Error: "" is an invalid distribution codename.</div></div><div><br></div><div>I found that pbuilder-dist is a bash function which does:</div><div><br></div><div><div>export OTHERMIRROR="deb [trusted=yes] <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a>  main"</div>
<div>/usr/bin/pbuilder-dist ""</div></div><div><br></div><div>The error seems to be trying to use the "" arg as the dist.  How is this supposed to work?</div><div><br></div><div>I did skip the .<a href="http://dput.cf">dput.cf</a> 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.</div>
<div><br></div><div>Best regards,</div><div>Frnak</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 10:10 AM, Jerome Villeneuve Larouche <span dir="ltr"><<a href="mailto:jlarouche@mapgears.com" target="_blank">jlarouche@mapgears.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Here are the two tutorials to set up your environment using Vagrant and build a package.<br>
<br>
<a href="http://trac.osgeo.org/ubuntugis/wiki/EnvironmentSetup" target="_blank">http://trac.osgeo.org/<u></u>ubuntugis/wiki/<u></u>EnvironmentSetup</a><br>
<a href="http://trac.osgeo.org/ubuntugis/wiki/VagrantBuild" target="_blank">http://trac.osgeo.org/<u></u>ubuntugis/wiki/VagrantBuild</a><br>
<br>
If you have any questions do not hesitate, they're probably not perfect.<br>
<br>
Thank you<div class="HOEnZb"><div class="h5"><br>
<br>
On 13-08-19 10:21 AM, Alan Boudreault wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jérome,<br>
<br>
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.<br>
<br>
Thanks,<br>
Alan<br>
<br>
On 13-08-16 07:37 PM, Frank Warmerdam wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alan / others,<br>
<br>
At my current job we use GDAL on ubuntu for some things.  We have been<br>
using the standard version of GDAL packaged for Ubuntu (precise) so far,<br>
but I'd like to start using builds of trunk so I can add capabilities<br>
and fixes.  I've been encouraged to package trunk for Ubuntu as that<br>
would fit smoothly into our deployment strategy.<br>
<br>
To that end, I'm trying to understand debian/ubuntu packaging better.<br>
  I've grabbed:<br>
<br>
<a href="https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0.orig.tar.gz" target="_blank">https://launchpad.net/~<u></u>ubuntugis/+archive/ubuntugis-<u></u>unstable/+files/gdal_1.10.0.<u></u>orig.tar.gz</a> <br>

<a href="https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0-1~precise1.debian.tar.gz" target="_blank">https://launchpad.net/~<u></u>ubuntugis/+archive/ubuntugis-<u></u>unstable/+files/gdal_1.10.0-1~<u></u>precise1.debian.tar.gz</a> <br>

<br>
unpacked them and tried:<br>
<br>
   debuild -uc -us<br>
<br>
On my first pass I got some problems in the ruby bindings.  When I tried<br>
to reproduce the problem I got:<br>
<br>
dpkg-source: error: aborting due to unexpected upstream changes, see<br>
/tmp/gdal_1.10.0-1~precise1.<u></u>diff.N1EYWJ<br>
dpkg-source: info: you can integrate the local changes with dpkg-source<br>
--commit<br>
dpkg-buildpackage: error: dpkg-source -b gdal-1.10.0 gave error exit<br>
status 2<br>
debuild: fatal error at line 1357:<br>
dpkg-buildpackage -rfakeroot -D -us -uc failed<br>
<br>
<br>
I looked at the referenced file, and the most obvious issue was that<br>
swig 2.0.8 was being used instead of 1.3.40.<br>
<br>
I'm seeking suggestions on the steps I should take to get past the above<br>
errors and reproduce<br>
the existing package for GDAL 1.10.0  but hopefully then proceeding to<br>
me packaging trunk<br>
for our own internal use, possibly with some reduced dependencies.<br>
<br>
Best regards,<br>
-- <br>
------------------------------<u></u>---------+--------------------<u></u>------------------ <br>
I set the clouds in motion - turn up   | Frank Warmerdam,<br>
<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a> <mailto:<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br>
<br>
<br>
______________________________<u></u>_________________<br>
UbuntuGIS mailing list<br>
<a href="mailto:Ubuntu@lists.osgeo.org" target="_blank">Ubuntu@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/ubuntu" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/ubuntu</a><br>
<a href="http://trac.osgeo.org/ubuntugis/wiki" target="_blank">http://trac.osgeo.org/<u></u>ubuntugis/wiki</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
UbuntuGIS mailing list<br>
<a href="mailto:Ubuntu@lists.osgeo.org" target="_blank">Ubuntu@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/ubuntu" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/ubuntu</a><br>
<a href="http://trac.osgeo.org/ubuntugis/wiki" target="_blank">http://trac.osgeo.org/<u></u>ubuntugis/wiki</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush    | Geospatial Software Developer<br>
</div>