Bug 35918 - emerge zope fails because zope-config wasn't present
Bug#: 35918 Product:  Gentoo Linux Version: 1.4 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dev-portage@gentoo.org Reported By: davidgrant@gmail.com
Component: Ebuilds
URL: 
Summary: emerge zope fails because zope-config wasn't present
Keywords:  
Status Whiteboard: 
Opened: 2003-12-15 22:20 0000
Description:   Opened: 2003-12-15 22:20 0000
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 From David Grant 2003-12-15 22:20:59 0000 -------
re-assign to net-zope@gentoo.org

------- Comment #2 From Heinrich Wendel (RETIRED) 2003-12-16 06:16:30 0000 -------
this has always been working this way, what zope version did you try to
install?

------- Comment #3 From David Grant 2003-12-16 10:15:10 0000 -------
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 From Heinrich Wendel (RETIRED) 2003-12-16 12:09:00 0000 -------
what zope version did you try to install?

------- Comment #5 From David Grant 2003-12-16 12:32:15 0000 -------
the stable one, 2.6.1

------- Comment #6 From Heinrich Wendel (RETIRED) 2003-12-22 08:03:53 0000 -------
> 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 From Marius Mauch (RETIRED) 2003-12-22 08:18:36 0000 -------
how would you expect them to be handled ?

------- Comment #8 From Heinrich Wendel (RETIRED) 2003-12-22 08:37:01 0000 -------
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 From Marius Mauch (RETIRED) 2003-12-22 09:01:36 0000 -------
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 From Heinrich Wendel (RETIRED) 2003-12-22 09:11:03 0000 -------
I think PDEPEND is exactly what we need here, fixed in zope-config.