Summary: | emerge does not always rerun ebuild scripts to read dependancies | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Thomas Weidner <3.14159> |
Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | h3y |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Weidner
2003-03-07 09:37:52 UTC
please paste #emerge info thomas@borg-cube thomas $ emerge info Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo//" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" 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="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif imlib jpeg gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline X gpm tcpd pam ssl perl python opengl cdr -gtk -kde -java" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="~x86 x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc userpriv usersandbox" This is a non-obvious wrapping-Portage-variables-in-BASH-controls problem that isn't fixable or detectable by portage. A possible fix is if use kde; then need-kde 3.0 DEPEND="kde? ( $DEPEND virtual/glibc )" RDEPEND="kde? ( $RDEPEND virtual/glibc )" Need to make sure that required dependencies get added after that though. Ok... Mozilla isn't playing nice with me... This is a non-obvious wrapping-Portage-variables-in-BASH-controls problem that isn't fixable or detectable by portage. A possible fix is if use kde; then need-kde 3.0 DEPEND="kde? ( $DEPEND virtual/glibc )" RDEPEND="kde? ( $RDEPEND virtual/glibc )" fi Need to make sure that required dependencies get added after that though. Ok... No if... That'd be the same problem. Should work like this though. Just define the required deps AFTER this. need-kde 3.0 DEPEND="kde? ( $DEPEND virtual/glibc )" RDEPEND="kde? ( $RDEPEND virtual/glibc )" ... later ... DEPEND="$DEPEND require/packages" RDEPEND="$RDEPEND other/requires" umm, that is wrong ... if you inherit an eclass, you should do: newdepend "blah blah" |