Hi all,
NetBSD5 (development version) is currently distributed with 'OpenSSL
1.1.0-dev 10 Jul 2009', which breaks compatibility with perl (detected when
updating Crypt::SSLeay):
/usr/pkg/bin/perl /usr/pkg/lib/perl5/vendor_perl/5.10.0/ExtUtils/xsubpp
-typemap /usr/pkg/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap
SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include/openssl -fno-strict-aliasing -pipe -I/usr/pkg/include
-O2 -O2 -fno-strict-aliasing -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include -I/usr/include -DVERSION=\"0.57\"
-DXS_VERSION=\"0.57\" -DPIC -fPIC
"-I/usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE" SSLeay.c
In file included from /usr/include/openssl/crypto.h:129,
from /usr/include/openssl/comp.h:5,
from /usr/include/openssl/ssl.h:149,
from crypt_ssleay_version.h:1,
from SSLeay.xs:25:
/usr/include/openssl/safestack.h:131: error: conflicting types for 'BLOCK'
/usr/pkgsrc/security/p5-Crypt-SSLeay/work/.buildlink/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/perl.h:2360:
error: previous declaration of 'BLOCK' was here
*** Error code 1
I checked both files, both declare BLOCK as (different) type.
Perl5 declare this even in 5.8 (I didn't check earlier versions), but
OpenSSL is not using it in 0.9.8.
Maybe you should choose a different name for the memory block type (e.g.
MEMBLOCK, BLOB, ARRAY - what ever you mean).
BTW: When I'm already writing - did someone of you gave feedback regarding
the OpenSSL module in CPAN to Stefan Traby? It's a big deficit when it
couldn't came back because of the naming conflict.
Best regards,
Jens
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]