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

Bug 47084

Summary: emerge -UDp world, masked dependency problem
Product: Gentoo Linux Reporter: Evert <evert.gentoo>
Component: [OLD] UnspecifiedAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Evert 2004-04-07 06:03:36 UTC
Step 1 (see below) updates
- zlib from 1.1.4-r2 to 1.2.1-r2
- xmule from 1.6.0a-r1 to 1.8.0

After that, emerge -uDp world (just like -up and -p) shows:
[ebuild     UD] sys-libs/zlib-1.1.4-r2 [1.2.1-r2]
[ebuild     UD] net-p2p/xmule-1.6.0a-r1 [1.8.0]

But, emerge -UDp world seems to have a masked dependency problem!


Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge xmule
2. emerge -UDp world

Actual Results:  
# emerge -UDp world
>>> --upgradeonly implies --update... adding --update to options.

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

Calculating world dependencies \
!!! all ebuilds that could satisfy ">=sys-libs/zlib-1.2.1" have been masked.
!!! possible candidates are:
- sys-libs/zlib-1.2.1-r1 (masked by: ~keyword)
- sys-libs/zlib-1.2.1-r2 (masked by: ~keyword)
- sys-libs/zlib-1.2.1 (masked by: ~keyword)
!!!    (dependency required by "net-p2p/xmule-1.8.0" [ebuild])
 
!!! Problem with ebuild net-p2p/xmule-1.8.0
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


Expected Results:  
Same output as emerge -U world now gives:
>>> No outdated packages were found on your system.


Gentoo Base System version 1.4.3.13
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 AMD Athlon(tm) XP 2600+
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoaddcvs buildpkg ccache sandbox"
MAKEOPTS="-j2"
USE="X apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod motif
mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png python
quicktime readline ruby sdl slang ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 01:31:52 UTC
don't mix up your system and try to go stable further.
man portage

see
      /etc/portage/
              bashrc
              package.mask
              package.unmask
              package.keywords
              package.use
              mirrors
              categories
              use.mask
Comment 2 Evert 2004-04-13 04:50:23 UTC
OK, created /etc/portage/package.keywords and this seems to do the trick:

# cat /etc/portage/package.keywords
net-p2p/xmule ~x86
=sys-libs/zlib-1.2.1-r2 ~x86