Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775245 - sci-geosciences/qgis-3.x.x: wrong GRASS location in ebuilds
Summary: sci-geosciences/qgis-3.x.x: wrong GRASS location in ebuilds
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: PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-10 13:18 UTC by UlvHare
Modified: 2021-05-17 21:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description UlvHare 2021-03-10 13:18:48 UTC
E.g. in qgis-3.16.4.ebuild lines 155-159:

	if use grass; then
		mycmakeargs+=(
			-DGRASS_PREFIX7=/usr/$(get_libdir)/grass70
		)
	fi

It is wrong: there is no /usr/lib64/grass70 directory, but there is /usr/lib64/grass78 one.

Reproducible: Always

Actual Results:  
If use such ebuilds at least GRASS module doesn't work.

Expected Results:  
in qgis-3.16.4.ebuild lines 155-159:

	if use grass; then
		mycmakeargs+=(
			-DGRASS_PREFIX7=/usr/$(get_libdir)/grass78
		)
	fi


When I edit ebuild in local overlay everything works. Please edit qgis ebuilds in portage.
Comment 1 Larry the Git Cow gentoo-dev 2021-05-17 20:41:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138f05b842b0ee3a89b97550c8f02c998d3ccad8

commit 138f05b842b0ee3a89b97550c8f02c998d3ccad8
Author:     t0b3 <thomas.bettler@gmail.com>
AuthorDate: 2021-03-23 18:56:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-17 20:39:47 +0000

    sci-geosciences/qgis: adapt path for grass78 (current ebuild)
    
    Closes: https://bugs.gentoo.org/775245
    Signed-off-by: t0b3 <thomas.bettler@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20082
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-geosciences/qgis/qgis-3.16.2.ebuild | 2 +-
 sci-geosciences/qgis/qgis-3.16.4.ebuild | 2 +-
 sci-geosciences/qgis/qgis-9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)