Bug#801499: libgit-repository-perl: FTBFS: t/24-errors.t broken by newer versions of git

Niko Tyni ntyni at debian.org
Sun Oct 11 11:00:49 UTC 2015


Package: libgit-repository-perl
Version: 1.315-1
Severity: serious
Tags: upstream patch
User: debian-perl at lists.debian.org
Usertags: autopkgtest
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=107219

This package fails to build on current sid/amd64:

  #   Failed test 'log -1: died'
  #   at t/24-errors.t line 204.
  #                   'fatal: your current branch 'master' does not have any commits yet at t/24-errors.t line 203.
  # '
  #     doesn't match '(?^:^fatal: bad default revision 'HEAD' )'
  # Looks like you failed 1 test of 65.
  t/24-errors.t .............. 
  1..65
  not ok 1 - log -1: died
  [...]
  Test Summary Report
  -------------------
  t/24-errors.t            (Wstat: 256 Tests: 65 Failed: 1)
    Failed test:  1
    Non-zero exit status: 1

This apparently broke with the git upgrade from 2.5.1-1 to 2.5.3-1. Quoting
 https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.5.2.txt

 * "git init empty && git -C empty log" said "bad default revision 'HEAD'",
   which was found to be a bit confusing to new users.

This is also [rt.cpan.org #107219], which has the attached patch
by Petr Šabata.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Git-Repository-1.315-git-2.5.2-compat.patch
Type: text/x-diff
Size: 1067 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151011/2624668b/attachment.patch>


More information about the pkg-perl-maintainers mailing list