[GRASS-dev] GRASS 7 - Ubuntu package build problem on Launchpad

Ivan Mincik ivan.mincik at gmail.com
Tue Dec 30 13:05:09 PST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 30.12.2014 17:17, Markus Neteler wrote:
> On Tue, Dec 30, 2014 at 3:58 PM, Ivan Mincik
> <ivan.mincik at gmail.com> wrote: On 12/30/2014 03:29 PM, Markus
> Neteler wrote:
>>>> On Tue, Dec 30, 2014 at 3:13 PM, Ivan Mincik
>>>> <ivan.mincik at gmail.com> wrote:
>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>> 
>>>>> On 30.12.2014 15:00, Markus Neteler wrote:
>> ...
>>>> So, when running "configure" before compilation, the version
>>>> number is picked up: In "configure" line 1281 and later, it
>>>> executes
>>>> 
>>>> svnversion
>>>> 
>>>> which reports the SVN revision number.  Could you please
>>>> execute "svnversion" in your GRASS 7.0.svn source code main
>>>> directory?
> 
> 
> Debian builder can't execute 'svnversion' because it has no access
> to '.svn' files and no 'svn' software is installed in build
> chroot.
> 
>> Strange, the .svn/ directory is part of the GRASS source code.
> 
> So this can be a root of the problem.
> 
>> Yes, indeed.
> 
> Was there any significant change of version assignment between 6
> and 7 ?
> 
>> Yes.
> 
> Anyway, it seems to be a packaging problem rather a problem in
> GRASS as I originally expected.
> 
>> Yes, a packaging problem which hinders to run GRASS properly on
>> Ubuntu. On all other distros I know there is no such issue, so we
>> need to implement a workaround in case of absence of
>> "svnversion". In my compiled Fedora package I can extract it also
>> from here:

Debian packaging is done in special chroot (pbuilder, cowbuilder, ...)
with only packages specified in debian/control file [1] in
Build-depends field.

Also it is forbidden to upload packages with version control files
(.git, .svn, .hg, ...). In Ubuntu Launchpad, source code is first
fetched from SVN to Bazaar and than it is build.

I have some more notes/questions to Debian packaging. I will create
new thread for it.


1 -
http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/view/head:/control

> 
>> grep SVN
>> dist.x86_64-unknown-linux-gnu/include/Make/Platform.make 
>> GRASS_VERSION_SVN   = 63869M
> 
>> Markus
> 

- -- 
Ivan Minčík
ivan.mincik at gmail.com  GPG: 0x79529A1E
http://imincik.github.io/0x79529A1E.key
ivan.mincik at gista.sk     GPG: 0xD714B02C
http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUoxN/AAoJEPfdLsR5UpoezlQH/RqPMRlT2LLJhVrANYpFDE4+
Ym4TFIoIXvfAM4sUgVDvCqSOkU/MzruFdfqDF8LYB0yuPZPVfO//xvZxOHd5vN4X
vm2aCxN3ybyKAwCtWxoM2VQjEJuTTCGwCGr01B0P8lCUiR2YjNbGpBytroqFR+cH
/ysE1m6+mh8zu6x0DDu6Ff/3IMtRUV/GxwZC65WYiYy+Z/SIF9bEPrLUa2SY07Oz
mc75U/PWG4O+VisaWYoY7SjNWsSJYdh0XGbOK9x1aHu8n7MeFXm3XFTKzJGkKAzA
L2sVXbg5O1YL9QpcqFJNeD4O21NVmTEXtoaFAEXvMVJ7+TV/HM05KcyMrT0hLRo=
=pZdZ
-----END PGP SIGNATURE-----


More information about the grass-dev mailing list