• Weird update error for ocaml-biniou and ocaml-yojson


    So I got this error tonight while applying updates:

    Synchronizing package databases…
    Refreshing antergos.db…
    Refreshing antergos.files…
    Starting full system upgrade…

    Preparing…

    Building ocaml-biniou…
    Cloning into ‘ocaml-biniou’…
    remote: Counting objects: 35, done.
    remote: Compressing objects: 100% (33/33), done.
    remote: Total 35 (delta 15), reused 12 (delta 2)
    Unpacking objects: 100% (35/35), done.
    ==> Making package: ocaml-biniou 1.2.0-1 (Thu Jan 25 22:21:15 EST 2018)
    ==> Checking runtime dependencies…
    ==> Checking buildtime dependencies…
    ==> Retrieving sources…
    -> Downloading v1.2.0.tar.gz…
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 122 0 122 0 0 122 0 --:–:-- --:–:-- --:–:-- 592
    100 23611 100 23611 0 0 23611 0 0:00:01 --:–:-- 0:00:01 23611
    ==> Validating source files with sha256sums…
    v1.2.0.tar.gz … Passed
    ==> Extracting sources…
    -> Extracting v1.2.0.tar.gz with bsdtar
    ==> Starting build()…
    ocamldep bin/bdump.depends.ocamldep-output
    ocamldep src/biniou.dependsi.ocamldep-output
    ocamldep src/biniou.depends.ocamldep-output
    ocamlc src/bi_util.{cmi,cmti}
    ocamlc src/bi_share.{cmi,cmti}
    ocamlc src/bi_stream.{cmi,cmti}
    ocamlc src/bi_dump.{cmi,cmo,cmt}
    ocamlc src/bi_share.{cmo,cmt}
    ocamlc src/bi_inbuf.{cmi,cmti}
    ocamlc src/bi_util.{cmo,cmt}
    ocamlc src/bi_outbuf.{cmi,cmti}
    ocamlc src/bi_stream.{cmo,cmt}
    ocamlc src/bi_inbuf.{cmo,cmt}
    ocamlopt src/bi_util.{cmx,o}
    ocamlc src/bi_outbuf.{cmo,cmt}
    ocamlopt src/bi_dump.{cmx,o}
    ocamlopt src/bi_stream.{cmx,o}
    ocamlc src/bi_vint.{cmi,cmti}
    ocamlc src/bi_io.{cmi,cmti}
    ocamlc src/bi_vint.{cmo,cmt}
    ocamlopt src/bi_share.{cmx,o}
    ocamlc bin/bdump.{cmi,cmo,cmt}
    ocamlopt src/bi_inbuf.{cmx,o}
    ocamlopt src/bi_outbuf.{cmx,o}
    ocamlc src/bi_io.{cmo,cmt} (exit 2)
    (cd _build/default && /usr/bin/ocamlc.opt -safe-string -g -bin-annot -I /usr/lib/ocaml/easy-format -no-alias-deps -I src -o src/bi_io.cmo -c -impl src/bi_io.ml)
    File “src/bi_io.ml”, line 1:
    Error: /usr/lib/ocaml/easy-format/easy_format.cmi
    is not a compiled interface for this version of OCaml.
    It seems to be for an older version of OCaml.
    make: *** [Makefile:2: all] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting…

    It looks like they’re both in the AUR and I’m not sure what packages I installed rely on them. Pacman -Qi for both gives me this:

    Name : ocaml-yojson
    Version : 1.3.3-2
    Description : An optimized parsing and printing library for JSON
    Architecture : x86_64
    URL : https://github.com/mjambon/yojson
    Licenses : BSD
    Groups : None
    Provides : None
    Depends On : ocaml-biniou ocaml-easy-format
    Optional Deps : None
    Required By : gapi-ocaml
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 8.51 MiB
    Packager : Unknown Packager
    Build Date : Sun 14 Jan 2018 07:23:42 PM EST
    Install Date : Sun 14 Jan 2018 07:23:42 PM EST
    Install Reason : Installed as a dependency for another package
    Install Script : No
    Validated By : None

    Name : ocaml-biniou
    Version : 1.0.12-1
    Description : A binary data serialization format inspired by JSON
    Architecture : x86_64
    URL : https://github.com/mjambon/biniou
    Licenses : BSD
    Groups : None
    Provides : None
    Depends On : glibc
    Optional Deps : None
    Required By : ocaml-yojson
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 3.36 MiB
    Packager : Unknown Packager
    Build Date : Sun 14 Jan 2018 07:23:38 PM EST
    Install Date : Sun 14 Jan 2018 07:23:38 PM EST
    Install Reason : Installed as a dependency for another package
    Install Script : No
    Validated By : None

    pacman -Sii for both says the packages can’t be found. How can I tell what program needs these two packages or what got them installed? (But I don’t think they’re installed since Sii says the packages can’t be found?!

    PS I’m a newbie so wasn’t sure if I should post here or the newbie section. Figured here since it’s related to a package update problem.

  • @roadhazard said in Weird update error for ocaml-biniou and ocaml-yojson:

    gapi-ocaml

    http://gapi-ocaml.forge.ocamlcore.org/

    But you will need to remember what for you needed them… or be a bad guy and simple remove them with:

    sudo pacman -Rsnc ... if you do notsay yes it will show everything it want to remove ;)

error297 weird14 ocaml-biniou1 ocaml-yojson1 Posts 2Views 293
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.