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 .. 9 Next › Last »

galacta_dm commented on 2021-07-05 13:01 (UTC) (edited on 2021-07-05 13:05 (UTC) by galacta_dm)

@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 (UTC)

I have the same error

Wodger commented on 2021-06-27 00:35 (UTC)

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 (UTC)

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 (UTC)

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

Mr.E commented on 2019-12-04 17:15 (UTC) (edited on 2019-12-04 17:15 (UTC) by Mr.E)

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 (UTC)

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

kureta commented on 2019-09-30 12:48 (UTC)

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 (UTC)

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