Skip to content

configure script is run with /bin/sh, but contains GNU bash logic #117787

Closed
@eli-schwartz

Description

@eli-schwartz

Bug report

Bug description:

I just build the python 3.13 alpha on Gentoo to have available for testing. While doing so, I discovered the following message from Gentoo's QA framework:

 * QA Notice: Abnormal configure code
 * 
 * ./configure: 24692: test: Linux: unexpected operator

This happens when the shell itself hits code that isn't valid shell code.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions