The ebuild in Gentoo was converted to xdg 2 years ago. Calculating dependencies - * ERROR: sys-apps/baselayout-java-9999::java failed (depend phase): * fdo-mime.eclass could not be found by inherit() * * Call stack: - * ebuild.sh, line 609: Called source '/var/db/repos/java/sys-apps/baselayout-java/baselayout-java-9999.ebuild' * baselayout-java-9999.ebuild, line 7: Called inherit 'autotools' 'subversion' 'fdo-mime' 'gnome2-utils' * ebuild.sh, line 290: Called die * The specific snippet of code: * [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()" * * If you need support, post the output of `emerge --info '=sys-apps/baselayout-java-9999::java'`, * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-java-9999::java'`. * Working directory: '/usr/lib/python3.8/site-packages' * S: '/var/tmp/portage/sys-apps/baselayout-java-9999/work/baselayout-java-9999' | * ERROR: x11-misc/pcmanfm-9999::overlay_jl failed (depend phase): * fdo-mime.eclass could not be found by inherit()
grep -R fdo sys-apps/baselayout-java/baselayout-java-9999.ebuild:inherit autotools subversion fdo-mime gnome2-utils sys-apps/baselayout-java/baselayout-java-9999.ebuild: fdo-mime_desktop_database_update sys-apps/baselayout-java/baselayout-java-9999.ebuild: fdo-mime_desktop_database_update
Created attachment 681829 [details, diff] Patch to fix migration from fdo-mime to xdg-utils # @ECLASS: fdo-mime.eclass # @MAINTAINER: # freedesktop-bugs@gentoo.org # @AUTHOR: # Original author: foser <foser@gentoo.org> # @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations # @DESCRIPTION: # This eclass is DEPRECATED. Please use xdg-utils or xdg instead.
I have created a pull request for the java overlay, that (a) fixes this issue (i.e., the missing migration to xdg-utils), (b) migrates from the (afaik no longer existing) SVN repository to the more recent git repository, and (c) applies some other patches that were applied in the last years to the corresponding ebuild in the gentoo main tree: https://github.com/gentoo/java-overlay/pull/49 However, I do not know who would review and merge pull requests for the java overlay.
*** Bug 760627 has been marked as a duplicate of this bug. ***
https://gitweb.gentoo.org/proj/java.git/commit/?id=f86680ac4918e2ef986ba518d5b78028153a3907 sys-apps/baselayout-java: sync -9999 ebuildHEADmaster This syncs the baselayout-java ebuild with the ebuild from the official Gentoo ebuild repository.