Skip to content

non-standard processing of several configure options ignores "=no" #54767

Closed

Description

@ned-deily
BPO 10558
Nosy @ned-deily
Files
  • python-3.2-issue10558.patch: Patch for Python 3.2
  • 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 = None
    created_at = <Date 2010-11-28.03:24:52.652>
    labels = ['type-bug', 'build']
    title = 'non-standard processing of several configure options ignores "=no"'
    updated_at = <Date 2019-03-15.23:55:34.997>
    user = 'https://github.com/ned-deily'

    bugs.python.org fields:

    activity = <Date 2019-03-15.23:55:34.997>
    actor = 'BreamoreBoy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Build']
    creation = <Date 2010-11-28.03:24:52.652>
    creator = 'ned.deily'
    dependencies = []
    files = ['19851']
    hgrepos = []
    issue_num = 10558
    keywords = ['patch']
    message_count = 4.0
    messages = ['122613', '122620', '122621', '221652']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'Arfrever']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue10558'
    versions = ['Python 3.4', 'Python 3.5']

    Linked PRs

    Activity

    1. ned-deily commented on Nov 28, 2010

      @ned-deily
      MemberAuthor

      [From bpo-10268]

      The configure to Makefile option processing for a few options is non-standard. For example, --enable-loadable-sqlite-extensions=no is treated the same as --enable-loadable-sqlite-extensions or --enable-loadable-sqlite-extensions=yes, contrary to standard Autoconf behavior. Reportedly, this behavior also occurs with --with-system-expat=no and --with-system-ffi=no options.

    2. Arfrever commented on Nov 28, 2010

      Arfrevermannequin
      Mannequin

      I'm attaching the patch for py3k branch. A part of this patch could be applied also in 2.7 and 3.1 branches.

    3. Arfrever commented on Nov 28, 2010

      Arfrevermannequin
      Mannequin

      2.7 branch: --with-system-expat and --with-system-ffi
      3.1 branch: --with-system-ffi

    4. BreamoreBoy commented on Jun 26, 2014

      BreamoreBoymannequin
      Mannequin

      Does the patch here or an updated version still need incorporating into the build system?

    5. transferred this issue fromon Apr 10, 2022
    6. vasiliyk commented on Oct 19, 2026

      @vasiliyk
      Contributor

      The issue mentioned 3 configure options:

      --enable-loadable-sqlite-extensions: still broken on 3.16.0a1+dev.
      --with-system-expat: already fixed in GH-29547.
      --with-system-ffi: option removed in 3.12 with GH-100544.

      I'll open PR to add the guard for --enable-loadable-sqlite-extensions.

    7. added a commit that references this issue on Oct 21, 2026
    8. vasiliyk commented on Oct 21, 2026

      @vasiliyk
      Contributor

      #159728 is merged, so --enable-loadable-sqlite-extensions=no and --disable-loadable-sqlite-extensions now disable extension loading as Autoconf conventions expect. The other two options were already handled, see my comment above.

      The fix is on main only. I think this can be closed.

    9. ned-deily commented on Oct 21, 2026

      @ned-deily
      MemberAuthor

      Thanks for the PR!

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    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