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

Bug 306901

Summary: =dev-libs/boost-* add static-libs USE flag
Product: Gentoo Linux Reporter: Maciej Mrozowski <reavertm>
Component: New packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Simple patch (not fully working yet) - to give the idea
Simple patch (not fully working yet) - to give the idea

Description Maciej Mrozowski gentoo-dev 2010-02-26 04:22:07 UTC
Motivation being: boost is no longer lightweight c++ template library and typical boost library size is bigger than average KDE4 shared lib. 

A few problems I spotted is with eselect (but that's understood) and in ebuild ("creating symlinks" part)

"Previously selected profile: default
Removing symlinks from old version
Found a matching profile "default" for the new version.
Creating symlinks for boost-1.41/default
!!! Error: "/usr/lib64/libboost_thread-1_41.a" listed as target does not exist
exiting"

Please consider incrementally removing static libs creation - as most sane build systems pick shared libs over static ones anyway, installing .a files is mostly utterly pointless now.
Comment 1 Maciej Mrozowski gentoo-dev 2010-02-26 04:23:28 UTC
Created attachment 221243 [details, diff]
Simple patch (not fully working yet) - to give the idea
Comment 2 Maciej Mrozowski gentoo-dev 2010-02-26 04:35:08 UTC
Created attachment 221245 [details, diff]
Simple patch (not fully working yet) - to give the idea
Comment 3 Sebastian Luther (few) 2010-02-26 07:07:13 UTC
This has already been done for the upcoming 1.42 ebuild.

*** This bug has been marked as a duplicate of bug 301643 ***