Bug 1040214 - dependency problems with activesupport 4.0.2 in rawhide
Summary: dependency problems with activesupport 4.0.2 in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-activesupport
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josef Stribny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 00:13 UTC by Ken Dreyer
Modified: 2016-01-04 05:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-12 15:15:17 UTC
Type: Bug


Attachments (Terms of Use)

Description Ken Dreyer 2013-12-11 00:13:22 UTC
Problem: The Rails gems all have strict version dependencies. When rubygem-activesupport was bumped to 4.0.2, the rest of the gems cannot be installed.

Here's a sample failure mock build (my package BuildRequires rubygem-activesupport):



Error: Package: rubygem-railties-4.0.1-1.fc21.noarch (fedora)
           Requires: rubygem(activesupport) = 4.0.1
           Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora)
               rubygem(activesupport) = 4.0.2
Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora)
           Requires: rubygem(activesupport) = 4.0.1
           Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora)
               rubygem(activesupport) = 4.0.2
Error: Package: 1:rubygem-actionpack-4.0.1-1.fc21.noarch (fedora)
           Requires: rubygem(activemodel) = 4.0.1
           Available: rubygem-activemodel-4.0.2-1.fc21.noarch (fedora)
               rubygem(activemodel) = 4.0.2
Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora)
           Requires: rubygem(activemodel) = 4.0.1
           Available: rubygem-activemodel-4.0.2-1.fc21.noarch (fedora)
               rubygem(activemodel) = 4.0.2
Error: Package: 1:rubygem-rails-4.0.1-1.fc21.noarch (fedora)
           Requires: rubygem(activesupport) = 4.0.1
           Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora)
               rubygem(activesupport) = 4.0.2
Error: Package: 1:rubygem-activerecord-4.0.1-2.fc21.noarch (fedora)
           Requires: rubygem(activesupport) = 4.0.1
           Available: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora)
               rubygem(activesupport) = 4.0.2
Error: Package: 1:rubygem-actionpack-4.0.1-1.fc21.noarch (fedora)
           Requires: rubygem(activesupport) = 4.0.1
           Installing: 1:rubygem-activesupport-4.0.2-1.fc21.noarch (fedora)
               rubygem(activesupport) = 4.0.2

Comment 1 Vít Ondruch 2013-12-11 07:54:34 UTC
Hi Ken,

This is not that much a problem of dependencies, but problem of failed chainbuild due to circular dependencies between AR and AR_deprecated_finders. The intention was to update all dependencies to 4.0.2. Hopefully Josef will fix it soon.

Comment 2 Josef Stribny 2013-12-11 15:45:21 UTC
Hi,

Vit is right, although currently I am stuck with SQLite3 issue[1] (new sqlite in rawhide). I will try to rebuild rest of the Rails packages tomorrow.

[1] https://github.com/sparklemotion/sqlite3-ruby/issues/116

Comment 3 Ken Dreyer 2013-12-11 16:45:34 UTC
Hi Josef, thanks a lot for explaining the root problem.

As a workaround I've copied rubygem-activesupport-4.0.1-1.fc21 and rubygem-activemodel-4.0.1-1.fc21 to my private repository and built against those.

Comment 4 Josef Stribny 2013-12-12 15:15:17 UTC
Ken,

I fixed the ActiveRecord with a patch that I provided upstream and rebuild the rest of Rails.

Rails 4.0.2 build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6284037


Note You need to log in before you can comment on or make changes to this bug.