Skip to content

0.024: test suite uses Term::Table bundled with perl #26

@kloczek

Description

@kloczek

I have packaged perl in the way in which Term::Table module bundled with in perl tree is not part of the perl package.
On using such perl on packaging this module code test suite fails because it cannot find own Term::Table::HashBase.

Here is test suite output:
+ cd Term-Table-0.024
+ /usr/bin/make -O -j32 V=1 VERBOSE=1 test
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 t/Table/*.t
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
Compilation failed in require at t/bad_blank_line.t line 19.
BEGIN failed--compilation aborted at t/bad_blank_line.t line 19.
t/bad_blank_line.t ........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
# Using Test2::Tools::Tiny 1.302210
t/honor_env_in_non_tty.t .. ok
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
Compilation failed in require at t/issue-9.t line 19.
BEGIN failed--compilation aborted at t/issue-9.t line 19.
t/issue-9.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
Compilation failed in require at t/Table.t line 1.
BEGIN failed--compilation aborted at t/Table.t line 1.
t/Table.t .................
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
Compilation failed in require at t/Table/Cell.t line 1.
BEGIN failed--compilation aborted at t/Table/Cell.t line 1.
t/Table/Cell.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/Cell.pm line 7.
Compilation failed in require at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table.pm line 7.
Compilation failed in require at t/Table/CellStack.t line 1.
BEGIN failed--compilation aborted at t/Table/CellStack.t line 1.
t/Table/CellStack.t .......
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Term/Table/HashBase.pm in @INC (you may need to install the Term::Table::HashBase module) (@INC entries checked: /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/arch /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
BEGIN failed--compilation aborted at /home/tkloczko/rpmbuild/BUILD/Term-Table-0.024/blib/lib/Term/Table/LineBreak.pm line 11.
Compilation failed in require at t/Table/LineBreak.t line 1.
BEGIN failed--compilation aborted at t/Table/LineBreak.t line 1.
t/Table/LineBreak.t .......
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/bad_blank_line.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/issue-9.t             (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/Table.t               (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/Table/Cell.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/Table/CellStack.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/Table/LineBreak.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=7, Tests=5,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.15 cusr  0.05 csys =  0.23 CPU)
Result: FAIL
Failed 6/7 test programs. 0/5 subtests failed.
make: *** [Makefile:764: test_dynamic] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions