<?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>82449</bug_id>
          
          <creation_ts>2005-02-18 05:13 0000</creation_ts>
          <short_desc>packages with RDEPEND on virtual/os-headers</short_desc>
          <delta_ts>2006-02-24 21:03:12 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</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>va@mail.ru</reporter>
          <assigned_to>qa@gentoo.org</assigned_to>
          <cc>radek@podgorny.cz</cc>
    
    <cc>zaheerm@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>va@mail.ru</who>
            <bug_when>2005-02-18 05:13:29 0000</bug_when>
            <thetext>app-emulation/vmware-workstation-5.0_rc1
app-emulation/vmware-workstation-5.0_beta1
app-emulation/vmware-workstation-4.5.2.8848-r5
app-emulation/vmware-workstation-3.2.1.2242-r3
app-emulation/vmware-workstation-5.0_beta2
media-plugins/gst-plugins-oss-0.8.1
media-plugins/gst-plugins-oss-0.8.3
media-plugins/gst-plugins-oss-0.8.5
media-plugins/gst-plugins-oss-0.8.7
media-plugins/gst-plugins-oss-0.8.2
net-dialup/gammu-0.99.22
net-dialup/gammu-1.00.04
net-dialup/gnokii-0.6.3
net-dialup/gnokii-0.6.4
net-misc/openvpn-1.5.0
net-wireless/linux-wlan-ng-0.2.1_pre23
net-wireless/linux-wlan-ng-0.2.1_pre19
net-wireless/linux-wlan-ng-0.2.0-r2
net-wireless/linux-wlan-ng-0.2.1_pre20
net-wireless/linux-wlan-ng-0.2.1_pre16
net-wireless/linux-wlan-ng-0.2.1_pre11
net-wireless/linux-wlan-ng-0.2.1_pre17-r1
net-wireless/linux-wlan-ng-0.2.1_pre22
net-wireless/linux-wlan-ng-0.2.0-r1
net-wireless/linux-wlan-ng-0.2.1_pre8
net-wireless/linux-wlan-ng-0.2.0-r3
net-wireless/linux-wlan-ng-0.2.1_pre17
sys-apps/tcng-9l
sys-apps/tcng-9i
sys-apps/tcng-9m
sys-apps/util-linux-2.12i-r1
sys-apps/util-linux-2.12p-r1
sys-kernel/linux-headers-2.4.21-r1
sys-kernel/linux-headers-2.4.26
sys-kernel/linux-headers-2.4.21
sys-kernel/linux-headers-2.4.23
sys-kernel/linux-headers-2.4.25
sys-kernel/linux-headers-2.2.26
sys-kernel/linux-headers-2.4.22-r1
sys-kernel/linux-headers-2.0.40
sys-kernel/linux-headers-2.4.22
sys-kernel/ppc64-headers-2.6.4
sys-kernel/linux26-headers-2.6.8.1-r3
sys-kernel/linux26-headers-2.6.8.1
sys-kernel/linux26-headers-2.6.8.1-r2
sys-kernel/linux26-headers-2.6.7-r4
sys-libs/glibc-2.3.3.20040420-r2
sys-libs/glibc-2.3.4.20040619-r2
sys-libs/glibc-2.3.4.20041102
sys-libs/glibc-2.3.4.20040808-r1
sys-libs/glibc-2.3.4.20050125
sys-libs/glibc-2.3.4.20050125-r1
sys-libs/glibc-2.3.2-r12
sys-libs/glibc-2.2.5-r9


Reproducible: Always
Steps to Reproduce:
run attachment
Actual Results:  
Should any package RDEPENDed on &apos;virtual/os-headers&apos;?

Expected Results:  
empty list</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>va@mail.ru</who>
            <bug_when>2005-02-18 05:15:47 0000</bug_when>
            <thetext>Created an attachment (id=51510)
run to reproduce

python script to search packages contain virtual/os-headers in RDEPEND</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>va@mail.ru</who>
            <bug_when>2005-02-18 07:32:45 0000</bug_when>
            <thetext>Right dependences important if you emerge to alternative root dir!

example
&quot;ROOT=/tmp/root emerge glibc&quot; will install

sys-libs/ncurses-5.4-r5  to /tmp/root/
sys-libs/readline-5.0-r2  to /tmp/root/
sys-apps/sysvinit-2.86  to /tmp/root/
app-shells/bash-3.0-r8  to /tmp/root/
sys-apps/baselayout-1.11.9-r1  to /tmp/root/
sys-kernel/linux26-headers-2.6.8.1-r2  to /tmp/root/
sys-libs/glibc-2.3.4.20050125  to /tmp/root/

why?
all these packages needed by glibc at runtime?

try USE=&quot;build&quot; ROOT=/tmp/root emerge glibc
much better

sys-apps/sysvinit-2.86  to /tmp/root/
sys-apps/baselayout-1.11.9-r1  to /tmp/root/
sys-kernel/linux26-headers-2.6.8.1-r2  to /tmp/root/
sys-libs/glibc-2.3.4.20050125  to /tmp/root/

all these packages needed by glibc at runtime?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>va@mail.ru</who>
            <bug_when>2005-02-28 06:26:41 0000</bug_when>
            <thetext>Updated list

app-emulation/vmware-workstation-5.0_rc1
app-emulation/vmware-workstation-3.2.1.2242-r3
media-plugins/gst-plugins-oss-0.8.1
media-plugins/gst-plugins-oss-0.8.3
media-plugins/gst-plugins-oss-0.8.5
media-plugins/gst-plugins-oss-0.8.7
media-plugins/gst-plugins-oss-0.8.2
net-dialup/gammu-0.99.22
net-dialup/gammu-1.00.04
net-dialup/gnokii-0.6.3
net-dialup/gnokii-0.6.4
net-misc/openvpn-1.5.0
net-wireless/linux-wlan-ng-0.2.1_pre23
net-wireless/linux-wlan-ng-0.2.1_pre19
net-wireless/linux-wlan-ng-0.2.0-r2
net-wireless/linux-wlan-ng-0.2.1_pre20
net-wireless/linux-wlan-ng-0.2.1_pre16
net-wireless/linux-wlan-ng-0.2.1_pre11
net-wireless/linux-wlan-ng-0.2.1_pre17-r1
net-wireless/linux-wlan-ng-0.2.1_pre22
net-wireless/linux-wlan-ng-0.2.0-r1
net-wireless/linux-wlan-ng-0.2.1_pre8
net-wireless/linux-wlan-ng-0.2.0-r3
net-wireless/linux-wlan-ng-0.2.1_pre17
sys-apps/tcng-9l
sys-apps/tcng-9i
sys-apps/tcng-9m
sys-libs/glibc-2.3.3.20040420-r2
sys-libs/glibc-2.3.4.20040619-r2
sys-libs/glibc-2.3.4.20041102
sys-libs/glibc-2.3.4.20040808-r1
sys-libs/glibc-2.3.4.20050125
sys-libs/glibc-2.3.4.20050125-r1
sys-libs/glibc-2.3.2-r12
sys-libs/glibc-2.2.5-r9
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2005-02-28 10:45:33 0000</bug_when>
            <thetext>net-dialup/gammu-* and net-dialup/gnokii-* dependencies have been fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2005-03-25 19:38:24 0000</bug_when>
            <thetext>sys-apps/tcng needs the headers, as it processes it&apos;s input into a C file, and then passes that to GCC to generate the output.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2005-03-28 02:37:52 0000</bug_when>
            <thetext>Vitaly wrote:
&gt; Hello Robin Johnson
&gt; sys-apps/tcng
&gt; DEPEND on virtual/os-headers
&gt; and
&gt; RDEPEND on virtual/os-headers
&gt; RDEPEND is runtime dependencies, as I know
&gt; Does &quot;Traffic Control Next Generation&quot; need OS headers at runtime?
&gt; Thanks.

As I wrote in my previous message, at runtime, TCNG uses it&apos;s input to generate a C file, which is then compiled with gcc. The generated C file includes linux/pkt_sched.h amongst others, which is provided by virtual/os-headers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2005-04-25 12:23:14 0000</bug_when>
            <thetext>Fixed for net-wireless/linux-wlan-ng.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2005-06-27 06:21:48 0000</bug_when>
            <thetext>Still open:

app-emulation/vmware-workstation-3.2.1.2242-r3
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-06-27 07:25:29 0000</bug_when>
            <thetext>VMWare Workstation requires the headers to compile the modules, which is done
