Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760474 - [java overlay] sys-apps/baselayout-java-9999 inherits last rited fdo-mime.eclass
Summary: [java overlay] sys-apps/baselayout-java-9999 inherits last rited fdo-mime.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PATCH
: 760627 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-17 14:01 UTC by jospezial
Modified: 2021-01-20 15:17 UTC (History)
5 users (show)

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


Attachments
Patch to fix migration from fdo-mime to xdg-utils (baselayout-java-9999.patch,763 bytes, patch)
2021-01-07 19:56 UTC, Michele Testa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2020-12-17 14:01:40 UTC
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()
Comment 1 Jonas Stein gentoo-dev 2020-12-18 22:58:12 UTC
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
Comment 2 Michele Testa 2021-01-07 19:56:56 UTC
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.
Comment 3 gentoo 2021-01-09 17:05:50 UTC
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.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-11 20:49:36 UTC
*** Bug 760627 has been marked as a duplicate of this bug. ***
Comment 5 jospezial 2021-01-20 15:17:00 UTC
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.