Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382507 - net-libs/libssh-0.5.1 installs static-libs with USE="-static-libs"
Summary: net-libs/libssh-0.5.1 installs static-libs with USE="-static-libs"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 382499
  Show dependency tree
 
Reported: 2011-09-10 10:51 UTC by Agostino Sarubbo
Modified: 2011-09-10 12:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-09-10 10:51:09 UTC
amd64box ~ # emerge -vp libssh 
                                                                                                                                                                                    
These are the packages that would be merged, in order:                                                                                                                              
                                                                                                                                                                                    
Calculating dependencies... done!                                                                                                                                                   
[ebuild   R   ~] net-libs/libssh-0.5.1  USE="debug doc examples gcrypt pcap server sftp ssh1 test zlib -static-libs" 0 kB                                                           
                                                                                                                                                                                    
amd64box ~ # qlist -e libssh | grep "\.a"
/usr/lib64/libssh.a
/usr/lib64/libssh_threads.a
Comment 1 Tim Harder gentoo-dev 2011-09-10 11:06:32 UTC
Turn off the test USE flag and you don't get static libs.
Comment 2 Agostino Sarubbo gentoo-dev 2011-09-10 11:11:24 UTC
I want test but I don't want static-libs, what we do?
Comment 3 Tim Harder gentoo-dev 2011-09-10 11:30:05 UTC
Patches welcome. :)
Comment 4 Agostino Sarubbo gentoo-dev 2011-09-10 11:37:04 UTC
(In reply to comment #3)
> Patches welcome. :)

So not close as INVALID, for me is valid.
Comment 5 Tim Harder gentoo-dev 2011-09-10 12:23:04 UTC
My point was upstream currently requires static libraries to be built if building tests.

Anyway I've added REQUIRED_USE to make it more explicit.