Bug 280711 - devel/rubygem-rugged: Fails to build with libgit2 1.8.1
Summary: devel/rubygem-rugged: Fails to build with libgit2 1.8.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks: 280685
  Show dependency treegraph
 
Reported: 2024-08-09 15:11 UTC by Nuno Teixeira
Modified: 2024-10-19 11:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mfechner)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Teixeira freebsd_committer freebsd_triage 2024-08-09 15:11:43 UTC
checking for gmake... no
checking for make... yes
Building Rugged using system libraries.
libgit2 version is not compatible, expected ~> 1.7.0

log: https://people.freebsd.org/~eduardo/exp-run/libgit2-181/errors/rubygem-rugged-1.7.2.log

exp-run: https://people.freebsd.org/~eduardo/exp-run/libgit2-181/
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2024-10-19 10:43:21 UTC
Use patch to remove broken libgit2 detection:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-rugged/-/blob/main/ruby-rugged-1.6.2-remove_broken_libgit2_detection.patch?ref_type=heads

doing poudriere testports...
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-10-19 11:09:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=782c642c8a10cdaeff59df09f00990e76d0392d5

commit 782c642c8a10cdaeff59df09f00990e76d0392d5
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-10-19 11:08:21 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-10-19 11:09:23 +0000

    devel/rubygem-rugged: Unbreak with libgit2 1.8.1

    Remove broken libgit2 detection

    PR:             280711

 .../files/patch-ext_rugged_extconf.rb (new)        | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)