n file included from src/diff.h:34: src/types.h:37:2: error: You need a compatible libgit2 version (1.7.x) 37 | #error You need a compatible libgit2 version (1.7.x) | ^ src/blob.c:171:13: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | git_error_set(GIT_ERROR_OS, "failed to put chunk to queue"); | ^ src/blob.c:180:13: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | git_error_set(GIT_ERROR_OS, "failed to signal queue ready"); | ^ src/blob.c:205:9: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | git_error_set(GIT_ERROR_OS, "failed to signal writer closed"); | ^ src/blob.c:212:9: warning: call to undeclared function 'git_error_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | git_error_set(GIT_ERROR_OS, "failed to signal queue ready"); | ^ 4 warnings and 1 error generated.
Created attachment 252637 [details] Update to 1.15.1 - Switch to pep517 build - Add pytest Notes to self: - testunit OK - builds fine with libgit2 1.8.1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b987f3128e4416cb4458a3d1dfd40b254f06725 commit 9b987f3128e4416cb4458a3d1dfd40b254f06725 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-10-18 14:32:01 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-10-18 18:56:41 +0000 devel/py-pygit2: Update to 1.15.1 - Switch to pep517 build - Add pytest ChangeLog: https://github.com/libgit2/pygit2/blob/master/CHANGELOG.md PR: 280709 Approved by: mfechner devel/py-pygit2/Makefile | 13 +++++-------- devel/py-pygit2/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 11 deletions(-)
Committed, thanks.