Skip Menu |

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

Report information
The Basics
Id: 98108
Status: patched
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: andreas [...] andreasvoegele.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.72
Fixed in: (no value)



Subject: Crypt-SSLeay 0.72 cannot be built with CPANPLUS
In Crypt-SSLeay version 0.72, Makefile.PL only executes run() if caller() doesn't return a package name: caller or run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]); CPANPLUS enables autoflush of STDOUT and then runs Makefile.PL with do(). In that context caller() returns "main", which means that Makefile.PL quits and no Makefile is created. Does the call to caller() serve any real purpose or could it be removed from Makefile.PL in the next version of Crypt-SSLeay?
Hello Andreas: Thank you for the report. I must apologize for this oversight. I have never used CPANPLUS for any reason, so this never occurred to me. This will be fixed. -- Sinan On Sun Aug 17 08:18:52 2014, andreas@andreasvoegele.com wrote: Show quoted text
> In Crypt-SSLeay version 0.72, Makefile.PL only executes run() if > caller() doesn't return a package name: > > caller > or run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]); > > CPANPLUS enables autoflush of STDOUT and then runs Makefile.PL with > do(). In that context caller() returns "main", which means that > Makefile.PL quits and no Makefile is created. Does the call to > caller() serve any real purpose or could it be removed from > Makefile.PL in the next version of Crypt-SSLeay?
From: andreas [...] andreasvoegele.com
Am Mo 03. Apr 2017, 17:14:44, NANIS schrieb: Show quoted text
Works fine here with CPANPLUS-0.9164 under Perl 5.22.3. Thanks a lot for the update. Unrelated to the originally reported problem the new Makefile.PL outputs two "uninitialized value" messages when catfile($ENV{OPENSSL_PREFIX}, [...]) is called. Use of uninitialized value in subroutine entry at ~/.cpanplus/5.22.3/build/uauBnYyThP/Crypt-SSLeay-0.73_06/Makefile.PL line 53. Use of uninitialized value in subroutine entry at ~/.cpanplus/5.22.3/build/uauBnYyThP/Crypt-SSLeay-0.73_06/Makefile.PL line 59.
From: andreas [...] andreasvoegele.com
CPANPLUS 0.9166, which was released two days ago, no longer has issues with caller() in Makefile.PL.