[MacPorts] #65581: eet @1.7.10 cannot be built on intel Monterey and PPC Tiger

MacPorts noreply at macports.org
Mon Aug 1 08:57:41 UTC 2022


#65581: eet @1.7.10 cannot be built on intel Monterey and PPC Tiger
-----------------------------+--------------------
 Reporter:  ballapete        |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.7.2
 Keywords:  tiger, monterey  |       Port:  eet
-----------------------------+--------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65581>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list