• Updating the ppx stack in Debian

    From julien.puydt@gmail.com@21:1/5 to All on Tue Aug 16 00:40:01 2022
    Hi,

    I wanted to update ppxlib to a more recent version. It turned out a
    bigger endeavour than expected.

    There are a few repositories where I don't seem to be allowed to push (something about protected branches), so I probably won't be able to
    help more than that, but it should already be much easier with the
    information below:

    ** packaging: ocaml-sexplib0
    new version 0.15.1
    ** packaging: ppxlib
    new version 0.27.0
    ** packaging: janest-base
    new version 0.15.0 - d/watch needs fixing
    ** compilation: ocaml-sedlex
    new version 3.0
    ** packaging: ocaml-stdio
    new version 0.15.0 - d/watch needs fixing
    ** packaging: ppx-sexp-conv
    new version 0.15.1
    ** recompilation:
    fieldslib, lwt, ocaml-bitstring, ocaml-parsexp, ocaml-sedlex,
    ocaml-stdio, ppx-compare, ppx-deriving, ppx-here, variantslib
    ** packaging: ppx-import
    new version 1.10.0
    ** broken: elpi (upstream knows, no fix yet)
    ** packaging: sexplib310
    new version 0.15.1 - d/watch needs fixing
    ** recompilation:
    ocaml-uri, ocaml-visitors, ppx-custom-printf, ppx-fields-conv,
    ppx-optcomp, ppx-variants-conv, lwt-log, lwt-ssl, mlpost, ocurl
    ** packaging: obus
    new version 1.2.4 - d/watch needs fixing and upstream commit
    77e1be9f4ec630908a339fd614e416d0dbd77cf5 is needed for recent
    ppxlib support (see PS)
    ** recompilation:
    bin-prot, js-of-ocaml, ocaml-cstruct
    ** recompilation:
    ocaml-ipaddr, ppx-bin-prot, ocaml-asn1-combinators, ocaml-eqaf,
    ocaml-hex, ocaml-logs
    ** recompilation:
    ocaml-mirage-crypto, pgocaml
    ** recompilation:
    ocaml-pbkdf
    ** recompilation:
    ocaml-x509
    ** recompilation:
    ocaml-ca-certs
    ** recompilation:
    ocaml-conduit
    ** packaging
    ocaml-cohttp needs to be patched so libcohttp-lwt-unix-ocaml(-dev)
    depends on libppx-sexp-conv-ocaml(-dev) -- for some reason
    ${ocaml:Depends} doesn't add it like it should, and it breaks
    ocsigenserver.
    ** recompilation:
    ocsigenserver
    ** recompilation
    ocsipersist
    ** recompilation:
    eliom

    Cheers,

    J.Puydt

    PS: patch for obus:

    cat fix_newer_ppxlib.patch
    Description: compile with a newer ppxlib
    Author: Sonja Heinze
    Forwarded: upstream 77e1be9f4ec630908a339fd614e416d0dbd77cf5

    --- obus.orig/src/ppx/ppx_obus.ml
    +++ obus/src/ppx/ppx_obus.ml
    @@ -42,7 +42,7 @@
    in ()
    ] in
    (match exn.ptyexn_constructor.pext_kind with
    - | Pext_decl (Pcstr_tuple [typ], None) ->
    + | Pext_decl (_, Pcstr_tuple [typ], None) ->
    Some (registerer typ)
    | _ ->
    Location.raise_errorf ~loc:pstr_loc

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)