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

Can't install on MacOS Big Sur - checksum did not verify #344

Closed
marmistrz opened this issue Oct 7, 2021 · 2 comments
Closed

Can't install on MacOS Big Sur - checksum did not verify #344

marmistrz opened this issue Oct 7, 2021 · 2 comments
Labels
os: macos macOS specific

Comments

@marmistrz
Copy link
Contributor

Describe the bug
After building the current main, the application doesn't launch on MacOS Big Sur (Apple M1)

To Reproduce
Steps to reproduce the behavior:

  1. Fetch current main
  2. Configure cmake with
CMAKE_PREFIX_PATH=/usr/local//Cellar/qt/6.1.2/lib/cmake/1 PATH=/usr/local/opt/gettext/bin/:$PATH cmake -G Ninja -DCMAKE_INSTALL_PREFIX= -DWITH_UI=Qt6 -DWITH_TESTS=ON -DCMAKE_SYSTEM_INCLUDE_PATH="/usr/local/opt/gettext/include" -DCMAKE_LIBRARY_PATH="/usr/local/opt/gettext/lib" -DCMAKE_BUILD_TYPE_INIT=Debug -DWITH_TRACING=TRUE -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DBoost_NO_BOOST_CMAKE=TRUE ../workrave/
  1. Install with DESTDIR=/Applications ninja install
  2. Attempt to run the application.

Expected behavior
The application launches

Actual behavior
The application crashes with EXC_BAD_ACCESS (Code Signature Invalid). Moreover,

$ pkgutil --check-signature /Applications/Workrave.app
Package "Workrave":
   Status: package is invalid (checksum did not verify)

Additional context
While linking, I'm getting the following error:

[297/297] Linking CXX executable ui/apps/qt5/src/Workrave.app/Contents/MacOS/Workrave
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks//QTKit.framework/QTKit.tbd, missing required architecture arm64 in file /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks//QTKit.framework/QTKit.tbd
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtWidgets.framework/Versions/A/QtWidgets"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtSvg.framework/Versions/A/QtSvg"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtWidgets.framework/Versions/A/QtWidgets"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtSvg.framework/Versions/A/QtSvg"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtWidgets.framework/Versions/A/QtWidgets"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtHunspellInputMethod.framework/Versions/A/QtHunspellInputMethod"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtHunspellInputMethod.framework/Versions/A/QtHunspellInputMethod"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQuick.framework/Versions/A/QtQuick"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQmlModels.framework/Versions/A/QtQmlModels"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtQml.framework/Versions/A/QtQml"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtNetwork.framework/Versions/A/QtNetwork"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtOpenGL.framework/Versions/A/QtOpenGL"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtGui.framework/Versions/A/QtGui"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
ERROR: Cannot resolve rpath "@rpath/QtCore.framework/Versions/A/QtCore"
ERROR:  using QSet("/Users/username/wr/build/ui/apps/qt5/src/lib")
@rcaelers rcaelers added the os: macos macOS specific label Dec 7, 2021
@rcaelers
Copy link
Owner

rcaelers commented Dec 7, 2021

This error should be fixed in the main branch.
The macOS port is still under development, so it may not be stable at the moment.
The same holds for the main branch in general.

@rcaelers rcaelers closed this as completed Dec 7, 2021
@smaugfm
Copy link

smaugfm commented Dec 28, 2023

@rcaelers It's been more than two years since this issue was closed. What's the status of the macOs port? Is there an GitHub issue with the latest updates? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos macOS specific
Projects
None yet
Development

No branches or pull requests

3 participants