[fdo-internals] Build 14601?

Johan Van de Wauw johan.vandewauw at gmail.com
Fri Dec 6 01:39:09 PST 2013


Jackie,

I have not taken a look, but if your intention is to build debian
packages, better use the right tools: build a correct source package
first and then compile that. This is the only way packages can
eventually be added to debian or on a shorter term to a ppa.

You will find an example here:
https://launchpad.net/~johanvdw/+archive/mapguide/+packages

On debian/ubuntu you could get the source by using
dget https://launchpad.net/~johanvdw/+archive/mapguide/+files/fdosvn_3.8.0~6959-1ubuntu1.dsc

Alternatively, you can download the file
https://launchpad.net/~johanvdw/+archive/mapguide/+files/fdosvn_3.8.0~6959-1ubuntu1.debian.tar.gz
and extract it in your code tree. Than run debuild -b to build a
binary file or debuild -S to build a source package

Note that the file still contains a lot of example files (with a .ex
extension). Ignore these and look to the files which really matter:
debian/control and debian/rules

While debugging you may want to use fakeroot debian/rules binary

Johan

On Fri, Dec 6, 2013 at 6:45 AM, Jackie Ng <jumpinjackie at gmail.com> wrote:
> Hi All,
>
> I've been having a small hiccup trying to make FDO 3.8 deb packages for the
> Ubuntu build of MapGuide Open Source 2.5.2 using the deb packaging scripts
> here:
>
> http://trac.osgeo.org/fdo/browser/branches/3.8/install
>
> For some reason I cannot figure out, the dpkg tools *always* writes out
> 3.8.0-14601 as the fdo-core dependency version into the deb package control
> files for fdocore and some providers instead of 3.8.0-<head 3.8 SVN
> revision>. I pass the head SVN revision to dpkgall.sh, but this number is
> not being used by some of the packages.
>
> I've grepped the whole code base for any traces of this mysterious number
> and found nothing.
>
> Any ideas?
>
> - Jackie
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Build-14601-tp5093045.html
> Sent from the FDO Internals mailing list archive at Nabble.com.
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list