Skip to content

Mac builds failing during Install MacOS ARM build dependencies step #7056

Closed

Description

@ericstj

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=598340
Build error leg or test failing: MacOS_cross_arm64_Net6 / MacOS_cross_arm64_Net6 Debug_Build / Install MacOS ARM build dependencies
Pull request: #7055

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Error: The `brew link` step did not complete successfully",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Detailed error info:

==> Pouring python@3.12--3.12.2_1.monterey.bottle.tar.gz
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 python@3.12

To list all files that would be deleted:
  brew link --overwrite python@3.12 --dry-run

Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3-config
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
/usr/local/share/man/man1/python3.1 -> /usr/local/Cellar/python@3.11/3.11.7_1/share/man/man1/python3.1
/usr/local/lib/pkgconfig/python3-embed.pc -> /usr/local/Cellar/python@3.11/3.11.7_1/lib/pkgconfig/python3-embed.pc
/usr/local/lib/pkgconfig/python3.pc -> /usr/local/Cellar/python@3.11/3.11.7_1/lib/pkgconfig/python3.pc
/usr/local/Frameworks/Python.framework/Headers -> /usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Headers
/usr/local/Frameworks/Python.framework/Python -> /usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Python
/usr/local/Frameworks/Python.framework/Resources -> /usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Resources
/usr/local/Frameworks/Python.framework/Versions/Current -> /usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/Current

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=598340
Error message validated: [Error: The brew link step did not complete successfully]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/11/2024 10:59:41 PM UTC

Report

Build Definition Step Name Console log Pull Request
598842 dotnet/machinelearning Install MacOS ARM build dependencies Log #7058
2400473 dotnet-machinelearning Install build dependencies Log
598340 dotnet/machinelearning Install MacOS ARM build dependencies Log #7055
597621 dotnet/machinelearning Install MacOS ARM build dependencies Log #7052

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 4 4

Activity

  1. ericstj commented on Mar 11, 2024

    @ericstj
    MemberAuthor

    Seems like it might be related to a new version of libomp which requires python@3.12 which was not previously required. Maybe there's already a version of python on this machine, so the explicit linking of that version is what's messing things up? No clue just trying to deduce the cause based on error & what changed. @michaelgsharp have you seen this before?

  2. locked and limited conversation to collaborators on Apr 13, 2024
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

    Known Build ErrorUse this to report build issues in the .NET Helix tabblocking-clean-ciBlocking PR or rolling builds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions