Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4160 - eclasses variables are not used properly
Summary: eclasses variables are not used properly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
: 4163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-25 17:04 UTC by Francisco Gimeno
Modified: 2011-10-30 22:18 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Gimeno 2002-06-25 17:04:02 UTC
Hi...

I have found a little bug. I think that a lot of ppl have seen this, but anyway
I haven't seen the bug report. 
Well, first, type this... emerge search kde
-----
.
.
.
*  kde-base/kdeutils
      Latest version Available: 3.0.1.20020604
      Latest version Installed: 3.0.1.20020604
      Homepage:
      Description:
      ${DESCRIPTION}Utilities
.
.
.
----
I could see this when making the ebook eclass and ebuilds...
--------- a piece of my eclass --------
 Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Francisco Gimeno <kikov@fco-gimeno.com>
# Manteiner Jos
Comment 1 Francisco Gimeno 2002-06-25 17:04:02 UTC
Hi...

I have found a little bug. I think that a lot of ppl have seen this, but anyway
I haven't seen the bug report. 
Well, first, type this... emerge search kde
-----
.
.
.
*  kde-base/kdeutils
      Latest version Available: 3.0.1.20020604
      Latest version Installed: 3.0.1.20020604
      Homepage:
      Description:
      ${DESCRIPTION}Utilities
.
.
.
----
I could see this when making the ebook eclass and ebuilds...
--------- a piece of my eclass --------
 Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Francisco Gimeno <kikov@fco-gimeno.com>
# Manteiner José Alberto Suárez López <bass@gentoo.org>
# The ebook eclass defines some default functions and variables to
# install ebooks.
ECLASS=ebook

HOMEPAGE="http://lidn.sourceforge.net"
--------------------------------
HOMEPAGE is really defined in the eclass ( and so, in the ebuilds that inherit it )

If you think that you can put in the ebuild: HOMEPAGE=${HOMEPAGE}, you're
wrong... :(
You can see the result with the kdeutils package. 

So... how to solving it?
-inheriting.... 
-making a good db ( by inheriting )

well... it's all.... 
If you didn't understand something, I'll asnwer in a hurry ;)

Happy Gentooing!
Comment 2 Francisco Gimeno 2002-06-25 17:23:20 UTC
*** Bug 4163 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-06-27 23:13:47 UTC
Known issue; will be fixed when we implement our tdb-ish hyper-fast db cache code.
Comment 4 SpanKY gentoo-dev 2002-10-26 14:36:19 UTC
it also seems like DEPEND's arent carried in from eclasses ...

from the cvs.eclass:
# add cvs to deps
DEPEND="$DEPEND dev-util/cvs"

from emerging something that uses the cvs.eclass:
root@pants root # env ACCEPT_KEYWORDS=~x86 emerge x11-wm/enlightenment-cvs
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/enlightenment-cvs-0.17.20021026 to /
>>> Unpacking source...
 * Running cvs -q -f -z4 update -dP -rHEAD with 
cvs.enlightenment.sourceforge.net:/cvsroot/enlightenment for e17/...
/usr/sbin/ebuild.sh: cvs: command not found
Comment 5 TGL 2002-10-28 08:47:12 UTC
See also bug #9680 for another example (DEPEND from kernel.eclass is not exported).
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2002-11-14 06:04:32 UTC
Cache issue fixed in 2.0.43/44

Reopen if this is still an issue.