multipass icon indicating copy to clipboard operation
multipass copied to clipboard

[macOS] Broken rpaths in individual architecture CI packages

Open sharder996 opened this issue 1 month ago • 1 comments

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

sharder996 avatar Nov 25 '25 16:11 sharder996

I think I had come across this as well.

ricab avatar Nov 25 '25 17:11 ricab