Bug 1622996

Summary: perl-Git-Repository-1.322-3.fc30 FTBFS: t/24-errors.t fails with git 2.19.0
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Git-RepositoryAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: iarnell, jpazdziora, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/5322443
Whiteboard:
Fixed In Version: perl-Git-Repository-1.322-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-02 19:27:43 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 2018-08-28 11:21:30 UTC
perl-Git-Repository-1.322-3.fc30 fails to build in F30 because a test fails:

t/23-quiet.t ............... ok
#   Failed test '... expected warning'
#   at t/24-errors.t line 216.
#                   'error: pathspec 'does-not-exist' did not match any file(s) known to git at t/24-errors.t line 207.
# '
#     doesn't match '(?^:^error: pathspec 'does-not-exist' did not match any file\(s\) known to git\.)'
#   Failed test 'checkout does-not-exist: died'
#   at t/24-errors.t line 209.
#                   'error: pathspec 'does-not-exist' did not match any file(s) known to git at t/24-errors.t line 207.
# '
#     doesn't match '(?^:^error: pathspec 'does-not-exist' did not match any file\(s\) known to git\.)'
#   Failed test 'checkout does-not-exist: died'
#   at t/24-errors.t line 209.
#                   'error: pathspec 'does-not-exist' did not match any file(s) known to git at t/24-errors.t line 207.
# '
#     doesn't match '(?^:^error: pathspec 'does-not-exist' did not match any file\(s\) known to git\.)'
# Looks like you failed 3 tests of 65.
t/24-errors.t .............. 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/65 subtests 

This is triggered by upgrading git from 2.18.0-2.fc29.4 to 2.19.0-0.0.rc0.fc30.

Comment 1 Jan Pazdziora (Red Hat) 2018-09-01 07:17:23 UTC
There is currently an open pull request upstream https://github.com/book/Git-Repository/pull/19. I'll wait a couple of days to see if Philippe makes a new upstream release with the fix, otherwise I'd add the patch to .spec.

Comment 2 Fedora Update System 2018-09-10 10:46:23 UTC
perl-Git-Repository-1.322-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-afedf2b413

Comment 3 Fedora Update System 2018-09-11 06:14:19 UTC
perl-Git-Repository-1.322-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-afedf2b413

Comment 4 Fedora Update System 2018-10-02 19:27:43 UTC
perl-Git-Repository-1.322-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.