Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21099

Summary: Emerging acpid wants to have gentoo-sources installed
Product: Gentoo Linux Reporter: Robert Führicht <the_master_of_disaster>
Component: New packagesAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Führicht 2003-05-16 07:52:44 UTC
emerge acpid wants to install gentoo-sources. 
I have gaming-sources installed and I emerged acpid with --nodeps and it works
without problems. Shouldn't this be removed from the ebuild?

Reproducible: Always
Steps to Reproduce:
1. Install Gaming-sources and uninstall gentoo-sources & xfs-sources
2. emerge -p acpid

Actual Results:  
pc fuero # emerge -p acpid

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] sys-kernel/gentoo-sources-2.4.20-r5
[ebuild   R  ] sys-apps/acpid-1.0.2


Expected Results:  
pc fuero # emerge -p acpid

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] sys-apps/acpid-1.0.2



pc fuero # emerge info
  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 3dnow apm avi crypt cups encode gif gpm jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang
readline arts tetex bonobo svga java guile sdl tcpd pam libwww perl python esd
imlib oggvorbis motif opengl ftp quicktime X acpi oss cdr dga dvd fbcon jikes
kde qt2 mozilla -qt samba tcltk tiff wmf openssh ssl gift gnutella -gnome -gtk
-gtk2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse -msse -mmmx -m3dnow"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse -msse -mmmx -m3dnow"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

_Workaround:_
emerge -nodeps acpid
Comment 1 Narada Sage 2003-05-16 13:32:02 UTC
Open /var/cache/edb/virtuals and remove gentoo-sources from the line virtual/linux-sources and it will not appear as a dependency.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-16 14:22:20 UTC
why do only gentoo-sources provide virtual/sources ?
Comment 3 Robert Führicht 2003-05-16 15:43:21 UTC
Additional Comment #1 is not accurate,
this line has to be added/subsitituted in /var/cache/edb/virtuals:

virtual/linux-sources sys-kernel/gentoo-sources
--> virtual/linux-sources sys-kernel/your-sources-here
Comment 4 Hanno Böck gentoo-dev 2003-05-19 07:36:35 UTC
imho we can remove the kernel-dep from acpid at all, because acpid works with pretty much every current kernel if you enable acpi.
i remember that this dep was added because it didn't work with earlier versions of the acpi-patch, but that was ages ago.
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2003-06-27 13:50:42 UTC
appears to be fixed in portage. closing.