Bug 7779 - Rake aborted!
Summary: Rake aborted!
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA2-64-OK mga2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-10-12 19:00 CEST by Emmanuel Bianchi
Modified: 2013-01-06 23:09 CET (History)
4 users (show)

See Also:
Source RPM: ruby-rmagick-2.13.1-5.mga2
CVE:
Status comment:


Attachments

Description Emmanuel Bianchi 2012-10-12 19:00:16 CEST
Description of problem:

I can't create database for Redmine application.

RAILS_ENV=production rake db:migrate
(in /var/www/redmine)
rake aborted!
This installation of RMagick was configured with ImageMagick 6.7.3 but ImageMagick 6.7.5-10 is in use.

(See full trace by running task with --trace)


Version-Release number of selected component (if applicable):


How reproducible:

Everytime

Steps to Reproduce:
1. install redmine-1.3.2-1.mga2
2. install redmine-git-1.3.2-1.mga2
3. install redmine-mysql-1.3.2-1.mga2
4. create database mysql redmine
5. execute rake generate_session_store
6. execute RAILS_ENV=production rake db:migrate
Comment 1 Diego Bello 2012-12-06 22:48:40 CET
The same thing happened to me. Now I can't suggest Mageia 2 for a production server here at the office.

CC: (none) => dbello

Comment 2 Diego Bello 2012-12-06 23:12:24 CET
Found the solution here: 
http://stackoverflow.com/questions/2887342/how-could-i-configure-rmagick-gem-or-imagemagick-to-solve-following-problem

As root, run:
gem uninstall rmagick
gem install rmagick

And voilá! Then follow the instructions from /var/www/redmine/doc/INSTALL.
Manuel Hiebel 2012-12-07 15:30:08 CET

Assignee: bugsquad => shikamaru

Comment 3 Rémy CLOUARD (shikamaru) 2012-12-07 20:05:03 CET
yes, I encountered that issue on chiliproject as well yesterday. The problem is that rmagick is linked against another version of imagemagick. Diegoâs solution should also mention that you need imagemagick-devel for it to compile.

Iâll update rmagick ASAP
Rémy CLOUARD (shikamaru) 2012-12-07 20:05:25 CET

Status: NEW => ASSIGNED

Comment 4 Rémy CLOUARD (shikamaru) 2012-12-07 20:15:51 CET
could you please test with ruby-rmagick-2.13.1-5.1.mga2 in updates_testing ?

Thanks in advance,

Regards,
Comment 5 Diego Bello 2012-12-09 02:28:21 CET
Tested and it works. The error disappeared.

Shouldn't imagemagick-devel be a dependency of Redmine?

Thanks for the fix!
Comment 6 Rémy CLOUARD (shikamaru) 2012-12-09 14:37:22 CET
Youâre welcome, and no it should not depend on it because you shouldnât need to build rmagick yourself, it just happened that imagemagick was updated and rmagick wasnât rebuilt (due to me not properly maintaining it).

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 7 Rémy CLOUARD (shikamaru) 2012-12-09 14:46:02 CET
@qa-bugs, could you please push ruby-rmagick-2.13.1-5.1.mga2.src.rpm from updates_testing to updates please ?  The package just needed a rebuild against the right version of imagemagick

Thanks in advance,

Regards

Assignee: shikamaru => qa-bugs

Manuel Hiebel 2012-12-09 14:54:42 CET

Status: RESOLVED => REOPENED
Hardware: x86_64 => All
Resolution: FIXED => (none)

Comment 8 user7 2012-12-11 00:35:13 CET
Diego: Were there any regressions? Could you please tell us which architecture you are on (i586 or x86_64)?

Emmanuel: Did you try the package from updates_testing yet? If so, I'd like to ask you the same questions: does it fix the problem for you, were there any regressions, which architecture are you on (i586 or x86_64)?

This would allow us to take your testing into account, and push this fix faster to other users. So thanks in advance!

CC: (none) => wassi

Comment 9 Diego Bello 2012-12-11 01:43:15 CET
What do you mean by regressions?
I'm using x86_64. I did use the package from updates_testing to check the problem disappeared.
Comment 10 user7 2012-12-11 12:26:17 CET
By regressions I mean if installing the new package introduced any new problems. Sorry if that was not clear, and thanks for your fast reply!
Comment 11 Diego Bello 2012-12-11 15:18:13 CET
So far I haven't seen any problems, but I have not used it that much.
Comment 12 user7 2012-12-11 22:00:29 CET
Diego: Given that it did not work at all before, checking for obvious problems should be sufficient. If you experience new problems before this update gets pushed, please report back here. If you find any new problems after that, please open a new bug report. Thank you for your efforts!

Emmanuel: Any chance you can try the package from updates_testing soon?

Whiteboard: (none) => MGA2-64-OK

Comment 13 claire robinson 2013-01-02 18:11:31 CET
Testing complete mga2 32

Before
------
$ irb
irb(main):001:0> require 'RMagick'
LoadError: no such file to load -- RMagick
        from (irb):1:in `require'
        from (irb):1
        from :0
irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'RMagick'
RuntimeError: This installation of RMagick was configured with ImageMagick 6.7.3 but ImageMagick 6.7.5-10 is in use.

        from /usr/lib/ruby/site_ruby/1.8/i586-linux/RMagick2.so
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:11
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:57:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:57:in `require'
        from (irb):3
        from /usr/lib/ruby/1.8/i586-linux/rbconfig.rb:12
irb(main):004:0> quit

After
-----
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'RMagick'
=> true

Tested with some examples from http://rmagick.rubyforge.org/ put together into one script. All Ok.

Whiteboard: MGA2-64-OK => has_procedure MGA2-64-OK mga2-32-OK

Comment 14 claire robinson 2013-01-02 18:14:27 CET
Validating

SRPM: ruby-rmagick-2.13.1-5.1.mga2.src.rpm

Advisory
----------
The ruby-rmagick package needed to be rebuilt against the current version of imagemagick.
----------

Could sysadmin please push from core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 15 Thomas Backlund 2013-01-06 23:09:24 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2013-0002

Status: REOPENED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


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