The program stopped working because of the latest change [1] to distutils-r1 eclass with error: $ gramps ResourcePath.ERROR: Unable to determine resource path [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/distutils-r1.eclass?id=180fa85d7d00aea463c399f70348beaad9166eb7 Reproducible: Always
I observe the same error when trying to start gramps. Also, it does no longer install a .desktop entry, so it's not visible in Gnome menu. Not sure if it's caused by the same change or not.
(In reply to Alexey Vladykin from comment #1) > Also, it does no longer install a .desktop entry, so it's not visible in > Gnome menu. Not sure if it's caused by the same change or not. Yes, it's a different symptom of the same underlying cause. Will try to track down what exactly gets built at install time and how, that said if it turns out to be complex to resolve we might have to revert the eclass change for the time being. Also, for the record to anyone new who might encounter this ticket: it's not that the eclass change magically makes existing Gramps installations stop working, this only applies to new installations following the eclass change. Updating the title to hopefully reflect this better.
Workaround (adjust path in accordance with your architecture and PYTHON_SINGLE_TARGET): echo -n "/usr/share" >/usr/lib64/python3.6/site-packages/gramps/gen/utils/resource-path
(this will allow Gramps to start but you will not have the desktop files, locales, man pages and a bunch of MIME-related files)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb5e99bc9a64e35b64b117049ebf0e75fadb18e commit 1bb5e99bc9a64e35b64b117049ebf0e75fadb18e Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-04-21 22:14:27 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-04-21 22:20:48 +0000 app-misc/gramps: work around problems with --skip-build Required to make new Gramps installations work following one of the recent changes to distutils-r1.eclass (commit 180fa85d7d00aea463c399f70348beaad9166eb7). Has the dubious distinction of being possibly the ugliest hack I have ever had to implement. Bug: https://bugs.gentoo.org/717922 Signed-off-by: Marek Szuba <marecki@gentoo.org> app-misc/gramps/gramps-5.1.2-r1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+)