Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lldb-{12…19,devel}: Python is a lib dependency #26618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markmentovai
Copy link
Contributor

Python was only specified as a build dependency, but for lldb, it’s actually a lib dependency. For example, after removing python310:

--->  Scanning binaries for linking errors
--->  Found 3 broken files, matching files to ports
--->  Found 3 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 lldb-12 @12.0.1
 lldb-13 @13.0.1
 lldb-14 @14.0.6
% lldb-mp-12
dyld[…]: Library not loaded: /opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
  Referenced from: <…> /opt/local/libexec/llvm-12/lib/liblldb.12.0.1.dylib
  Reason: tried: '/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file)
zsh: abort	lldb-mp-12

This may be necessary for versions before lldb-12 as well, but I’ve only tested lldb-12 and later.

Description

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 15.1 24B83 arm64
Xcode 16.1 16B40

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

Python was only specified as a build dependency, but for lldb, it’s
actually a lib dependency. For example, after removing python310:

```
--->  Scanning binaries for linking errors
--->  Found 3 broken files, matching files to ports
--->  Found 3 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 lldb-12 @12.0.1
 lldb-13 @13.0.1
 lldb-14 @14.0.6
```

```
% lldb-mp-12
dyld[…]: Library not loaded: /opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
  Referenced from: <…> /opt/local/libexec/llvm-12/lib/liblldb.12.0.1.dylib
  Reason: tried: '/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file)
zsh: abort	lldb-mp-12
```

This may be necessary for versions before lldb-12 as well, but I’ve only
tested lldb-12 and later.
@macportsbot
Copy link

Notifying maintainers:
@jeremyhu for port llvm-12, llvm-devel.
@cjones051073 for port llvm-devel.

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

Successfully merging this pull request may close these issues.

4 participants