<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Frank,<br>
<br>
Sorry, I forgot to add a "\" and all the variables in the shell
script weren't printed in .bashrc.<br>
<br>
I uploaded a new bootstrap.sh and I attached fix.sh. You can use
fix.sh in Vagrant to write the good pbuilder-dist function. Simply
delete the old one and run fix.sh.<br>
<br>
I needed to make a the pbuilder-dist function in .bashrc so I
could easily use UbuntuGIS ppa when building pacakges.<br>
<br>
On 13-08-20 03:33 PM, Frank Warmerdam wrote:<br>
</div>
<blockquote
cite="mid:CA+YzLBd57x+ULP_wyjs6zo2maxWtcL9A7_rPDNtMLKornaPqPw@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://trac.osgeo.org/ubuntugis/wiki/EnvironmentSetup"
target="_blank">http://trac.osgeo.org/ubuntugis/wiki/EnvironmentSetup</a><br>
<a moz-do-not-send="true"
href="http://trac.osgeo.org/ubuntugis/wiki/VagrantBuild"
target="_blank">http://trac.osgeo.org/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 moz-do-not-send="true"
href="https://launchpad.net/%7Eubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0.orig.tar.gz"
target="_blank">https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0.orig.tar.gz</a>
<br>
<a moz-do-not-send="true"
href="https://launchpad.net/%7Eubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0-1%7Eprecise1.debian.tar.gz"
target="_blank">https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+files/gdal_1.10.0-1~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.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>
---------------------------------------+--------------------------------------
<br>
I set the clouds in motion - turn up | Frank
Warmerdam,<br>
<a moz-do-not-send="true"
href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>><br>
light and sound - activate the windows | <a
moz-do-not-send="true"
href="http://pobox.com/%7Ewarmerdam"
target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial
Software Developer<br>
<br>
<br>
_______________________________________________<br>
UbuntuGIS mailing list<br>
<a moz-do-not-send="true"
href="mailto:Ubuntu@lists.osgeo.org"
target="_blank">Ubuntu@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/ubuntu"
target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
<a moz-do-not-send="true"
href="http://trac.osgeo.org/ubuntugis/wiki"
target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
UbuntuGIS mailing list<br>
<a moz-do-not-send="true"
href="mailto:Ubuntu@lists.osgeo.org" target="_blank">Ubuntu@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/ubuntu"
target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
<a moz-do-not-send="true"
href="http://trac.osgeo.org/ubuntugis/wiki"
target="_blank">http://trac.osgeo.org/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
moz-do-not-send="true" href="mailto:warmerdam@pobox.com"
target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a
moz-do-not-send="true" href="http://pobox.com/%7Ewarmerdam"
target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software
Developer<br>
</div>
</blockquote>
<br>
</body>
</html>