Package Details: gapi-ocaml 0.3.19-2

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.70
First Submitted: 2013-07-08 03:56
Last Updated: 2021-06-24 06:07

Dependencies (9)

Sources (1)

Pinned Comments

nerflad commented on 2019-09-10 10:13

@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

1 2 3 4 5 6 ... Next › Last »

Wodger commented on 2021-07-05 23:44

@Galacta_dm Nice one mate - It's been giving me a bit of a headache (and fiddling around updating other packages using AURutils manually as -u would stop on these packages). For anyone using aurutils, while following the instructions outlined by Galacta_dm, ensure you -Syyy and then reinstall the modified cryptokit package via pacman BEFORE trying to install gapi-ocaml etc, else it will present you with "cryptokit library not found" if you try gapi-ocaml install. After this, Aur sync -u worked like a charm for gapi-ocaml. Thanks again Galacta_dm

galacta_dm commented on 2021-07-05 13:01

@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.

galacta_dm commented on 2021-06-28 06:59

I have the same error

Wodger commented on 2021-06-27 00:35

Fails to build for me:

File "src/gapi/gapiJwtServiceAccount.mli", line 26, characters 34-51: 26 | val parse_private_key : string -> Cryptokit.RSA.key ^^^^^^^^^^^^^^^^^ Error: Unbound module Cryptokit File "src/gapi/gapiOAuth1.ml", line 2, characters 8-35: 2 | lazy (Cryptokit.Random.pseudo_rng ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound module Cryptokit ==> ERROR: A failure occurred in build(). Aborting...

Freso commented on 2021-06-17 09:52

Please rename the source file so that it is unique. See the warning at https://wiki.archlinux.org/title/PKGBUILD#source for details.

nerflad commented on 2019-12-10 03:31

@Mr.E: please see previous (pinned) comment related to this error.

Mr.E commented on 2019-12-04 17:15

Throws this errors even after reinstalling ocaml

    ==> Starting build()...
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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...
    Error making: gapi-ocaml

nerflad commented on 2019-10-04 21:08

@kureta: please read previous comments related to this error.

kureta commented on 2019-09-30 12:48

Build fails with the following

==> Starting build()...
File "src/gapi/gapiDate.ml", line 1:
Error: The files /usr/lib/ocaml/netstring/netdate.cmi
       and /usr/lib/ocaml/unix.cmi make inconsistent assumptions
       over interface Stdlib__bigarray
File "src/gapi/gapiUtils.mli", line 1:
Error: The files /usr/lib/ocaml/stdlib__bigarray.cmi
       and /usr/lib/ocaml/netstring/netchannels.cmi
       make inconsistent assumptions over interface Stdlib__bigarray
File "src/gapi/gapiCurl.mli", line 1:
Error: The files /usr/lib/ocaml/curl/curl.cmi
       and src/gapi/.gapi_ocaml.objs/byte/gapiCore.cmi
       make inconsistent assumptions over interface Stdlib__bigarray
File "src/gapi/gapiConfig.mli", line 1:
Error: The files /usr/lib/ocaml/curl/curl.cmi
       and src/gapi/.gapi_ocaml.objs/byte/gapiCore.cmi
       make inconsistent assumptions over interface Stdlib__bigarray
File "src/gapi/gapiMediaResource.mli", line 1:
Error: The files /usr/lib/ocaml/stdlib__bigarray.cmi
       and /usr/lib/ocaml/netstring/netchannels.cmi
       make inconsistent assumptions over interface Stdlib__bigarray
File "src/gapi/gapiJson.mli", line 1:
Error: The files src/gapi/.gapi_ocaml.objs/byte/gapiCore.cmi
       and src/gapi/.gapi_ocaml.objs/byte/gapiDate.cmi
       make inconsistent assumptions over interface Stdlib__bigarray
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gapi-ocaml

nerflad commented on 2019-09-18 00:39

Updated to 0.3.15. google-drive-ocamlfuse should be working again. Report any issues.