Skip to content

Upgrade to GNU Autoconf 2.72 #115765

Description

@erlend-aasland

Feature or enhancement

Autoconf 2.72 was released 2023-12-22. Relevant highlights (some C&P verbatim) from the release announcement:

  • Pre-C89 compilers are no longer supported. This should not be a problem for us, as we're using C11.
  • AC_USE_SYSTEM_EXTENSIONS now enables C23 Annex F extensions
    by defining __STDC_WANT_IEC_60559_EXT__ (is this a problem?)
  • Autoconf now quotes 'like this' instead of `like this'; perhaps we should clean up our quoting in a separate first, so the 2.72 change is easier to review. <= not worth the churn
  • Improved compatibility with a wide variety of systems and tools
    including CheriBSD, Darwin (macOS), GNU Guix, OS/2, z/OS, Bash 5.2,
    the BusyBox shell and utilities, Clang/LLVM version 16, the upcoming
    GCC version 14, etc.

The other version requirements (Perl, M4, etc.) should not affect us.

Preliminary actions:

Linked PRs

Activity

  1. erlend-aasland commented on Feb 21, 2024

    @erlend-aasland
    ContributorAuthor

    The AC_CHECK_TYPE issue was addressed previously: #89886 (comment)

  2. erlend-aasland commented on Feb 21, 2024

    @erlend-aasland
    ContributorAuthor
  3. erlend-aasland commented on Feb 21, 2024

    @erlend-aasland
    ContributorAuthor

    Seems our usage of AC_EGREP_*() is pretty safe, so it is not imperative to replace them with more modern equivalents.

  4. erlend-aasland commented on Feb 21, 2024

    @erlend-aasland
    ContributorAuthor

    Seems our usage of AC_EGREP_*() is pretty safe, so it is not imperative to replace them with more modern equivalents.

    Well, the AC_EGREP_HEADER usage is not very clean. We should fix that.

  5. added 2 commits that reference this issue on Feb 21, 2024
  6. added a commit that references this issue on Feb 23, 2024
  7. added 3 commits that reference this issue on Feb 28, 2024
  8. erlend-aasland commented on Feb 29, 2024

    @erlend-aasland
    ContributorAuthor

    Preparations for GNU Autoconf 2.72 have landed. It looks like Ubuntu 24.04 will ship with GNU Autoconf 2.71, though. @corona10, what do you think of switching to an autoconf docker/podman image again?

  9. corona10 commented on Mar 1, 2024

    @corona10
    Member

    @erlend-aasland

    Preparations for GNU Autoconf 2.72 have landed. It looks like Ubuntu 24.04 will ship with GNU Autoconf 2.71, though. @corona10, what do you think of switching to an autoconf docker/podman image again?

    1. If we decide to use a container image, I would prefer to keep this strategy forever, even if OS provides the specific version.
    2. Let's migrate the repository https://github.com/corona10/cpython_autoconf to Python org and publish to the quary.io under python.org to provide images for x86 and aarch64. This repo publish the new image if the autoconf is bumped up :)
      see https://github.com/corona10/cpython_autoconf/blob/main/.github/workflows/manifest-build-push.yml
  10. 21 remaining items

  11. added a commit that references this issue on Jan 4, 2025
  12. erlend-aasland commented on Jan 4, 2025

    @erlend-aasland
    ContributorAuthor

    I forgot some doc and configure.ac updates; reopening.

  13. added a commit that references this issue on Jan 4, 2025
  14. added a commit that references this issue on Jan 4, 2025
  15. added a commit that references this issue on Jan 6, 2025
  16. asottile commented on Jan 8, 2025

    @asottile
    Contributor

    so a bit annoyingly this now means that one cannot autoconf on the most popular linux distribution's most recent lts release (which isn't even that old) ubuntu 24.04 which ships with autoconf 2.71

    this makes it difficult to package for deadsnakes as well -- I'm hoping to just patch out the autoconf version requirement and continue on as usual. it doesn't seem to actually need the most recent version?

  17. added 2 commits that reference this issue on Jan 8, 2025
  18. befeleme commented on Jan 15, 2025

    @befeleme
    Contributor

    Fedora 40, which is still a supported version, is also affected the same way (autoconf 2.71 still there).
    @asottile, were you successful with patching out the autoconf version?

  19. added a commit that references this issue on Jan 22, 2025
  20. lazka commented on Jan 24, 2026

    @lazka
    Contributor

    I'm also facing the same problem with Ubuntu 24.04. I've patched out the version and things seem to work fine with 2.71.

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

Metadata

Metadata

Labels

buildThe build process and cross-buildtype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions