GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — macos-13 builds are failing · Issue #116026 · python/cpython

macos-13 builds are failing #116026

New issue
Copy link
New issue
Copy link
Closed
Closed
macos-13 builds are failing#116026
Copy link
Labels
OS-macbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@JelleZijlstra
JelleZijlstra
opened on Feb 28, 2024
Issue body actions

Bug report

In both #105511 and #116025, the macos-13 builds fail with:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite [email protected] --dry-run

The failure first appears on the main branch after #115661 was merged, but that looks unlikely to be related, especially since the failure happens before we even start building CPython. I suspect something changed in the runner.

Linked PRs

  • gh-116026: Try disabling rebuilds of dependents in Homebrew #116027
  • [3.11] gh-116026: Try disabling rebuilds of dependents in Homebrew (GH-116027) #116157
  • [3.12] gh-116026: Try disabling rebuilds of dependents in Homebrew (GH-116027) #116158

Activity

  1. JelleZijlstra
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    OS-mac
    buildThe build process and cross-buildThe build process and cross-build
    on Feb 28, 2024
  2. JelleZijlstra
    added a commit that references this issue on Feb 28, 2024

    pythongh-116026: Try pinning version of xz

    e912d79
  3. JelleZijlstra commented on Feb 28, 2024

    @JelleZijlstra
    JelleZijlstra
    on Feb 28, 2024
    MemberAuthor
    More actions

    Comparing a successful run (https://github.com/python/cpython/actions/runs/8065615837/job/22031816546) and a failing one (https://github.com/python/cpython/actions/runs/8073964044/job/22058540805), I noticed that in the successful run we didn't do anything to xz, but in the failing run we decided to upgrade from 5.4.5 to 5.4.6. That upgrade then makes Homebrew reinstall Python 3.12 for some reason (because Python depends on xz?), and that leads to the brew link error.

    As a workaround, I opened a PR to pin xz to 5.4.5.

  4. JelleZijlstra
    added a commit that references this issue on Feb 28, 2024

    gh-116026: Try disabling rebuilds of dependents in Homebrew (#116027)

    02beb9f
  5. JelleZijlstra
    closed this as completedon Feb 28, 2024
  6. miss-islington
    added 2 commits that reference this issue on Feb 29, 2024

    pythongh-116026: Try disabling rebuilds of dependents in Homebrew (py…

    fd3e342

    pythongh-116026: Try disabling rebuilds of dependents in Homebrew (py…

    5575367
  7. JelleZijlstra
    added 2 commits that reference this issue on Mar 1, 2024

    [3.11] gh-116026: Try disabling rebuilds of dependents in Homebrew (G…

    f1d08c2

    [3.12] gh-116026: Try disabling rebuilds of dependents in Homebrew (G…

    5f63b73
  8. woodruffw
    added a commit that references this issue on Mar 4, 2024

    pythongh-116026: Try disabling rebuilds of dependents in Homebrew (py…

    e66d2a0
  9. adorilson
    added a commit that references this issue on Mar 25, 2024

    pythongh-116026: Try disabling rebuilds of dependents in Homebrew (py…

    710fe3b
  10. diegorusso
    added a commit that references this issue on Apr 17, 2024

    pythongh-116026: Try disabling rebuilds of dependents in Homebrew (py…

    d93c246
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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.