aws-sdk-perl icon indicating copy to clipboard operation
aws-sdk-perl copied to clipboard

Install failed

Open sdondley opened this issue 5 years ago • 23 comments

running perl 5 v 22. Install fails on an Ubuntu machine. Test summary report:

Test Summary Report
-------------------
t/01_load.t                           (Wstat: 9 Tests: 65 Failed: 0)
  Non-zero wait status: 9
  Parse errors: No plan found in TAP output
t/10_responses.t                      (Wstat: 0 Tests: 9900 Failed: 0)
  TODO passed:   6364, 6370, 7896, 9579, 9586, 9671
t/18_mocked.t                         (Wstat: 0 Tests: 4007 Failed: 0)
  TODO passed:   91-143, 145-154, 156-173, 175-222, 224-262
                264-322, 324-330
Files=26, Tests=14789, 476 wallclock secs ( 1.28 usr  0.18 sys + 81.69 cusr  3.81 csys = 86.96 CPU)
Result: FAIL

sdondley avatar Apr 08 '20 17:04 sdondley

Hi, have you got a fuller report? prove -vl t/01_load.t would be helpful. My first guess would else be "missing dependencies"..

castaway avatar Apr 09 '20 07:04 castaway

Here is the entire build log.

build.log

sdondley avatar Apr 09 '20 12:04 sdondley

That looks like you're missing https://metacpan.org/pod/Future, which isnt a direct dependency, but is a dep of https://metacpan.org/pod/Future::Mojo which we do use.. Redo dependency installing?

castaway avatar Apr 09 '20 12:04 castaway

I used cpanm to do the install. Tried it twice with cpanm, actually.

I've already forced installed Paws. I'll try on another machine when I get a chance.

sdondley avatar Apr 09 '20 12:04 sdondley

FYI, I just did cpanm Future on the machine and it installed without issue.

sdondley avatar Apr 09 '20 12:04 sdondley

oh! 0.41 (I looked in 0.42) .. tried the newer one?

hmm, Future::Mojo is only "suggest"ed, so its not that (despite erroring).. I assume its the fact that 01_load.t doesn't have an "ok" at the end, despite all subtests passing

Really would be useful if you could try either 0.42, or prove -vl t/01_load.t , when you get a moment, please

castaway avatar Apr 09 '20 12:04 castaway

Sorry, I'm not following. cpanm should install version 0.42 for me, shouldn't it? I tried installing Paws just a couple of days ago and the release for 0.42 back on March 2nd.

sdondley avatar Apr 09 '20 12:04 sdondley

When I run cpanm Paws it reports Paws is up to date. (0.41). Very weird. Maybe because I'm running an older version of Perl v 5.22 sub 1?

sdondley avatar Apr 09 '20 12:04 sdondley

yes cpanm should find 0.42 as its definitely there! The version of perl required is still set to 5.10 or so. Is it using a local mirror?

castaway avatar Apr 09 '20 13:04 castaway

No idea. This is an amazon lightsail instance. I'm not very familiar with how they set their servers up. How do I check for a local mirror?

sdondley avatar Apr 09 '20 13:04 sdondley

See https://perlmonks.org/?node_id=324763

sdondley avatar Apr 09 '20 15:04 sdondley

The currently indexed version of Paws is 0.41: https://cpanmeta.grinnz.com/packages?module=Paws&match_mode=exact

The uploader should have received a message on whether indexing succeeded or failed on the 0.42 upload, and can request a reindex on PAUSE here: https://pause.perl.org/pause/authenquery?ACTION=reindex

Grinnz avatar Apr 09 '20 15:04 Grinnz

As for installing, you can work around this by installing with cpanm [email protected]

Grinnz avatar Apr 09 '20 15:04 Grinnz

Im seeing 0.42 here: https://metacpan.org/release/Paws

castaway avatar Apr 09 '20 15:04 castaway

Yes it got indexed as latest on metacpan, which tells me it was probably indexed in PAUSE at some point, but it no longer is (rollback? bug?). The PAUSE index is what CPAN installers use.

Grinnz avatar Apr 09 '20 15:04 Grinnz

Intalling with cpanm [email protected] failed as well: build.log

sdondley avatar Apr 09 '20 16:04 sdondley

Have nudged @shadowcat-mst for ideas on why the build is failing, as he's more of an expert on the toolchain. Hopefully this'll help both with your install, and the missing 0.42 on cpan..

castaway avatar Apr 20 '20 09:04 castaway

OK, thanks. No rush, though. I force installed and it's working perfectly for my purposes so far.

sdondley avatar Apr 20 '20 19:04 sdondley

I've just tried to install 0.43 from CPAN and it also fails because Future is missing. I also get

Skipping Paws::Net::FurlCaller due to probem loading: Can't locate Furl.pm

so perhaps someone could look at that in the process of fixing this.

Build log

realflash avatar Jun 14 '21 20:06 realflash

After I manually installed Future, it then failed due to the absence of Future:Mojo

Seoncd build.log

realflash avatar Jun 14 '21 20:06 realflash

I suspect there is more going on here than the missing pre-reqs. After manually installing Furl and Future and Future::Mojo, the install still fails, now with no dependencies missing. Additionally, there are no failed tests. Could it be to do with the test parse errors?

Still broken after missing depndencies installed build.log

realflash avatar Jun 14 '21 21:06 realflash

@realflash : Looks like the problem is:

t/10_responses.t                      (Wstat: 9 Tests: 8013 Failed: 0)
  TODO passed:   6364, 6370, 7896
  Non-zero wait status: 9
  Parse errors: No plan found in TAP output

It is exiting non-zero. Would you be able to send the last lines of the output of t/10_responses.t, to see why it is exiting non-zero?

pplu avatar Jun 14 '21 21:06 pplu

ok 9899 - Got Summaries.1.HasFlaggedResources eq 0 from result
ok 9900 - Got Summaries.1.Timestamp eq 2015-10-14T10:40:20Z from result
1..9900
ok
All tests successful.

Test Summary Report
-------------------
t/10_responses.t (Wstat: 0 Tests: 9900 Failed: 0)
  TODO passed:   6364, 6370, 7896, 9579, 9586, 9671, 9736
Files=1, Tests=9900, 13 wallclock secs ( 0.76 usr  0.26 sys + 11.59 cusr  0.33 csys = 12.94 CPU)
Result: PASS

I then did a prove -vl and all 15013 tests passed. This was running inside the temp build folder mentioned in the third log.

Then I did cpanm --test-only and it passed (although that's after force installing the package). Might need to reproduce it on a clean box (Ubuntu 20.04.2 server aarch64).

realflash avatar Jun 16 '21 13:06 realflash