Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56823 - net-misc/vconfig depends on sys-kernel/linux-headers
Summary: net-misc/vconfig depends on sys-kernel/linux-headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 13:06 UTC by Jason Short
Modified: 2004-07-13 18:30 UTC (History)
0 users

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


Attachments
ebuild with fixed virtuals and rdepend structure (vconfig-1.8-r1.ebuild,1.48 KB, patch)
2004-07-12 17:29 UTC, Michael Crawford (ali3nx)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Short 2004-07-12 13:06:13 UTC
vconfig currently depends on sys-kernel/linux-headers-2.4.14 instead of the virtual/os-headers.  the ebuild needs to be changed in order to emerge properly with linux26-headers emerged.

Reproducible: Always
Steps to Reproduce:
1. emerge -C linux-headers
2. emerge linux26-headers
3. emerge -p vconfig
Actual Results:  
vconfig ebuild tried to pull in sys-kernel/linux-headers, which is blocked by
the virtual/os-headers

Expected Results:  
clean emerge

quick and dirty fixed with copy to overlay, tweak to depend line, and -r1
version bump.

emerge info:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="X aalib acl acpi alsa apache2 audiofile avi berkdb caps cdr clamav crypt
cscope cups curl dga dillo directfb divx4linux dv dvd dvdr encode erandom esd
faad fam fbcon flac gdbm gif gmp gnutls gpm gtk gtk2 imagemagick imap imlib ipv6
jabber jack-tmpfs java jbig jpeg kde ladcca lcms ldap libwww lufsusermount
lzw-tiff mad makecheck matroska mbox mcal memlimit mmx motif mozdomi mozilla
moznocompose moznoirc moznomail mozsvg mpeg mysql nas ncurses nls nptl ntlm
oggvorbis opengl oss pam pdflib perl pic pie png python qt quicktime readline
ruby samba sasl sdl slang slp snmp spell sse ssl tcltk tcpd theora threads tiff
truetype unicode usb v4l v4l2 vanilla wmf wxwindows x86 xface xgetdefault
xinerama xml xml2 xmms xosd xprint xv xvid zlib"
Comment 1 Michael Crawford (ali3nx) 2004-07-12 17:29:31 UTC
Created attachment 35269 [details, diff]
ebuild with fixed virtuals and rdepend structure

fixed... appears to work fine
Comment 2 solar (RETIRED) gentoo-dev 2004-07-12 20:19:13 UTC
DEPEND=">=sys-kernel/linux-headers-2.4.14"
DEPEND=">=linux26-headers-2.6.1"
RDEPEND=">=virtual/os-headers"

what's this ?

I'm not sure how this should be done. 
vconfig does infact depend on headers that are >=2.4.14
For now we will just use virtual/os-headers without any versioning and assume nobody is using really old headers.
Comment 3 Jason Short 2004-07-13 09:48:37 UTC
I believe I may have suggested the wrong fix - seeing as 802.1q only exists in linux kernel land, and the virtual/os-headers are meant to support non-linux (bsd etc) kernel headers, the proper syntax as per bug 56824 is:

RDEPEND="sys-libs/glibc"
DEPEND="sys-devel/gcc
        || ( >=sys-kernel/linux-headers-2.4.14
             sys-kernel/linux26-headers )

thanks to robbat2 for the smarter fix
Comment 4 solar (RETIRED) gentoo-dev 2004-07-13 18:30:08 UTC
Thats not right either. 
1) vconfig in no way depends on glibc.. It depends on some libc so virtual/libc is fine..
uCsimple portage # ldd `which vconfig`
	libc.so.0 => /lib/libc.so.0 (0x00000000)
	/lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)

2)
sys-devel/gcc
        || ( >=sys-kernel/linux-headers-2.4.14
             sys-kernel/linux26-headers )

Thats just wrong.
The bug is fine... If somebody trys to install vconfig on bsd.. well.. shrug.. It wont ever be keyworded for such so os-headers should be fine.