Hi there.

Debian received a bug report that podofo fails to build with the newer
openSSL.

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828407

I'd report this as a bug report, but the bug tracker is not open to the
public :)

More informations are available on that downstream bug above, but the
short version is that it fails with:

cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   
-Dpodofo_shared_EXPORTS -I/usr/include/x86_64-linux-gnu -I/usr/include/lua5.1 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> 
-I/<<PKGBUILDDIR>>/src -I/usr/include/freetype2  -g -O2 -fPIE 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -fPIC   -std=c++98 -Wall -Woverloaded-virtual 
-Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder -W 
-DBUILDING_PODOFO -o CMakeFiles/podofo_shared.dir/base/PdfInputStream.cpp.o -c 
/<<PKGBUILDDIR>>/src/base/PdfInputStream.cpp
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:94:24: error: field 'aes' has 
incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
         EVP_CIPHER_CTX aes;
                        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from /<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:46:
/usr/include/openssl/ossl_typ.h:89:16: note: forward declaration of 
'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:116:20: error: field 'rc4' has 
incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
     EVP_CIPHER_CTX rc4;
                    ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from /<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:46:
/usr/include/openssl/ossl_typ.h:89:16: note: forward declaration of 
'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp: In member function 'void 
PoDoFo::PdfEncryptSHABase::ComputeUserKey(const unsigned char*, int)':
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:1461:20: error: aggregate 
'EVP_CIPHER_CTX aes' has incomplete type and cannot be defined
     EVP_CIPHER_CTX aes;
                    ^
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp: In member function 'void 
PoDoFo::PdfEncryptSHABase::ComputeOwnerKey(const unsigned char*, int)':
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:1517:20: error: aggregate 
'EVP_CIPHER_CTX aes' has incomplete type and cannot be defined
     EVP_CIPHER_CTX aes;
                    ^
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp: In member function 'virtual void 
PoDoFo::PdfEncryptAESV3::GenerateEncryptionKey(const PoDoFo::PdfString&)':
/<<PKGBUILDDIR>>/src/base/PdfEncrypt.cpp:1665:20: error: aggregate 
'EVP_CIPHER_CTX aes' has incomplete type and cannot be defined
     EVP_CIPHER_CTX aes;
                    ^
src/CMakeFiles/podofo_shared.dir/build.make:305: recipe for target 
'src/CMakeFiles/podofo_shared.dir/base/PdfEncrypt.cpp.o' failed
make[3]: *** [src/CMakeFiles/podofo_shared.dir/base/PdfEncrypt.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:120: recipe for target 
'src/CMakeFiles/podofo_shared.dir/all' failed
make[2]: *** [src/CMakeFiles/podofo_shared.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:130: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to