after the initial installation.  While I could move them to DEPEND, they really
*should* be in RDEPEND in this case, since we do not build the modules during
the ebuild execution.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-06-27 07:27:28 0000</bug_when>
            <thetext>Bah... nevermind... moved to DEPEND...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2005-06-27 09:47:17 0000</bug_when>
            <thetext>All ebuilds fixes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-06-27 21:34:07 0000</bug_when>
            <thetext>not all fixed yet

app-emulation/vmware-workstation:
&gt;=dev-lang/perl-5 sys-libs/glibc virtual/x11 virtual/os-headers
media-libs/gdk-pixbuf

media-plugins/gst-plugins-oss:
virtual/os-headers =media-libs/gst-plugins-0.8.1*

media-plugins/gst-plugins-v4l:
virtual/x11 virtual/os-headers =media-libs/gst-plugins-0.8.8*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-06-27 21:34:21 0000</bug_when>
            <thetext>opening until these three are fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-06-28 06:59:10 0000</bug_when>
            <thetext>I removed it from vmware-workstation.  I forgot to remove it from RDEPEND when I
added it to DEPEND.  However, I still *strongly* disagree that this should even
be removed from vmware-workstation, since we don&apos;t have a *DEPEND type that
means &quot;required to configure that application post-emerge&quot; and RDEPEND is the
closest fit.  If I cared more, I might argue this point, but I don&apos;t.  *grin*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-06-28 07:06:28 0000</bug_when>
            <thetext>considering vmware rebuilds the kernel modules against the kernel sources
(iirc), then it should have virtual/kernel in RDEPEND, not virtual/os-headers</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zaheerm@gentoo.org</who>
            <bug_when>2005-09-14 12:13:21 0000</bug_when>
            <thetext>its not in gst-plugins-oss or gst-plugins-v4l ebuilds&apos; RDEPENDs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-02-22 20:56:19 0000</bug_when>
            <thetext>Looks like the RDEPEND has been removed everywhere it can be.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2006-02-23 07:17:07 0000</bug_when>
            <thetext>gst-* remains messed up.

Example: media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.2.ebuild

inherit gst-plugins-good

KEYWORDS=&quot;~x86 ~amd64&quot;
IUSE=&quot;&quot;

DEPEND=&quot;virtual/os-headers&quot;

The lack of setting RDEPEND=&quot;&quot; forces the behavior of RDEPEND=$DEPEND
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zaheerm@gentoo.org</who>
            <bug_when>2006-02-23 08:04:24 0000</bug_when>
            <thetext>ok fixed gst-plugins-oss</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-02-24 21:03:12 0000</bug_when>
            <thetext>And now we should be alright.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>51510</attachid>
            <date>2005-02-18 05:15 0000</date>
            <desc>run to reproduce</desc>
            <filename>osh_deeps</filename>
            <type>text/plain</type>
            <data encoding="base64">IyEvdXNyL2Jpbi9weXRob24KCmltcG9ydCBzeXMscG9ydGFnZQoKZGJhcGk9cG9ydGFnZS5kYltw
b3J0YWdlLnJvb3RdWyJwb3J0dHJlZSJdLmRiYXBpCgpmb3IgbXljcCBpbiBkYmFwaS5jcF9hbGwo
KToKCWZvciBteWNwdiBpbiBkYmFwaS54bWF0Y2goIm1hdGNoLWFsbCIsIG15Y3ApOgoJCW15Y3B2
X2RlZXBzPWRiYXBpLmF1eF9nZXQobXljcHYsIFsiREVQRU5EIiwgIlJERVBFTkQiXSkKCQkjc3lz
LnN0ZG91dC53cml0ZShteWNwdisiOiBSREVQRU5EPVwiIitteWNwdl9kZWVwc1sxXSsiXCJcbiIp
CgkJaWYgInZpcnR1YWwvb3MtaGVhZGVycyIgaW4gbXljcHZfZGVlcHNbMV06CgkJICAgICMgdGhp
c3QgY3B2IHdhbnQgdmlydHVhbC9vcy1oZWFkZXJzIGluIHJ1bnRpbWUgZGVwZW5kcwoJCSAgICBw
cmludCBteWNwdgoK
</data>        

          </attachment>
    </bug>

</bugzilla>