Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382889 - dev-libs/botan-1.10.1 lacks python support
Summary: dev-libs/botan-1.10.1 lacks python support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 23:24 UTC by Thomas Capricelli
Modified: 2013-01-13 00:10 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 Thomas Capricelli 2011-09-13 23:24:46 UTC
It's weird, i'm not sure to understand all that happens.
1) botan used to have a 'python' USE but does not anymore
2) in the 1.10.1, python is mentionned, as if it was a harcoded dep
3) when installed, nothing related to python is installed 'import botan' does not work anymore

Which makes it worse, like _really_ worse, is that botan 1.9.* stuff is not available anymore from the tree. Python was working/installed well with 1.9.*, and once you realize 1.10.1 is broken, you can not go back.

Is it possible to re-enable 1.9.* until this issue is fixed ?

Reproducible: Always
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-11-07 07:55:54 UTC
that's almost 2 months ago; still happening?

On examining the ebuild and its build. you're correct.  The source is configured by a python configure script.  Beyond that,

x86_64-pc-linux-gnu-g++ -Ibuild/include -march=native -pipe -O2  -D_REENTRANT -Wno-long-long -W -Wall -fPIC -fvisibility=hidden -c src/stream/ctr/ctr.cpp -o build/lib/stream_ctr.o

It's a C++ build making libbotan-1.10.a, libbotan-1.10.so.0
Not knowing the package, it seems this entire outcome is by design.  It appears no longer to be intended as a python module.  If you wish, send a query to crypto@gentoo.org.  If you find it should still be an importable python module, re=comment to re-open the bug.
Seeing 2 months has passed, I would say the answer to Is it possible to re-enable 1.9.* until this issue is fixed ? is clearly no
Comment 2 Thomas Capricelli 2011-11-07 18:32:01 UTC
Of course the problem is still there. Support for python was added in the development branch 1.9 and is one of the main feature added in the (stable branch) 1.10.
Check ebuilds for 1.9.x and you'll see. It's quite simple, the 'python' USE flag enable some ./configure option so that the python module get compiled/installed.
I'm stuck with the previous 1.9.x ebuild copied in my overlay meanwhile :/

The author of botan is usually handling gentoo ebuild/requests. I'm sure he could confirm that botan 1.10.x
Comment 3 Thomas Capricelli 2011-11-07 18:33:06 UTC
(In reply to comment #2)
> The author of botan is usually handling gentoo ebuild/requests. I'm sure he
> could confirm that botan 1.10.x

.. has python support.

(he's in cc of this bug)
Comment 4 Arfrever Frehtes Taifersar Arahesis 2011-11-09 15:56:53 UTC
dev-libs/botan-1.10.1 with proper support for multiple Python ABIs is now available in Progress Overlay.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2013-01-12 22:46:38 UTC
(In reply to comment #4)
> dev-libs/botan-1.10.1 with proper support for multiple Python ABIs is now
> available in Progress Overlay.

Any chance for an ebuild for portage?
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2013-01-13 00:10:10 UTC
botan-1.10.3-r1 contains python support, I hope I've done this correct.