mlbright / DarkSky-API

perl wrapper for darksky.net
5 stars 8 forks source link

Fails to make on current Raspbian #2

Open markscudder opened 8 years ago

markscudder commented 8 years ago

New Raspbian Jessie install updated yesterday to current, running on Pi 3.

running sudo cpan Forecast::IO -

Reading '/root/.cpan/Metadata'
  Database was generated on Mon, 29 Aug 2016 15:17:02 GMT
Running install for module 'Forecast::IO'
Checksum for /root/.cpan/sources/authors/id/M/MA/MARTYLOO/Forecast-IO-0.21.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring M/MA/MARTYLOO/Forecast-IO-0.21.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Forecast::IO
Writing MYMETA.yml and MYMETA.json
  MARTYLOO/Forecast-IO-0.21.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for M/MA/MARTYLOO/Forecast-IO-0.21.tar.gz
cp lib/Forecast/IO.pm blib/lib/Forecast/IO.pm
Manifying blib/man3/Forecast::IO.3pm
  MARTYLOO/Forecast-IO-0.21.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/forecast.t .. # Please enter your Forecast.io API key:
[my API key]
Request to 'https://api.forecast.io/forecast/[my API key]/[my lat/lon]?units=auto' failed: 599 Internal Exception
# Looks like your test exited with 2 before it could output anything.
t/forecast.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests

Test Summary Report
-------------------
t/forecast.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
Files=1, Tests=0,  3 wallclock secs ( 0.08 usr  0.02 sys +  0.38 cusr  0.03 csys =  0.51 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
Makefile:823: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
  MARTYLOO/Forecast-IO-0.21.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MARTYLOO/Forecast-IO-0.21.tar.gz

If I copy the URL listed in the output and hit it with wget, it grabs the page without error. Perl 5.20.2 built for arm-linux-gnueabihf-thread-multi-64int.

mlbright commented 8 years ago

I'll see what I can do. Note the rebranding!