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

Bug 120205

Summary: emerge --onlydeps does not merge dependencies of masked packages
Product: Portage Development Reporter: Michal Suchanek <hramrach>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Suchanek 2006-01-24 10:47:32 UTC
I would like an option for merging dependencies of masked packages so that one could merge stable dependencies of an unstable package.



Portage 2.0.53 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aim berkdb bzip2 crypt curl dlloader dmx expat gdbm gif glitz gpm gtk hardened icq icu imlib ipv6 irc jabber java jpeg lcms lua mmx mng motif mozilla msn ncurses nls nsplugin opengl pam pcre perl pic png python readline ruby sse ssl tcpd threads tiff truetype truetype-fonts udev unicode userlocales x86 xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-01-24 11:33:04 UTC
It's CANTFIX as well, but might be possible for some special cases.
Generally it's not doable as when a package is masked we don't know which version to select, so no clue which deps have to be merged.
Use package.keywords/package.unmask instead, that does what you want.
Comment 2 Dima Tisnek 2009-01-30 08:37:15 UTC
(In reply to comment #1)
> It's CANTFIX as well, but might be possible for some special cases.
> Generally it's not doable as when a package is masked we don't know which
> version to select, so no clue which deps have to be merged.
> Use package.keywords/package.unmask instead, that does what you want.
> 

yes and no. sometimes there's only one version of a package.
other times i'd gladly do something like this if needed:
emerge -avt --onlydeps '=gnome-extra/hal-device-manager-0.5-r1'

at least there should be a way to see what versions and uses are required!
otherwise it's rather hard to work with (e.g. debug) broken programs

it may be reasonable to assume however that masked packages are not tested against dependencies and thus particular dependency versions might be off.
Comment 3 Zac Medico gentoo-dev 2009-01-30 09:13:17 UTC
It seems to me that this is essentially the same issue as bug 88613. Won't autounmask do the job?