Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664886 - sci-geosciences/grass-7.4.0 "Please install GRASS development package" when installing addon
Summary: sci-geosciences/grass-7.4.0 "Please install GRASS development package" when i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-30 14:07 UTC by dom
Modified: 2018-09-09 15:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/lib64/pkgconfig/grass.pc (grass.pc,432 bytes, text/plain)
2018-08-30 14:07 UTC, dom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dom 2018-08-30 14:07:35 UTC
Created attachment 545506 [details]
/usr/lib64/pkgconfig/grass.pc

I try to install the addon v.in.gps via the built in extension manager.

## error 1, which I could fix:
in the GRASS console python complained about a missing file "docs/html/grass_logo.png"
solved by 
cd /usr/lib64/grass74
mkdir docs && cd docs
ln -s /usr/share/doc/grass-7.4.0/html ./

## error 2 which I could not fix:
now, when I try to install v.in.gps, I get


(Thu Aug 30 14:30:52 2018)                                                      
g.extension extension=v.in.gps url=                                             
Fetching <v.in.gps> from GRASS GIS Addons repository (be patient)...
Compiling...
ERROR: Please install GRASS development package
(Thu Aug 30 14:30:54 2018) Command finished (1 sec)

also, in a terminal:
$ grass74 --config
ERROR: Please install the GRASS GIS development package
Exiting...

while inspecting the contents of the craved for dev-package in debian, I noticed, that they installed includes whithin /usr/lib64/grass74/include/grass/*.h, which led me to try making a symlink to /usr/include/grass, similar to the documentation one. That didn't help. 

I then noticed the pkg-config files that are included in debian. I found /usr/lib64/pkgconfig/grass.pc (attached) which looks horibly wrong, since none of the included paths exist on my system.
I tried changing them to what I was thinking where the right directories, but still got the same error message. After reinstalling grass this file is now again in its initial (obviously wrong?) state.
Comment 1 Gioacchino Mazzurco 2018-08-31 23:13:55 UTC
This should solve your problem too https://bugs.gentoo.org/665006
Comment 2 Larry the Git Cow gentoo-dev 2018-09-09 15:41:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ced847e135e475663778074f797538cb6e3464a

commit 3ced847e135e475663778074f797538cb6e3464a
Author:     Gioacchino Mazzurco <gio@eigenlab.org>
AuthorDate: 2018-08-31 22:48:45 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-09-09 15:39:58 +0000

    sci-geosciences/grass-7.4.1 version bump
    
    Update to new version and avoid breaking addons installation by not
    deleting too much things in src_install
    
    Closes: https://bugs.gentoo.org/664886
    Closes: https://bugs.gentoo.org/665006
    Closes: https://github.com/gentoo/gentoo/pull/9748

 sci-geosciences/grass/Manifest           |   1 +
 sci-geosciences/grass/grass-7.4.1.ebuild | 284 +++++++++++++++++++++++++++++++
 2 files changed, 285 insertions(+)