Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35918 - emerge zope fails because zope-config wasn't present
Summary: emerge zope fails because zope-config wasn't present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-15 22:20 UTC by David Grant
Modified: 2003-12-22 09:11 UTC (History)
1 user (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 David Grant 2003-12-15 22:20:21 UTC
I didn't have zope or zope-config installed.  zope needs zope-config because it runs zope-config at the end of the ebuild.  But if you try to emerge zope-config, it wants to emerge zope first, thus causing the execution of /usr/sbin/zope-config to fail when emerging zope:

/usr/sbin/ebuild.sh: line 144: /usr/sbin/zope-config: No such file or directory

The only way I can think of fixing this is to make zope-config NOT depend on zope?
Comment 1 David Grant 2003-12-15 22:20:59 UTC
re-assign to net-zope@gentoo.org
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-16 06:16:30 UTC
this has always been working this way, what zope version did you try to install?
Comment 3 David Grant 2003-12-16 10:15:10 UTC
Let me clarify what I did.  I did

emerge -vp zope-config

and portage wanted to merge zope first, and then zope-config.  I then did "emerge zope-config".  The zope install didn't work 100% because zope-config is missing.

I think this is what we need:

zope should have a DEPEND on zope-config
zope-config should have an RDEPEND on zope, but no DEPEND on zope
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-16 12:09:00 UTC
what zope version did you try to install?
Comment 5 David Grant 2003-12-16 12:32:15 UTC
the stable one, 2.6.1
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 08:03:53 UTC
> zope should have a DEPEND on zope-config
> zope-config should have an RDEPEND on zope, but no DEPEND on zope

this is the current situation

I think it is a portage bug since it handles DEPEND and RDEPEND the same way
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2003-12-22 08:18:36 UTC
how would you expect them to be handled ?
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 08:37:01 UTC
zope-config should be emerged first since there is a DEPEND on it in zope, then zope should be merged since there is a RDEPEND on it in zope-config
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2003-12-22 09:01:36 UTC
can't you use PDEPEND in zope-config as a workaround ? DEPEND and RDEPEND 
have the same priority, the only difference is that DEPEND is ignored 
for .tbz2 packages. Not rejecting this request, but it could be problematic
to implement.
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 09:11:03 UTC
I think PDEPEND is exactly what we need here, fixed in zope-config.