RawTherapee icon indicating copy to clipboard operation
RawTherapee copied to clipboard

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

Open Octoroboto opened this issue 4 years ago • 6 comments

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 avatar Jul 29 '20 23:07 Octoroboto

This seems to have solved the problem in the interim:

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

Octoroboto avatar Jul 30 '20 00:07 Octoroboto

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

Octoroboto avatar Jul 30 '20 11:07 Octoroboto

@Benitoite can you chime in?

Thanatomanic avatar Jul 31 '20 15:07 Thanatomanic

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

Benitoite avatar Aug 02 '20 20:08 Benitoite

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.

Octoroboto avatar Aug 03 '20 10:08 Octoroboto

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 avatar Aug 04 '20 05:08 Benitoite

New macOS builds with updated libomp 16+

  • [ ] dev
  • [ ] metadata-exiv2

now available in my iCloud shared drive:

  • https://www.icloud.com/iclouddrive/06aKa-Dws-D7mQiNV6819YvgA#rt59

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

Benitoite avatar Jul 17 '23 04:07 Benitoite