Skip to content

[macOS] Broken rpaths in individual architecture CI packages #4528

@sharder996

Description

@sharder996

Describe the bug
The individual macOS packages from CI have broken QtNetwork rpath'ing

To Reproduce
Download a macOS aarch64 or x86_64 from CI, install, and execute multipass. The combined package works fine, though.

Logs

% multipass
dyld[18747]: Library not loaded: @rpath/QtNetwork.framework/Versions/A/QtNetwork
  Referenced from: <B764F874-E0EF-3B86-9CF7-EC02BD5F4221> /Library/Application Support/com.canonical.multipass/bin/multipass
  Reason: tried: '/Library/Application Support/com.canonical.multipass/lib/QtNetwork.framework/Versions/A/QtNetwork' (code signature invalid in <F0D25960-82A1-3701-B864-02C70D55BF63> '/Library/Application Support/com.canonical.multipass/lib/QtNetwork.framework/Versions/A/QtNetwork' (errno=1) sliceOffset=0x001B0000, codeBlobOffset=0x00196680, codeBlobSize=0x00007AD0), '/Library/Application Support/com.canonical.multipass/lib/QtNetwork.framework/Versions/A/QtNetwork' (code signature invalid in <F0D25960-82A1-3701-B864-02C70D55BF63> '/Library/Application Support/com.canonical.multipass/lib/QtNetwork.framework/Versions/A/QtNetwork' (errno=1) sliceOffset=0x001B0000, codeBlobOffset=0x00196680, codeBlobSize=0x00007AD0)
zsh: abort      multipass

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglowLow priority. Combine with "medium" to signal intermediate low-medium priority.mediumMedium priority. Combine with "low" or "high" to signal intermediate priority.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions