Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 115094
Status: rejected
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

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



Subject: perl Build.PL does not detect missing modules
For the project: https://github.com/KES777/Devel-DebugHooks ``` kes@keswork ~/work/projects/perl_libs $ perl Build.PL Checking prerequisites... recommends: * IO::Async::Loop is not installed * Log::Log4perl is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' kes@keswork ~/work/projects/perl_libs $ perlbrew list-modules Capture::Tiny Data::Dump Data::OptList Data::Section ExtUtils::MakeMaker Guard MRO::Compat Params::Util Perl Software::License Sub::Exporter Sub::Install Test::FailWarnings Test::Simple Text::Template Try::Tiny kes@keswork ~/work/projects/perl_libs $ ./Build disttest Creating Makefile.PL Creating LICENSE file Creating META.yml Creating Devel-DebugHooks-0.01_01 Checking prerequisites... recommends: * IO::Async::Loop is not installed * Log::Log4perl is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' Building Devel-DebugHooks t/15-eval.t .......... Can't locate Test/Output.pm in @INC (@INC contains: /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/lib /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/arch /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5 /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5/x86_64-linux /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5 .) at t/15-eval.t line 8. BEGIN failed--compilation aborted at t/15-eval.t line 8. ``` But in the Build.PL: ``` test_requires => { 'Test::More' => 0, 'Test::Output' => 0, 'Test::Differences' => 0, 'Data::Section::Simple' => 0, }, ```
On 2016-06-05 09:55:48, KES wrote: Show quoted text
> For the project: https://github.com/KES777/Devel-DebugHooks > ``` > kes@keswork ~/work/projects/perl_libs $ perl Build.PL > Checking prerequisites... > recommends: > * IO::Async::Loop is not installed > * Log::Log4perl is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this > installation > > Run 'Build installdeps' to install missing prerequisites.
What is the bug here? Contrary to the subject line, missing prerequisites are indeed detected.
Subject: Re: [rt.cpan.org #115094] perl Build.PL does not detect missing modules
Date: Sun, 5 Jun 2016 19:49:04 +0200
To: bug-Module-Build [...] rt.cpan.org
From: Leon Timmermans <leont [...] cpan.org>
On Sun, Jun 5, 2016 at 6:55 PM, Eugen Konkov via RT < bug-Module-Build@rt.cpan.org> wrote: Show quoted text
> For the project: https://github.com/KES777/Devel-DebugHooks > ``` > kes@keswork ~/work/projects/perl_libs $ perl Build.PL > Checking prerequisites... > recommends: > * IO::Async::Loop is not installed > * Log::Log4perl is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this installation > > Run 'Build installdeps' to install missing prerequisites. > > Creating new 'MYMETA.yml' with configuration results > Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' > kes@keswork ~/work/projects/perl_libs $ perlbrew list-modules > Capture::Tiny > Data::Dump > Data::OptList > Data::Section > ExtUtils::MakeMaker > Guard > MRO::Compat > Params::Util > Perl > Software::License > Sub::Exporter > Sub::Install > Test::FailWarnings > Test::Simple > Text::Template > Try::Tiny > kes@keswork ~/work/projects/perl_libs $ ./Build disttest > Creating Makefile.PL > Creating LICENSE file > Creating META.yml > Creating Devel-DebugHooks-0.01_01 > Checking prerequisites... > recommends: > * IO::Async::Loop is not installed > * Log::Log4perl is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this installation > > Run 'Build installdeps' to install missing prerequisites. > > Creating new 'MYMETA.yml' with configuration results > Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' > Building Devel-DebugHooks > t/15-eval.t .......... Can't locate Test/Output.pm in @INC (@INC contains: > /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/lib > /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/arch > /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux > /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5 > /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5/x86_64-linux > /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5 .) at t/15-eval.t > line 8. > BEGIN failed--compilation aborted at t/15-eval.t line 8. > > ``` > > But in the Build.PL: > ``` > test_requires => { > 'Test::More' => 0, > 'Test::Output' => 0, > 'Test::Differences' => 0, > 'Data::Section::Simple' => 0, > }, > ``` >
What version of Module::Build is used on the deployed system? test_requires is a 0.4200+ feature, that may cause this issue. Configure_requires is your friend. Leon
Subject: Re: [rt.cpan.org #115094] perl Build.PL does not detect missing modules
Date: Sun, 05 Jun 2016 20:52:23 +0300
To: "bug-Module-Build [...] rt.cpan.org" <bug-module-build [...] rt.cpan.org>, "KES [...] cpan.org" <kes [...] cpan.org>
From: KES <kes-kes [...] yandex.ru>
I install perlbrew and two perls. Then I run ' perl Build.PL' It show me that I should install Test::Output, Test::More etc. I install, then test dist. Ok here. When I switch to another perl and run 'perl Build.PL' it does not show that I require to install 'Test::Output, Test::More' etc. I ignore that and just start to test distribution, but got errors. 05.06.2016, 20:28, "Karen Etheridge via RT" <bug-module-build@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=115094 > > > On 2016-06-05 09:55:48, KES wrote:
>>  For the project: https://github.com/KES777/Devel-DebugHooks >>  ``` >>   kes@keswork ~/work/projects/perl_libs $ perl Build.PL >>  Checking prerequisites... >>    recommends: >>      * IO::Async::Loop is not installed >>      * Log::Log4perl is not installed >> >>  ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the >>  versions >>  of the modules indicated above before proceeding with this >>  installation >> >>  Run 'Build installdeps' to install missing prerequisites.
> > What is the bug here? Contrary to the subject line, missing prerequisites are indeed detected.
Subject: Re: [rt.cpan.org #115094] perl Build.PL does not detect missing modules
Date: Sun, 05 Jun 2016 21:03:25 +0300
To: "bug-Module-Build [...] rt.cpan.org" <bug-module-build [...] rt.cpan.org>, "KES [...] cpan.org" <kes [...] cpan.org>
From: KES <kes-kes [...] yandex.ru>
$ cpanm --info Module::Build LEONT/Module-Build-0.4218.tar.gz 05.06.2016, 20:49, "Leon Timmermans via RT" <bug-module-build@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=115094 > > > On Sun, Jun 5, 2016 at 6:55 PM, Eugen Konkov via RT < > bug-Module-Build@rt.cpan.org> wrote: >
>>  For the project: https://github.com/KES777/Devel-DebugHooks >>  ``` >>  kes@keswork ~/work/projects/perl_libs $ perl Build.PL >>  Checking prerequisites... >>    recommends: >>      * IO::Async::Loop is not installed >>      * Log::Log4perl is not installed >> >>  ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the >>  versions >>  of the modules indicated above before proceeding with this installation >> >>  Run 'Build installdeps' to install missing prerequisites. >> >>  Creating new 'MYMETA.yml' with configuration results >>  Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' >>  kes@keswork ~/work/projects/perl_libs $ perlbrew list-modules >>  Capture::Tiny >>  Data::Dump >>  Data::OptList >>  Data::Section >>  ExtUtils::MakeMaker >>  Guard >>  MRO::Compat >>  Params::Util >>  Perl >>  Software::License >>  Sub::Exporter >>  Sub::Install >>  Test::FailWarnings >>  Test::Simple >>  Text::Template >>  Try::Tiny >>  kes@keswork ~/work/projects/perl_libs $ ./Build disttest >>  Creating Makefile.PL >>  Creating LICENSE file >>  Creating META.yml >>  Creating Devel-DebugHooks-0.01_01 >>  Checking prerequisites... >>    recommends: >>      * IO::Async::Loop is not installed >>      * Log::Log4perl is not installed >> >>  ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the >>  versions >>  of the modules indicated above before proceeding with this installation >> >>  Run 'Build installdeps' to install missing prerequisites. >> >>  Creating new 'MYMETA.yml' with configuration results >>  Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' >>  Building Devel-DebugHooks >>  t/15-eval.t .......... Can't locate Test/Output.pm in @INC (@INC contains: >>  /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/lib >>  /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/arch >>  /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux >>  /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5 >>  /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5/x86_64-linux >>  /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5 .) at t/15-eval.t >>  line 8. >>  BEGIN failed--compilation aborted at t/15-eval.t line 8. >> >>  ``` >> >>  But in the Build.PL: >>  ``` >>          test_requires => { >>                  'Test::More' => 0, >>                  'Test::Output' => 0, >>                  'Test::Differences' => 0, >>                  'Data::Section::Simple' => 0, >>          }, >>  ```
> > What version of Module::Build is used on the deployed system? test_requires > is a 0.4200+ feature, that may cause this issue. Configure_requires is your > friend. > > Leon
Subject: Re: [rt.cpan.org #115094] perl Build.PL does not detect missing modules
Date: Sun, 05 Jun 2016 22:10:03 +0300
To: "bug-Module-Build [...] rt.cpan.org" <bug-module-build [...] rt.cpan.org>, "KES [...] cpan.org" <kes [...] cpan.org>
From: KES <kes-kes [...] yandex.ru>
I have found the problem. Old perl include old version of Module::Build. I just have checked with perl-5.14.4. The version is: $VERSION = '0.3800' Sorry for disturb 05.06.2016, 21:04, "KES" <kes-kes@yandex.ru>: Show quoted text
> $ cpanm --info Module::Build > LEONT/Module-Build-0.4218.tar.gz > > 05.06.2016, 20:49, "Leon Timmermans via RT" <bug-module-build@rt.cpan.org>:
>>  <URL: https://rt.cpan.org/Ticket/Display.html?id=115094 > >> >>  On Sun, Jun 5, 2016 at 6:55 PM, Eugen Konkov via RT < >>  bug-Module-Build@rt.cpan.org> wrote: >>
>>>   For the project: https://github.com/KES777/Devel-DebugHooks >>>   ``` >>>   kes@keswork ~/work/projects/perl_libs $ perl Build.PL >>>   Checking prerequisites... >>>     recommends: >>>       * IO::Async::Loop is not installed >>>       * Log::Log4perl is not installed >>> >>>   ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the >>>   versions >>>   of the modules indicated above before proceeding with this installation >>> >>>   Run 'Build installdeps' to install missing prerequisites. >>> >>>   Creating new 'MYMETA.yml' with configuration results >>>   Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' >>>   kes@keswork ~/work/projects/perl_libs $ perlbrew list-modules >>>   Capture::Tiny >>>   Data::Dump >>>   Data::OptList >>>   Data::Section >>>   ExtUtils::MakeMaker >>>   Guard >>>   MRO::Compat >>>   Params::Util >>>   Perl >>>   Software::License >>>   Sub::Exporter >>>   Sub::Install >>>   Test::FailWarnings >>>   Test::Simple >>>   Text::Template >>>   Try::Tiny >>>   kes@keswork ~/work/projects/perl_libs $ ./Build disttest >>>   Creating Makefile.PL >>>   Creating LICENSE file >>>   Creating META.yml >>>   Creating Devel-DebugHooks-0.01_01 >>>   Checking prerequisites... >>>     recommends: >>>       * IO::Async::Loop is not installed >>>       * Log::Log4perl is not installed >>> >>>   ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the >>>   versions >>>   of the modules indicated above before proceeding with this installation >>> >>>   Run 'Build installdeps' to install missing prerequisites. >>> >>>   Creating new 'MYMETA.yml' with configuration results >>>   Creating new 'Build' script for 'Devel-DebugHooks' version '0.01_01' >>>   Building Devel-DebugHooks >>>   t/15-eval.t .......... Can't locate Test/Output.pm in @INC (@INC contains: >>>   /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/lib >>>   /home/kes/work/projects/perl_libs/Devel-DebugHooks-0.01_01/blib/arch >>>   /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux >>>   /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5 >>>   /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5/x86_64-linux >>>   /home/kes/perl5/perlbrew/perls/perl-5.12.5/lib/5.12.5 .) at t/15-eval.t >>>   line 8. >>>   BEGIN failed--compilation aborted at t/15-eval.t line 8. >>> >>>   ``` >>> >>>   But in the Build.PL: >>>   ``` >>>           test_requires => { >>>                   'Test::More' => 0, >>>                   'Test::Output' => 0, >>>                   'Test::Differences' => 0, >>>                   'Data::Section::Simple' => 0, >>>           }, >>>   ```
>> >>  What version of Module::Build is used on the deployed system? test_requires >>  is a 0.4200+ feature, that may cause this issue. Configure_requires is your >>  friend. >> >>  Leon