Summary: | media-video/aacskeys fails to build with openssl-1.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 592438 | ||
Attachments: | build.log |
# Steve Dibb <beandog@gentoo.org> (22 Feb 2018) # Dead upstream, long since replaced by libaacs for functionality. # Masked for removal in 30 days. Bug #648560 media-video/aacskeys Removed from the tree in april. |
Created attachment 469282 [details] build.log ==== Building aacskeys ==== ioctl.cpp src/ioctl.cpp: In constructor ‘Drive::Drive()’: src/ioctl.cpp:12:61: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] Drive::Drive() : m_handle(NULL), m_sk(0), m_asc(0), m_ascq(0) ^ mmc.cpp aacs_ecdsa.cpp src/aacs_ecdsa.cpp: In function ‘int aacs_verify(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)’: src/aacs_ecdsa.cpp:158:15: error: aggregate ‘EVP_MD_CTX mdctx’ has incomplete type and cannot be defined EVP_MD_CTX mdctx; ^ src/aacs_ecdsa.cpp:175:37: error: ‘EVP_ecdsa’ was not declared in this scope EVP_DigestInit(&mdctx, EVP_ecdsa()); ^ src/aacs_ecdsa.cpp:180:71: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if ((sig = ECDSA_SIG_new()) == NULL || BN_bin2bn(signature, 20, sig->r) == NUL ^ In file included from src/aacs_ecdsa.h:6:0, from src/aacs_ecdsa.cpp:1: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^ src/aacs_ecdsa.cpp:180:118: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ bn(signature, 20, sig->r) == NULL || BN_bin2bn(signature+20, 20, sig->s) == NUL ^ In file included from src/aacs_ecdsa.h:6:0, from src/aacs_ecdsa.cpp:1: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^ src/aacs_ecdsa.cpp: In function ‘int aacs_sign(const unsigned char*, const unsigned char*, unsigned char*, const unsigned char*, const unsigned char*)’: src/aacs_ecdsa.cpp:200:15: error: aggregate ‘EVP_MD_CTX mdctx’ has incomplete type and cannot be defined EVP_MD_CTX mdctx; ^ src/aacs_ecdsa.cpp:223:37: error: ‘EVP_ecdsa’ was not declared in this scope EVP_DigestInit(&mdctx, EVP_ecdsa()); ^ src/aacs_ecdsa.cpp:230:21: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (BN_bn2bin(sig->r, signature) != 20) { ^ In file included from src/aacs_ecdsa.h:6:0, from src/aacs_ecdsa.cpp:1: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^ src/aacs_ecdsa.cpp:235:21: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (BN_bn2bin(sig->s, signature+20) != 20) { ^ In file included from src/aacs_ecdsa.h:6:0, from src/aacs_ecdsa.cpp:1: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^ make[1]: *** [aacskeys.make:103: obj/linux/Release/aacs_ecdsa.o] Error 1