Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709292 - dev-java/java-config-2.9999::java git-2.eclass could not be found by inherit
Summary: dev-java/java-config-2.9999::java git-2.eclass could not be found by inherit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-11 15:54 UTC by Daniel M. Weeks
Modified: 2021-03-15 18:17 UTC (History)
5 users (show)

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


Attachments
Patch to fix removed git-2.eclass error (java-config-2.9999.ebuild.patch,1.11 KB, patch)
2020-02-12 12:52 UTC, Michele Testa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2020-02-11 15:54:12 UTC
I guess git-2 was dropped without warning...

 * ERROR: dev-java/java-config-2.9999::java failed (depend phase):
 *   git-2.eclass could not be found by inherit()
 *
 * Call stack:
 *                   ebuild.sh, line 609:  Called source '/var/lib/layman/java/dev-java/java-config/java-config-2.9999.ebuild'
 *   java-config-2.9999.ebuild, line  10:  Called inherit 'git-2' 'distutils-r1' 'eutils'                                                                                                                                                                                                                                    | *                   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 '=dev-java/java-config-2.9999::java'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/java-config-2.9999::java'`.
 * Working directory: '/usr/lib64/python3.6/site-packages'                                                                                                                                                                                                                                                                   \ * S: '/tmp/portage/dev-java/java-config-2.9999/work/java-config-2.9999'                                                                                                                                                                                                                                                     | * ERROR: dev-java/java-config-2.2.9999::java failed (depend phase):
 *   git-2.eclass could not be found by inherit()
 *
 * Call stack:                                                                                                                                                                                                                                                                                                               \ *                     ebuild.sh, line 609:  Called source '/var/lib/layman/java/dev-java/java-config/java-config-2.2.9999.ebuild'
 *   java-config-2.2.9999.ebuild, line  10:  Called inherit 'git-2' 'distutils-r1' 'eutils'
 *                     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 '=dev-java/java-config-2.2.9999::java'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/java-config-2.2.9999::java'`.                                                                                                                                                                                                                            / * Working directory: '/usr/lib64/python3.6/site-packages'
 * S: '/tmp/portage/dev-java/java-config-2.2.9999/work/java-config-2.2.9999'

Reproducible: Always
Comment 2 Daniel M. Weeks 2020-02-11 16:27:25 UTC
(In reply to Ben Kohler from comment #1)
> Not without warning:
> https://archives.gentoo.org/gentoo-dev/message/
> 15adf2a2efca2bb86b4f879f122e7f85
> https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/git-2.
> eclass?id=fa57b26f9c74a7b3be56ffe0472f6843f9244234

Fair enough. I retract my statement. It doesn't change that what's broken though.
Comment 3 Michele Testa 2020-02-12 12:52:40 UTC
Created attachment 613454 [details, diff]
Patch to fix removed git-2.eclass error

Just update git eclass reference in ebuild inherit decl