Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467134

Summary: media-video/noad-0.7.3-r1: imagemagick support breaks build with media-gfx/imagemagick-6.8.4.9
Product: Gentoo Linux Reporter: Markus Rathgeb <maggu2810>
Component: New packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=media-video/noad-0.7.3-r1'
emerge -pqv '=media-video/noad-0.7.3-r1'
/var/tmp/portage/media-video/noad-0.7.3-r1/temp/build.log
/var/tmp/portage/media-video/noad-0.7.3-r1/temp/environment

Description Markus Rathgeb 2013-04-24 22:18:14 UTC
Fails linking against "Magick++"

===
i686-pc-linux-gnu-g++ -I/usr/include/ImageMagick-6  -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -O2 -march=i686 -pipe -O2 -march=native -pipe  -Wl,-O1 -Wl,--as-needed -rdynamic -o markpics markpics-markpics.o libnoad.a -lMagick++ -lavcodec  -lmpeg2  
/usr/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagick++
collect2: error: ld returned 1 exit status
===

It seems, that there is (now) a version information in the library name.

equery files imagemagick | grep /usr/lib/libMagick++
/usr/lib/libMagick++-6.Q16.la
/usr/lib/libMagick++-6.Q16.so
/usr/lib/libMagick++-6.Q16.so.1
/usr/lib/libMagick++-6.Q16.so.1.0.0


Reproducible: Always
Comment 1 Markus Rathgeb 2013-04-24 22:18:48 UTC
Created attachment 346542 [details]
emerge --info '=media-video/noad-0.7.3-r1'
Comment 2 Markus Rathgeb 2013-04-24 22:19:11 UTC
Created attachment 346544 [details]
emerge -pqv '=media-video/noad-0.7.3-r1'
Comment 3 Markus Rathgeb 2013-04-24 22:19:51 UTC
Created attachment 346546 [details]
/var/tmp/portage/media-video/noad-0.7.3-r1/temp/build.log
Comment 4 Markus Rathgeb 2013-04-24 22:20:13 UTC
Created attachment 346548 [details]
/var/tmp/portage/media-video/noad-0.7.3-r1/temp/environment
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-04-25 05:04:01 UTC
workaround added to portage

this package would need half of configure.ac/Makefile.am to be rewritten for proper fixes :/