Summary: | =sci-physics/root-6.12.04 does not set ROOTPATH in environment file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oliver Freyermuth <o.freyermuth> |
Component: | Current packages | Assignee: | Guilherme Amadio <amadio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sci-physics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Oliver Freyermuth
2017-12-17 01:43:26 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ae38c1b1982e8ff1812c639c785f1835e46d04 commit b4ae38c1b1982e8ff1812c639c785f1835e46d04 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2017-12-18 09:08:55 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2017-12-18 13:11:57 +0000 sci-physics/root: set ROOTPATH so that portage finds ROOT, bug 641422 As mentioned in the bug, this is needed for building packages that depend on ROOT, like sci-physics/{geant-vmc,gentfit,vgm}. Closes: https://bugs.gentoo.org/641422 Package-Manager: Portage-2.3.18, Repoman-2.3.6 sci-physics/root/root-6.12.04.ebuild | 1 + 1 file changed, 1 insertion(+) Sorry it took me so long to notice - but the fix is faulty, now PATH is not set anymore in the environment file. From the ebuild code: echo "PATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die echo "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die The second "echo" recreates the file, hence the "PATH" setting. ... hence the path setting is lost (sorry, submitted too early). Likely, the best would be another revision bump after this to roll out the fix. Re-opening this bug. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24372ea7f292da93a8da1fff33f6b4b1e98b6b1d commit 24372ea7f292da93a8da1fff33f6b4b1e98b6b1d Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2018-01-16 14:07:05 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2018-01-19 16:35:12 +0000 sci-physics/root: set PATH and ROOTPATH, bug 641422 The previous commit had a bug that overwrote the file with PATH setting. Now both PATH and ROOTPATH are properly set. Closes: https://bugs.gentoo.org/641422 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-physics/root/{root-6.12.04-r1.ebuild => root-6.12.04-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |