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

Bug 382507

Summary: net-libs/libssh-0.5.1 installs static-libs with USE="-static-libs"
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 382499    

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.