Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306901 - =dev-libs/boost-* add static-libs USE flag
Summary: =dev-libs/boost-* add static-libs USE flag
Status: RESOLVED DUPLICATE of bug 301643
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 04:22 UTC by Maciej Mrozowski
Modified: 2010-02-26 07:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple patch (not fully working yet) - to give the idea (static-libs.diff,3.56 KB, patch)
2010-02-26 04:23 UTC, Maciej Mrozowski
Details | Diff
Simple patch (not fully working yet) - to give the idea (static-libs.diff,3.56 KB, patch)
2010-02-26 04:35 UTC, Maciej Mrozowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***