Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed #387

Open
sdondley opened this issue Apr 8, 2020 · 23 comments
Open

Install failed #387

sdondley opened this issue Apr 8, 2020 · 23 comments

Comments

@sdondley
Copy link

sdondley commented Apr 8, 2020

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
@castaway
Copy link
Collaborator

castaway commented Apr 9, 2020

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

@sdondley
Copy link
Author

sdondley commented Apr 9, 2020

Here is the entire build log.

build.log

@castaway
Copy link
Collaborator

castaway commented Apr 9, 2020

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?

@sdondley
Copy link
Author

sdondley commented Apr 9, 2020

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
Copy link
Author

sdondley commented Apr 9, 2020

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

@castaway
Copy link
Collaborator

castaway commented Apr 9, 2020

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

@sdondley
Copy link
Author

sdondley commented Apr 9, 2020

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
Copy link
Author

sdondley commented Apr 9, 2020

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?

@castaway
Copy link
Collaborator

castaway commented Apr 9, 2020

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?

@sdondley
Copy link
Author

sdondley commented Apr 9, 2020

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
Copy link
Author

sdondley commented Apr 9, 2020

@Grinnz
Copy link
Contributor

Grinnz commented Apr 9, 2020

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
Copy link
Contributor

Grinnz commented Apr 9, 2020

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

@castaway
Copy link
Collaborator

castaway commented Apr 9, 2020

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

@Grinnz
Copy link
Contributor

Grinnz commented Apr 9, 2020

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.

@sdondley
Copy link
Author

sdondley commented Apr 9, 2020

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

@castaway
Copy link
Collaborator

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..

@sdondley
Copy link
Author

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

@realflash
Copy link

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
Copy link

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

Seoncd build.log

@realflash
Copy link

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

@pplu
Copy link
Owner

pplu commented Jun 14, 2021

@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?

@realflash
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants