Bug 1083430 - virt-v2v-0.9.0-5.fc21 FTBFS
Summary: virt-v2v-0.9.0-5.fc21 FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-v2v
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
: 1107098 (view as bug list)
Depends On:
Blocks: F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-04-02 08:56 UTC by Petr Pisar
Modified: 2014-06-27 15:47 UTC (History)
3 users (show)

Fixed In Version: virt-v2v-0.9.0-7.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-27 15:47:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-04-02 08:56:18 UTC
virt-v2v-0.9.0-5.fc21 fails to build from source in F21 due to tests:

make: Leaving directory `/builddir/build/BUILD/virt-v2v-v0.9.0/po'
Creating p2v/image-builder/version.ks
t/001-pod.t ........... ok
Smartmatch is experimental at /builddir/build/BUILD/virt-v2v-v0.9.0/blib/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm line 572.
Smartmatch is experimental at /builddir/build/BUILD/virt-v2v-v0.9.0/blib/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm line 578.
t/002-pod-coverage.t .. ok
Smartmatch is experimental at /builddir/build/BUILD/virt-v2v-v0.9.0/blib/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm line 572.
Smartmatch is experimental at /builddir/build/BUILD/virt-v2v-v0.9.0/blib/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm line 578.
#   Failed test 'Build syntaxcheck'
#   at t/003-syntax.t line 43.
#          got: '1'
#     expected: '0'
# Looks like you failed 1 test of 20.
t/003-syntax.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/20 subtests 
t/004-ExecHelper.t .... ok
Test Summary Report
-------------------
t/003-syntax.t      (Wstat: 256 Tests: 20 Failed: 1)
  Failed test:  20
  Non-zero exit status: 1
Files=4, Tests=64,  2 wallclock secs ( 0.05 usr  0.01 sys +  1.97 cusr  0.20 csys =  2.23 CPU)
Result: FAIL

Comment 1 Petr Pisar 2014-06-12 12:56:52 UTC
*** Bug 1107098 has been marked as a duplicate of this bug. ***

Comment 2 Petr Pisar 2014-06-27 14:01:47 UTC
Something removes META.* files during the build, so the test which checks META.* files for syntax errors fails:

ok 19 - use Sys::VirtConvert::Transfer::Local;
Unable to read manifest file META.json: No such file or directory
not ok 20 - Build syntaxcheck

#   Failed test 'Build syntaxcheck'
#   at t/003-syntax.t line 43.
#          got: '1'
#     expected: '0'
# Looks like you failed 1 test of 20.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/20 subtests 

Test Summary Report
-------------------
t/003-syntax.t (Wstat: 256 Tests: 20 Failed: 1)

I guess current Module::Build replaces META.* files with MYMETA.* files.

Comment 3 Petr Pisar 2014-06-27 15:12:06 UTC
The problem is "./Build test" calls "distmeta" action which regenerates META.* files, but because of syntax error in the Build.PL, it fails:

$ perl Build.PL 
WARNING: the following files are missing in your kit:
        META.json
        META.yml
Please inform the author.

Could not get valid metadata. Error is: Invalid metadata structure. Errors: Expected a list structure (resources -> license) [Validation: 2]
 at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 4555.


The resource => license value must be a reference to array (see CPAN::Meta::Spec), but there is a plain scalar.


Note You need to log in before you can comment on or make changes to this bug.