Closed mauny closed 6 years ago
The rpm -q
comes from this issue: https://github.com/ocaml/opam-depext/issues/9
I'm not sure how to fix that properly. I'll dig into that.
I hit the same issue. Alternative solution to removing that check, is to use rpm -q --whatprovides
instead of rpm -q
.
Fedora 26 uses
pkgconf-pkg-config
as an alternative topkgconfig
, as mentioned here.When
depext
needs to install or checkpkgconfig
on F26, it fails even thoughyum
correctly installspkgconf-pkg-config
in lieu ofpkgconfig
: the test used after installation (rpm -q pkgconfig
) fails.According to file
depext.ml
(line 214), Fedora seems to be the only distribution for whichdepext
double-checks (yum install -y
, thenrpm -q
) that the package installation has been successful.Yet, if installation fails,
yum install
returns a non-zero status, which should be sufficient. Unless I am missing something, a simple fix could be to suppress the call torpm -q
.