Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68180 - Plone 2.0.4 ebuild doesn't RDEPEND "zope-config"
Summary: Plone 2.0.4 ebuild doesn't RDEPEND "zope-config"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 10:26 UTC by Evan Borgstrom
Modified: 2004-10-20 04:21 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 Evan Borgstrom 2004-10-19 10:26:59 UTC
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 Evan Borgstrom 2004-10-19 10:28:39 UTC
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 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-10-19 14:50:29 UTC
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 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-10-20 04:21:34 UTC
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.