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

Unportable test(1) operator in configure script #90466

Closed
0-wiz-0 mannequin opened this issue Jan 8, 2022 · 3 comments
Closed

Unportable test(1) operator in configure script #90466

0-wiz-0 mannequin opened this issue Jan 8, 2022 · 3 comments
Labels
3.10 only security fixes 3.11 only security fixes build The build process and cross-build topic-installation

Comments

@0-wiz-0
Copy link
Mannequin

0-wiz-0 mannequin commented Jan 8, 2022

BPO 46308
Nosy @vstinner, @ned-deily, @0-wiz-0, @miss-islington
PRs
  • bpo-34602: Fix unportable test(1) operator in configure script #30490
  • [3.10] bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) #30491
  • 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 2022-01-14.01:45:04.871>
    created_at = <Date 2022-01-08.21:43:24.598>
    labels = ['build', 'expert-installation', '3.10', '3.11']
    title = 'Unportable test(1) operator in configure script'
    updated_at = <Date 2022-01-14.01:45:04.854>
    user = 'https://github.com/0-wiz-0'

    bugs.python.org fields:

    activity = <Date 2022-01-14.01:45:04.854>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-14.01:45:04.871>
    closer = 'vstinner'
    components = ['Installation']
    creation = <Date 2022-01-08.21:43:24.598>
    creator = 'wiz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46308
    keywords = ['patch']
    message_count = 3.0
    messages = ['410120', '410125', '410538']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'ned.deily', 'wiz', 'miss-islington']
    pr_nums = ['30490', '30491']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue46308'
    versions = ['Python 3.10', 'Python 3.11']

    @0-wiz-0
    Copy link
    Mannequin Author

    0-wiz-0 mannequin commented Jan 8, 2022

    The configure script uses the test(1) '==' operator, which is only supported by bash. The standard comparison operator is '='.

    @0-wiz-0 0-wiz-0 mannequin added 3.11 only security fixes topic-installation build The build process and cross-build labels Jan 8, 2022
    @ned-deily
    Copy link
    Member

    New changeset 3d11c1b by Thomas Klausner in branch 'main':
    bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)
    3d11c1b

    @vstinner
    Copy link
    Member

    commit b962544
    Author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
    Date: Sat Jan 8 17:08:20 2022 -0800

    bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491)
    
    (cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a)
    
    Co-authored-by: Thomas Klausner <tk@giga.or.at>
    

    @vstinner vstinner added the 3.10 only security fixes label Jan 14, 2022
    @vstinner vstinner added the 3.10 only security fixes label Jan 14, 2022
    @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
    3.10 only security fixes 3.11 only security fixes build The build process and cross-build topic-installation
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants