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

Use shipped zlib if the system version is bad #50266

Closed
devdanzin mannequin opened this issue May 14, 2009 · 2 comments
Closed

Use shipped zlib if the system version is bad #50266

devdanzin mannequin opened this issue May 14, 2009 · 2 comments
Labels
build The build process and cross-build type-feature A feature request or enhancement

Comments

@devdanzin
Copy link
Mannequin

devdanzin mannequin commented May 14, 2009

BPO 6016
Nosy @devdanzin
Files
  • zlib_setup.diff: Patch against trunk, seems to apply fine on py3k.
  • 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 2009-05-14.03:33:22.800>
    created_at = <Date 2009-05-14.02:05:46.172>
    labels = ['type-feature', 'invalid', 'build']
    title = 'Use shipped zlib if the system version is bad'
    updated_at = <Date 2009-05-14.03:33:22.605>
    user = 'https://github.com/devdanzin'

    bugs.python.org fields:

    activity = <Date 2009-05-14.03:33:22.605>
    actor = 'ajaksu2'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-05-14.03:33:22.800>
    closer = 'ajaksu2'
    components = ['Build']
    creation = <Date 2009-05-14.02:05:46.172>
    creator = 'ajaksu2'
    dependencies = []
    files = ['13980']
    hgrepos = []
    issue_num = 6016
    keywords = ['patch']
    message_count = 2.0
    messages = ['87727', '87728']
    nosy_count = 1.0
    nosy_names = ['ajaksu2']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue6016'
    versions = ['Python 2.7', 'Python 3.2']

    @devdanzin
    Copy link
    Mannequin Author

    devdanzin mannequin commented May 14, 2009

    The attached patch makes setup.py use the shipped zlib.h in
    Modules/zlib/ when a bogus zlib.h is found by find_file.

    However, I couldn't test it (nor make it work) when a system zlib is
    missing (no time right now). Can we build the shipped zlib and link
    against it?

    @devdanzin devdanzin mannequin added build The build process and cross-build type-feature A feature request or enhancement labels May 14, 2009
    @devdanzin
    Copy link
    Mannequin Author

    devdanzin mannequin commented May 14, 2009

    We'd be asking for trouble with this: incompatible shipped and system
    versions or having to build the shipped version. All that for working
    around the rare case where the user doesn't have a valid zlib makes no
    sense :)

    @devdanzin devdanzin mannequin closed this as completed May 14, 2009
    @devdanzin devdanzin mannequin added the invalid label May 14, 2009
    @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 type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants