Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451078 - www-apps/redmine-{2.1.5,2.2.0} have both incorrect and missing dependencies
Summary: www-apps/redmine-{2.1.5,2.2.0} have both incorrect and missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
: 457928 (view as bug list)
Depends on:
Blocks: 418925
  Show dependency tree
 
Reported: 2013-01-09 17:44 UTC by Coacher
Modified: 2013-05-11 21:16 UTC (History)
7 users (show)

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


Attachments
rack-openid-1.3.1.ebuild (rack-openid-1.3.1.ebuild,557 bytes, text/plain)
2013-01-19 08:51 UTC, Coacher
Details
Patch against redmine 2.2.0 to use the appropriate rails (redmine-2.2.0-2.2.4.patch,389 bytes, patch)
2013-04-02 18:39 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2013-01-09 17:44:58 UTC
Recent long-awaited www-apps/redmine verbump to 2.2.0 was not completely successfull. The ebuild for 2.2.0 has several incorrect dependencies, namely:

~dev-ruby/rails-3.2.9:3.2
There are only dev-ruby/rails-3.2.{10,11} versions are available under 3.2 slot.

>=dev-ruby/rack-openid-0.2.1
This package is not available in portage at all.



Reproducible: Always
Comment 1 Coacher 2013-01-09 17:54:00 UTC
Exactly same errors presented in www-apps/redmine-2.1.5 ebuild corrected to rails dependency which is ~dev-ruby/rails-3.2.8:3.2
Comment 2 Hans de Graaff gentoo-dev Security 2013-01-11 07:29:18 UTC
These rails versions have been removed due to security issues. Redmine should not depend on specific minor versions but on the slots, e.g. using ~>rails-3.2.9 on the Ruby side and dev-ruby/rails:3.2 in the ebuild.
Comment 3 Juan David Ibáñez Palomar 2013-01-11 14:51:51 UTC
Redmine 2.2.1 has been released, which "upgrades to Rails 3.2.11" :

http://www.redmine.org/projects/redmine/wiki/Changelog
Comment 4 Coacher 2013-01-11 16:25:12 UTC
(In reply to comment #3)
> Redmine 2.2.1 has been released, which "upgrades to Rails 3.2.11" :
> 
> http://www.redmine.org/projects/redmine/wiki/Changelog

Thank you for your notification! We have a more appropriate bug for these things: https://bugs.gentoo.org/show_bug.cgi?id=418925
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-13 17:27:14 UTC
@retirement: Since the current maintainer Matsuu has a retirement bug (bug #22900), shouldn't someone have made his packages "maintainer-needed@g.o" or do bugs still need to be assigned to Matsuu?
Comment 6 Pacho Ramos gentoo-dev 2013-01-13 22:36:19 UTC
Assign them for now to MATSUU, we will take care of reassigning packages when we set new policy for retirement and resume work :/
Comment 7 Coacher 2013-01-19 08:51:14 UTC
Created attachment 336096 [details]
rack-openid-1.3.1.ebuild

ebuild for rack-openid-1.3.1
Comment 8 silver_ghost 2013-02-20 05:07:19 UTC
*** Bug 457928 has been marked as a duplicate of this bug. ***
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-22 19:17:17 UTC
Are you planning to fix this? The dependencies have been broken for over a month.
Comment 10 Dirk Tilger 2013-04-02 18:39:16 UTC
Created attachment 344100 [details, diff]
Patch against redmine 2.2.0 to use the appropriate rails

With the rails ebuild upgrades that went into the main tree yesterday, redmine can now be installed seamlessly with a minor version bump in the dependencies (rails).

On a side note, the "redmine" user needs write-access /var/lib/redmine/db for the migration scrips to work properly. I also had to pull in the graaff overlay to get the dev-ruby/rack-openid-1.3.1::graaff package, so I could upgrade my redmine from (1.4.5).
Comment 11 Hans de Graaff gentoo-dev Security 2013-04-30 13:54:31 UTC
(In reply to comment #10)

> I also had to pull in the graaff
> overlay to get the dev-ruby/rack-openid-1.3.1::graaff package, so I could
> upgrade my redmine from (1.4.5).

I've moved this package from my overlay to the gentoo tree.
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2013-05-11 21:16:47 UTC
Fixed in 2.2.4. Thanks for report.