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

Bug 256289

Summary: sys-apps/portage- testing libsdl version with needed USE flag is not offered in error message
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 155723, 210077, 261959    

Description Pacho Ramos gentoo-dev 2009-01-25 08:48:39 UTC
When I try to run emerge -avuDN world I get:
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "media-libs/libsdl[joystick]".
!!! One of the following packages is required to complete your request:
- media-libs/libsdl-1.2.13 (Missing IUSE: joystick)
- media-libs/libsdl-1.2.11-r2 (Missing IUSE: joystick)
(dependency required by "games-sports/xmoto-0.5.0-r1" [ebuild])
(dependency required by "world" [argument])

I would expect that portage would notify me that media-libs/libsdl-1.2.13-r1 already offers "joystick" USE flag or, even better, emerge would show me a message saying that media-libs/libsdl-1.2.13-r1 is masked by ~x86 (like would be shown if xmoto would require that version in its deps)


Portage (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r1 i686)
System uname: Linux-2.6.28-tuxonice-r1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Sun, 25 Jan 2009 07:10:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="es es_ES en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
USE="X a52 aac acl acpi aim alsa amr ape asf audiofile avahi avi bash-completion bcmath beagle bonobo bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cdrparanoia cli consolekit cpdflib cracklib cross crypt css cups curl curlwrappers daap dbus dirac divx4linux djvu dts dv dvb dvd dvdr dvdread dvi eds emerald encode epiphany escreen evo exif fam fbcon fbsplash ffmpeg flac foomaticdb fortran ftp fuse galago gb gcj gd gif gimp gimpprint git glitz glut glx gmp gnome gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk2 gtkhtml guile hal iconv id3tag imagemagick imlib ipv6 isdnlog jabber jack java java6 jikes jpeg kdeenablefinal kdehiddenvisibility kpathsea ladspa laptop latex lcms lesstif libnotify lm_sensors logrotate lzma mac mad mbox midi mikmod mime ming mmap mmx mmxext mng modplug mono moonlight motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network networkmanager nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl openmp opnegl pam pch pcmcia pcre pdf pdflib perl png pnp posix ppds pppd python qt qt3 qt4 quicktime raw readline reflection reiserfs rpm rtc ruby scanner schroedinger scrobbler sdl session slang slp smp sndfile sockets socks5 sourceview speex spell spl sse sse2 sse3 ssl startup-notification subversion svg sysfs syslog t1lib tcltk tcpd tga theora threads tiff timidity tk truetype trusted unicode usb userlocales v4l2 vcd vhook videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xattr xcb xcomposite xft xine xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS=" " ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2009-03-04 04:15:35 UTC
This is fixed in svn r12746.
Comment 2 Pacho Ramos gentoo-dev 2009-03-04 07:51:08 UTC
Thanks for fixing this as fast :-D
Comment 3 Zac Medico gentoo-dev 2009-03-10 09:27:24 UTC
This is fixed in 2.2_rc24 which is in package.mask. I'll close this bug when it's also released in
Comment 4 Zac Medico gentoo-dev 2009-03-13 20:40:32 UTC
This is released in