Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396661 - dev-ruby/rack rackup clash between 1.3 and 1.4 slots
Summary: dev-ruby/rack rackup clash between 1.3 and 1.4 slots
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 09:50 UTC by Fabian Groffen
Modified: 2012-01-01 17:33 UTC (History)
1 user (show)

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 Fabian Groffen gentoo-dev 2012-01-01 09:50:50 UTC
% emerge -avt dev-ruby/rails          
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-ruby/rails-3.1.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]  dev-ruby/actionmailer-3.1.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/mail-2.3.0  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]  dev-ruby/activerecord-3.1.3  USE="-mysql -postgres -sqlite3 -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N    *]  dev-ruby/activeresource-3.1.3  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]  dev-ruby/railties-3.1.3  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/actionpack-3.1.3  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]    dev-ruby/activemodel-3.1.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]     dev-ruby/activesupport-3.1.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]      dev-ruby/multi_json-1.0.4  USE="-doc -test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/thor-0.14.6  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/rack-ssl-1.3.2  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[nomerge       ] dev-ruby/rails-3.1.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 
[nomerge       ]  dev-ruby/actionpack-3.1.3  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 
[ebuild  N     ]   dev-ruby/sprockets-2.0.3-r1  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]    dev-ruby/tilt-1.3.3  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]    dev-ruby/hike-1.2.1  USE="-test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/erubis-2.7.0  USE="-doc -test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[ebuild  N     ]    dev-ruby/abstract-1.0.0-r1  USE="-test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/rack-test-0.6.1  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N     ]   dev-ruby/rack-cache-1.1  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[ebuild  N    *]   dev-ruby/rack-1.3.6  USE="-doc -test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[ebuild  N    *]   dev-ruby/rack-mount-0.8.3  USE="-test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB
[nomerge       ] dev-ruby/mail-2.3.0  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 
[ebuild  N     ]  dev-ruby/treetop-1.4.10-r1  USE="-doc -test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 0 kB
[nomerge       ] dev-ruby/rack-cache-1.1  USE="-test" RUBY_TARGETS="ruby18 (-ree18) -ruby19" 
[ebuild  N     ]  dev-ruby/rack-1.4.0  USE="-doc -test" RUBY_TARGETS="ruby18 (-jruby) (-ree18) -ruby19" 0 kB

Total: 23 packages (23 new), Size of downloads: 0 kB


Both rack 1.4.0 and 1.3.6 are pulled in indirectly by rails 3.1.3.  Portage respect the mask of 1.4.0 on 1.3.6, so it first emerges 1.4.0, followed by 1.3.6, which obviously dies with a collision-protect error for usr/bin/rackup.

Does actionpack really require the old(er) slot 1.3?
Comment 1 Hans de Graaff gentoo-dev Security 2012-01-01 10:22:10 UTC
Fixed in CVS.
Comment 2 Fabian Groffen gentoo-dev 2012-01-01 16:59:04 UTC
clash is fixed, but the rails situation not really:

[blocks B      ] <dev-ruby/rack-1.3.6-r1:1.3 ("<dev-ruby/rack-1.3.6-r1:1.3" is blocking dev-ruby/rack-1.4.0)

Total: 20 packages (19 new, 1 in new slot), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)
Comment 3 Fabian Groffen gentoo-dev 2012-01-01 17:12:30 UTC
perhaps superfluous:

  (dev-ruby/rack-1.4.0::gentoo_prefix, installed) pulled in by
    =dev-ruby/rack-1*[ruby_targets_ruby18] required by (dev-ruby/sprockets-2.0.3-r1::gentoo_prefix, ebuild scheduled for merge)
    dev-ruby/rack[ruby_targets_ruby18] required by (dev-ruby/rack-cache-1.1::gentoo_prefix, ebuild scheduled for merge)
    >=dev-ruby/rack-1.0[ruby_targets_ruby18] required by (dev-ruby/rack-test-0.6.1::gentoo_prefix, ebuild scheduled for merge)

  (dev-ruby/rack-1.3.6::gentoo_prefix, ebuild scheduled for merge) pulled in by
    >=dev-ruby/rack-1.3.5:1.3[ruby_targets_ruby18] required by (dev-ruby/actionpack-3.1.3::gentoo_prefix, ebuild scheduled for merge)
Comment 4 Fabian Groffen gentoo-dev 2012-01-01 17:33:38 UTC
after chat with graaff, problems now solved.