Skip Menu |

This queue is for tickets about the JS-SourceMap CPAN distribution.

Report information
The Basics
Id: 127956
Status: open
Priority: 0/
Queue: JS-SourceMap

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

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



Subject: Undeclared configure_requires dependency JSON
JSON.pm is not declared as a configure_requires dependency, so automatic build fails if it is not yet installed: ... Output from '/bbbike/perl-5.18.4t/bin/perl Makefile.PL': Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: ./lib /var/tmp/cpansmoker-1023/2018120707/CPAN-Reporter-lib-Nv6z /opt/perl-5.18.4t/lib/site_perl/5.18.4/x86_64-linux-thread-multi /opt/perl-5.18.4t/lib/site_perl/5.18.4 /opt/perl-5.18.4t/lib/5.18.4/x86_64-linux-thread-multi /opt/perl-5.18.4t/lib/5.18.4 .) at lib/JS/SourceMap/Decoder.pm line 21. BEGIN failed--compilation aborted at lib/JS/SourceMap/Decoder.pm line 21. Compilation failed in require at ./lib/JS/SourceMap.pm line 50. BEGIN failed--compilation aborted at ./lib/JS/SourceMap.pm line 50. ...
On 2018-12-07 00:01:53, SREZIC wrote: Show quoted text
> JSON.pm is not declared as a configure_requires dependency, so > automatic build fails if it is not yet installed:
Please don't use JSON.pm in Makefile.PL, when JSON::PP (which is in core) is perfectly suitable. If you are parsing metadata, you should use Parse::CPAN::Meta instead.