Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82449 - packages with RDEPEND on virtual/os-headers
Summary: packages with RDEPEND on virtual/os-headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 05:13 UTC by Vitaly
Modified: 2006-02-24 21:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
run to reproduce (osh_deeps,411 bytes, text/plain)
2005-02-18 05:15 UTC, Vitaly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly 2005-02-18 05:13:29 UTC
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 'virtual/os-headers'?

Expected Results:  
empty list
Comment 1 Vitaly 2005-02-18 05:15:47 UTC
Created attachment 51510 [details]
run to reproduce

python script to search packages contain virtual/os-headers in RDEPEND
Comment 2 Vitaly 2005-02-18 07:32:45 UTC
Right dependences important if you emerge to alternative root dir!

example
"ROOT=/tmp/root emerge glibc" 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="build" 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?
Comment 3 Vitaly 2005-02-28 06:26:41 UTC
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
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-02-28 10:45:33 UTC
net-dialup/gammu-* and net-dialup/gnokii-* dependencies have been fixed
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-25 19:38:24 UTC
sys-apps/tcng needs the headers, as it processes it's input into a C file, and then passes that to GCC to generate the output.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-28 02:37:52 UTC
Vitaly wrote:
> Hello Robin Johnson
> sys-apps/tcng
> DEPEND on virtual/os-headers
> and
> RDEPEND on virtual/os-headers
> RDEPEND is runtime dependencies, as I know
> Does "Traffic Control Next Generation" need OS headers at runtime?
> Thanks.

As I wrote in my previous message, at runtime, TCNG uses it'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.
Comment 7 Henrik Brix Andersen 2005-04-25 12:23:14 UTC
Fixed for net-wireless/linux-wlan-ng.
Comment 8 Sven Wegener gentoo-dev 2005-06-27 06:21:48 UTC
Still open:

app-emulation/vmware-workstation-3.2.1.2242-r3
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-27 07:25:29 UTC
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.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-27 07:27:28 UTC
Bah... nevermind... moved to DEPEND...
Comment 11 Sven Wegener gentoo-dev 2005-06-27 09:47:17 UTC
All ebuilds fixes.
Comment 12 SpanKY gentoo-dev 2005-06-27 21:34:07 UTC
not all fixed yet

app-emulation/vmware-workstation:
>=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*
Comment 13 SpanKY gentoo-dev 2005-06-27 21:34:21 UTC
opening until these three are fixed
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-28 06:59:10 UTC
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't have a *DEPEND type that
means "required to configure that application post-emerge" and RDEPEND is the
closest fit.  If I cared more, I might argue this point, but I don't.  *grin*
Comment 15 SpanKY gentoo-dev 2005-06-28 07:06:28 UTC
considering vmware rebuilds the kernel modules against the kernel sources
(iirc), then it should have virtual/kernel in RDEPEND, not virtual/os-headers
Comment 16 Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-09-14 12:13:21 UTC
its not in gst-plugins-oss or gst-plugins-v4l ebuilds' RDEPENDs
Comment 17 Mark Loeser (RETIRED) gentoo-dev 2006-02-22 20:56:19 UTC
Looks like the RDEPEND has been removed everywhere it can be.
Comment 18 solar (RETIRED) gentoo-dev 2006-02-23 07:17:07 UTC
gst-* remains messed up.

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

inherit gst-plugins-good

KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="virtual/os-headers"

The lack of setting RDEPEND="" forces the behavior of RDEPEND=$DEPEND
Comment 19 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-02-23 08:04:24 UTC
ok fixed gst-plugins-oss
Comment 20 Mark Loeser (RETIRED) gentoo-dev 2006-02-24 21:03:12 UTC
And now we should be alright.