dev-ruby/cgi_multipart_eof_fix is restricted to Ruby <= 1.8.5. www-servers/mongrel-1.0.1 depends on dev-ruby/cgi_multipart_eof_fix. When you upgrade to Ruby 1.8.6, you therefore can no longer emerge mongrel. Reproducible: Always Steps to Reproduce: 1. emerge =ruby-1.8.6 2. emerge www-servers/mongrel Actual Results: mongrel fails to emerge Expected Results: mongrel should emerge with ruby 1.8.6 installed. http://forums.gentoo.org/viewtopic.php?p=3963443
Really no idea what are you talking about... # emerge -pv ruby mongrel These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-ruby/daemons-1.0.4 USE="-doc" 29 kB [ebuild N ] dev-ruby/fastthread-0.6.3 USE="-doc" 20 kB [ebuild N ] dev-ruby/rake-0.7.2 USE="-doc" 162 kB [ebuild N ] dev-ruby/cgi_multipart_eof_fix-1.0.0 USE="-doc" 6 kB [ebuild R ] dev-lang/ruby-1.8.6 USE="-debug -doc -examples ipv6 -socks5 threads -tk" 0 kB [ebuild N ] dev-ruby/gem_plugin-0.2.2 USE="-doc" 43 kB [ebuild N ] www-servers/mongrel-1.0.1 USE="-doc" 156 kB
With ruby-1.8.6 installed, cgi_multipart_eof_fix (a dependency of mongrel) fails to install: [snip] >>> Install cgi_multipart_eof_fix-1.0.0 into /var/tmp/portage/dev-ruby/cgi_multipart_eof_fix-1.0.0/image/ category dev-ruby ERROR: Error installing gem /var/tmp/portage/dev-ruby/cgi_multipart_eof_fix-1.0.0/distdir/cgi_multipart_eof_fix-1.0.0[.gem]: cgi_multipart_eof_fix requires Ruby version <= 1.8.5 !!! ERROR: dev-ruby/cgi_multipart_eof_fix-1.0.0 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3299: Called src_install ebuild.sh, line 1304: Called gems_src_install gems.eclass, line 78: Called die !!! gem install failed (spec file /var/tmp/portage/dev-ruby/cgi_multipart_eof_fix-1.0.0/image///usr/lib64/ruby/gems/1.8/specifications/cgi_multipart_eof_fix-1.0.0.gemspec missing) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-ruby/cgi_multipart_eof_fix-1.0.0/temp/build.log'.
(In reply to comment #2) > With ruby-1.8.6 installed, cgi_multipart_eof_fix (a dependency of mongrel) > fails to install: So, why haven't you said so directly? :)
I thought I'd try to be clever and do: mkdir -p /etc/portage/profile echo "dev-ruby/cgi_multipart_eof_fix-1.0.0" >> /etc/portage/profile/package.provided That gets you past trying to emerge the fix, but you still end up with: ERROR: Error installing gem /var/tmp/portage/www-servers/mongrel-1.0.1/distdir/mongrel-1.0.1[.gem]: mongrel requires cgi_multipart_eof_fix >= 1.0.0 !!! ERROR: www-servers/mongrel-1.0.1 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3214: Called src_install ebuild.sh, line 1304: Called gems_src_install gems.eclass, line 78: Called die !!! gem install failed (spec file /var/tmp/portage/www-servers/mongrel-1.0.1/image///usr/lib/ruby/gems/1.8/specifications/mongrel-1.0.1.gemspec missing) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/www-servers/mongrel-1.0.1/temp/build.log'.
I have the same problem. Patching the Rakefile should sort it out. But unfortunately, I don't know how to do it. # grep -R cgi_multipart_eof . ./bin/mongrel_rails:require 'cgi_multipart_eof_fix' rescue nil ./Rakefile: spec.add_dependency('cgi_multipart_eof_fix', '>= 1.0.0')
This bug also blocks amarok (which now depends on mongrel) - so it's going to hit a lot of people. Lucky that they signed up to be testers! (~arch) :)
I wonder what mongrel people have talked about it. An easy solution now is making mongrel block >=ruby-1.8.6. I could do this right away if you all agree. I'll try to patch mongrel gem this weekend (to ruby herd: if you can do it before that time, go ahead)
I haven't had time to test it yet, but I found https://rubyforge.org/frs/?group_id=2835, which I think will install on ruby-1.8.6
(In reply to comment #8) > I haven't had time to test it yet, but I found > https://rubyforge.org/frs/?group_id=2835, which I think will install on > ruby-1.8.6 > Um.. both 2.0.2 and 2.1 no longer block >=ruby-1.8.6 according to their metadata
It took me shorter time than expected to fix this bug. Thanks Richard. cgi_multipart_eof_fix-2.1 is added. cgu_multipart_eof_fix-1.0.0 blocks >=ruby-1.8.6 and should be removed as soon as 2.1 gets stable
hmm.. >>> Emerging (1 of 1) dev-ruby/cgi_multipart_eof_fix-2.1 to / >>> Downloading 'http://distfiles.gentoo.org/distfiles/cgi_multipart_eof_fix-2.1.gem' --14:39:36-- http://distfiles.gentoo.org/distfiles/cgi_multipart_eof_fix-2.1.gem => `/usr/portage/distfiles/cgi_multipart_eof_fix-2.1.gem' Auflösen des Hostnamen »distfiles.gentoo.org«.... 156.56.247.195, 64.50.238.52, 64.50.236.52, ... Verbindungsaufbau zu distfiles.gentoo.org|156.56.247.195|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found 14:39:36 FEHLER 404: Not Found. >>> Downloading 'ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/cgi_multipart_eof_fix-2.1.gem' --14:39:37-- ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/distfiles/cgi_multipart_eof_fix-2.1.gem => `/usr/portage/distfiles/cgi_multipart_eof_fix-2.1.gem' Auflösen des Hostnamen »sunsite.informatik.rwth-aachen.de«.... 137.226.34.227 Verbindungsaufbau zu sunsite.informatik.rwth-aachen.de|137.226.34.227|:21... verbunden. Anmelden als anonymous ... Angemeldet! ==> SYST ... fertig. ==> PWD ... fertig. ==> TYPE I ... fertig. ==> CWD /pub/Linux/gentoo/distfiles ... fertig. ==> PASV ... fertig. ==> RETR cgi_multipart_eof_fix-2.1.gem ... Die Datei »cgi_multipart_eof_fix-2.1.gem« gibt es nicht. >>> Downloading 'http://www.gigaload.org/gentoo.org/distfiles/cgi_multipart_eof_fix-2.1.gem' --14:39:37-- http://www.gigaload.org/gentoo.org/distfiles/cgi_multipart_eof_fix-2.1.gem => `/usr/portage/distfiles/cgi_multipart_eof_fix-2.1.gem' Auflösen des Hostnamen »www.gigaload.org«.... 212.72.180.153 Verbindungsaufbau zu www.gigaload.org|212.72.180.153|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found 14:39:37 FEHLER 404: Not Found. >>> Downloading 'http://mongrel.rubyforge.org/releases/gems/cgi_multipart_eof_fix-2.1.gem' --14:39:37-- http://mongrel.rubyforge.org/releases/gems/cgi_multipart_eof_fix-2.1.gem => `/usr/portage/distfiles/cgi_multipart_eof_fix-2.1.gem' Auflösen des Hostnamen »mongrel.rubyforge.org«.... 205.234.109.18 Verbindungsaufbau zu mongrel.rubyforge.org|205.234.109.18|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found 14:39:37 FEHLER 404: Not Found. !!! Couldn't download 'cgi_multipart_eof_fix-2.1.gem'. Aborting.
Yeah, the gem moved between 1.0 and 2.1 which is why we didn't notice the new vesrion. The SRC_URI is fixed in CVS and will be on the rsync mirrrors in a few hours.
thx Richard, fixed ;)
*** Bug 176968 has been marked as a duplicate of this bug. ***
*** Bug 182152 has been marked as a duplicate of this bug. ***
(In reply to comment #15) > So use dev-ruby/cgi_multipart_eof_fix-2.1 I'll probably do so, but if that problem is known for 3 months how/why does it get into the stable tree? (Why is ruby-1.8.6 marked stable while cgi_multipart_eof_fix-2.1 is still not?)