@john89 Your suspicion is correct. This is a common issue where something upstream was updated and all dependencies must be rebuilt against the new version. You can automate this with `pacman -Rs google-drive-ocamlfuse; yaourt -S --noconfirm google-drive-ocamlfuse`.
Search Criteria
Package Details: gapi-ocaml 0.4.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gapi-ocaml.git (read-only, click to copy) |
---|---|
Package Base: | gapi-ocaml |
Description: | A simple OCaml client for Google Services. |
Upstream URL: | https://astrada.github.io/gapi-ocaml/ |
Keywords: | api gapi google ocaml |
Licenses: | MIT |
Submitter: | whynothugo |
Maintainer: | pricechrispy |
Last Packager: | pricechrispy |
Votes: | 46 |
Popularity: | 0.000000 |
First Submitted: | 2013-07-08 03:56 (UTC) |
Last Updated: | 2024-02-26 02:52 (UTC) |
Dependencies (9)
- camlp-streams
- cppoAUR
- ocaml
- ocaml-cryptokitAUR
- ocaml-curlAUR
- ocaml-findlib
- ocaml-yojsonAUR (ocaml-yojson-gitAUR, ocaml-yojsonAUR)
- dune (make)
- ocaml-ounitAUR (make)
Required by (2)
Sources (1)
nerflad commented on 2017-08-17 08:44 (UTC) (edited on 2017-08-17 08:54 (UTC) by nerflad)
john89 commented on 2017-08-16 17:50 (UTC)
Even though I installed gapi-ocaml 0.3.4 successfully in the past, the build process now fails for me. I think this happens because ocaml dependencies were updated, and that broke things, but I'm not sure which ones. I think this is the reason why building google-drive-ocamlfuse fails as well.
Can anyone point me in the right direction on how to solve this?
This is the error I get:
Error: The files /usr/lib/ocaml/pervasives.cmi
and /usr/lib/ocaml/curl/curl.cmi make inconsistent assumptions
over interface Pervasives
Command exited with code 2.
Compilation unsuccessful after building 8 targets (0 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' src/gapi/gapi-ocaml.cma src/gapi/gapi-ocaml.cmxa src/gapi/gapi-ocaml.a src/gapi/gapi-ocaml.cmxs src/gdata/gdata.cma src/gdata/gdata.cmxa src/gdata/gdata.a src/gdata/gdata.cmxs -tag debug' terminated with error code 10")
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gapi-ocaml.
nerflad commented on 2017-06-04 18:21 (UTC)
@pricechrispy thanks for the ping. I have updated as well.
pricechrispy commented on 2017-06-03 18:49 (UTC)
@nerflad You may have been right, or ahead of time, as the author switched to github.io for the project page of google-drive-ocamlfuse, effectively abandoning the old project site.
New project page: https://astrada.github.io/google-drive-ocamlfuse/
Ubuntu build versions: https://launchpad.net/~alessandro-strada/+archive/ubuntu/ppa
Commit: https://github.com/astrada/google-drive-ocamlfuse/commit/a2d88f711ca47e12bac34c3a8390b8c691935d99
While they have not seemed to do the same for gapi-ocaml, I think it's safe to update to the new launchpad release versions considering it hosts gapi-ocaml with google-drive-ocamlfuse.
Just an FYI, as I have updated google-drive-ocamlfuse to reflect this change.
nerflad commented on 2017-01-26 09:03 (UTC)
@pricechrispy You are so right. Thanks for the clarification. Updated (downdated?) to 0.3.1.
pricechrispy commented on 2017-01-26 08:43 (UTC)
@nerflad If you check the project landing page http://gapi-ocaml.forge.ocamlcore.org/, the latest releases are posted to https://forge.ocamlcore.org/projects/gapi-ocaml/, which seems to have 0.3.1 as the latest release. Thanks for updating it!
nerflad commented on 2017-01-26 08:23 (UTC)
@pricechrispy Thanks, sorry this is my first package. I'll try not to pollute the commit history any further. As far as I can tell on https://github.com/astrada/gapi-ocaml/releases 0.3.3 is the most recent release. There are no tags for Stable vs Unstable (unless I'm missing something), but I did notice the previous version used by this package (0.2.14) was tagged "Pre-release".
pricechrispy commented on 2017-01-26 08:06 (UTC)
@nerflad Thanks! Also update .SRCINFO with the changes. However, I think 0.3.1 is the latest stable release in upstream.
nerflad commented on 2017-01-26 07:59 (UTC)
Adopted, updated to 0.3.3 and added ocamlbuild to makedepends.
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.