Open dvzrv opened 4 months ago
This is a bug in libgit2 AFAICT, see https://github.com/libgit2/libgit2/pull/5893#issuecomment-2033644738
Hello,
Doing build at FreeBSD with libgit2 1.8.1 and buid fails with:
<snip>
Building native extensions with: '--use-system-libraries'
This could take a while...
ERROR: Error installing rugged-1.7.2.gem:
ERROR: Failed to build gem native extension.
current directory: /wrkdirs/usr/ports/devel/rubygem-rugged/work/stage/usr/local/lib/ruby/gems/3.2/gems/rugged-1.7.2/ext/rugged
/usr/local/bin/ruby32 extconf.rb --use-system-libraries
checking for gmake... no
checking for make... yes
Building Rugged using system libraries.
libgit2 version is not compatible, expected ~> 1.7.0
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
<snip>
Am I missing something here or libgit2 1.8.1 isn't supported yet?
Full log here
Thanks
Thanks
Hi! :wave:
We're currently rebuilding everything against libgit2 1.8 on Arch Linux. With current ruby-rugged 1.7.2 I noticed one test failure when rebuilding:
ruby-rugged-1.7.2-2-x86_64-check.log ruby-rugged-1.7.2-2-x86_64-build.log