blackpearl rack # USE=passenger emerge -av redmine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-util/ragel-6.6-r1 USE="-vim-syntax" 1,067 kB [ebuild N ] dev-ruby/i18n-0.4.2 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 65 kB [ebuild N ] dev-ruby/rake-0.8.7-r6 USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 101 kB [ebuild N ] dev-ruby/ruby-net-ldap-0.0.4-r1 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 41 kB [ebuild N ] dev-ruby/coderay-0.9.7 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 103 kB [ebuild N ] dev-libs/libev-4.03 USE="-static-libs" 461 kB [ebuild NS ] dev-ruby/rack-1.2.1 [1.0.1] USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 278 kB [ebuild N ] dev-ruby/daemon_controller-0.2.5 USE="-test" RUBY_TARGETS="ruby18 -ree18" 22 kB [ebuild N ] dev-ruby/spruz-0.2.2 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 17 kB [ebuild N ] dev-ruby/highline-1.6.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 55 kB [ebuild N ] dev-ruby/tzinfo-0.3.24 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 295 kB [ebuild N ] dev-ruby/builder-3.0.0 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 595 kB [ebuild N ] dev-ruby/file-tail-1.0.5 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 19 kB [ebuild N ] dev-ruby/json-1.5.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 654 kB [ebuild N ] dev-ruby/mysql-ruby-2.8.2 USE="-test" RUBY_TARGETS="ruby18 -ree18 (-ruby19)" 32 kB [ebuild N ] dev-ruby/activesupport-2.3.10 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 421 kB [ebuild N ] dev-ruby/activerecord-2.3.10 USE="mysql -doc -postgres -sqlite3 -test" RUBY_TARGETS="ruby18 -jruby -ree18" 560 kB [ebuild N ] dev-ruby/rubyforge-2.0.4-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 15 kB [ebuild N ] dev-ruby/echoe-4.3.1-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 28 kB [ebuild N ] dev-ruby/fastthread-1.0.7-r1 USE="-doc -test" RUBY_TARGETS="ruby18" 21 kB [ebuild N ] www-apache/passenger-3.0.2 USE="-debug -doc -test" RUBY_TARGETS="ruby18" 2,900 kB [ebuild N ] www-apps/redmine-1.1.1 USE="mysql passenger -cvs -darcs -fastcgi -git -imagemagick -mercurial -openid -postgres -sqlite3 -subversion -test" RUBY_TARGETS="ruby18" 4,720 kB [blocks B ] <dev-ruby/rack-1.1.0-r1 ("<dev-ruby/rack-1.1.0-r1" is blocking dev-ruby/rack-1.2.1) Total: 22 packages (21 new, 1 in new slot), Size of downloads: 12,464 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-ruby/rack-1.2.1, ebuild scheduled for merge) pulled in by >=dev-ruby/rack-1.0.0[ruby_targets_ruby18] required by (www-apache/passenger-3.0.2, ebuild scheduled for merge) (dev-ruby/rack-1.0.1, installed) pulled in by =dev-ruby/rack-1.0.1* required by (www-apps/redmine-1.1.1, ebuild scheduled for merge) For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked blackpearl rack # redmine requires version 1.0.1 specifically of rack, and passenger depends on rack[ruby_targets_ruby18] which 1.0.1 doesn't satisfy due to the way the ebuild is written. blackpearl rack # pwd /usr/portage/dev-ruby/rack blackpearl rack # cp rack-1.2.1.ebuild rack-1.0.1.ebuild blackpearl rack # sed -re 's/^RDEPEND/#RDEPEND/' -i rack-1.0.1.ebuild blackpearl rack # ebuild rack-1.0.1.ebuild digest ... >>> Creating Manifest for /usr/portage/dev-ruby/rack blackpearl rack # USE=passenger emerge -av redmine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-util/ragel-6.6-r1 USE="-vim-syntax" 1,067 kB [ebuild N ] dev-ruby/rack-1.0.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB [ebuild N ] dev-ruby/i18n-0.4.2 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 65 kB [ebuild N ] dev-ruby/rake-0.8.7-r6 USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 101 kB [ebuild N ] dev-ruby/ruby-net-ldap-0.0.4-r1 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 41 kB [ebuild N ] dev-ruby/coderay-0.9.7 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 103 kB [ebuild N ] dev-libs/libev-4.03 USE="-static-libs" 461 kB [ebuild N ] dev-ruby/daemon_controller-0.2.5 USE="-test" RUBY_TARGETS="ruby18 -ree18" 22 kB [ebuild N ] dev-ruby/spruz-0.2.2 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 17 kB [ebuild N ] dev-ruby/highline-1.6.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 55 kB [ebuild N ] dev-ruby/tzinfo-0.3.24 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 295 kB [ebuild N ] dev-ruby/builder-3.0.0 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 595 kB [ebuild N ] dev-ruby/file-tail-1.0.5 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 19 kB [ebuild N ] dev-ruby/json-1.5.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 654 kB [ebuild N ] dev-ruby/mysql-ruby-2.8.2 USE="-test" RUBY_TARGETS="ruby18 -ree18 (-ruby19)" 32 kB [ebuild N ] dev-ruby/activesupport-2.3.10 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 421 kB [ebuild N ] dev-ruby/activerecord-2.3.10 USE="mysql -doc -postgres -sqlite3 -test" RUBY_TARGETS="ruby18 -jruby -ree18" 560 kB [ebuild N ] dev-ruby/rubyforge-2.0.4-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 15 kB [ebuild N ] dev-ruby/echoe-4.3.1-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 28 kB [ebuild N ] dev-ruby/fastthread-1.0.7-r1 USE="-doc -test" RUBY_TARGETS="ruby18" 21 kB [ebuild N ] www-apache/passenger-3.0.2 USE="-debug -doc -test" RUBY_TARGETS="ruby18" 2,900 kB [ebuild N ] www-apps/redmine-1.1.1 USE="mysql passenger -cvs -darcs -fastcgi -git -imagemagick -mercurial -openid -postgres -sqlite3 -subversion -test" RUBY_TARGETS="ruby18" 4,720 kB Total: 22 packages (22 new), Size of downloads: 12,186 kB Would you like to merge these packages? [Yes/No] So basically I think it's a problem in the rack 1.0.1 ebuild. Reproducible: Always
One minor question: does redmine really need ~rack-1.0., or is rack:0 good enough ? Cause if it's the later, the correct change would be =dev-ruby/rack-1.0.1* -> dev-ruby/rack:0 for redmine.
No, it really does need rack 1.0.1 (I honestly wish I knew why, I just know that even with this trouble shooting it took me approx 20 minutes to get redmine working on Gentoo compared to 5 days+ on CentOS - so well done to the ruby Gentoo devs). The combination of redmine depending on rack-1.0.1 along with passenger which has been ported to the newer ruby ebuild structure (or something, sorry, not 100 % up to date with what's going on in gem land) and requires rack being merged with RUBY_TARGETS correctly set (which rack:0 doesn't do). Bit of a mess if you ask me, but my method does solve the dependency problem. Is there a specific reason to NOT do it that way? (Just trying to understand what's actually going on)
issue appeared after rack-1.0.1-r1 was killed (~x86, ~x86_64) http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild?view=log if i restore it to local PORTDIR_OVERLAY wget -O rack-1.0.1-r1.ebuild http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild?revision=1.11 i can seemingly overcome the problem. (compiling now) No idea here why rack-1.0.1.ebuild does not work - but if you compare them you'll see lots of differences ;)
I was quick to be trapped by "Post hoc ergo propter hoc" Somehow I was able to emerge redmine-1.1.1 with rack-1.0.1.ebuild after syncing on Mar 07, 2011 20:05:45 UTC But now neither redmine-1.1.1 nor redmine-1.2.1 can be emerged with rack-1.0.1 If you decide to go my way (PORTDIR_OVERLAY and -r1 rack) beware of #297843 - fastthread fails to build. To overcome that 'emerge -1 allison'
(In reply to comment #4) > If you decide to go my way (PORTDIR_OVERLAY and -r1 rack) beware of #297843 - > fastthread fails to build. To overcome that 'emerge -1 allison' ?? That bug is a keywording bug and has no mention of build failures. I've also just built fastthread-1.0.7-r1 without allison installed and that seems to work fine as well.
(In reply to comment #5) > > beware of #297843 - > > fastthread fails to build. To overcome that 'emerge -1 allison' > ?? That bug is a keywording bug and has no mention of build failures. I've also > just built fastthread-1.0.7-r1 without allison installed and that seems to work > fine as well. you're right, my comment was made in a haste. I could not find a better description than 297843 for my build problem (on a freshly built ~amd64 machine. Missing allison was noticed in "emerge --debug -1 fastthread" output. May be that was not a critical issue, but emerging allison fixed it for me) Anyway this bug is not a proper place for those observations - i'd better file a separate bug for fastthread.
Calculating dependencies... done! [ebuild U ] www-apps/redmine-1.1.2 [1.1.1] USE="mercurial passenger postgres -cvs -darcs -fastcgi -git -imagemagick -mysql -openid -sqlite3 -subversion -test" RUBY_TARGETS="ruby18" 4,717 kB [ebuild U ] www-apache/passenger-3.0.2 [2.2.15] USE="-debug -doc -test%" RUBY_TARGETS="ruby18%*" 2,900 kB [ebuild N ] dev-libs/libev-4.03 USE="-static-libs" 461 kB [nomerge ] www-apache/passenger-3.0.2 [2.2.15] USE="-debug -doc -test%" RUBY_TARGETS="ruby18%*" [nomerge ] dev-ruby/fastthread-1.0.7-r1 USE="-doc -test" RUBY_TARGETS="ruby18" [ebuild U ] dev-ruby/echoe-4.3.1-r1 [4.3.1] USE="-doc -test" RUBY_TARGETS="ruby18 -jruby% -ree18%" 0 kB [ebuild U ] dev-ruby/highline-1.6.1 [1.5.2] USE="-doc -test" RUBY_TARGETS="ruby18 -jruby% -ree18%" 55 kB [ebuild N ] dev-ruby/file-tail-1.0.5 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 19 kB [ebuild N ] dev-ruby/spruz-0.2.2 USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 17 kB [ebuild N ] dev-ruby/daemon_controller-0.2.6 USE="-test" RUBY_TARGETS="ruby18 -ree18" 22 kB [ebuild NS ] dev-ruby/rack-1.2.2 [1.0.1] USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB [blocks B ] <dev-ruby/rack-1.1.0-r1 ("<dev-ruby/rack-1.1.0-r1" is blocking dev-ruby/rack-1.2.2) Total: 9 packages (4 upgrades, 4 new, 1 in new slot), Size of downloads: 8,189 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-ruby/rack-1.0.1, installed) pulled in by ~dev-ruby/rack-1.0.1 required by (www-apps/redmine-1.1.2, ebuild scheduled for merge) (dev-ruby/rack-1.2.2, ebuild scheduled for merge) pulled in by >=dev-ruby/rack-1.0.0[ruby_targets_ruby18] required by (www-apache/passenger-3.0.2, ebuild scheduled for merge) redmine depends on newer passenger, which needs rack-1.2.2, but at the same time redmine needs ~rack-1.0.1
*bump* is there any solution for this? I tried it with fcgi, but that doesn't work.
> ... passenger, which needs rack-1.2.2 no, it does not. At least it does not say so ruby_add_rdepend " >=dev-ruby/fastthread-1.0.1 >=dev-ruby/rack-1.0.0" However portage or ebuild has difficulty figuring this out. Sometimes i was able to pacify them with >dev-ruby/rack-1.0.1-r1 in package.mask Another machine was better off with masking out this way =dev-ruby/rack-1.2.1 =dev-ruby/rack-1.2.2 I'd like to be of any help to developers with this issues. Do not know where to start. Huh?
As an interim solution, you can get rack-1.0.1-r1.ebuild from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-ruby/rack/?hideattic=0 and place in a local overlay.
*** Bug 362403 has been marked as a duplicate of this bug. ***
sorry for delay. rack-1.0.1-r2 in cvs now.