Opened 4 months ago

Last modified 4 months ago

#65581 new defect

eet @1.7.10 cannot be built on intel Monterey and PPC Tiger

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: tiger, monterey Cc: ryandesign@…
Port: eet

Description

On both Macs the compilers report problems with OpenSSL.

libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I. -I../../src/lib -I../../src/lib/lz4 -I../../src/lib -DPACKAGE_BIN_DIR=\"/opt/local/bin\" -DPACKAGE_LIB_DIR=\"/opt/local/lib\" -DPACKAGE_DATA_DIR=\"/opt/local/share/eet\" -I/opt/local/include/eina-1 -I/opt/local/include/eina-1/ein\
a -I/opt/local/libexec/openssl3/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -MT lz4.lo -MD -MP -MF .deps/lz4.Tpo -c lz4/lz4.c -o lz4.o >/dev/null 2>&1
eet_cipher.c:508:15: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
   EVP_MD_CTX md_ctx;
              ^
/opt/local/libexec/openssl3/include/openssl/types.h:104:16: note: forward declaration of 'struct evp_md_ctx_st'
typedef struct evp_md_ctx_st EVP_MD_CTX;
               ^
eet_cipher.c:817:15: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
   EVP_MD_CTX md_ctx;
              ^
/opt/local/libexec/openssl3/include/openssl/types.h:104:16: note: forward declaration of 'struct evp_md_ctx_st'
typedef struct evp_md_ctx_st EVP_MD_CTX;
               ^
eet_cipher.c:974:19: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
   EVP_CIPHER_CTX ctx;
                  ^
/opt/local/libexec/openssl3/include/openssl/types.h:102:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
eet_cipher.c:1206:19: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
   EVP_CIPHER_CTX ctx;
                  ^
/opt/local/libexec/openssl3/include/openssl/types.h:102:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
eet_cipher.c:1345:13: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st')
   HMAC_CTX hctx;
            ^
/opt/local/libexec/openssl3/include/openssl/types.h:132:16: note: forward declaration of 'struct hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
               ^
eet_cipher.c:1369:9: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations]
        HMAC_Init(&hctx, key, key_len, EVP_sha1());
        ^
/opt/local/libexec/openssl3/include/openssl/hmac.h:38:1: note: 'HMAC_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx,
^
^
/opt/local/libexec/openssl3/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0'
#   define OSSL_DEPRECATEDIN_1_1_0              OSSL_DEPRECATED(1.1.0)
                                                ^
/opt/local/libexec/openssl3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
eet_cipher.c:1370:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
        HMAC_Update(&hctx, salt, salt_len);
        ^
/opt/local/libexec/openssl3/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/opt/local/libexec/openssl3/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/libexec/openssl3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
eet_cipher.c:1371:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
        HMAC_Update(&hctx, tab, 4);
        ^
/opt/local/libexec/openssl3/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/opt/local/libexec/openssl3/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/libexec/openssl3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
eet_cipher.c:1372:9: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations]
        HMAC_Final(&hctx, digest, NULL);
        ^
/opt/local/libexec/openssl3/include/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
^
/opt/local/libexec/openssl3/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/opt/local/libexec/openssl3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
eet_cipher.c:1389:2: error: implicit declaration of function 'HMAC_cleanup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        HMAC_cleanup(&hctx);
        ^
12 warnings and 6 errors generated.
make[3]: *** [eet_cipher.lo] Error 1

Attachments (2)

main.log (70.6 KB) - added by ballapete (Peter "Pete" Dyballa) 4 months ago.
Main.log from x86_64 macOS Monterey, Version 12.4
main.2.log (26.0 KB) - added by ballapete (Peter "Pete" Dyballa) 4 months ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from x86_64 macOS Monterey, Version 12.4

Changed 4 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.2.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 4 months ago by ryandesign (Ryan Schmidt)

The ports ecore, edje, eet, eina, embryo, and evas have been obsolete since at least 2016. Upstream no longer releases them separately; they're now a collection called the Enlightenment Foundation Libraries. efreet is not mentioned on that page but appears to be part of the same package. e_dbus appears to have been replaced with eldbus which is also in that package. So these eight ports need to be replaced by a new port efl.

I had not prioritized doing that because these libraries are only used for the e17 port, which is itself over a decade out of date. I had wanted to work on updating it, but only got as far as updating these eight dependency ports for awhile; see #37506. The current version of enlightenment is E25. Probably the e17 port should be replaced by the enlightenment port and the enlightenment port should be updated to the latest version. It seems like a medium-sized project and I'm not planning on working on it right now.

Last edited 4 months ago by ryandesign (Ryan Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.