Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Zucchini CPAN distribution.

Report information
The Basics
Id: 92333
Status: open
Worked: 25 min
Priority: 0/
Queue: Zucchini

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0.19
Fixed in: (no value)



Subject: depends on module not on CPAN
Zucchini::Test, Zucchini::TestConfig -- Alexandr Ciornii, http://chorny.net
On Tue Jan 21 15:17:58 2014, CHORNY wrote: Show quoted text
> Zucchini::Test, Zucchini::TestConfig >
Do you have an example of the failure? The two files you mention are in the t/testlib/ directory: https://metacpan.org/source/CHISEL/Zucchini-0.0.19/t/testlib/Zucchini There's a line in the test files: use lib qq{$FindBin::Bin/testlib}; that should include this path. I may have made a silly mistake somewhere, but I've never had a problem with this myself.
On Wed Jan 22 06:14:13 2014, CHISEL wrote: Show quoted text
> On Tue Jan 21 15:17:58 2014, CHORNY wrote:
> > Zucchini::Test, Zucchini::TestConfig > >
> > > Do you have an example of the failure?
See https://metacpan.org/source/CHISEL/Zucchini-0.0.19/Makefile.PL "TEST_REQUIRES" => { "Zucchini::Test" => 0, "Zucchini::TestConfig" => 0, }, CPAN client tries to install them, but cannot find them. -- Alexandr Ciornii, http://chorny.net
I still can't reproduce it. This is o na box that's never seen Zucchini: ➔ cpan cpan shell -- CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan[1]> look Zucchini CPAN: Storable loaded ok (v2.41) Reading '/tmp/.cpan/Metadata' Database was generated on Tue, 21 Jan 2014 23:29:01 GMT Running look for module 'Zucchini' Trying to open a subshell in the build directory... CPAN: YAML loaded ok (v0.88) CPAN: CPAN::Kwalify loaded ok (v5.50) CPAN: Digest::SHA loaded ok (v5.84_01) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for /tmp/.cpan/sources/authors/id/C/CH/CHISEL/Zucchini-0.0.19.tar.gz ok Scanning cache /tmp/.cpan/build for sizes ............................................................................DONE CPAN: Archive::Tar loaded ok (v1.90) Zucchini-0.0.19 Zucchini-0.0.19/TODO Zucchini-0.0.19/README Zucchini-0.0.19/Changes Zucchini-0.0.19/LICENSE Zucchini-0.0.19/META.yml Zucchini-0.0.19/MANIFEST Zucchini-0.0.19/SIGNATURE Zucchini-0.0.19/t Zucchini-0.0.19/t/00.use.t Zucchini-0.0.19/README.mkdn Zucchini-0.0.19/t/10.site.t Zucchini-0.0.19/t/00-load.t Zucchini-0.0.19/Makefile.PL Zucchini-0.0.19/MANIFEST.SKIP Zucchini-0.0.19/t/01.zucchini.t Zucchini-0.0.19/script Zucchini-0.0.19/script/zucchini Zucchini-0.0.19/lib Zucchini-0.0.19/lib/Zucchini.pm Zucchini-0.0.19/t/11.impressum.t Zucchini-0.0.19/t/release-no-tabs.t Zucchini-0.0.19/t/00.zucchini.test.t Zucchini-0.0.19/doc/s5 Zucchini-0.0.19/doc/s5/s5-blank.html Zucchini-0.0.19/doc/s5/zucchini.html Zucchini-0.0.19/t/release-kwalitee.t Zucchini-0.0.19/t/06.zucchini.fsync.t Zucchini-0.0.19/t/05.zucchini.rsync.t Zucchini-0.0.19/lib/Zucchini Zucchini-0.0.19/lib/Zucchini/Rsync.pm Zucchini-0.0.19/lib/Zucchini/Fsync.pm Zucchini-0.0.19/lib/Zucchini/Types.pm Zucchini-0.0.19/t/02.zucchini.config.t Zucchini-0.0.19/legacy Zucchini-0.0.19/legacy/ttsite.original Zucchini-0.0.19/lib/Zucchini/Config.pm Zucchini-0.0.19/t/release-pod-syntax.t Zucchini-0.0.19/t/04.zucchini.template.t Zucchini-0.0.19/lib/Zucchini/Template.pm Zucchini-0.0.19/t/release-pod-coverage.t Zucchini-0.0.19/t/testdata/config Zucchini-0.0.19/t/testdata/config/cli_alt Zucchini-0.0.19/t/00.zucchini.testconfig.t Zucchini-0.0.19/t/testlib/Zucchini Zucchini-0.0.19/t/testlib/Zucchini/Test.pm Zucchini-0.0.19/doc/s5/images Zucchini-0.0.19/doc/s5/images/zucchini.jpg Zucchini-0.0.19/doc/s5/ui/default Zucchini-0.0.19/doc/s5/ui/default/blank.gif Zucchini-0.0.19/doc/s5/ui/default/opera.css Zucchini-0.0.19/doc/s5/ui/default/slides.js Zucchini-0.0.19/doc/s5/ui/default/print.css Zucchini-0.0.19/doc/s5/ui/default/slides.css Zucchini-0.0.19/doc/s5/ui/default/pretty.css Zucchini-0.0.19/doc/s5/ui/default/bodybg.gif Zucchini-0.0.19/t/03.zucchini.config.create.t Zucchini-0.0.19/t/testdata/includes Zucchini-0.0.19/t/testdata/includes/header.tt Zucchini-0.0.19/t/testdata/includes/footer.tt Zucchini-0.0.19/doc/s5/ui/default/s5-core.css Zucchini-0.0.19/doc/s5/ui/default/outline.css Zucchini-0.0.19/doc/s5/ui/default/framing.css Zucchini-0.0.19/lib/Zucchini/Contributors.pod Zucchini-0.0.19/lib/Zucchini/Config Zucchini-0.0.19/lib/Zucchini/Config/Create.pm Zucchini-0.0.19/doc/s5/ui/default/iepngfix.htc Zucchini-0.0.19/doc/s5/ui/herlpacker Zucchini-0.0.19/doc/s5/ui/herlpacker/blank.gif Zucchini-0.0.19/doc/s5/ui/herlpacker/opera.css Zucchini-0.0.19/doc/s5/ui/herlpacker/slides.js Zucchini-0.0.19/doc/s5/ui/herlpacker/print.css Zucchini-0.0.19/t/testdata/templates Zucchini-0.0.19/t/testdata/templates/index.html Zucchini-0.0.19/t/testdata/templates/email.html Zucchini-0.0.19/doc/s5/ui/herlpacker/slides.css Zucchini-0.0.19/doc/s5/ui/herlpacker/bodybg.jpg Zucchini-0.0.19/doc/s5/ui/herlpacker/pretty.css Zucchini-0.0.19/doc/s5/ui/herlpacker/bodybg.gif Zucchini-0.0.19/t/testlib/Zucchini/TestConfig.pm Zucchini-0.0.19/t/testdata/impressum Zucchini-0.0.19/t/testdata/impressum/normal.html Zucchini-0.0.19/t/testdata/impressum/special.imp Zucchini-0.0.19/t/testdata/templates/author.html Zucchini-0.0.19/doc/s5/ui/herlpacker/s5-core.css Zucchini-0.0.19/doc/s5/ui/herlpacker/outline.css Zucchini-0.0.19/doc/s5/ui/herlpacker/framing.css Zucchini-0.0.19/lib/Zucchini/Manual Zucchini-0.0.19/lib/Zucchini/Manual/Tutorial.pod Zucchini-0.0.19/doc/s5/ui/herlpacker/iepngfix.htc Zucchini-0.0.19/t/testdata/impressum/impressum.html Zucchini-0.0.19/t/testdata/templates/copyright.html Zucchini-0.0.19/t/testdata/templates/subdir1 Zucchini-0.0.19/t/testdata/templates/subdir1/abby.jpg Zucchini-0.0.19/doc/s5/ui/herlpacker/bodybg-faint.jpg /bin/tar: Read 4608 bytes from - Zucchini-0.0.19/t/testdata/templates/subdir1/tags.html Zucchini-0.0.19/t/testdata/templates/subdir1/index.html Zucchini-0.0.19/t/testdata/templates/_should_be_ignored_.swp CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.133380) CPAN: Module::CoreList loaded ok (v3.03) Working directory is /tmp/.cpan/build/Zucchini-0.0.19-TMnRbb [Sourcing /home/c.wright/development/xt/xtdc/xtdc.env] [4991][c.wright@xtdc1-chz:Zucchini-0.0.19-TMnRbb]➔ perl -MZucchini -e1 Can't locate Zucchini.pm in @INC (you may need to install the Zucchini module) (@INC contains: /home/c.wright/development/xt/lib /home/c.wright/development/xt/lib_dynamic /opt/xt/xt-perl/lib/site_perl/5.18/x86_64-linux /opt/xt/xt-perl/lib/site_perl /opt/xt/xt-perl/lib/5.18.2/x86_64-linux /opt/xt/xt-perl/lib/5.18 .). BEGIN failed--compilation aborted. [4992][c.wright@xtdc1-chz:Zucchini-0.0.19-TMnRbb]➔ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Zucchini Writing MYMETA.yml and MYMETA.json [4993][c.wright@xtdc1-chz:Zucchini-0.0.19-TMnRbb]➔ make test cp lib/Zucchini/Fsync.pm blib/lib/Zucchini/Fsync.pm cp lib/Zucchini.pm blib/lib/Zucchini.pm cp lib/Zucchini/Config/Create.pm blib/lib/Zucchini/Config/Create.pm cp lib/Zucchini/Contributors.pod blib/lib/Zucchini/Contributors.pod cp lib/Zucchini/Rsync.pm blib/lib/Zucchini/Rsync.pm cp lib/Zucchini/Template.pm blib/lib/Zucchini/Template.pm cp lib/Zucchini/Manual/Tutorial.pod blib/lib/Zucchini/Manual/Tutorial.pod cp lib/Zucchini/Types.pm blib/lib/Zucchini/Types.pm cp lib/Zucchini/Config.pm blib/lib/Zucchini/Config.pm cp script/zucchini blib/script/zucchini /opt/xt/xt-perl/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/zucchini PERL_DL_NONLAZY=1 /opt/xt/xt-perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .................... ok t/00.use.t ..................... ok t/00.zucchini.test.t ........... ok t/00.zucchini.testconfig.t ..... ok t/01.zucchini.t ................ ok t/02.zucchini.config.t ......... ok t/03.zucchini.config.create.t .. ok t/04.zucchini.template.t ....... 1/21 templating: copyright.html templating: email.html templating: author.html templating: index.html output directory '/tmp/j1bTC7Ueh7/subdir1' does not exist created: /tmp/j1bTC7Ueh7/subdir1 templating: index.html Copying: abby.jpg templating: tags.html t/04.zucchini.template.t ....... ok t/05.zucchini.rsync.t .......... ok t/06.zucchini.fsync.t .......... ok t/10.site.t .................... 1/16 templating: copyright.html templating: email.html templating: author.html templating: index.html output directory '/tmp/XI062e6oHq/subdir1' does not exist created: /tmp/XI062e6oHq/subdir1 templating: index.html Copying: abby.jpg templating: tags.html t/10.site.t .................... ok t/11.impressum.t ............... 1/10 templating: impressum.html templating: normal.html templating: special.imp # /tmp/VecuCKi9uQ templating: impressum.html templating: special.imp t/11.impressum.t ............... ok t/release-kwalitee.t ........... skipped: these tests are for release candidate testing t/release-no-tabs.t ............ skipped: these tests are for release candidate testing t/release-pod-coverage.t ....... skipped: these tests are for release candidate testing t/release-pod-syntax.t ......... skipped: these tests are for release candidate testing All tests successful. Files=16, Tests=101, 4 wallclock secs ( 0.04 usr 0.02 sys + 2.30 cusr 0.24 csys = 2.60 CPU) Result: PASS [4994][c.wright@xtdc1-chz:Zucchini-0.0.19-TMnRbb]➔
On Wed Jan 22 10:08:54 2014, CHISEL wrote: Show quoted text
> I still can't reproduce it. This is o na box that's never seen > Zucchini: >
But you simply `look`ed and built it manually. The problem is the *cpan shell* sees the prereq and tries to obtain them from CPAN. Don't put those module in prereqs, but simply use them from inside the tests (and add `use lib...` if necessary). If you run from shell: cpan Zucchini Or from cpan shell: cpan install Zucchini Then the install fails, with these bits in the output: ---------------------------------- Running install for module 'Zucchini::TestConfig' The module Zucchini::TestConfig isn't available on CPAN. Either the module has not yet been uploaded to CPAN, or it is temporary unavailable. Please contact the author to find out more about the status. Try 'i Zucchini::TestConfig'. Running install for module 'Zucchini::Test' The module Zucchini::Test isn't available on CPAN. Either the module has not yet been uploaded to CPAN, or it is temporary unavailable. Please contact the author to find out more about the status. Try 'i Zucchini::Test'. ---------------------------------- ... ---------------------------------- Tests succeeded but 2 dependencies missing (Zucchini::TestConfig,Zucchini::Test) CHISEL/Zucchini-0.0.19.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
On Thu Jan 23 09:42:33 2014, ZOFFIX wrote: Show quoted text
> Or from cpan shell: cpan install Zucchini
EDIT: Or from cpan shell: install Zucchini