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

Possible missing dependency declaration: Test::Identity? #850

Closed
Cnly opened this issue Apr 10, 2020 · 6 comments
Closed

Possible missing dependency declaration: Test::Identity? #850

Cnly opened this issue Apr 10, 2020 · 6 comments
Labels

Comments

@Cnly
Copy link
Contributor

Cnly commented Apr 10, 2020

When running ./install-deps.pl on Debian Testing, the script fails at:

<omitted>
Running Build test for PEVANS/IO-Async-SSL-0.22.tar.gz
t/00use.t ............... ok   
t/01upgrade.t ........... Can't locate Test/Identity.pm in @INC (you may need to install the Test::Identity module) (@INC contains: <omitted>
<omitted>
Stopping: 'install' failed for 'IO::Async::SSL'.
<omitted>

Running cpan install Test::Identity (as instructed above) and then ./install-deps.pl again fixes the problem.

Does Test::Identity need to be in cpanfile?

@clokep
Copy link
Member

clokep commented Apr 15, 2020

I don't see any use of Test::Identity in SyTest itself, it looks like it might be required by the IO::Async::SSL package though? Could it be a bug there?

@anoadragon453
Copy link
Member

I'm installing a local debian testing box to test.

@richvdh
Copy link
Member

richvdh commented Apr 15, 2020

yes, if anything, that sounds like a bug in IO::Async::SSL which should be raised on its bug tracker.

@anoadragon453
Copy link
Member

anoadragon453 commented Apr 15, 2020

Interestingly, I didn't run into this problem on a fresh install of Debian testing. Problems I did run into though that are poorly documented:

  • Installing build-essential is required on Debian/Ubuntu. Not sure exactly which package though but the error was related to make
  • Installing postgres build dependencies are required: sudo apt install libpq-dev
  • cpan install File::Which needed to be done manually

@anoadragon453
Copy link
Member

anoadragon453 commented Apr 15, 2020

Yeah, Test::Identity was automatically installed for me as part of running ./install-deps.pl:

Running make install for LEONT/PerlIO-utf8_strict-0.007.tar.gz
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- utf8_strict.bs blib/arch/auto/PerlIO/utf8_strict/utf8_strict.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/user/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PerlIO/utf8_strict/utf8_strict.so
Installing /home/user/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/PerlIO/utf8_strict.pm
Installing /home/user/perl5/man/man3/PerlIO::utf8_strict.3pm
Appending installation info to /home/user/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod
  LEONT/PerlIO-utf8_strict-0.007.tar.gz
  make install  -- OK
**** Installing Future ****
Running install for module 'Future'
Fetching with LWP:
http://www.cpan.org/authors/id/P/PE/PEVANS/Future-0.44.tar.gz
Fetching with LWP:
HASH(0x560c36eee938)authors/id/P/PE/PEVANS/CHECKSUMS
Fetching with LWP:
HASH(0x560c36eee938)authors/id/P/PE/PEVANS/CHECKSUMS.gz
Fetching with LWP:
http://www.cpan.org/authors/id/P/PE/PEVANS/CHECKSUMS
Checksum for /home/user/.cpan/sources/authors/id/P/PE/PEVANS/Future-0.44.tar.gz ok
Configuring P/PE/PEVANS/Future-0.44.tar.gz with Build.PL
Checking prerequisites...
  test_requires:
    !  Test::Identity is not installed
    !  Test::Refcount is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Future' version '0.44'
  PEVANS/Future-0.44.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for P/PE/PEVANS/Future-0.44.tar.gz
---- Unsatisfied dependencies detected during ----
----         PEVANS/Future-0.44.tar.gz        ----
    Test::Identity [build_requires]
    Test::Refcount [build_requires]
Running install for module 'Test::Identity'
Fetching with LWP:
http://www.cpan.org/authors/id/P/PE/PEVANS/Test-Identity-0.01.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/P/PE/PEVANS/Test-Identity-0.01.tar.gz ok
Configuring P/PE/PEVANS/Test-Identity-0.01.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Test-Identity' version '0.01'
  PEVANS/Test-Identity-0.01.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for P/PE/PEVANS/Test-Identity-0.01.tar.gz
Building Test-Identity
  PEVANS/Test-Identity-0.01.tar.gz
  ./Build -- OK
Running Build test for PEVANS/Test-Identity-0.01.tar.gz
t/00use.t ........ ok   
t/01identical.t .. ok   
t/99pod.t ........ skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=3, Tests=9,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.26 cusr  0.04 csys =  0.33 CPU)
Result: PASS
  PEVANS/Test-Identity-0.01.tar.gz
  ./Build test -- OK
Running Build install for PEVANS/Test-Identity-0.01.tar.gz
Building Test-Identity
Installing /home/user/perl5/lib/perl5/Test/Identity.pm
Installing /home/user/perl5/man/man3/Test::Identity.3pm
  PEVANS/Test-Identity-0.01.tar.gz
  ./Build install  -- OK

@richvdh
Copy link
Member

richvdh commented Apr 28, 2020

sounds like we can close this?

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

No branches or pull requests

4 participants