Summary: | portage ignores proper dependencies when using -b and -B | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Markus Ullmann (RETIRED) <jokey> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | thejoker89, yqxxzx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Ullmann (RETIRED)
![]() This behavior is supposed to be a feature, but I can see how it might be useful to pull in more deps with --buildpkg in some use cases. Here's the relevant code in emerge that triggers the special behavior: if not pkg.built and \ "--buildpkgonly" in self.myopts and \ "deep" not in self.myparams and \ "empty" not in self.myparams: edepend["RDEPEND"] = "" edepend["PDEPEND"] = "" The main issue is that it ignores the blocks here ;) other than that, can live with it being a feature (given we update docs a bit) Why should --buildpkgonly care about blocks? My guess was that -B would be nice to get some bin's to my 400 Mhz machine which is running gentoo well, but needs years to build software ;) And i did not want to merge it on the building machine, which is running a clone of the system of my 400 Mhz machine (I'm the one who reported the Bug to jokey@gentoo.org) As the code snippet in comment #1 shows, the special -B behavior is disabled if you add --deep or --empty. So, you can simply add the --deep option if you want to disable it. We can add some other way(s) to do it, but --deep might serve you well. [ebuild U ] dev-libs/atk-1.22.0 [1.20.0] USE="-debug -doc" 693 kB [ebuild U ] x11-libs/libxklavier-3.6 [3.3] USE="-doc" 452 kB [ebuild N ] net-libs/libsoup-2.4.1 USE="ssl -debug -doc" 614 kB [ebuild U ] dev-cpp/glibmm-2.16.4 [2.16.1] USE="-debug -doc -examples" 6,227 kB [ebuild U ] gnome-base/orbit-2.14.13 [2.14.12] USE="-debug -doc" 723 kB [ebuild U ] x11-libs/pango-1.20.5 [1.20.3] USE="X -debug -doc" 1,388 kB [ebuild U ] dev-cpp/cairomm-1.6.0 [1.4.4] USE="-doc (-examples%)" 779 kB [ebuild U ] sys-fs/udev-124-r1 [119] USE="(-selinux)" 204 kB [ebuild U ] perl-core/Storable-2.18 [2.16] 174 kB [ebuild U ] perl-core/Test-Simple-0.80 [0.70] 80 kB [ebuild U ] dev-util/intltool-0.37.1 [0.35.5] 136 kB [ebuild U ] virtual/perl-Test-Simple-0.80 [0.70] 0 kB [ebuild U ] virtual/perl-Storable-2.18 [2.16] 0 kB [ebuild U ] gnome-base/libbonobo-2.22.0 [2.20.4] USE="-debug -doc" 1,412 kB [ebuild U ] dev-perl/XML-LibXML-1.66 [1.65] 271 kB [ebuild U ] dev-python/pygobject-2.14.2 [2.14.1] USE="X%* -debug -doc -examples -libffi%" 359 kB [ebuild U ] x11-themes/gnome-icon-theme-2.22.0 [2.20.0] USE="-debug" 3,581 kB [ebuild U ] x11-libs/gtk+-2.12.10-r1 [2.12.9-r2] USE="X cups jpeg -debug -doc -tiff -vim-syntax -xinerama" 15,851 kB [ebuild U ] net-print/libgnomecups-0.2.3 [0.2.2] USE="-debug" 349 kB [ebuild U ] gnome-base/gconf-2.22.0 [2.20.1-r1] USE="-debug -doc -ldap" 1,384 kB [ebuild U ] dev-python/pygtk-2.12.1-r2 [2.12.0] USE="X%* -doc -examples (-opengl%)" 2,125 kB [ebuild U ] x11-libs/libwnck-2.22.3 [2.20.3] USE="-debug -doc" 672 kB [ebuild U ] gnome-base/gail-1.22.3 [1.20.2] USE="-debug -doc" 659 kB [ebuild R ] app-i18n/scim-1.4.5-r1 USE="gtk -doc (-kde%) (-qt3%)" 3,084 kB [ebuild U ] x11-themes/gtk-engines-2.14.3 [2.12.2] USE="X%* -accessibility -debug -static" 659 kB [ebuild U ] dev-cpp/gtkmm-2.12.7 [2.12.1] USE="-accessibility -debug -doc -examples -test%" 14,843 kB [ebuild U ] gnome-base/gnome-keyring-2.22.2 [2.20.3] USE="hal pam -debug -doc -test" 884 kB [ebuild U ] gnome-base/gnome-menus-2.22.2 [2.20.3] USE="python -debug" 455 kB [ebuild U ] x11-wm/metacity-2.22.0 [2.20.2] USE="-debug -xinerama" 2,024 kB [ebuild U ] x11-libs/vte-0.16.14 [0.16.13] USE="python -debug -doc -opengl" 1,095 kB [ebuild U ] x11-themes/gnome-themes-2.22.2 [2.20.2] USE="-accessibility -debug" 1,464 kB [ebuild N ] gnome-base/gvfs-0.2.5 USE="avahi gnome hal -cdda -debug -doc -fuse -gnome-keyring -gphoto2 -samba" 808 kB [ebuild U ] gnome-base/gnome-vfs-2.22.0 [2.20.1-r1] USE="acl avahi hal ssl -debug -doc -fam% -gnutls -ipv6 -kerberos -samba" 1,895 kB [ebuild U ] gnome-base/libgnome-2.22.0 [2.20.1.1] USE="-debug -doc -esd" 1,375 kB [ebuild N ] dev-libs/libgweather-2.22.3 USE="-debug" 6,123 kB [ebuild U ] gnome-base/libbonoboui-2.22.0 [2.20.0] USE="X -debug -doc" 983 kB [ebuild U ] gnome-base/libgnomeui-2.22.1 [2.20.1.1] USE="jpeg -debug -doc" 1,417 kB [ebuild U ] gnome-base/gnome-desktop-2.22.3 [2.20.3] USE="-debug -doc" 1,411 kB [ebuild U ] dev-python/gnome-python-2.22.0 [2.20.1] USE="-debug -doc -examples" 527 kB [ebuild U ] gnome-base/libgnomekbd-2.22.0 [2.20.0-r1] USE="-debug" 397 kB [ebuild U ] x11-terms/gnome-terminal-2.22.3 [2.18.4] USE="-debug" 1,761 kB [ebuild U ] gnome-extra/gconf-editor-2.22.0 [2.20.0] USE="-debug" 854 kB [ebuild U ] gnome-base/eel-2.22.2 [2.20.0] USE="X -debug" 584 kB [ebuild U ] gnome-extra/yelp-2.22.1-r1 [2.20.0] USE="-beagle -debug -lzma% -xulrunner" 973 kB [ebuild U ] gnome-base/librsvg-2.22.2 [2.20.0] USE="zlib -debug -doc (-gnome%*)" 454 kB [ebuild U ] gnome-base/nautilus-2.22.5.1 [2.20.0-r1] USE="X gnome -beagle -debug (-esd%) (-tracker%)" 4,900 kB [ebuild U ] gnome-base/gnome-panel-2.22.2 [2.20.3] USE="-debug -doc -eds -networkmanager%" 3,179 kB [ebuild U ] gnome-base/gnome-control-center-2.22.2.1 [2.20.3] USE="hal -debug -eds -esd (-alsa%*)" 2,061 kB [ebuild N ] gnome-base/gnome-settings-daemon-2.22.2.1 USE="alsa gstreamer -debug -esd" 1,113 kB [ebuild U ] gnome-base/gnome-session-2.22.3 [2.20.3] USE="branding tcpd -debug -ipv6 (-esd%)" 832 kB [blocks B ] <gnome-base/gnome-control-center-2.22 (is blocking gnome-base/gnome-settings-daemon-2.22.2.1) I've solved it by: emerge -C gnome-control-center emerge --deep gnome-control-center now there's no conflict Yeah fine here as well |