Opened 15 months ago

Last modified 14 months ago

#67960 assigned defect

compile errors with emacs-mac-app 29.1 — at Initial Version

Reported by: squarepegsys (Mike Hostetler) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: emacs-mac-app

Description

I have tried to install the latest emacs-mac-app port via:

sudo port install emacs-mac-app +imagemagick +treesitter +nativecomp +rsvg

And I get the following compile errors:

:info:build In file included from fns.c:5526: :info:build /opt/local/include/sha1.h:48:3: error: unknown type name 'ulonglong' :info:build ulonglong Length; /* Message length in bits */ :info:build :info:build /opt/local/include/sha1.h:52:3: error: unknown type name 'int16' :info:build int16 Message_Block_Index; /* Index into message block array */ :info:build :info:build /opt/local/include/sha1.h:60:1: error: unknown type name 'C_MODE_START' :info:build C_MODE_START :info:build :info:build /opt/local/include/sha1.h:66:1: error: unknown type name 'C_MODE_END' :info:build C_MODE_END :info:build :info:build fns.c:5775:21: error: use of undeclared identifier 'SHA1_DIGEST_SIZE'; did you mean 'SHA512_DIGEST_SIZE'? :info:build digest_size = SHA1_DIGEST_SIZE; :info:build ~ :info:build SHA512_DIGEST_SIZE :info:build ../lib/sha512.h:36:8: note: 'SHA512_DIGEST_SIZE' declared here :info:build enum { SHA512_DIGEST_SIZE = 512 / 8 }; :info:build :info:build fns.c:5776:21: error: use of undeclared identifier 'sha1_buffer'; did you mean 'sha512_buffer'? :info:build hash_func = sha1_buffer; :info:build :info:build sha512_buffer :info:build ../lib/sha512.h:96:14: note: 'sha512_buffer' declared here :info:build extern void *sha512_buffer (const char *buffer, size_t len, :info:build :info:build fns.c:5893:19: error: variable has incomplete type 'struct sha1_ctx' :info:build struct sha1_ctx ctx; :info:build :info:build fns.c:5893:10: note: forward declaration of 'struct sha1_ctx' :info:build struct sha1_ctx ctx; :info:build :info:build fns.c:5903:3: error: call to undeclared function 'sha1_init_ctx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Change History (1)

Changed 15 months ago by squarepegsys (Mike Hostetler)

Attachment: main.log added

the build log

Note: See TracTickets for help on using tickets.