Skip Menu |

This queue is for tickets about the Crypt-OpenSSL-CA CPAN distribution.

Report information
The Basics
Id: 73102
Status: resolved
Priority: 0/
Queue: Crypt-OpenSSL-CA

People
Owner: domq [...] cpan.org
Requestors: alex [...] ecl-labs.org
Cc:
AdminCc:

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



Subject: Issue with building
Date: Thu, 8 Dec 2011 13:23:03 +0200
To: bug-crypt-openssl-ca [...] rt.cpan.org
From: Alex Behar <alex [...] ecl-labs.org>
Hi! I am hitting an issue while building the latest Crypt::OpenSSL::CA. It seems to generate a Makefile with a new line in it. The build log complains of the fact Makefile has an issue on line 155 (missing separator). After looking at that particular line, it seems like the Makefile is generated with borked INC line as follows: ... PARENT_NAME = Crypt::OpenSSL::CA DLBASE = $(BASEEXT) VERSION_FROM = INC = -I"/root/.cpan/build/Crypt-OpenSSL-CA-0.21-4lEXRG" " " OBJECT = $(BASEEXT)$(OBJ_EXT) ... I have no idea why INC decides to be that way. Are there any upstream changes in catdir() that could be causing this? The following is the build log: # cpan Crypt::OpenSSL::CA CPAN: Storable loaded ok (v2.22) Going to read '/root/.cpan/Metadata' Database was generated on Thu, 08 Dec 2011 02:42:01 GMT Running install for module 'Crypt::OpenSSL::CA' Running make for D/DO/DOMQ/Crypt-OpenSSL-CA-0.21.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02401) Checksum for /root/.cpan/sources/authors/id/D/DO/DOMQ/Crypt-OpenSSL-CA-0.21.tar.gz ok CPAN: Archive::Tar loaded ok (v1.54) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: Module::CoreList loaded ok (v2.50) CPAN: Module::Build loaded ok (v0.3603) CPAN.pm: Going to build D/DO/DOMQ/Crypt-OpenSSL-CA-0.21.tar.gz Checking OpenSSL version number... Writing Makefile for Crypt::OpenSSL::CA::ExtractVersionNumberProblem Writing MYMETA.yml and MYMETA.json Makefile:155: *** missing separator. Stop. Makefile:155: *** missing separator. Stop. A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make > out.make 2>&1 The build directory was: /root/.cpan/build/Crypt-OpenSSL-CA-0.21-4lEXRG/_Inline/build/Crypt/OpenSSL/CA/ExtractVersionNumber To debug the problem, cd to the build directory, and inspect the output files. at (eval 70) line 12 BEGIN failed--compilation aborted at (eval 70) line 27. Compiling and linking a test OpenSSL program failed; please examine the errors above. You may have to install OpenSSL's development kit according to your distribution's instructions. Maybe you could try re-running Build.PL with appropriate values for --openssl-cflags and --openssl-ldflags, for instance: perl Build.PL --openssl-cflags=-I/usr/local/lib/openssl/include \ --openssl-libs=-L/usr/local/lib/openssl/lib Hint: don't sprinkle spaces where not necessary, as they are known to confuse the GNU linker! No 'Build' createdCPAN: YAML loaded ok (v0.77) DOMQ/Crypt-OpenSSL-CA-0.21.tar.gz /usr/bin/perl Build.PL --installdirs site -- NOT OK Running Build test Make had some problems, won't test Running Build install Make had some problems, won't install
Due to a change in Inline, having spurious spaces and newlines in the gcc configuration parameters (INC=> and LIB=>) is now a bad thing. I sent a patched version of the module to Alex for testing, and will hopefully release it later today.
Solved in upcoming version 0.22