You are not logged in.
Hi,
Summary: Can't recompile google-drive-ocamlfuse due to the error seen here:
▶ makepkg -sri
==> Making package: google-drive-ocamlfuse 0.6.25-1 (Mon 09 Jul 2018 07:42:42 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v0.6.25.tar.gz
==> Validating source files with sha256sums...
v0.6.25.tar.gz ... Passed
==> Extracting sources...
-> Extracting v0.6.25.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
ocamlc src/state.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-58 -g -bin-annot -I /usr/lib/ocaml -I /usr/lib/ocaml/Fuse -I /usr/lib/ocaml/biniou -I /usr/lib/ocaml/bytes -I /usr/lib/ocaml/cryptokit -I /usr/lib/ocaml/curl -I /usr/lib/ocaml/easy-format -I /usr/lib/ocaml/extlib -I /usr/lib/ocaml/gapi-ocaml -I /usr/lib/ocaml/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/sqlite3 -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -I src -o src/state.cmo -c -impl src/state.ml)
File "src/state.ml", line 1:
Error: The files /usr/lib/ocaml/gapi-ocaml/gapiUtils.cmi
and /usr/lib/ocaml/netstring/netdate.cmi make inconsistent assumptions
over interface Netsys_types
==> ERROR: A failure occurred in build().
Aborting...I've tried recompiling gapi-ocaml and ocamlnet. While those both compiled successfully, I was unable to then compile google-drive-ocamlfuse, running into the same issue seen above.
One comment in the AUR google-drive-ocamlfuse repo suggested:
One more issue: the dependency ocamlnet does not build either. According to the AUR comment of 11/27/2017 it requires a downgrade of the the nettle package to 3.3.1
I was able to build ocamlnet successfully, so I don't see the need to follow this advice. I figured I would try it since nothing else was working, but I don't know how to downgrade that package, nor could I locate that package (currently assuming it is part of ocamlnet, but did not see it listed in the src files on the github upstream).
Thank you for any advice, and as always, I hope this is the right place to post this!
Disclaimer: I've searched the forums, AUR comments, and Wiki with no success and am doing my best to recant what I've tried.
Last edited by Patch2 (2018-07-15 01:55:24)
Offline
Check https://aur.archlinux.org/packages/goog … mlfuse-git .
There'a link to a working PKGBUILD for the git version that is confirmed to work about a month ago.
If you do n't want to run a git version, it may help to figure out what needs to be adjusted in the stable version PKGBUILD.
Last edited by Lone_Wolf (2018-07-10 12:23:07)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Package builds on this system without error after building all dependencies.
Offline
Thanks for the replies. Between work I've been reading through the makepkg and PKGBUILD wikis since it's my first time diving that deep. I've found the PKGBUILD suggested by Lone_Wolf and plan to try that after I get a grip on jbuilder (primary builder in that PKGBUILD file).
loqs: You're running the latest build? How do I get back to a fresh state to start from scratch? Remove all ocaml packages with `pacman -R *ocaml*`, re-clone the repos, and makepkg -sri in each dependency? (Or just Yaourt?). Thanks for testing it for me. The related issues I see typically state to rebuild one of the packages, but that hasn't worked for me so far. I'm not running any other ocaml programs, so it's okay to wipe any of their packages.
Offline
As I was cleaning up I removed ocmal which I expected would remove everything but ocaml-sqlite3 ocaml-zarith ocamlnet were left.
Offline
Not sure how to mark as solved, but I removed all ocaml packages and rebuilt. It works. Thanks for the help.
Offline