You should also set in the PKBUILD that ocamlbuild is a makedependancy.
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)
milouse commented on 2017-01-13 08:34 (UTC)
valentin.brasov commented on 2015-12-24 17:17 (UTC) (edited on 2015-12-24 17:33 (UTC) by valentin.brasov)
Hi,
I get this now (and I have ocaml-biniou installed):
<code>
+ /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cryptokit -package curl -package extlib -package netstring -package str -package yojson -I src/gapi -o src/gapi/gapiCurl.cmi src/gapi/gapiCurl.mli
File "src/gapi/gapiCurl.mli", line 1:
Error: The files /usr/lib/ocaml/pervasives.cmi
and /usr/lib/ocaml/curl/curl.cmi make inconsistent assumptions
over interface CamlinternalFormatBasics
Command exited with code 2.
Compilation unsuccessful after building 8 targets (0 cached) in 00:00:01.
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.
</code>
berbigou commented on 2015-08-13 12:48 (UTC) (edited on 2015-12-21 17:57 (UTC) by berbigou)
packages ocaml-curl and ocaml-extlib not found in AUR for me ...
Edit: fixed
(if you have problems compiling, try installing ocaml-biniou which is only 'make-depend' of ocaml-yojson, but should be in 'depend')
lesebas commented on 2014-10-13 06:40 (UTC)
@valentin.brasov :
Unfortunately I did not notice which packages I had to recompile manually. The only way now for you is to do the job again and notify the package maintener by yourself.
valentin.brasov commented on 2014-10-12 14:54 (UTC)
@lesebas,
I am getting as well the "It seems to be for an older version of OCaml." error.
The problem with the old version of OCaml is NOT SOLVED the way you said: as an user I do not want to have to have to MANUALLY compile packages. Instead I want to get normally updates from AUR using yauourt-gui. So, could you please do what hobarrera suggested: notify the managers of all packages that need to be recompiled so that they push new packages in AUR.
Thank you.
allencch commented on 2014-10-01 02:33 (UTC)
ocaml-biniou is required.
whynothugo commented on 2014-09-15 01:24 (UTC)
@lesebas: You should notify the maintainer of all those packages to push the pkgrel, so AUR helper will rebuild them automatically.
lesebas commented on 2014-09-12 18:03 (UTC)
Pb solved : In fact I had to recompile all packages (in the order of dependence) as the package Ocaml have been updated on extra repository!
lesebas commented on 2014-09-11 20:05 (UTC)
Can't compile this package :
File "src/gapi/gapiPipe.mli", line 1:
Error: /usr/lib/ocaml/netstring/netchannels.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
Command exited with code 2.
Compilation unsuccessful after building 11 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")
I've tried (successfully) to reinstall ocaml and ocaml-curl but it doesn't help me!
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.