<?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>162516</bug_id>
          
          <creation_ts>2007-01-17 11:14 0000</creation_ts>
          <short_desc>[TRACKER] ebuilds with dependencies on sys-apps/portage</short_desc>
          <delta_ts>2009-07-07 18:54:39 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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          
          <bug_file_loc>http://tinderbox.dev.gentoo.org/misc/rindex/sys-apps/portage</bug_file_loc>
          
          <keywords>Tracker</keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>163504</dependson>
    
    <dependson>163507</dependson>
    
    <dependson>167410</dependson>
    
    <dependson>167411</dependson>
    
    <dependson>167415</dependson>
    
    <dependson>263669</dependson>
    
    <dependson>263694</dependson>
    
    <dependson>263696</dependson>
    
    <dependson>263698</dependson>
    
    <dependson>263699</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>baptiste.daroussin@gmail.com</reporter>
          <assigned_to>qa@gentoo.org</assigned_to>
          <cc>antarus@gentoo.org</cc>
    
    <cc>bangert@gentoo.org</cc>
    
    <cc>dirk.heinrichs@online.de</cc>
    
    <cc>fuzzyray@gentoo.org</cc>
    
    <cc>moloh@gentoo.org</cc>
    
    <cc>zmedico@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>baptiste.daroussin@gmail.com</who>
            <bug_when>2007-01-17 11:14:16 0000</bug_when>
            <thetext>A lot of ebuilds depens on an old portage version that is no more available (the oldest portage in the tree is 2.0.51.22-r3). Here is the list of those ebuilds in the tree. I didn&apos;t have a look wether or not the dependency is still needed (I think not in most of case), I tried to apply virtual/portage instead of sys-apps/portage for all except the one that really depends on portage itself (not pkgcore or paludis)

If you want I can provided patches for all of those.
the list :
app-admin/logrotate (all) depend on &gt;=sys-apps/portage-2.0.47-r10 virtual/portage
app-admin/syslog-ng-1.6.9 : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
app-admin/syslog-ng-1.6.11-r1 : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
app-backup/amanda (all) : &gt;=sys-apps/portage-2.0.51-r3 =&gt; virtual/portage
app-portage/abeni (all): &gt;=sys-apps/portage-2.0.46-r12 =&gt; sys-apps/portage
app-portage/esearch (all) : &gt;=sys-apps/portage-2.0.50 =&gt; sys-apps/portage
app-portage/porthole (all) : &gt;=sys-apps/portage-2.0.51-r3 =&gt; sys-apps/portage
dev-db/cdb (all) : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
dev-games/crystalspace (all) : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
dev-games/crystalspace-cvs : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
dev-lang/tk (all) : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
dev-tcltk (all) : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
dev-util/fenris : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
media-sound/aumix : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
media-tv/xmltv : &gt;=sys-apps/portage-2.0.50-r1 =&gt; virtual/portage
net-dns/dnsmasq : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-fs/am-utils : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-fs/nfs-utils : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/dropbear : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/knock : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/lsh : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/rwho : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/ntp : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/openntpd : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/rinetd : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-misc/rsync : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-nds/portmap : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-nds/ypbind : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
net-nds/portmap : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-apps/attr : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
sys-apps/baselayout : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-apps/baselayout-vserver : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-apps/microcode-ctl : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-apps/shadow : &gt;=sys-apps/portage-2.0.51-r2 =&gt; virtual/portage
sys-apps/smartmontools : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-devel/distcc : &gt;=sys-apps/portage-2.0.49-r6 =&gt; virtual/portage
sys-process/at : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-process/dcron : &gt;=sys-apps/portage-2.0.51 =&gt; virtual/portage
sys-process/vixie-cron : &gt;=sys-apps/portage-2.0.47-r10 =&gt; virtual/portage
x11-base/kdrive : &gt;=sys-apps/portage-2.0.49-r13 =&gt; virtual/portage
x11-base/x11-drm : &gt;=sys-apps/portage-2.0.49-r13 =&gt; virtual/portage
x11-misc/denu : &gt;=sys-apps/portage-2.0.50-r10 =&gt; virtual/portage


