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

Bug 398619

Summary: media-gfx/imagemagick-6.7.4.0 still installs static libraries with USE="-static-libs"
Product: Gentoo Linux Reporter: Denis Lisov <dennis.lissov>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output

Description Denis Lisov 2012-01-12 07:44:46 UTC
The imagemagick's static-libs USE flag does not prevent multiple static libraries from being installed when disabled.

Reproducible: Always

Steps to Reproduce:
1. USE="-static-libs" emerge -1 imagemagick
2. equery f imagemagick | egrep '\.la'
Actual Results:  
112 static libraries in total. 109 of them are in the modules folder; the other three are libMagick++.la, libMagickCore.la, libMagickWand.la.

Expected Results:  
No static libraries, everything built into the dynamic libraries.
Comment 1 Denis Lisov 2012-01-12 07:46:37 UTC
Created attachment 298723 [details]
emerge --info output
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-01-12 08:18:06 UTC
You are confusing libtool archive(s) (.la) with static archive(s) (.a)
ImageMagick always needs .la for the libltdl and module loading