Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458588 - dev-libs/botan - please add USE="static-libs"
Summary: dev-libs/botan - please add USE="static-libs"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Jack Lloyd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 12:59 UTC by Sergey Popov (RETIRED)
Modified: 2017-12-01 23:55 UTC (History)
4 users (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 Sergey Popov (RETIRED) gentoo-dev 2013-02-21 12:59:49 UTC
Currently dev-libs/botan-1.10.3-r1 install static library unconditionally:

>>> Completed installing botan-1.10.3-r1 into /var/tmp/portage/dev-libs/botan-1.10.3-r1/image/

strip: armv6j-hardfloat-linux-gnueabi-strip --strip-unneeded -R .comment -R .GCC.command.line
   usr/lib/libbotan-1.10.so.0.3
   usr/lib/libbotan-1.10.a
>>> Done.

Please add USE="static-libs" to control this behaviour.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2013-03-02 21:57:00 UTC
Jack: best if you add a parameter to configure script with --disable-static or something similar.
Comment 2 Thomas Capricelli 2015-09-13 11:38:20 UTC
Isn't this fixed ?

Tested today, dev-libs/botan-1.10.5 installs with or without the *.a according to USE=static-libs, as expected.

(thanks, by the way)
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2015-09-13 11:40:42 UTC
(In reply to Thomas Capricelli from comment #2)
> Isn't this fixed ?
> 
> Tested today, dev-libs/botan-1.10.5 installs with or without the *.a
> according to USE=static-libs, as expected.
> 
> (thanks, by the way)

no, this is request to upstream (assigned) to support this within build, so we don't have to hack the output.
Comment 4 Jack Lloyd 2016-02-06 19:49:35 UTC
Sorry for the long delayed response here. Yes a --disable-static option to handle this sounds good reasonable to me.
Comment 5 Jack Lloyd 2017-09-29 22:36:01 UTC
Opened upstream issue https://github.com/randombit/botan/issues/1230
Comment 6 Jack Lloyd 2017-12-01 17:59:51 UTC
Fixed upstream, --disable-static prevents creation of static library. Now waiting on new release (eta early January).
Comment 7 Thomas Capricelli 2017-12-01 21:52:01 UTC
Great, looking forward to it!
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2017-12-01 23:55:05 UTC
Thanks!