I have added the following line to the file /etc/portage/package.keywords dev-ruby/rmagick and then emerge rmagick breaks: [...] >>> media-gfx/imagemagick-6.2.0.4 merged. >>> clean: No packages selected for removal. >>> emerge (2 of 2) dev-ruby/rmagick-1.7.3 to / >>> md5 src_uri ;-) rmagick-1.7.3.tar.bz2 >>> Unpacking source... >>> Unpacking rmagick-1.7.3.tar.bz2 to /var/tmp/portage/rmagick-1.7.3/work >>> Source unpacked. Configuring RMagick 1.7.3 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ruby... /usr/bin/ruby checking for Magick-config... Magick-config checking for InitializeMagick in -lMagick... no configure: error: Can't install RMagick. Can't find libMagick !!! ERROR: dev-ruby/rmagick-1.7.3 failed. !!! Function src_compile, Line 20, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. add "dev-ruby/rmagick" line to file /etc/portage/package.keywords 2. emerge rmagick Actual Results: The RMagick build broke. Expected Results: The RMagick should have been built.
I can't duplicate your error using the same versions. Did you manually install imagemagick previously? Do you just have one Magick-config on your system in /usr/bin, or another in /usr/local/bin maybe?
No, I don't have another ImageMagick installed: myhost root # updatedb && locate Magick-conf /usr/share/man/man1/Magick-config.1.gz /usr/bin/Magick-config myhost root # before installing RMagick and ImageMagick I tried earlier versions of ImageMagick but uninstalled them before build concerning this bug raport. The weird thing in this bug is that the libMagick.so exists and has the InitializeMagick function: myhost lib # strings /usr/lib/libMagick.so | grep InitializeMagick InitializeMagick InitializeMagickResources InitializeMagickList myhost lib #
Can you please test the 1.9.0 ebuild and re-open if things are still broken.