<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>35918</bug_id>
          
          <creation_ts>2003-12-15 22:20 0000</creation_ts>
          <short_desc>emerge zope fails because zope-config wasn&apos;t present</short_desc>
          <delta_ts>2003-12-22 09:11:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>davidgrant@gmail.com</reporter>
          <assigned_to>dev-portage@gentoo.org</assigned_to>
          <cc>net-zope@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2003-12-15 22:20:21 0000</bug_when>
            <thetext>I didn&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2003-12-15 22:20:59 0000</bug_when>
            <thetext>re-assign to net-zope@gentoo.org</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-12-16 06:16:30 0000</bug_when>
            <thetext>this has always been working this way, what zope version did you try to install?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2003-12-16 10:15:10 0000</bug_when>
            <thetext>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 &quot;emerge zope-config&quot;.  The zope install didn&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-12-16 12:09:00 0000</bug_when>
            <thetext>what zope version did you try to install?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2003-12-16 12:32:15 0000</bug_when>
            <thetext>the stable one, 2.6.1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-12-22 08:03:53 0000</bug_when>
            <thetext>&gt; zope should have a DEPEND on zope-config
&gt; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2003-12-22 08:18:36 0000</bug_when>
            <thetext>how would you expect them to be handled ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-12-22 08:37:01 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2003-12-22 09:01:36 0000</bug_when>
            <thetext>can&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-12-22 09:11:03 0000</bug_when>
            <thetext>I think PDEPEND is exactly what we need here, fixed in zope-config.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>