[GRASS-dev] [GRASS GIS] #3880: update/drop revision check after git switch

GRASS GIS trac at osgeo.org
Sat Aug 3 08:02:36 PDT 2019


#3880: update/drop revision check after git switch
------------------------+---------------------------------
  Reporter:  hellik     |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  7.6.2
 Component:  Compiling  |    Version:  svn-releasebranch76
Resolution:             |   Keywords:  svn, git, revision
       CPU:  All        |   Platform:  All
------------------------+---------------------------------
Changes (by neteler):

 * priority:  normal => blocker


Comment:

 The code in question is here:



 {{{
 # include/gis.h
 41:#define GIS_H_VERSION "$Revision$"
 44:#define G_gisinit(pgm) G__gisinit(GIS_H_VERSION, (pgm))
 45:#define G_no_gisinit() G__no_gisinit(GIS_H_VERSION)


 # lib/gis/gisinit.c, line 86ff
     if (strcmp(version, GIS_H_VERSION) != 0)
         G_fatal_error(_("Module built against version %s but "
                         "trying to use version %s. "
                         "You need to rebuild GRASS GIS or untangle
 multiple installations."),
                         version, GIS_H_VERSION);
     gisinit();
 }}}

 This needs urgently to be addressed since SVN "$Revision$" doesn't exist
 any more in git.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3880#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list