Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpython.so not built on OpenBSD #56769

Closed
stsp mannequin opened this issue Jul 14, 2011 · 9 comments
Closed

libpython.so not built on OpenBSD #56769

stsp mannequin opened this issue Jul 14, 2011 · 9 comments
Labels
build The build process and cross-build

Comments

@stsp
Copy link
Mannequin

stsp mannequin commented Jul 14, 2011

BPO 12560
Nosy @vstinner, @merwok, @skrah
Files
  • python-2.7.2-configure.diff: patch that fixes the problem
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2011-07-24.20:46:52.197>
    created_at = <Date 2011-07-14.16:58:11.735>
    labels = ['build']
    title = 'libpython.so not built on OpenBSD'
    updated_at = <Date 2011-07-25.19:55:18.163>
    user = 'https://bugs.python.org/stsp'

    bugs.python.org fields:

    activity = <Date 2011-07-25.19:55:18.163>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-07-24.20:46:52.197>
    closer = 'neologix'
    components = ['Build']
    creation = <Date 2011-07-14.16:58:11.735>
    creator = 'stsp'
    dependencies = []
    files = ['22654']
    hgrepos = []
    issue_num = 12560
    keywords = ['patch']
    message_count = 9.0
    messages = ['140343', '140599', '140991', '141044', '141053', '141054', '141055', '141056', '141120']
    nosy_count = 7.0
    nosy_names = ['vstinner', 'eric.araujo', 'skrah', 'neologix', 'python-dev', 'rpointel', 'stsp']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue12560'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @stsp
    Copy link
    Mannequin Author

    stsp mannequin commented Jul 14, 2011

    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.

    @stsp stsp mannequin added build The build process and cross-build labels Jul 14, 2011
    @skrah skrah mannequin self-assigned this Jul 14, 2011
    @merwok
    Copy link
    Member

    merwok commented Jul 18, 2011

    I’ve looked at 3.x and think the patch would apply cleanly there too.

    @skrah
    Copy link
    Mannequin

    skrah mannequin commented Jul 23, 2011

    Unassigning: I tested on OpenBSD 4.5 and get other (probably unrelated
    errors).

    @skrah skrah mannequin removed their assignment Jul 23, 2011
    @neologix
    Copy link
    Mannequin

    neologix mannequin commented Jul 24, 2011

    The patch looks good to me.
    As for the other failures, it would probably be interesting to open a
    separate issue, no?

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 24, 2011

    New changeset 33be4896003a by Charles-François Natali in branch '2.7':
    Issue bpo-12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
    http://hg.python.org/cpython/rev/33be4896003a

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 24, 2011

    New changeset 1fdad36ac838 by Charles-François Natali in branch '3.2':
    Issue bpo-12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
    http://hg.python.org/cpython/rev/1fdad36ac838

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 24, 2011

    New changeset a095cbed24c3 by Charles-François Natali in branch 'default':
    Issue bpo-12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
    http://hg.python.org/cpython/rev/a095cbed24c3

    @neologix
    Copy link
    Mannequin

    neologix mannequin commented Jul 24, 2011

    Patch committed.
    Stefan, thanks for the report and the patch!

    @neologix neologix mannequin closed this as completed Jul 24, 2011
    @skrah
    Copy link
    Mannequin

    skrah mannequin commented Jul 25, 2011

    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

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant