@Wodger
I think this is a solution
First, delete /usr/lib/ocaml/cryptokit
Then I edited package() part of PKGBUILD as in https://aur.archlinux.org/packages/ocaml-cryptokit/
package() {
cd cryptokit-release1161
DESTDIR="$pkgdir" dune install --prefix "/usr" --libdir "lib/ocaml" -p cryptokit
install -dm755 "${pkgdir}/usr/share"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share"
}
then I reinstalled ocaml-cryptokit.
After these changes, installation of gapi-ocaml has been done without any errors.
Pinned Comments
nerflad commented on 2019-09-10 10:13 (UTC)
@caseyjp1 It's not a problem with the build. Read the error message. You have updated ocaml since the last time you compiled this package so you need to recompile all the dependencies. Use "pacman -Qo [.cmi filename]" to find which packages to rebuild. Or if you're brave, pacman -Rsc gapi-ocaml && pacman -Sc and start from scratch.