This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年07月20日 08:56 by rpointel, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| configure_openbsd.diff | neologix, 2011年07月22日 20:55 | review | ||
| Messages (7) | |||
|---|---|---|---|
| msg140724 - (view) | Author: Remi Pointel (rpointel) * | Date: 2011年07月20日 08:56 | |
Hi, I tested to build Python 2.7 and Python 3.2.1 (it would be the same with others versions of Python) and it failed to build on OpenBSD 5.0 (beta version). This is the diff to correctly work on OpenBSD 5.x: --- configure.in.orig Sat Jul 9 08:58:56 2011 +++ configure.in Wed Jul 20 10:19:37 2011 @@ -320,7 +320,7 @@ # As this has a different meaning on Linux, only define it on OpenBSD AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features]) ;; - OpenBSD/4.@<:@789@:>@) + OpenBSD/4.@<:@789@:>@ | OpenBSD/5.*) # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is # also defined. This can be overridden by defining _BSD_SOURCE # As this has a different meaning on Linux, only define it on OpenBSD Could you add this modification in the different versions of Python ? Thanks a lot, Remi. |
|||
| msg140906 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2011年07月22日 20:55 | |
Patch attached (this one should also work with future major releases). |
|||
| msg140907 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年07月22日 21:02 | |
Looks fine to me. |
|||
| msg140914 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年07月22日 21:44 | |
New changeset b24a2ccae56a by Charles-François Natali in branch '2.7': Issue #12592: Make Python build on OpenBSD 5 (and future major releases). http://hg.python.org/cpython/rev/b24a2ccae56a |
|||
| msg140915 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年07月22日 21:48 | |
New changeset 9c7f9d5841ff by Charles-François Natali in branch '3.2': Issue #12592: Make Python build on OpenBSD 5 (and future major releases). http://hg.python.org/cpython/rev/9c7f9d5841ff |
|||
| msg140916 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年07月22日 21:51 | |
New changeset 63de97ae832e by Charles-François Natali in branch 'default': Merge - Issue #12592: Make Python build on OpenBSD 5 (and future major http://hg.python.org/cpython/rev/63de97ae832e |
|||
| msg140917 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2011年07月22日 21:56 | |
Patch committed. Rémi, thanks for reporting this (and other OpenBSD-specific bugs :-). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:19 | admin | set | github: 56801 |
| 2011年07月22日 21:56:24 | neologix | set | status: open -> closed resolution: fixed messages: + msg140917 stage: patch review -> resolved |
| 2011年07月22日 21:51:51 | python-dev | set | messages: + msg140916 |
| 2011年07月22日 21:48:38 | python-dev | set | messages: + msg140915 |
| 2011年07月22日 21:44:06 | python-dev | set | nosy:
+ python-dev messages: + msg140914 |
| 2011年07月22日 21:02:57 | pitrou | set | messages:
+ msg140907 versions: + Python 3.3 |
| 2011年07月22日 20:55:21 | neologix | set | files:
+ configure_openbsd.diff nosy: + neologix, pitrou messages: + msg140906 keywords: + patch, needs review stage: patch review |
| 2011年07月20日 08:56:21 | rpointel | create | |