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
Open /var/cache/edb/virtuals and remove gentoo-sources from the line virtual/linux-sources and it will not appear as a dependency.
why do only gentoo-sources provide virtual/sources ?
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
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.
appears to be fixed in portage. closing.