Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.67k stars 306 forks source link

RawTherapee-cli: zsh Killed - MacOS 10.15.6, RawTherapee 5.8 #5868

Open Octoroboto opened 3 years ago

Octoroboto commented 3 years ago

I am trying to use RawTherapee-cli on my mac, version details in title. I have copied rawtherapee-cli to usr/local/bin and tried to run rawtherapee-cli from terminal. zsh kills it immediately. When I dmesg to find out why I found this:

mac_vnode_check_signature: /usr/local/bin/rawtherapee-cli: code signature validation failed fatally: When validating /usr/local/bin/rawtherapee-cli: Code has restricted entitlements, but the validation of its code signature failed.

Any way around this? Thanks!

Screenshot 2020-07-29 18 26 07 Screenshot 2020-07-29 18 25 49 Screenshot 2020-07-29 18 25 30
Octoroboto commented 3 years ago

This seems to have solved the problem in the interim:

sudo codesign -f -s - /usr/local/bin/rawtherapee-cli

Octoroboto commented 3 years ago

I stand corrected, the codesign command doesn't kill the app immediately but it can't find any settings and is unusable

Thanatomanic commented 3 years ago

@Benitoite can you chime in?

Benitoite commented 3 years ago

We need to know which version and where from in regards to the software you are testing.

Octoroboto commented 3 years ago

I'm using RawTherapee 5.8 released on February 4, 2020. I Downloaded it from the RawTherapee homepage. I've tried rawtherapee-cli by copying it to my usr/local/bin (per the instructions on the rawpedia) and by navigating to it inside the app from terminal with the same zsh: killed result because the code signature validation failed fatally.

Benitoite commented 3 years ago

Ok this was fixed in dev a couple months ago. You may test my last successful macos build: https://kd6kxr.keybase.pub/RawTherapee_OSX_10.9_64_5.8-397-g276ae214f.zip An unsigned -cli is in the zip along with the .dmg. You must install the app from the .dmg into /Applications and copy the -cli to your /usr/local/bin. The -cli will load its libraries from the app in /Applications.

Benitoite commented 12 months ago

New macOS builds with updated libomp 16+

now available in my iCloud shared drive:

If you can test, please let us know if it works for you. If you are seeking help on your own build system, please include the complete AboutThisBuild.txt.

My working systems:

Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: x86_64-apple-darwin20.6.0
Thread model: posix