Bug 1409006 - Please update GRASS GIS to 7.2.0
Summary: Please update GRASS GIS to 7.2.0
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grass
Version: 25
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-28 21:52 UTC by markusN
Modified: 2017-07-19 18:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-27 06:57:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
GRASS GIS 7.2 SPEC file (16.57 KB, text/x-matlab)
2017-06-26 14:24 UTC, markusN
no flags Details

Description markusN 2016-12-28 21:52:06 UTC
A new major upstream version is available:

https://trac.osgeo.org/grass/wiki/Release/7.2.0-News

Source code: https://grass.osgeo.org/grass72/source/grass-7.2.0.tar.gz
md5sum:      http://grass.osgeo.org/grass72/source/grass-7.2.0.md5sum


The Debian maintainer already pointed out a small issue (with patch):
"The desktop file has been update to use the grass.png icon, but
grass71.png is actually installed. Packagers for Linux, BSD & macOS
should apply the patch from the following issue to fix that:
 https://trac.osgeo.org/grass/ticket/3233
"

Hoping the best, thanks for packaging!

Comment 1 markusN 2017-01-13 13:27:39 UTC
Using hte grass70 SPEC file, I have created a new RPM with COPR:

https://copr.fedorainfracloud.org/coprs/neteler/grass72/

Only a few minor changes where needed in the SPEC file.

Comment 2 Chad 2017-02-28 15:25:45 UTC
On Fedora 25, I installed the default grass 7.0.4, which works except when trying to install extensions. Upon finding this copr repo, I installed, but it also has the same problems installing extensions. The cause and solution is documented here: http://grass-user.osgeo.narkive.com/D2QURmzv/unable-to-install-add-ons-on-fedora23. It is missing source files such as /usr/lib64/grass72/include/Make/Module.make. Could you fix this repo for the community, so that extensions can be installed? Thank you very much for all the work so far.


GRASS 7.2.0 (test1):~ > g.extension extension=v.delaunay3d

Fetching <v.delaunay3d> from GRASS GIS Addons repository (be patient)...

Compiling...

ERROR: Please install GRASS development package

 

 

GRASS 7.2.0 (test1):~ > g.extension extension=v.delaunay3d -d

Fetching <v.delaunay3d> from GRASS GIS Addons repository (be patient)...

 

To compile run:

make MODULE_TOPDIR=/usr/lib64/grass72 RUN_GISRC=/tmp/grass7-peyton-24966/gisrc BIN=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/bin HTMLDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/html RESTDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/rest MANBASEDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/man SCRIPTDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/scripts STRINGDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d ETC=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/etc

 

To install run:

make MODULE_TOPDIR=/usr/lib64/grass72 ARCH_DISTDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d INST_DIR=/home/peyton/.grass7/addons install

 

Path to the source code:

/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d

 


 

GRASS 7.2.0 (test1):~ > cd /tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d

GRASS 7.2.0 (test1):/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d > make MODULE_TOPDIR=/usr/lib64/grass72 RUN_GISRC=/tmp/grass7-peyton-24966/gisrc BIN=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/bin HTMLDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/html RESTDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/rest MANBASEDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/docs/man SCRIPTDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/scripts STRINGDIR=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d ETC=/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d/etc

Makefile:10: /usr/lib64/grass72/include/Make/Module.make: No such file or directory

make: *** No rule to make target '/usr/lib64/grass72/include/Make/Module.make'.  Stop.

GRASS 7.2.0 (test1):/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d >

GRASS 7.2.0 (test1):/tmp/grass7-peyton-24966/tmpdSgiM3/v.delaunay3d > ls -la /usr/lib64/grass72/

bin/     docs/    driver/  etc/     fonts/   gui/     locale/  scripts/

Comment 3 Chad 2017-02-28 16:26:31 UTC
Updated package to 7.2.0 and "g.extension unable to compile addons" should be tracked as separate issues. The "g.extensions" bug has been around, and closed in prior tickets, such as https://bugzilla.redhat.com/show_bug.cgi?id=855524. The cause and solution is documented here: http://grass-user.osgeo.narkive.com/D2QURmzv/unable-to-install-add-ons-on-fedora23.

Comment 4 M. Edward (Ed) Borasky 2017-04-26 08:56:25 UTC
Will this make it into Fedora 26? I'm getting errors trying to install the current GRASS:

[znmeb@AlgoCompSynth26 Fedora26]$ sudo dnf install grass
Last metadata expiration check: 1:15:00 ago on Wed Apr 26 00:37:24 2017 PDT.
Error: conflicting requests
  - nothing provides libboost_system.so.1.60.0 needed by grass-7.0.4-7.fc26.i686
  - nothing provides libboost_system.so.1.60.0()(64bit) needed by grass-7.0.4-7.fc26.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)
[znmeb@AlgoCompSynth26 Fedora26]$ sudo dnf install grass --allowerasing
Last metadata expiration check: 1:15:20 ago on Wed Apr 26 00:37:24 2017 PDT.
Error: conflicting requests
  - nothing provides libboost_system.so.1.60.0 needed by grass-7.0.4-7.fc26.i686
  - nothing provides libboost_system.so.1.60.0()(64bit) needed by grass-7.0.4-7.fc26.x86_64

Comment 5 markusN 2017-04-26 12:09:38 UTC
(In reply to Chad from comment #3)
> Updated package to 7.2.0 and "g.extension unable to compile addons" should
> be tracked as separate issues. The "g.extensions" bug has been around, and
> closed in prior tickets, such as
> https://bugzilla.redhat.com/show_bug.cgi?id=855524. The cause and solution
> is documented here:
> http://grass-user.osgeo.narkive.com/D2QURmzv/unable-to-install-add-ons-on-
> fedora23.

I have updated the GRASS GIS SPEC file for the current 7.2.x release. The g.extension problem is indicated in the SPEC file. It is likely a single "sed" line to update a path in include/Make/Platform.make to the target installation path.

File available here: 
https://copr.fedorainfracloud.org/coprs/neteler/grass72/

It now compiles on Fedora, EPEL7 and also EPEL 6.

Comment 6 markusN 2017-06-26 14:24:37 UTC
Created attachment 1291999 [details]
GRASS GIS 7.2 SPEC file

Comment 7 Devrim Gündüz 2017-06-27 06:57:43 UTC
This is now done.

Thank you Markus!

Comment 8 markusN 2017-06-27 09:41:24 UTC
Great, I see it here:
https://koji.fedoraproject.org/koji/packageinfo?packageID=1972

thanks Devrim!

Comment 9 John Freed 2017-07-19 18:52:30 UTC
I have just filed bug #1472991, which includes a workaround to this problem (which still exists in FC26)

(In reply to M. Edward (Ed) Borasky from comment #4)
> Will this make it into Fedora 26? I'm getting errors trying to install the
> current GRASS:
> 
> [znmeb@AlgoCompSynth26 Fedora26]$ sudo dnf install grass
> Last metadata expiration check: 1:15:00 ago on Wed Apr 26 00:37:24 2017 PDT.
> Error: conflicting requests
>   - nothing provides libboost_system.so.1.60.0 needed by
> grass-7.0.4-7.fc26.i686
>   - nothing provides libboost_system.so.1.60.0()(64bit) needed by
> grass-7.0.4-7.fc26.x86_64
> (try to add '--allowerasing' to command line to replace conflicting packages)
> [znmeb@AlgoCompSynth26 Fedora26]$ sudo dnf install grass --allowerasing
> Last metadata expiration check: 1:15:20 ago on Wed Apr 26 00:37:24 2017 PDT.
> Error: conflicting requests
>   - nothing provides libboost_system.so.1.60.0 needed by
> grass-7.0.4-7.fc26.i686
>   - nothing provides libboost_system.so.1.60.0()(64bit) needed by
> grass-7.0.4-7.fc26.x86_64


Note You need to log in before you can comment on or make changes to this bug.