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

Bug 259958

Summary: dev-lang/ghc hard depends on =sys-libs/readline-5* causing multiple package instances within a single package slot
Product: Gentoo Linux Reporter: CiScOh4x0r <ciscoh4x0r>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description CiScOh4x0r 2009-02-23 01:34:42 UTC
Hello, trying to update my systemI get this error:

# emerge -uDvaN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-libs/readline-6.0 [5.2_p13] 2,218 kB
[ebuild     U ] dev-python/pygobject-2.16.1 [2.16.0] USE="X -debug -doc -examples" 511 kB
[ebuild     U ] gnome-extra/gucharmap-2.24.3 [2.22.3] USE="gnome python%* -cjk -debug -doc%" 2,856 kB
[ebuild     U ] net-ftp/filezilla-3.2.2.1 [3.2.2] USE="dbus" 2,811 kB

Total: 4 packages (4 upgrades), Size of downloads: 8,394 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/readline:0

  ('ebuild', '/', 'sys-libs/readline-6.0', 'merge') pulled in by
    sys-libs/readline required by ('installed', '/', 'dev-libs/libxml2-2.7.3', 'nomerge')
    sys-libs/readline required by ('installed', '/', 'dev-lang/php-5.2.8-r2', 'nomerge')
    sys-libs/readline required by world
    (and 5 more)

  ('installed', '/', 'sys-libs/readline-5.2_p13', 'nomerge') pulled in by
    =sys-libs/readline-5* required by ('installed', '/', 'dev-lang/ghc-6.8.2', 'nomerge')
    (and 8 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


Reproducible: Always




# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.2.5
Timestamp of tree: Mon, 23 Feb 2009 01:05:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.localhost.net.ar/"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acc acl alsa amd64 apache2 avahi avi berkdb branding bzip2 bzlib cairo calendar caps cdr cgi cli cracklib crypt css ctype cups curl dba dbus dri dv dvb dvd dvdr dvdread exif ffmpeg filter firefox fortran ftp gd gdbm gif glitz gnome gpm gstreamer gtk hal hash iconv isdnlog java java-support jpeg jpg lame lm_sensors mdnsresponder-compat midi mmx mp140 mp3 mpeg mplayer msn mudflap multilib mysql nautilus ncurses nls nptl nptlonly opengl openmp oss pam pcre pdf perl png pppd python quicktime rar readline reflection scanner session sockets spl sqlite sse sse2 ssl suhosin svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vcd vorbis wavpack xcb xml xmlreader xmlwriter xorg xsl xulrunner xv xvid yahoo ymlink zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 CiScOh4x0r 2009-02-23 01:37:31 UTC
I found a way to stop it, by now... Just masking "sys-libs/readline", then get this:

 # emerge -uDvaN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-python/pygobject-2.16.1 [2.16.0] USE="X -debug -doc -examples" 511 kB
[ebuild     U ] gnome-extra/gucharmap-2.24.3 [2.22.3] USE="gnome python%* -cjk -debug -doc%" 2,856 kB
[ebuild     U ] net-ftp/filezilla-3.2.2.1 [3.2.2] USE="dbus" 2,811 kB

Total: 3 packages (3 upgrades), Size of downloads: 6,177 kB

!!! The following installed packages are masked:
- sys-libs/readline-5.2_p13 (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No]
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-23 07:07:10 UTC
Reassigning to haskell herd.

CiScOh4x0r, don't mask all readline versions. Better put this into package.mask for the time being:
  >=sys-libs/readline-6.0
Comment 3 Lennart Kolmodin (RETIRED) gentoo-dev 2009-02-23 17:18:11 UTC

*** This bug has been marked as a duplicate of bug 259867 ***