View previous topic :: View next topic |
Author |
Message |
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Tue Oct 08, 2013 5:39 am Post subject: git.eclass could not be found by inherit() [SOLVED] |
|
|
Suddently out of the blue [ I guess I did not pay attention when it has started], my strongswan overlay ebuild [ based to get the latest greatest git version]
is failing and it complains about git.eclass could not be found by inherit()
Any clues why the portage has changed behavior?
Quote: |
Calculating dependencies / * ERROR: net-misc/strongswan-9999::myoverlay failed (depend phase):
* git.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/usr/local/portage/overlay/net-misc/strongswan/strongswan-9999.ebuild'
* strongswan-9999.ebuild, line 6: Called inherit 'eutils' 'linux-info' 'user' 'git'
* ebuild.sh, line 257: 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 '=net-misc/strongswan-9999::myoverlay'`,
* the complete build log and the output of `emerge -pqv '=net-misc/strongswan-9999::myoverlay'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/net-misc/strongswan-9999/work/strongswan-9999'
|
My ebuild is the strongswan ebuild just modified to get the git code
Quote: |
gentoo olpeleri # cat /usr/local/portage/overlay/net-misc/strongswan/strongswan-9999.ebuild | less
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.0.4.ebuild,v 1.5 2013/05/11 11:18:38 ago Exp $
EAPI=2
inherit eutils linux-info user git
DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/"
#SRC_URI="http://download.strongswan.org/${P}.tar.bz2"
EGIT_REPO_URI="git://git.strongswan.org/strongswan.git"
#EGIT_BRANCH="ikev1-dpd-fix"
LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="amd64 arm ppc ~ppc64 x86"
IUSE="+caps curl debug dhcp eap farp gcrypt ldap mysql +non-root +openssl sqlite pam"
COMMON_DEPEND="!net-misc/openswan
>=dev-libs/gmp-4.1.5
gcrypt? ( dev-libs/libgcrypt )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
pam? ( sys-libs/pam )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2"
UGID="ipsec"
.....
|
_________________ Olivier PELERIN
Last edited by OPelerin on Tue Oct 08, 2013 8:32 am; edited 1 time in total |
|
Back to top |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Tue Oct 08, 2013 7:06 am Post subject: |
|
|
git.eclass ist dead and was cleaned from the tree three days ago. Either use git-2.eclass (or maybe git-r3.eclass) or get an old git.eclass and put it to your overlay (or - if someone else maintains that overlay get him/her to do the aforementioned changes). |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Tue Oct 08, 2013 8:32 am Post subject: |
|
|
changed git to git-2 and now it works.
Thanks! _________________ Olivier PELERIN |
|
Back to top |
|
|
hitchhacker n00b
Joined: 13 Oct 2013 Posts: 1
|
Posted: Sun Oct 13, 2013 4:32 pm Post subject: x-modular |
|
|
Thanks this worked.
I needed to change git to git-2 in /usr/portage/eclass/x-modular.eclass as well. |
|
Back to top |
|
|
|