Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

installation fails with codesign command not found #4

Open
gsood-gaurav opened this issue Sep 27, 2021 · 3 comments · Fixed by psynautic/emacs-osx#1 · May be fixed by #6
Open

installation fails with codesign command not found #4

gsood-gaurav opened this issue Sep 27, 2021 · 3 comments · Fixed by psynautic/emacs-osx#1 · May be fixed by #6
Assignees

Comments

@gsood-gaurav
Copy link

gsood-gaurav commented Sep 27, 2021

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
"

@inscapist inscapist self-assigned this Sep 29, 2021
@inscapist
Copy link
Owner

inscapist commented Sep 29, 2021

@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:

Screenshot 2021-09-29 at 11 45 56 AM

@gsood-gaurav
Copy link
Author

gsood-gaurav commented Sep 29, 2021

Yes Xcode is installed. I installed from App Store.
I don't know how to check from keychain

@inscapist
Copy link
Owner

Can you try this suggestion here?

If not, I will have to try coming up with a patch, but unfortunately I am overwhelmed lately

NeQuissimus added a commit to NeQuissimus/emacs-osx that referenced this issue Dec 21, 2021
@NeQuissimus NeQuissimus linked a pull request Dec 21, 2021 that will close this issue
NeQuissimus added a commit to NeQuissimus/emacs-osx that referenced this issue Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants