macOS: Bundle format unrecognized, invalid, or unsuitable #34744

issue hebasto openend this issue on March 5, 2026
  1. hebasto commented at 2:34 pm on March 5, 2026: member

    The master branch (@ 7e91060ec7736f86e65e77996a2312a8e80d3f09) on macOS Tahoe 26.2 (Apple M1):

    0% cmake -B build -DBUILD_GUI=ON
    1% cmake --build build -j 10
    2% cmake --build build -t deploy
    3% unzip build/bitcoin-macos-app.zip -d build/deploy
    4% codesign --verify build/deploy/Bitcoin-Qt.app
    5build/deploy/Bitcoin-Qt.app: bundle format unrecognized, invalid, or unsuitable
    6In subcomponent: /Users/hebasto/git/bitcoin/build/deploy/Bitcoin-Qt.app/Contents/Frameworks/QtDBus.framework
    
    0% brew info qt | head -1
    1==> qt: stable 6.10.2 (bottled)
    
  2. pinheadmz commented at 2:36 pm on March 5, 2026: member
    Which version of Bitcoin?
  3. fanquake commented at 2:37 pm on March 5, 2026: member
    What are the steps to reproduce? What version of the code? What version of Qt in brew (if used)?
  4. hebasto commented at 2:54 pm on March 5, 2026: member
    The issue has been updated with more details.
  5. pinheadmz commented at 3:01 pm on March 5, 2026: member
    Does the cmake macOS deploy target do code signing? Like. What’s codesign –verify expected to do before a signed release?
  6. hebasto commented at 3:08 pm on March 5, 2026: member
  7. hebasto commented at 3:49 pm on March 5, 2026: member
  8. fanquake commented at 3:58 pm on March 5, 2026: member

    where symlinks are not preserved.

    Should they be? Isn’t macdeployqtplus meant to create a standalone tarball (which is why the libraries are copied into the bundle in the first place). If not, then why copy the dylibs at all?

  9. hebasto commented at 4:10 pm on March 5, 2026: member

    where symlinks are not preserved.

    Should they be? Isn’t macdeployqtplus meant to create a standalone tarball (which is why the libraries are copied into the bundle in the first place). If not, then why copy the dylibs at all?

    Quoting from Placing content in a bundle:

    The final structure looks like this:

    0CoreWaffleVarnishing.framework/
    1  CoreWaffleVarnishing -> Versions/Current/CoreWaffleVarnishing
    2  Resources -> Versions/Current/Resources
    3  Versions/
    4    Current -> A
    5    A/
    6      CoreWaffleVarnishing
    7      Resources/
    8        Info.plist
    9        … other resources …
    
  10. fanquake added the label macOS on Mar 6, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-03-09 09:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me