Package Details: grass 7.0.4-1

Git Clone URL: https://aur.archlinux.org/grass.git (read-only)
Package Base: grass
Description: Geospatial data management and analysis, image processing, graphics/maps production, spatial modeling and visualization
Upstream URL: http://grass.osgeo.org/
Licenses: GPL
Submitter: Scimmia
Maintainer: Scimmia
Last Packager: Scimmia
Votes: 13
Popularity: 1.487632
First Submitted: 2015-09-06 15:10
Last Updated: 2016-05-16 00:41

Latest Comments

kikislater commented on 2016-06-04 09:08

Another PKGBUILD here (from official grass gis website) :
https://gitlab.com/tutturu/grass7_pkgbuild

Better options according to common GIS usage with Grass

SmokeyD commented on 2016-05-20 01:48

I had the build problems as well like all previous commenters with GCC6. I also tried using GCC5 and GCC4.something from AUR, but it didn't want to build. Today I just tried installing again form AUR without any modifications and it just built and installed fine without trouble. I assume @Scimmia did something in the PKGBUILD to make it compile correctly with GCC6. If so, it worked like a charm for me. Thanks a lot!

Scimmia commented on 2016-05-16 00:43

Got it. GCC6 defaults to C++14 now, and GRASS can't handle that. Forcing it back to C++98 lets everything build fine again. I didn't bump the pkgrel, as there's no need to rebuilt it if you already successfully built it earlier.

Having different compilers in core and testing set us back a bit on this. Thanks for your patience.

Scimmia commented on 2016-05-16 00:28

Alright, I can reproduce it now. I think these are GCC6 issues.

beej commented on 2016-05-15 23:00

Detail on the iostream build error. Looks like it might be an upstream issue.

http://pastebin.com/NnjN4n07

kikislater commented on 2016-05-12 20:02

On my second setup, I successfull built it with make -j8 on 4790k cpu

Scimmia commented on 2016-05-12 13:36

@Humu_2013, @zottelef, from kikislater's comment, this could be a race condition. Try adding "-j1" to the "make" command in the build function. If that works, I can add it to the PKGBUILD.

zottelef commented on 2016-05-12 08:37

@HuMu_2013 & @Scimmia:
I am playing around with the compilation error in the iostream:

In file included from /home/fabio/sources/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/vect/digit.h:3:0,
from /home/fabio/sources/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/vector.h:4,
from do_copy.c:20:
/home/fabio/sources/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/vect/dig_structs.h:20:23: fatal error: grass/dgl.h: No such file or directory
#include <grass/dgl.h>
^
compilation terminated.


Could this help?

HuMu_2013 commented on 2016-05-11 07:02

Got the errors as @zottelef:

Errors in:
/home/huub/abs/grass/src/grass-7.0.4/lib/iostream
/home/huub/abs/grass/src/grass-7.0.4/raster/r.terraflow
/home/huub/abs/grass/src/grass-7.0.4/raster/r.viewshed
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed May 11 06:50:04 GMT 2016
Makefile:57: recipe for target 'default' failed
make: *** [default] Error 1
==> ERROR: A failure occurred in build().
Aborting...

kikislater commented on 2016-05-04 09:50

I forgot that I made, before building, a ton of update.
After rebooting and building without make -jx (where x is my number of cores cpu unit) it's building like a charm on 2 installations. Sorry for the message ...

All comments