Bug#1084214: libgit-raw-perl: FTBFS with libgit2 1.8.2~rc1: t/17-filter.t fails

Niko Tyni ntyni at debian.org
Mon Oct 14 19:37:34 BST 2024


Control: tag -1 patch

On Sun, Oct 06, 2024 at 08:34:31PM +0200, gregor herrmann wrote:
> Source: libgit-raw-perl
> Version: 0.90+ds-2
> Severity: serious
> Tags: ftbfs trixie sid
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: libgit2 at packages.debian.org
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> libgit2 was updated to 1.8.2~rc1+ds-2 in unstable. During the binNMU
> libgit-raw-perl failed:
> 
> https://buildd.debian.org/status/logs.php?pkg=libgit-raw-perl&ver=0.90%2Bds-2%2Bb3
> 
> #   Failed test at t/17-filter.t line 148.
> #                   'no error at t/17-filter.t line 147'
> #     doesn't match '(?^:Throwing an exception here!)'
> # Looks like you failed 1 test of 38.

I think (but didn't verify) that this broke with

  https://github.com/libgit2/libgit2/commit/3618a2aa45893a88fbb2d1e0eb97d530c7dc4f4d

Looks like S_git_check_error() needs to adapt.

Patch attached, this makes the test pass for me.
-- 
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-S_git_check_error-adapt-to-libgit2-1.8.0-change.patch
Type: text/x-diff
Size: 940 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20241014/d250d2a1/attachment.patch>


More information about the pkg-perl-maintainers mailing list