Hi fellow porters, I'm polishing a diff for archivers/p5-Archive-Zip, and I need some clues to fix a perl module path problem during make regress:
===> p5-Archive-Zip-1.53 depends on: zip-* -> zip-3.0p0 ===> p5-Archive-Zip-1.53 depends on: p5-Test-Pod-* -> p5-Test-Pod-1.51 ===> Regression tests for p5-Archive-Zip-1.53 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/01_compile.t ................ ok t/02_main.t ................... ok t/03_ex.t ..................... ok t/04_readmember.t ............. ok t/05_tree.t ................... ok t/06_update.t ................. ok t/07_filenames_of_0.t ......... ok t/08_readmember_record_sep.t .. ok t/09_output_record_sep.t ...... ok Can't locate t/common.pm in @INC (you may need to install the t::common module) (@INC contains: /home/dermiste/OpenBSD-src/ports/pobj/p5-Archive-Zip-1.53/Archive-Zip-1.53/blib/lib /home/dermiste/OpenBSD-src/ports/pobj/p5-Archive-Zip-1.53/Archive-Zip-1.53/blib/arch /usr/local/libdata/perl5/site_perl/amd64-openbsd /usr/libdata/perl5/site_perl/amd64-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd/5.20.2 /usr/local/libdata/perl5/amd64-openbsd/5.20.2 /usr/libdata/perl5 /usr/local/libdata/perl5) at t/10_chmod.t line 14. BEGIN failed--compilation aborted at t/10_chmod.t line 14. t/10_chmod.t .................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/11_explorer.t ............... ok t/12_bug_47223.t .............. skipped: Only required on Win32. t/13_bug_46303.t .............. ok t/14_leading_separator.t ...... ok t/15_decrypt.t ................ ok t/16_decrypt.t ................ ok t/17_101092.t ................. ok t/18_bug_92205.t .............. ok t/19_bug_101240.t ............. ok t/20_bug_github11.t ........... ok t/21_zip64.t .................. ok t/22_deflated_dir.t ........... ok Test Summary Report ------------------- t/10_chmod.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=22, Tests=290, 18 wallclock secs ( 0.38 usr 0.47 sys + 11.15 cusr 4.81 csys = 16.81 CPU) Result: FAIL Failed 1/22 test programs. 0/290 subtests failed. *** Error 255 in /home/dermiste/OpenBSD-src/ports/pobj/p5-Archive-Zip-1.53/Archive-Zip-1.53 (Makefile:945 'test_dynamic') When listing WRKSRC contents, I can see the file t/common.pm. So, what is the proper way to add WRKSRC to @INC during tests ? Cheers, -- Vincent Gross