Package Details: gapi-ocaml 0.4.5-1

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)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

Kunda commented on 2018-12-17 00:29 (UTC)

The build is not broken. Looks like ocamlnet and extlib need to be recompiled on your system.

@nerflab sorry for being a newb but how do I tell pacman to rebuild said packages?

gudwin commented on 2018-12-07 14:07 (UTC)

I always get trouble with these ... for some reason, when ocaml is upgraded, ocaml-curl, ocaml-xmlm ocaml-yojson and many other derived packages are not recompiled, and this error appears for all of them. The process of fixing all these errors is tedious and must be made manually. There might be a way of forcing them to being recompiled ?

nerflad commented on 2018-12-06 00:12 (UTC)

@Kunda: The build is not broken. Looks like ocamlnet and extlib need to be recompiled on your system.

Kunda commented on 2018-12-05 17:04 (UTC)

Build breaks

==> Validating source files with sha256sums...
    v0.3.9.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.3.9.tar.gz with bsdtar
==> Starting build()...
      ocamlc src/gapi/.gapi_ocaml.objs/gapiCore.{cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -intf-suffix .ml -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiCore.cmo -c -impl src/gapi/gapiCore.ml)
File "src/gapi/gapiCore.ml", line 1:
Error: /usr/lib/ocaml/extlib/extString.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiDate.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiDate.cmi -c -intf src/gapi/gapiDate.mli)
File "src/gapi/gapiDate.mli", line 1:
Error: /usr/lib/ocaml/netstring/netdate.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiPipe.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiPipe.cmi -c -intf src/gapi/gapiPipe.mli)
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.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiAuthResponse.{cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -intf-suffix .ml -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiAuthResponse.cmo -c -impl src/gapi/gapiAuthResponse.ml)
File "src/gapi/gapiAuthResponse.ml", line 1:
Error: /usr/lib/ocaml/extlib/option.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiUtils.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiUtils.cmi -c -intf src/gapi/gapiUtils.mli)
File "src/gapi/gapiUtils.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.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiCurl.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiCurl.cmi -c -intf src/gapi/gapiCurl.mli)
File "src/gapi/gapiCurl.mli", line 1:
Error: /usr/lib/ocaml/curl/curl.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
    ocamlopt src/gapi/.gapi_ocaml.objs/gapiCore.{cmx,o} (exit 2)
(cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3-23-27-32-33 -g -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -intf-suffix .ml -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiCore.cmx -c -impl src/gapi/gapiCore.ml)
File "src/gapi/gapiCore.ml", line 1:
Error: /usr/lib/ocaml/extlib/extString.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiConfig.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiConfig.cmi -c -intf src/gapi/gapiConfig.mli)
File "src/gapi/gapiConfig.mli", line 1:
Error: /usr/lib/ocaml/curl/curl.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
      ocamlc src/gapi/.gapi_ocaml.objs/gapiMediaResource.{cmi,cmti} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3-23-27-32-33 -g -bin-annot -I src/gapi/.gapi_ocaml.objs -I src/gapi/.gapi_ocaml.objs/.private -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/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -o src/gapi/.gapi_ocaml.objs/gapiMediaResource.cmi -c -intf src/gapi/gapiMediaResource.mli)
File "src/gapi/gapiMediaResource.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.
==> ERROR: A failure occurred in build().
    Aborting...

crabvk commented on 2018-09-23 17:10 (UTC) (edited on 2018-09-23 17:28 (UTC) by crabvk)

jbuilder install from package() stuck at 'Done: 0/0 (jobs: 1)'
Solved by removing ~/.opam/

nerflad commented on 2018-02-04 19:13 (UTC)

@ginoboy: Recompile ocamlnet and that error will go away. Anytime you see that error, run pacman -Qo /usr/lib/ocaml/netstring/netdate.cmi (or whatever the filename is) to see which package needs to be rebuilt.

ginoboy commented on 2018-02-04 13:36 (UTC)

File "src/gapi/gapiDate.mli", line 1: Error: /usr/lib/ocaml/netstring/netdate.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml.

snakeroot commented on 2017-12-21 15:59 (UTC)

@nerflad: 0.3.6-2 works for me (i.e., builds, installs and allows mounting of my Google drive).

Thanks for the quick fix.

nerflad commented on 2017-12-21 02:13 (UTC)

@ginoboy: The build should be working now, skipping the installation of the LICENSE and README.md files fixed it. Thanks for the tip @snakeroot.

ginoboy commented on 2017-12-19 16:59 (UTC)

Creating directory /usr/doc/gapi-ocaml [ERROR] Failure during install

opam-version 1.2.2
os linux

/usr/bin/opam-installer: "mkdir" failed on /usr/doc: Permission denied