dzil Installation schlägt fehlt

$ dzil install
[DZ] building distribution under .build/LqHclCcyWM for installation
[DZ] beginning to build SLUB-LZA-TA
[DZ] guessing dist's main_module is lib/SLUB/LZA/TA.pm
[DZ] writing SLUB-LZA-TA in .build/LqHclCcyWM
--> Working on .
Configuring SLUB-LZA-TA-0.1 ... OK
Building and testing SLUB-LZA-TA-0.1 ... FAIL
! Installing . failed. See /home/steidl/.cpanm/work/1731680465.411618/build.log for details. Retry with --force to force install it.
[DZ] error running {{["cpanm", "."]}}
[DZ] install failed, left failed dist in place at .build/LqHclCcyWM
[DZ] error running {{["cpanm", "."]}} at inline delegation in Dist::Zilla for logger->log_fatal (attribute declared in /usr/share/perl5/Dist/Zilla.pm at line 776) line 18.

Log zeigt, dass während der Installation (bei Tests) das tool Skript nicht gefunden wird.

  • 'Can't open perl script "/home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM/blib/bin/ta-tool.pl": Datei oder Verzeichnis nicht gefunden

Nachgeschaut in /home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM

  • .../blib/bin/ta-tool.pl existiert nicht
  • .../bin/ta-tool.pl existiert
  • .../bin/script/ta-tool.pl existiert
cpanm (App::cpanminus) 1.7047 on perl 5.036000 built for x86_64-linux-gnu-thread-multi
Work directory is /home/steidl/.cpanm/work/1731680465.411618
You have make /usr/bin/make
You have LWP 6.68
You have /usr/bin/tar: tar (GNU tar) 1.34
Copyright © 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Geschrieben von John Gilmore und Jay Fenlason.
You have /usr/bin/unzip
--> Working on .
Entering /home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.64)
Configuring SLUB-LZA-TA-0.1
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for SLUB::LZA::TA
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Path::Tiny 0 ... Yes (0.144)
Checking if you have Regexp::Optimizer 0 ... Yes (0.23)
Checking if you have IO::Prompt::Tiny 0 ... Yes (0.003)
Checking if you have utf8 0 ... Yes (1.24)
Checking if you have Net::Ping 0 ... Yes (2.74)
Checking if you have SOAP::Lite 0 ... Yes (1.27)
Checking if you have Date::Calc 0 ... Yes (6.4)
Checking if you have Exporter 0 ... Yes (5.77)
Checking if you have YAML 0 ... Yes (1.30)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.64)
Checking if you have Test::More 0 ... Yes (1.302190)
Checking if you have IO::Zlib 0 ... Yes (1.11)
Checking if you have Search::Elasticsearch::Client::6_0 0 ... Yes (6.81)
Checking if you have List::Util 0 ... Yes (1.62)
Checking if you have LWP::UserAgent 0 ... Yes (6.68)
Checking if you have strict 0 ... Yes (1.12)
Checking if you have Test::Cmd 0 ... Yes (1.09)
Checking if you have constant 0 ... Yes (1.33)
Checking if you have namespace::clean 0 ... Yes (0.27)
Checking if you have Crypt::Mode::CBC 0 ... Yes (0.077)
Checking if you have Test::Exception 0 ... Yes (0.43)
Checking if you have Data::Printer 0 ... Yes (1.001000)
Checking if you have Carp 0 ... Yes (1.52)
Checking if you have warnings 0 ... Yes (1.58)
Checking if you have File::Find 0 ... Yes (1.40)
Checking if you have Archive::BagIt 0 ... Yes (0.095)
Checking if you have Text::CSV_PP 0 ... Yes (2.02)
Checking if you have Search::Elasticsearch 6.81 ... Yes (6.81)
Checking if you have App::Cmd::Setup 0 ... Yes (0.335)
Checking if you have namespace::autoclean 0 ... Yes (0.29)
Checking if you have Archive::Tar 0 ... Yes (2.40)
Building and testing SLUB-LZA-TA-0.1
cp lib/SLUB/LZA/TA/Command/count.pm blib/lib/SLUB/LZA/TA/Command/count.pm
cp lib/SLUB/LZA/TA/Command/search.pm blib/lib/SLUB/LZA/TA/Command/search.pm
cp lib/SLUB/LZA/TA/Output/CSV.pm blib/lib/SLUB/LZA/TA/Output/CSV.pm
cp lib/Test/TA.pm blib/lib/Test/TA.pm
cp lib/SLUB/LZA/TA/Command/report.pm blib/lib/SLUB/LZA/TA/Command/report.pm
cp lib/SLUB/LZA/TA/Command/permanent.pm blib/lib/SLUB/LZA/TA/Command/permanent.pm
cp lib/SLUB/LZA/TA/Archivematica/Elasticsearch.pm blib/lib/SLUB/LZA/TA/Archivematica/Elasticsearch.pm
cp lib/SLUB/LZA/TA/Output/Raw.pm blib/lib/SLUB/LZA/TA/Output/Raw.pm
cp lib/SLUB/LZA/TA/Command/info.pm blib/lib/SLUB/LZA/TA/Command/info.pm
cp lib/SLUB/LZA/TA/Command/init.pm blib/lib/SLUB/LZA/TA/Command/init.pm
cp lib/SLUB/LZA/TA/Archivematica/Elasticsearch/PrepareQuery.pm blib/lib/SLUB/LZA/TA/Archivematica/Elasticsearch/PrepareQuery.pm
cp lib/SLUB/LZA/TA/Output/RSV.pm blib/lib/SLUB/LZA/TA/Output/RSV.pm
cp lib/SLUB/LZA/TA/Output.pm blib/lib/SLUB/LZA/TA/Output.pm
cp lib/SLUB/LZA/TA/Crypt.pm blib/lib/SLUB/LZA/TA/Crypt.pm
cp lib/SLUB/LZA/TA/Command/sample_testing.pm blib/lib/SLUB/LZA/TA/Command/sample_testing.pm
cp lib/SLUB/LZA/TA/Output/Asciidoc.pm blib/lib/SLUB/LZA/TA/Output/Asciidoc.pm
cp lib/SLUB/LZA/TA.pm blib/lib/SLUB/LZA/TA.pm
cp bin/ta-tool.pl blib/script/ta-tool.pl
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ta-tool.pl
Manifying 1 pod document
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Use of uninitialized value $SLUB::LZA::TA::VERSION in concatenation (.) or string at t/00-load.t line 9.
# Testing SLUB::LZA::TA , Perl 5.036000, /usr/bin/perl
t/00-load.t ........... ok
t/01-manifest.t ....... skipped: Author tests not required for installation
t/01-pod-coverage.t ... skipped: Author tests not required for installation
t/01-pod.t ............ skipped: Author tests not required for installation
t/01-test_basics.t .... ok
t/02-help.t ........... ok

    #   Failed test 'ta-tool help init, stdout'
    #   at t/02-init.t line 33.
    #                   ''
    #     doesn't match '(?^u:this usage screen)'

    #   Failed test 'ta-tool help init, stderr'
    #   at t/02-init.t line 34.
    #                   'Can't open perl script "/home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM/blib/bin/ta-tool.pl": Datei oder Verzeichnis nicht gefunden
    # '
    #     doesn't match '(?^u:^$)'

    #   Failed test 'ta-tool help init, exit status'
    #   at t/02-init.t line 35.
    #          got: '2'
    #     expected: '0'

    #   Failed test 'ta-tool init -h, stdout'
    #   at t/02-init.t line 33.
    #                   ''
    #     doesn't match '(?^u:this usage screen)'

    #   Failed test 'ta-tool init -h, stderr'
    #   at t/02-init.t line 34.
    #                   'Can't open perl script "/home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM/blib/bin/ta-tool.pl": Datei oder Verzeichnis nicht gefunden
    # '
    #     doesn't match '(?^u:^$)'


