Bug 68180 - Plone 2.0.4 ebuild doesn't RDEPEND "zope-config"
Bug#: 68180 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-zope@gentoo.org Reported By: evan@mirrored.ca
Component: Applications
URL: 
Summary: Plone 2.0.4 ebuild doesn't RDEPEND "zope-config"
Keywords:  
Status Whiteboard: 
Opened: 2004-10-19 10:26 0000
Description:   Opened: 2004-10-19 10:26 0000
The plone-2.0.4.ebuild file doesn't RDEPEND zope-config and it isn't pulled in
by any of the other dependancies so when the zproduct_pkg_postinst() function
is called in the zproduct eclass it silently bombs out.

Reproducible: Always
Steps to Reproduce:
1. emerge plone without emerging zope-config
2.
3.

Actual Results:  
>>> original instance of package unmerged safely.
/usr/sbin/ebuild.sh: line 1: zope-config: command not found
 * >>> Installing plone-2.0.4 into the "" zinstance...
 * Caching service dependencies...
>>> net-zope/plone-2.0.4 merged.


Expected Results:  
>>> original instance of package unmerged safely.
 * >>> Installing plone-2.0.4 into the "" zinstance...
 * Caching service dependencies...
>>> net-zope/plone-2.0.4 merged.

------- Comment #1 From Evan Borgstrom 2004-10-19 10:28:39 0000 -------
diff -ruN plone-2.0.4.ebuild.orig plone-2.0.4.ebuild
--- plone-2.0.4.ebuild.orig     2004-10-19 13:13:56.586649544 -0400
+++ plone-2.0.4.ebuild  2004-10-19 13:14:10.941467280 -0400
@@ -27,6 +27,7 @@
        >=net-zope/portaltransforms-1.0.4
        >=net-zope/externaleditor-0.8
        >=net-zope/epoz-0.8.2
+       >=app-admin/zope-config-0.4
        ${RDEPEND}"
 
 ZPROD_LIST="CMFPlone"

------- Comment #2 From Radoslaw Stachowiak 2004-10-19 14:50:29 0000 -------
Please confirm, if:
1. emerge does not stop, but only gives error output, 
2. plone is not added to default zope instance ???
3. you have "/var/lib/zope/.default" file (its not related to this bug, but i'm gathering data for possible fix :)

------- Comment #3 From Radoslaw Stachowiak 2004-10-20 04:21:34 0000 -------
patched ebuild. No version bump.
Please do emerge sync, and then try to emerge plone to observe if bug is gone.
Please pay attention that it will work ONLY if you have default instance marked (by /var/lib/zope/.default file) which is on instances only created by zope-config-0.5 or newer.

in case of problems, please do not hesitate to write.