Macchina-CLI / macchina

A system information frontend with an emphasis on performance.
https://crates.io/crates/macchina
MIT License
1.41k stars 51 forks source link

[BUG] Build failed with libgit2 1.6.4 on Arch Linux #288

Closed zjuyk closed 1 year ago

zjuyk commented 1 year ago

Describe the bug The latest version of libgit2 is 1.6.4 on Arch Linux. macchina use git2 0.14.4, which requires libgit2 1.4. There could be a break change that leads to failure during package building.

To Reproduce Steps to reproduce the behavior:

  1. Latest Arch Linux with libgit2 1.6.4
  2. Use pkgbuild in AUR

Details Please see the pb. https://fars.ee/xUcS

System Information

zjuyk commented 1 year ago

You can see the relationship of libgit2 and crates git2 here.

zjuyk commented 1 year ago

I finally found the bug. Arch Linux devtools enable lto by default, which leads to build failure.