... usw.


#   Failed test 'search dates'
#   at t/03-search.t line 202.

    #   Failed test 'ta-tool search dates, existing, override stderr'
    #   at t/03-search.t line 212.
    #                   'Can't open perl script "/home/steidl/Development/tools-for-technical-analysts/.build/LqHclCcyWM/blib/bin/ta-tool.pl": Datei oder Verzeichnis nicht gefunden
    # '
    #     doesn't match '(?^us:^Hint: override local config with)'

    #   Failed test 'ta-tool search dates, existing, override, exit status'
    #   at t/03-search.t line 213.
    #          got: '2'
    #     expected: '111'
    # Looks like you failed 2 tests of 3.

#   Failed test 'overrides'
#   at t/03-search.t line 215.
# Looks like you failed 11 tests of 11.
t/03-search.t ......... 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 11/11 subtests 

Test Summary Report
-------------------
t/02-init.t         (Wstat: 512 (exited 2) Tests: 6 Failed: 2)
  Failed tests:  5-6
  Non-zero exit status: 2
t/03-count.t        (Wstat: 1536 (exited 6) Tests: 6 Failed: 6)
  Failed tests:  1-6
  Non-zero exit status: 6
t/03-info.t         (Wstat: 768 (exited 3) Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
t/03-permanent.t    (Wstat: 1024 (exited 4) Tests: 4 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
t/03-report.t       (Wstat: 768 (exited 3) Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
t/03-sampletesting.t (Wstat: 768 (exited 3) Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
t/03-search.t       (Wstat: 2816 (exited 11) Tests: 11 Failed: 11)
  Failed tests:  1-11
  Non-zero exit status: 11
Files=13, Tests=54,  5 wallclock secs ( 0.09 usr  0.02 sys +  2.47 cusr  0.52 csys =  3.10 CPU)
Result: FAIL
Failed 7/13 test programs. 32/54 subtests failed.
make: *** [Makefile:918: test_dynamic] Fehler 11
-> FAIL Installing . failed. See /home/steidl/.cpanm/work/1731680465.411618/build.log for details. Retry with --force to force install it.
Expiring 3 work directories.
Edited by Jens Steidl