Closed hengtseChou closed 3 months ago
I did make sure that libgit2
is installed.
Thanks for the report. Which version of libgit2 is this?
I am guessing that gcc 14 (which was released a few days ago and already seems to be in archlinux) is using some stricter type checking, revealing a bug. I'll look into it asap.
Thanks for the quick response. The version of libgit2 is 1:1.8.0-2.
It looks like this is actually a break in libgit2 1.8.0: https://github.com/libgit2/libgit2/issues/6793
This might explain why most distros (debian/homebrew/fedora) are staying with libgit2 1.7.2 for now. There are some discussions here: https://github.com/Homebrew/homebrew-core/pull/166767#issuecomment-2049709027
As a temporary workaround you can try to uninstall the libgit2 from your machine, in which case gert will try to download a compatible libgit2 version at install time.
I downgraded libgit2 to 1.7.2 and this time gert compiled with no issue. Thank you.
I've encountered this issue too (also under Arch Linux) and downgrading to libgit-1.7.2
worked for me until recently when I needed to upgrade it since libgit
is a dependency of other programmes on my system. I've encountered the same under Gentoo too (no surprise that this crops up on rolling release distros!).
It looks like a workaround is coming soon with #216 and release 2.0.2 which is great.
Thanks for all the hard work on this and other libraries, very much appreciated.
fyi, homebrew has shipped libgit2 1.8.0
Thanks. I have submitted an update for gert
to CRAN, so it should be available soon.
A patch release gert 2.1.0 is now on CRAN.
I am running R on arch-based linux and cannot install the gert package. The error code is listed below. I am not sure is the r version or the compiler causing this issue, since I installed them successfully before. Thank you.