Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181506 - dev-ruby/rake-0.7.1 - bad depedencies, fail to emerge --update
Summary: dev-ruby/rake-0.7.1 - bad depedencies, fail to emerge --update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 23:49 UTC by Krzysztof Szalast
Modified: 2007-06-10 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Szalast 2007-06-09 23:49:08 UTC
I can not update system because:
emerge --update will install dev-lang/ruby-1.8.6-r1 but
dev-ruby/rake - need dev-lang/ruby-1.8.5_p2-r1
It can not be istall both of them.

Mayby solved - please verify my solution.

Reproducible: Always

Steps to Reproduce:
1.dev-lang/ruby, dev-ruby/rails and dev-ruby/rake muss be istalled
2.emerge --deep --newuse --update world
3.

Actual Results:  
update succesfull

Expected Results:  
depedecies conflict

When I try update my system by
emerge --deep --newuse --update world
I have got this screen:

==BEGIN_SCREEN==
Calculating world dependencies /
!!! Multiple versions within a single package slot have been 
!!! pulled into the dependency graph:

('installed', '/', 'dev-lang/ruby-1.8.5_p2-r1', 'nomerge') pulled in by
  ('installed', '/', 'dev-ruby/rake-0.7.1', 'nomerge')

('ebuild', '/', 'dev-lang/ruby-1.8.6-r1', 'merge') pulled in by
  ('installed', '/', 'dev-ruby/rake-0.7.1', 'nomerge')
  ('installed', '/', 'dev-ruby/ruby-config-0.3.1', 'nomerge')

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.

!!! Depgraph creation failed.
==END_SCREEN==

My emerge --info:

==BEGIN_SCREEN==
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Genuine Intel(R) CPU           T1350  @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 09 Jun 2007 14:30:08 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aac aalib acl acpi adns alsa apache2 apm arts asf berkdb bitmap-fonts bzip2 cairo cdda cddb cdr cjk cli cpudetection cracklib crypt css cups dbus directfb dri dts dv dvb dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran ftp gdbm gif glut gpm gstreamer gtk hal httpd iconv ieee1394 ipv6 isdnlog java jpeg jpeg2k kerberos lame lang ldap libg++ libsamplerate lm_sensors logrotate mad matroska md5sum midi mikmod mjpeg mmx mod modplug mp3 mp3rtp mpeg mudflap musepack mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php pmu png postgres pppd python qt3support quicktime rar readline real reflection samba sdl sdl-image sensord server session slang sndfile snmp spell spl sse sse2 ssl startup-notification stream svg svga tcpd tga threads tiff trayicon truetype truetype-fonts type1-fonts unicode vcd vorbis wavpack win32codecs wma wmf x264 x86 xinerama xml xorg xsl xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="v4l vesa vga fbdev i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
==END_SCREEN==

==BEGIN_SOLUTION==
To solve this problem I have edit file dev-ruby/rake/rake-0.7.1.ebuild:
line 21: RDEPEND="<dev-lang/ruby-1.8.6_pre1"
I have change to:
line 21: RDEPEND="dev-lang/ruby"
==END_SOLUTION==

I don't know, that this is good solution, but it works. Please sombody to verify this solution.

(Sorry for my english)
Comment 1 Hans de Graaff gentoo-dev Security 2007-06-10 06:36:12 UTC
You are correct: your solution is not a good solution, and it also does not work, at least not for everyone. The specific problem with it is noted in the ChangeLog.

The right solution is that we stable a later version of rake now that ruby 1.8.6 is going stable, as mentioned in bug 181110.

Looking at the tree both rake-0.7.3 and ruby-1.8.6-r1 are now stable for x86, so your problem should be fixed after another emerge --sync.