Skip Menu |

This queue is for tickets about the Yahoo-Marketing CPAN distribution.

Report information
The Basics
Id: 20148
Status: resolved
Priority: 0/
Queue: Yahoo-Marketing

People
Owner: JLAVALLEE [...] cpan.org
Requestors: cgraves
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.02



Subject: Yahoo::Marketing test has issues with Module::Build::Base
I installed all the necesssary modules on my Linux box, but when trying to get Yahoo::Marketing from CPAN (perl -MCPAN -e 'install Yahoo::Marketing'), the following issue keeps cropping up in the tests: No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. The enclosed file lists all the tests that failed. Any ideas on why this happens? Perl 5.8.5 so it's at least the required version.
Subject: FailedTests.txt
t/ad_group_service.....................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/AdGroupService.pm line 5. Compilation failed in require at t/ad_group_service.t line 6. BEGIN failed--compilation aborted at t/ad_group_service.t line 6. t/ad_group_service.....................dubious Test returned status 2 (wstat 512, 0x200) t/ad_service...........................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 4) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/AdService.pm line 6. Compilation failed in require at t/ad_service.t line 8. BEGIN failed--compilation aborted at t/ad_service.t line 8. t/ad_service...........................dubious Test returned status 2 (wstat 512, 0x200) t/basic_report_service.................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/BasicReportService.pm line 5. Compilation failed in require at t/basic_report_service.t line 6. BEGIN failed--compilation aborted at t/basic_report_service.t line 6. t/basic_report_service.................dubious Test returned status 2 (wstat 512, 0x200) t/campaign_service.....................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/CampaignService.pm line 6. Compilation failed in require at t/campaign_service.t line 6. BEGIN failed--compilation aborted at t/campaign_service.t line 6. t/campaign_service.....................dubious Test returned status 2 (wstat 512, 0x200) t/example..............................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. # Looks like your test died before it could output anything. t/example..............................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/excluded_words_service...............No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/ExcludedWordsService.pm line 5. Compilation failed in require at t/excluded_words_service.t line 6. BEGIN failed--compilation aborted at t/excluded_words_service.t line 6. t/excluded_words_service...............dubious Test returned status 2 (wstat 512, 0x200) t/forecast_service.....................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/ForecastService.pm line 5. Compilation failed in require at t/forecast_service.t line 6. BEGIN failed--compilation aborted at t/forecast_service.t line 6. t/forecast_service.....................dubious Test returned status 2 (wstat 512, 0x200) t/keyword_research_service.............No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/KeywordResearchService.pm line 7. Compilation failed in require at t/keyword_research_service.t line 6. BEGIN failed--compilation aborted at t/keyword_research_service.t line 6. t/keyword_research_service.............dubious Test returned status 2 (wstat 512, 0x200) t/keyword_service......................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/PostTest.pm line 481. Compilation failed in require at (eval 4) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at t/lib/Yahoo/Marketing/TEST/KeywordService.pm line 7. Compilation failed in require at t/keyword_service.t line 6. BEGIN failed--compilation aborted at t/keyword_service.t line 6. t/keyword_service......................dubious Test returned status 2 (wstat 512, 0x200) t/z_cleanup............................No build_params? at /usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 995. # No tests run! t/z_cleanup............................dubious Test returned status 255 (wstat 65280, 0xff00)
I believe this is due to CPAN.pm trying to use Makefile.PL to build the module. There are issues with make test if perl ./Build.PL has not been run. These should be resolved in the next release. In the meantime, you should be able to download it from cpan.org and install it manually. If you want to run the tests you'll need to use the Module::Build build method (see the README), otherwise you should be able to install via the normal MakeMaker route skipping the make test step.
This should be fixed in version 0.02. Please re-open if you still see the issue.