Package Details: ocaml-bin_prot 1:0.17.0.1-1

Git Clone URL: https://aur.archlinux.org/ocaml-bin_prot.git (read-only, click to copy)
Package Base: ocaml-bin_prot
Description: A binary protocol generator
Upstream URL: https://github.com/janestreet/bin_prot
Keywords: binary converter generate generation generator library ocaml protocol safe type
Licenses: MIT AND BSD-3-Clause
Submitter: nextAaron
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 1
Popularity: 0.000000
First Submitted: 2013-03-31 09:28 (UTC)
Last Updated: 2025-06-01 22:25 (UTC)

Pinned Comments

dpeukert commented on 2020-04-09 22:10 (UTC) (edited on 2020-09-26 18:09 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-bin_prot

Latest Comments

meadow commented on 2025-07-03 18:01 (UTC)

That makes a lot of sense. Thanks for the explanation!

dpeukert commented on 2025-07-03 17:55 (UTC)

@meadow: I could, but some people have complained before that this forces rebuilds even for people running versions of ocaml other than the current one in the main repos. Also, ocaml is really picky about the rebuild order, so bumping the pkgrel is usually not enough to fix everything by itself. When an ocaml update happens, I usually just get rid of all ocaml packages and install them from scratch, as it's quicker than resolving the conflicts one by one (this is of course not ideal if you're constrained by bandwidth and/or compute).

meadow commented on 2025-07-03 17:44 (UTC)

Thanks for the quick reply! Rebuilding did the trick. Could you bump the pkgver ? :)

dpeukert commented on 2025-07-02 20:28 (UTC)

@meadow: I was able to build the package without any issues, your problem seems to be caused by ocaml-ppxlib_jane being built with an older version of ocaml-ppxlib, therefore causing their interfaces to be incompatible with each other. Rebuilding ocaml-ppxlib_jane should hopefully fix this.

meadow commented on 2025-07-02 08:45 (UTC)

Build fails on an up-to-date system

...
$ (cd _build/default && /usr/bin/ocamlopt.opt -g -w -24 -o .ppx/91211ff57c3daea021b2bd5c845a901c/ppx.exe /usr/lib/ocaml/base/base_internalhash_types/base_internalhash_types.cmxa -I /usr/lib/ocaml/base/base_internalhash_types /usr/lib/ocaml/sexplib0/sexplib0.cmxa /usr/lib/ocaml/base/shadow_stdlib/shadow_stdlib.cmxa /usr/lib/ocaml/ocaml_intrinsics_kernel/ocaml_intrinsics_kernel.cmxa -I /usr/lib/ocaml/ocaml_intrinsics_kernel /usr/lib/ocaml/base/base.cmxa -I /usr/lib/ocaml/base /usr/lib/ocaml/compiler-libs/ocamlcommon.cmxa /usr/lib/ocaml/ocaml-compiler-libs/common/ocaml_common.cmxa /usr/lib/ocaml/ppxlib/astlib/astlib.cmxa /usr/lib/ocaml/ppxlib/ast/ppxlib_ast.cmxa /usr/lib/ocaml/ocaml-compiler-libs/shadow/ocaml_shadow.cmxa /usr/lib/ocaml/ppxlib/print_diff/ppxlib_print_diff.cmxa /usr/lib/ocaml/ppx_derivers/ppx_derivers.cmxa /usr/lib/ocaml/ppxlib/traverse_builtins/ppxlib_traverse_builtins.cmxa /usr/lib/ocaml/ppxlib/stdppx/stdppx.cmxa /usr/lib/ocaml/ppxlib/ppxlib.cmxa /usr/lib/ocaml/ppxlib_jane/ppxlib_jane.cmxa /usr/lib/ocaml/ppx_compare/expander/ppx_compare_expander.cmxa /usr/lib/ocaml/ppx_compare/ppx_compare.cmxa /usr/lib/ocaml/stdio/stdio.cmxa /usr/lib/ocaml/ppx_optcomp/ppx_optcomp.cmxa /usr/lib/ocaml/ppxlib/metaquot_lifters/ppxlib_metaquot_lifters.cmxa /usr/lib/ocaml/ppx_sexp_conv/expander/ppx_sexp_conv_expander.cmxa /usr/lib/ocaml/ppx_sexp_conv/ppx_sexp_conv.cmxa .ppx/91211ff57c3daea021b2bd5c845a901c/dune__exe___ppx.cmx)
File "_none_", line 1:
Error: Files /usr/lib/ocaml/ppxlib_jane/ppxlib_jane.cmxa
       and /usr/lib/ocaml/ppxlib/ast/ppxlib_ast.cmxa
       make inconsistent assumptions over interface Ppxlib_ast__Versions
...

dpeukert commented on 2020-04-09 22:10 (UTC) (edited on 2020-09-26 18:09 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-bin_prot