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

Commits on Nov 15, 2024

  1. lldb-{12…19,devel}: Python is a lib dependency

    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.
    markmentovai committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    15ecb1c View commit details
    Browse the repository at this point in the history