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

MacOS package broken #472

Open
PaulSzymanski opened this issue Dec 16, 2024 · 3 comments
Open

MacOS package broken #472

PaulSzymanski opened this issue Dec 16, 2024 · 3 comments

Comments

@PaulSzymanski
Copy link

PaulSzymanski commented Dec 16, 2024

Describe the bug

When starting DisplayCAL I get a fatal error.

Seems like a dylib isn't correctly resolved.

% /Applications/DisplayCAL.app/Contents/MacOS/DisplayCAL
dlopen(/Applications/DisplayCAL.app/Contents/Frameworks/Python.framework/Versions/3.12/Python, 0x0001): Symbol not found: (_mkfifoat)
  Referenced from: '/Applications/DisplayCAL.app/Contents/Frameworks/Python.framework/Versions/3.12/Python'
  Expected in: '/usr/lib/libSystem.B.dylib'

There is no /usr/lib/libSystem.B.dylib on my system at that path.
I found this thread that could be relevant: https://forums.developer.apple.com/forums/thread/722360

I'm guessing the package was not built for MacOS 12+:

dyld_info /Applications/DisplayCAL.app/Contents/Frameworks/Python.framework/Versions/3.12/Python
/Applications/DisplayCAL.app/Contents/Frameworks/Python.framework/Versions/3.12/Python [x86_64]:
    -platform:
        platform     minOS      sdk
           macOS     14.0      14.4   
    -segments:

See https://stackoverflow.com/a/76230856

To Reproduce
Steps to reproduce the behavior:

  1. Download DisplayCAL-3.9.14-macOS-x86.dmg
  2. Open dmg and move containing App to /Applications
  3. Run xattr -dr com.apple.quarantine /Applications/DisplayCAL.app
  4. Start /Applications/DisplayCAL.app
  5. See error

Screenshots

image

Versions (please complete the following information):

  • OS: MacOS 12.7.4
  • DisplayCAL Version: 3.9.14

Additional context
Add any other context about the problem here.

@Adam-Color
Copy link

It may be difficult to ever run python3 DisplayCAL on older macOS versions, as far as I know only versions 14.0+ are tested to work. You might want to try the original DisplayCAL. Even though it is no longer being worked on, it claims to support older versions of macOS. https://displaycal.net/#download

@PaulSzymanski
Copy link
Author

The original DisplayCAL is working fine.
Is there any other reason than the python being shipped with the package not being build for older targets? If not I will try to create a package that works for older macOS as well.

@Adam-Color
Copy link

The original DisplayCAL is working fine. Is there any other reason than the python being shipped with the package not being build for older targets? If not I will try to create a package that works for older macOS as well.

Glad to hear it! Python3 itself has nothing to do with the incompatibility, it's making DisplayCAL work on modern versions of macOS that likely broke it for older versions. The reason why this project exists is to update compatibility for newer OS versions after the old DisplayCAL was abandoned, so there's not much of a reason to keep those older OS's working when the original DisplayCAL should still work fine.

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

No branches or pull requests

2 participants