Bug 1261760

Summary: perl-MooseX-App-Cmd-0.31-3.fc24 FTBFS: Failed test 'Internal hashes match'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-MooseX-App-CmdAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, iarnell, mmaslano, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=10979728
Whiteboard:
Fixed In Version: perl-MooseX-App-Cmd-0.32-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-13 10:25:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2015-09-10 06:37:57 UTC
perl-MooseX-App-Cmd-0.31-3.fc24 fails to build in F24 because a test fails:

t/basic.t ............... ok
#   Failed test 'Internal hashes match'
#   at t/build_emulates_new.t line 16.
#     Structures begin differing at:
#          $got->{show_version} = Does not exist
#     $expected->{show_version} = '0'
# Looks like you failed 1 test of 1.
t/build_emulates_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

This has been happening since upgrading perl-App-Cmd from 0.327-3.fc23 to 0.328-1.fc24.

Comment 1 Emmanuel Seyman 2015-09-13 10:25:33 UTC
I've updated perl-MooseX-App-Cmd to 0.32 in rawhide. The changelog reads:

0.32      2015-09-12 01:10:11Z
    - fix incompatibility with App::Cmd 0.328 by calling its
      constructor (via MooseX::NonMoose) (RT#107025)

and rt #107025 describes this very problem.