Subject: | Cannot find bundle source for modules that contain sub-modules |
Using Module::Install::Bundle, I have not managed to bundle modules that
have several sub-modules. For example, the distribution for the module
Error contains: Error, Error::Simple, Error::WarnDie and Error::subs.
Bundling the Error module fails because an attempt to download
a distribution called Error::Simple (which does not exist) is made and
fails.
Subject: | log2.txt |
$ perl Makefile_test_2.PL
include /home/floflooo/Work/GAAS/program/GAAS/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
Requiring a module that contains several *.pm files
include inc/Module/Install/Bundle.pm
skipped List::Util (needs shared library)
[MSG] Trying to get 'ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz'
Fetch failed! HTTP response: 404 Not Found [404 Can't chdir to authors] at /usr/share/perl/5.10/CPANPLUS/Internals/Fetch.pm line 396
Could not fetch '/pub/CPAN/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz' from 'ftp.cpan.org' at /usr/share/perl/5.10/CPANPLUS/Internals/Fetch.pm line 396
Command failed: at /usr/share/perl/5.10/CPANPLUS/Internals/Fetch.pm line 396
Command failed: at /usr/share/perl/5.10/CPANPLUS/Internals/Fetch.pm line 396
Command failed: get: Access failed: 550 /pub/CPAN/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz: No such file or directory.
at /usr/share/perl/5.10/CPANPLUS/Internals/Fetch.pm line 396
[ERROR] Fetching of 'ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz' failed: Command failed: get: Access failed: 550 /pub/CPAN/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz: No such file or directory.
[MSG] Trying to get 'http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz'
[MSG] Extracted 'Error-0.17016'
[MSG] Extracted 'Error-0.17016/MANIFEST'
[MSG] Extracted 'Error-0.17016/META.yml'
[MSG] Extracted 'Error-0.17016/ChangeLog'
[MSG] Extracted 'Error-0.17016/README'
[MSG] Extracted 'Error-0.17016/Makefile.PL'
[MSG] Extracted 'Error-0.17016/Build.PL'
[MSG] Extracted 'Error-0.17016/lib'
[MSG] Extracted 'Error-0.17016/lib/Error.pm'
[MSG] Extracted 'Error-0.17016/lib/Error'
[MSG] Extracted 'Error-0.17016/lib/Error/Simple.pm'
[MSG] Extracted 'Error-0.17016/examples'
[MSG] Extracted 'Error-0.17016/examples/warndie.pl'
[MSG] Extracted 'Error-0.17016/examples/example.pl'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop/Error.pm-eval.pl'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop/Error.pm-next-out-of-catch.pl'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop/Error.pm-next-label.pl'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop/README'
[MSG] Extracted 'Error-0.17016/examples/next-in-loop/Error.pm-next.pl'
[MSG] Extracted 'Error-0.17016/t'
[MSG] Extracted 'Error-0.17016/t/09dollar-at.t'
[MSG] Extracted 'Error-0.17016/t/07try-in-obj-destructor.t'
[MSG] Extracted 'Error-0.17016/t/04use-base-Error-Simple.t'
[MSG] Extracted 'Error-0.17016/t/12wrong-error-var.t'
[MSG] Extracted 'Error-0.17016/t/11rethrow.t'
[MSG] Extracted 'Error-0.17016/t/01throw.t'
[MSG] Extracted 'Error-0.17016/t/08warndie.t'
[MSG] Extracted 'Error-0.17016/t/10throw-in-catch.t'
[MSG] Extracted 'Error-0.17016/t/pod-coverage.t'
[MSG] Extracted 'Error-0.17016/t/pod.t'
[MSG] Extracted 'Error-0.17016/t/03throw-non-Error.t'
[MSG] Extracted 'Error-0.17016/t/05text-errors-with-file-handles.t'
[MSG] Extracted 'Error-0.17016/t/13except-arg0.t'
[MSG] Extracted 'Error-0.17016/t/02order.t'
[MSG] Extracted 'Error-0.17016/t/06customize-text-throw.t'
[MSG] Extracted 'Error-0.17016/t/lib'
[MSG] Extracted 'Error-0.17016/t/lib/MyDie.pm'
[MSG] Extracted 'Error-0.17016/inc'
[MSG] Extracted 'Error-0.17016/inc/Test'
[MSG] Extracted 'Error-0.17016/inc/Test/Run'
[MSG] Extracted 'Error-0.17016/inc/Test/Run/Builder.pm'
[MSG] Extracted 'Error' to '/home/floflooo/Work/GAAS/program/GAAS/inc/BUNDLES/Error-0.17016'
Cannot find bundle source for Error::Simple at /usr/local/share/perl/5.10.1/Module/Install/Bundle.pm line 38.
Subject: | Makefile_test_2.PL |
use inc::Module::Install;
name 'GAAS';
all_from 'lib/GAAS.pm';
build_requires 'Test::More';
print "Requiring a module that contains several *.pm files\n";
requires 'Error';
auto_bundle_deps;
WriteAll;