emacs-osx
emacs-osx copied to clipboard
installation fails with codesign command not found
I executed the following command on my Mac m1
nix-env -iA emacsOsxNative -f https://github.com/sagittaros/emacs-osx/archive/refs/tags/built.tar.gz
But the build fails with following error " /nix/store/nqld6s67abqzkdy90rkgz5bqbpsfcy8s-apple-framework-CoreText-11.0.0/Library/Frameworks/CoreText.framework/Headers/CoreText.h:61:10: note: 'CTGetCoreTextVersion' has been explicitly marked deprecated here uint32_t CTGetCoreTextVersion( void ) CT_DEPRECATED("Use -[NSProcessInfo operatingSystemVersion]", macos(10.5, 11.0), ios(3.2, 14.0), watchos(2.0, 7.0), tvos(9.0, 14.0)); ^ 1 warning generated. CCLD temacs codesign -s - -f temacs.tmp /nix/store/igfm90d0b7nij5xi1hgr63sdk4fkzjng-bash-4.4-p23/bin/bash: codesign: command not found make[1]: *** [Makefile:644: temacs] Error 127 make[1]: Leaving directory '/private/tmp/nix-build-emacs-osx-20210925.0.drv-0/source/src' make: *** [Makefile:443: src] Error 2 builder for '/nix/store/wg16g72vkicijfwqqcn5g6gpaw1bb2lw-emacs-osx-20210925.0.drv' failed with exit code 2 error: build of '/nix/store/wg16g72vkicijfwqqcn5g6gpaw1bb2lw-emacs-osx-20210925.0.drv' failed "
@gsood-gaurav, looking at the error at this line:
/nix/store/igfm90d0b7nij5xi1hgr63sdk4fkzjng-bash-4.4-p23/bin/bash: codesign: command not found
It seems that there is something wrong with your XCode or Keychain, do you have XCode installed?
Just tested the same command and it works for me:
Yes Xcode is installed. I installed from App Store. I don't know how to check from keychain
Can you try this suggestion here?
If not, I will have to try coming up with a patch, but unfortunately I am overwhelmed lately