vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
424 stars 42 forks source link

Update alpm #140

Closed Morganamilo closed 3 years ago

Morganamilo commented 3 years ago

this is intended to be the final interface for alpm. As long as there's nothing wrong found, 1.0.0 will be released with the same interface.

This also adds the generate feature. This causes alpm-sys to generate the raw bindings on the fly.

vn971 commented 3 years ago

@Morganamilo The CI fails at the compilation step. It looks like alpm still tried to find a local pacman installation in order to compile alpm ?

Morganamilo commented 3 years ago

Alpm has always needed a local Pacman install to build. It just happens your Travis config never actually builds, just runs clippy/check.

With the generate feature though, the build.rs needs alpm installed, so the check fails.

Me advice would be to either run your ci in an archlinux environment like yay does. Or just not use the all features in your travis config.

vn971 commented 3 years ago

(I want to see the upstream (alpm) changes as well, so it might take a bit of time.)

Morganamilo commented 3 years ago

Oh have fun with that. The code is the worst thing I've ever written :P

Morganamilo commented 3 years ago

alpm.rs is now v1.0.1 pr updated.

vn971 commented 3 years ago

Thanks for the PR! Merged

vn971 commented 3 years ago

UPD: I got confused with CI-s state, but restored everything as it was again.