Issue 12560: libpython.so not built on OpenBSD (original) (raw)

Created on 2011-07-14 16:58 by stsp, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.7.2-configure.diff stsp,2011-07-14 16:58 patch that fixes the problem
Messages (9)
msg140343 - (view) Author: Stefan Sperling (stsp) Date: 2011-07-14 16:58
In Python-2.7.2 (I have not checked other versions, sorry), the configure script doesn't not define LDLIBRARY on OpenBSD. Because of this libpython.so does not get built.
msg140599 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-18 16:07
I’ve looked at 3.x and think the patch would apply cleanly there too.
msg140991 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2011-07-23 15:39
Unassigning: I tested on OpenBSD 4.5 and get other (probably unrelated errors).
msg141044 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2011-07-24 12:39
The patch looks good to me. As for the other failures, it would probably be interesting to open a separate issue, no?
msg141053 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-24 20:33
New changeset 33be4896003a by Charles-François Natali in branch '2.7': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/33be4896003a
msg141054 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-24 20:41
New changeset 1fdad36ac838 by Charles-François Natali in branch '3.2': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/1fdad36ac838
msg141055 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-24 20:43
New changeset a095cbed24c3 by Charles-François Natali in branch 'default': Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. http://hg.python.org/cpython/rev/a095cbed24c3
msg141056 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2011-07-24 20:46
Patch committed. Stefan, thanks for the report and the patch!
msg141120 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2011-07-25 19:55
For the record: The other failures I mentioned were almost certainly OpenBSD 4.5 / autoconf specific, so I didn't bother. Cairo has a workaround, but I think that goes too far. http://cairo.sourcearchive.com/documentation/1.9.4/cairo-atomic-private_8h-source.html /* The autoconf on OpenBSD 4.5 produces the malformed constant name * SIZEOF_VOID__ rather than SIZEOF_VOID_P. Work around that here. */ #if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__) # define SIZEOF_VOID_P SIZEOF_VOID__ #endif
History
Date User Action Args
2022-04-11 14:57:19 admin set github: 56769
2011-07-25 19:55:18 skrah set messages: +
2011-07-24 20:46:52 neologix set status: open -> closedresolution: fixedmessages: + stage: commit review -> resolved
2011-07-24 20:43:59 python-dev set messages: +
2011-07-24 20:41:23 python-dev set messages: +
2011-07-24 20:33:37 python-dev set nosy: + python-devmessages: +
2011-07-24 12:39:37 neologix set messages: +
2011-07-23 15:49:57 pitrou set nosy: + vstinner, neologix
2011-07-23 15:39:08 skrah set assignee: skrah -> messages: +
2011-07-20 12:24:18 skrah set nosy: + rpointel
2011-07-20 12:24:09 skrah link issue12593 superseder
2011-07-18 16:07:26 eric.araujo set versions: + Python 3.2, Python 3.3nosy: + eric.araujomessages: + stage: commit review
2011-07-14 23:10:42 skrah set assignee: skrahnosy: + skrah
2011-07-14 16:58:11 stsp create