Reproducible: Always



Expected Results:  
some cleanup on the ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-17 11:26:12 0000</bug_when>
            <thetext>Most of those should just have the dependency dropped altogether. Assigning to QA, would be preferable if someone cleaned up the list first before CCing maintainers for ebuilds that still might need to depend on portage for some reason.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>baptiste.daroussin@gmail.com</who>
            <bug_when>2007-01-17 13:26:43 0000</bug_when>
            <thetext>I just add the followinf eclasses : 
mozilla.eclass &gt;=sys-apps/portage-2.0.36 =&gt; virtual/portage
mozconfig.eclass &gt;=sys-apps/portage-2.0.36 =&gt; virtual/portage
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moloh@gentoo.org</who>
            <bug_when>2007-01-23 22:42:59 0000</bug_when>
            <thetext>sys-apps/smartmontools fixed in CVS by SpanKY.
I will start bugging maintainers and hers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-02-27 17:03:18 0000</bug_when>
            <thetext>mozilla eclasses fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2007-03-26 08:20:12 0000</bug_when>
            <thetext>I cleaned this up tonight..still left are:

app-emulation/vmware-modules-1.0.0.11
app-emulation/vmware-modules-1.0.0.13
app-emulation/vmware-modules-1.0.0.15-r1
app-portage/emerge-delta-webrsync-3.3
app-portage/emerge-delta-webrsync-3.5.1
app-portage/esearch-0.7.1
app-portage/esearch-0.7.1-r2
app-portage/esearch-0.7.1-r3
app-portage/esearch-0.7.1-r4
app-portage/gentoolkit-0.2.2
app-portage/gentoolkit-dev-0.2.6.2
app-shells/sandboxshell-0.3-r1
dev-games/crystalspace-0.98.4
games-arcade/smclone-0.97
media-sound/aumix-2.8-r4
sys-apps/baselayout-1.11.15-r3
sys-apps/baselayout-1.12.4-r7
sys-apps/baselayout-1.12.5-r2
sys-apps/baselayout-1.12.6
sys-apps/baselayout-1.12.9
sys-apps/baselayout-vserver-1.11.14-r4
sys-apps/microcode-ctl-1.14
sys-apps/microcode-ctl-1.15
x11-base/kdrive-4.3.0-r5
x11-misc/denu-2.3.2
app-portage/eix-0.6.4
app-portage/porthole-0.4.1
app-portage/porthole-0.5.0
net-misc/ntp-4.2.2_p3
net-misc/rsync-2.6.9-r1

Some legitimately depend on portage (porthole for instance).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-03-26 14:57:56 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; app-emulation/vmware-modules-1.0.0.11
&gt; app-emulation/vmware-modules-1.0.0.13
&gt; app-emulation/vmware-modules-1.0.0.15-r1

vmware-mods.eclass, actually... but I&apos;m not splitting hairs... it&apos;s fixed.

&gt; dev-games/crystalspace-0.98.4
&gt; games-arcade/smclone-0.97

Fixed.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cslycord@gmail.com</who>
            <bug_when>2007-05-31 23:32:02 0000</bug_when>
            <thetext>glibc 2.5-r2 and 2.6 depend on &gt;=sys-apps/portage-2.1.2

mplayer does as well depending on USE flag

Instead, it seems the dependency could be changed to &quot;|| ( &gt;=sys-apps/portage-2.1.2 sys-apps/pkgcore sys-apps/paludis )&quot; which appears to be the way this was fixed in python-updater</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2007-12-31 00:56:23 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; glibc 2.5-r2 and 2.6 depend on &gt;=sys-apps/portage-2.1.2
&gt; 
&gt; mplayer does as well depending on USE flag
&gt; 
&gt; Instead, it seems the dependency could be changed to &quot;|| (
&gt; &gt;=sys-apps/portage-2.1.2 sys-apps/pkgcore sys-apps/paludis )&quot; which appears to
&gt; be the way this was fixed in python-updater
&gt; 


