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

make check fails due to dependency in t/e2e.t #236

Open
huitema opened this issue Mar 31, 2019 · 4 comments
Open

make check fails due to dependency in t/e2e.t #236

huitema opened this issue Mar 31, 2019 · 4 comments

Comments

@huitema
Copy link
Collaborator

huitema commented Mar 31, 2019

When I try make check on Ubuntu, I get the following error message:

t/e2e.t .................................... Can't locate Net/EmptyPort.pm in @INC (you may need to install the Net::EmptyPort module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at t/e2e.t line 7.
BEGIN failed--compilation aborted at t/e2e.t line 7.
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/e2e.t                                  (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=3, Tests=17,  5 wallclock secs ( 0.72 usr  0.13 sys +  0.94 cusr  0.02 csys =  1.81 CPU)
Result: FAIL
CMakeFiles/check.dir/build.make:59: recipe for target 'CMakeFiles/check' failed
make[3]: *** [CMakeFiles/check] Error 1
CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/check.dir/all' failed
make[2]: *** [CMakeFiles/check.dir/all] Error 2
CMakeFiles/Makefile2:76: recipe for target 'CMakeFiles/check.dir/rule' failed
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
Makefile:118: recipe for target 'check' failed
make: *** [check] Error 2
@huitema huitema changed the title make check fails du to dependency in t/e2e.t make check fails due to dependency in t/e2e.t Mar 31, 2019
@kazuho
Copy link
Member

kazuho commented Mar 31, 2019

The best point to find out how to install the dependencies is .travis.yml. I.e., sudo apt-get install faketime libscope-guard-perl libtest-tcp-perl.

@huitema
Copy link
Collaborator Author

huitema commented Apr 1, 2019

OK, did that and it works. But it exposes an issue with "ptlsbench" -- it does not build as part of "build check".

@kazuho
Copy link
Member

kazuho commented Apr 1, 2019

That's because ptlsbench is not declared as a dependency of check. Please check the line that starts with ADD_CUSTOM_TARGET(check, .

@jobs-git
Copy link

in CentOS that would be libfaketime perl-Scope-Guard perl-Test-TCP

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

3 participants