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

Ivan Mincik ivan.mincik at gmail.com
Tue Dec 30 06:58:41 PST 2014


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

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:
>>> GRASS 7.0.0 (latlong):~ > Unable to get GRASS version Unable to get 
>>> GRASS version
>>> 
>>> GRASS 7.0.0 (latlong):~ > g.version -g version=7.0.0svn date=2014 
>>> revision= build_date=2014-12-13 build_platform=x86_64-pc-linux-gnu
>> 
>> Fine, I have also seen this error. I was not sure if it is bug or some 
>> build configuration problem, so I was not sure if I should report it.
> 
> It only occurs on Ubuntu and will render GRASS (partially) unusable.
> 
>> My earlier note to packages versioning: For Ubuntu PPA builds I strongly
>> suggest to update build recipe with SVN revision number instead of
>> meaningless BZR one, which has no relation to SVN and is confusing:
>> 
>> 
>> Proposed recipe: # bzr-builder format 0.4 deb-version
>> 7.0.0+1svn{svn-revno} lp:grass/7.0 nest debianfiles
>> lp:~grass/grass/grass70_release_debian debian
> 
> Not really being an Ubuntu user I have no opinion here.
> 
> But this is how the version is generated:
> 
> # original source code include/Make/Platform.make.in:GRASS_VERSION_SVN   =
> @GRASS_VERSION_SVN@
> 
> # --> configure --> include/Make/Platform.make:GRASS_VERSION_SVN   =
> 63869M
> 
> # g.version: general/g.version/Makefile EXTRA_CFLAGS = $(PROJINC)
> $(GEOSCFLAGS) \ ... -DGRASS_VERSION_SVN=\"'$(GRASS_VERSION_SVN)'\" \
> 
> general/g.version/main.c # line 99: fprintf(stdout, "revision=%s\n",
> GRASS_VERSION_SVN);
> 
> 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. So this can be a
root of the problem.
Was there any significant change of version assignment between 6 and 7 ?

Anyway, it seems to be a packaging problem rather a problem in GRASS as I
originally expected.

- -- 
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.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUor2gAAoJEPfdLsR5UpoeeyoH/2lBNKT4HmtTOxly6u05sHrH
BQoDMP9iBkS5fAh5dImoZ17Q3w7qNZk12xjHyGP7KVVS4sn8czZxBAurV4gxFYvG
qcpneRP146IyQhrv0HaNF1njn6ulMK/2HwMUVNsUpBsC/u7Hy3gUsnPskQqzm0oS
9E0yKan4OnkCk1K8c5Pfqw2ziV/CKBIYhLk/5r7OnQHgfo/+kAAQHCFe52lbqV/6
3KIroPiZ02vIMyMaA2cfwi8UWMgwXhjVpOOx44X6OUjrSvv0pNwe8ZKmqiuRYJor
mxRDlsyTYGjY6QBwbbENMCV7v31TXF5QCP2f/25bHyxZ05orGzX97guMk03Tvf4=
=8Xpj
-----END PGP SIGNATURE-----


More information about the grass-dev mailing list