This solution doesn&apos;t work.  For example, I could have pkgcore installed for some random reason, but use portage to install applications.  pkgcore would be installed and satisfy this dependency but I could have &lt;sys-apps/portage-2.1.2 installed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2008-01-02 20:07:47 0000</bug_when>
            <thetext>A solution I came up a while ago was to have a PM hidden USE_EXPAND variable so one could depend on pm_portage? ( &gt;=sys-apps/portage-&lt;version&gt; ). Ciaranm did not like this idea. I also don&apos;t know if it would be possible to implement it so that it would be supported by older Portage versions (via bashrc etc).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2008-01-15 01:15:50 0000</bug_when>
            <thetext>Portage guys:

Any suggestions on how we should handle this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2008-01-15 14:29:42 0000</bug_when>
            <thetext>Has to be handled on a case by case basis. The main question is if it&apos;s the ebuild depending on some (E)API thing or the actual package requiring emerge/portageq/the portage API.
As for the USE_EXPAND idea, that would only work with some automagic in the package manager, and I generally dislike automagic/special cases.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2009-02-05 22:50:32 0000</bug_when>
            <thetext>*** Bug 257674 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bangert@gentoo.org</who>
            <bug_when>2009-03-24 21:31:39 0000</bug_when>
            <thetext>the tinderbox has a list of all ebuilds depending on portage directly. i&apos;ll file individual bugs for each of those (where it makes sense)...

the java eclasses (#163504) seem to be responsible for many occurrences.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2009-04-01 07:54:27 0000</bug_when>
            <thetext>*** Bug 263694 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2009-05-03 19:00:44 0000</bug_when>
            <thetext>Revisiting this again...

These could be just changed to !&lt;sys-apps/portage-${version.that.fixes.my.bug}, and make everyone happy, right?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bangert@gentoo.org</who>
            <bug_when>2009-05-04 08:11:51 0000</bug_when>
            <thetext>if the corresponding portage version no longer is in the tree, then the dep can be removed altogether.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2009-05-04 13:23:39 0000</bug_when>
            <thetext>(In reply to comment #15)
&gt; Revisiting this again...
&gt; 
&gt; These could be just changed to !&lt;sys-apps/portage-${version.that.fixes.my.bug},
&gt; and make everyone happy, right?
&gt; 

I suggest migrating them all to EAPI 2 (it has a nice effect of forcing a quite recent Portage).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2009-05-04 15:13:44 0000</bug_when>
            <thetext>(In reply to comment #17)
&gt; (In reply to comment #15)
&gt; &gt; Revisiting this again...
&gt; &gt; 
&gt; &gt; These could be just changed to !&lt;sys-apps/portage-${version.that.fixes.my.bug},
&gt; &gt; and make everyone happy, right?
&gt; &gt; 
&gt; 
&gt; I suggest migrating them all to EAPI 2 (it has a nice effect of forcing a quite
&gt; recent Portage).
&gt; 

Yea, I don&apos;t really feel comfortable doing that to glibc yet though.  I thought we were holding off on system packages atleast.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2009-05-05 00:17:43 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; 
&gt; Yea, I don&apos;t really feel comfortable doing that to glibc yet though.  I thought
&gt; we were holding off on system packages atleast.
&gt; 

As long as it&apos;s not directly in the deptree of Portage it should be fine as upgrading Portage works but feel free to check the details with zmedico. It seems python:2.6 is EAPI=2 so having glibc shouldn&apos;t hurt any more.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2009-05-05 00:57:41 0000</bug_when>
            <thetext>Generally, EAPI 2 is fine for anything, including system packages, as long as there&apos;s an upgrade path for the user to get to portage-2.1.6.x. For example, someone can upgrade from portage-2.1.4.x to portage-2.1.6.x, and having python-2.5 be EAPI 2 doesn&apos;t hurt them since they&apos;ve already got an older python (2.4 or 2.5) that portage-2.1.6.x can use to satisfy its python dependency.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>