redmine-1.2.1_1 is still broken

Bernhard Froehlich decke at FreeBSD.org
Sat Dec 3 10:28:03 UTC 2011


On 02.12.2011 21:51, Stanislav Sedov wrote:
> On Fri, 02 Dec 2011 16:24:02 +0100
> Bernhard Froehlich <decke at FreeBSD.org> mentioned:
>
>> On 09.11.2011 21:41, Philip M. Gollucci wrote:
>> > On 11/9/11 12:23 PM, Bernhard Froehlich wrote:
>> >>> Tue Nov 1 23:55:41 2011 UTC (7 days, 20 hours ago) by pgollucci
>> >>>
>> >>> - Unmark broken, it works just fine
>> >>> $ cd /var/db/pkg ; ls -1d redmine-1.2.1 ruby1*
>> >>
>> >> That is not true. It is still broken and you obviously missed the
>> >> point.
>> >>
>> >>
>> >> www# cd /usr/local/www/redmine ; rake db:migrate
>> >> RAILS_ENV=production
>> >> --trace
>> > This exact line works flawlessly for me which is why I did what I
>> > did.
>>
>> That's nice and we should probably find out why it works only for 
>> you.
>> Probably
>> you have integrated some patch or the bug needs some special 
>> trigger?
>>
>> It definitely doesn't work for anyone that I have talked to and a PR
>> came in
>> yesterday complaining about this problem. So I decided to jump into
>> that and
>> mark the port BROKEN again so people know what they can expect. 
>> That's
>> better
>> than shipping a broken redmine with 9.0-RELEASE.
>>
>> I hope nobody feels offended because I'm not the maintainer of 
>> redmine
>> anymore
>> and I'm also not wearing a ruby hat but there was no action about 
>> this
>> problem
>> in the last month and it doesn't look like anybody cares about 
>> redmine.
>>
>
> Hi!
>
> What is the problem with redmine is?  I might look into this over the
> weekend.

The problem looks like the following:

cd /usr/local/www/redmine
rake db:migrate RAILS_ENV=production --trace

** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `name' for "daemons":String
/usr/local/www/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:277:in 
`=='
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in `==='
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in 
`matching_specs'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`find_all'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:410:in 
`each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:409:in 
`each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:in 
`find_all'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:in 
`matching_specs'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:238:in 
`to_specs'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in 
`to_spec'
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in `gem'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:75:in 
`add_load_paths'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:301:in 
`add_gem_load_paths'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:301:in 
`each'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:301:in 
`add_gem_load_paths'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:132:in 
`process'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in 
`send'
/usr/local/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in 
`run'
/usr/local/www/redmine/config/environment.rb:20
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`require'
/usr/local/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in 
`require'
/usr/local/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in 
`new_constants_in'
/usr/local/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in 
`require'
/usr/local/www/redmine/vendor/rails/railties/lib/tasks/misc.rake:4
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in 
`call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in 
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in 
`each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in 
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in 
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in 
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in 
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in 
`each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in 
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in 
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in 
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in 
`invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in 
`invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in 
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in 
`each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in 
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in 
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in 
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in 
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
Tasks: TOP => db:migrate => environment

It has been verified that this is a rubygems problem since 1.8.0 and I 
have also tested
downgrading to 1.7.3 which fixes the problem. So I think we are 
triggering this bug:

http://rubyforge.org/tracker/index.php?func=detail&aid=29188&group_id=126&atid=575

-- 
Bernhard Froehlich
http://www.bluelife.at/


More information about the freebsd-ruby mailing list