Skip Menu |

This queue is for tickets about the Business-OnlinePayment-BitPay-KeyUtils CPAN distribution.

Report information
The Basics
Id: 123112
Status: new
Priority: 0/
Queue: Business-OnlinePayment-BitPay-KeyUtils

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.0.1
Fixed in: (no value)



Subject: Compile error on Debian/stretch
On some Debian/stretch systems the build fails with a compilation error: ... cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0.1\" -DXS_VERSION=\"2.0.1\" -fPIC "-I/opt/perl-5.24.1t/lib/5.24.1/x86_64-linux-thread-multi/CORE" key_utils.c key_utils.c: In function 'getPublicKeyFromPem': key_utils.c:185:12: error: storage size of 'start' isn't known BIGNUM start; ^~~~~ key_utils.c:189:5: warning: implicit declaration of function 'BN_init' [-Wimplicit-function-declaration] BN_init(&start); ^~~~~~~ Makefile:338: recipe for target 'key_utils.o' failed make: *** [key_utils.o] Error 1 ...
On 2017-09-23 03:55:41, SREZIC wrote: Show quoted text
> On some Debian/stretch systems the build fails with a compilation > error: > > ... > cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe > -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0.1\" > -DXS_VERSION=\"2.0.1\" -fPIC "-I/opt/perl-5.24.1t/lib/5.24.1/x86_64- > linux-thread-multi/CORE" key_utils.c > key_utils.c: In function 'getPublicKeyFromPem': > key_utils.c:185:12: error: storage size of 'start' isn't known > BIGNUM start; > ^~~~~ > key_utils.c:189:5: warning: implicit declaration of function 'BN_init' > [-Wimplicit-function-declaration] > BN_init(&start); > ^~~~~~~ > Makefile:338: recipe for target 'key_utils.o' failed > make: *** [key_utils.o] Error 1 > ...
Also does not compile on other newer Linux systems, e.g. Ubuntu 18.04, Debian/buster, Fedora 28.
On 2018-11-18 05:45:55, SREZIC wrote: Show quoted text
> On 2017-09-23 03:55:41, SREZIC wrote:
> > On some Debian/stretch systems the build fails with a compilation > > error: > > > > ... > > cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe > > -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0.1\" > > -DXS_VERSION=\"2.0.1\" -fPIC "-I/opt/perl-5.24.1t/lib/5.24.1/x86_64- > > linux-thread-multi/CORE" key_utils.c > > key_utils.c: In function 'getPublicKeyFromPem': > > key_utils.c:185:12: error: storage size of 'start' isn't known > > BIGNUM start; > > ^~~~~ > > key_utils.c:189:5: warning: implicit declaration of function > > 'BN_init' > > [-Wimplicit-function-declaration] > > BN_init(&start); > > ^~~~~~~ > > Makefile:338: recipe for target 'key_utils.o' failed > > make: *** [key_utils.o] Error 1 > > ...
> > Also does not compile on other newer Linux systems, e.g. Ubuntu 18.04, > Debian/buster, Fedora 28.
Same compilation problem on newer FreeBSD systems, e.g. version 12.