Package Details: ocaml-ppx_deriving 1:6.0.3-1

Git Clone URL: https://aur.archlinux.org/ocaml-ppx_deriving.git (read-only, click to copy)
Package Base: ocaml-ppx_deriving
Description: Type-driven code generation for OCaml
Upstream URL: https://github.com/ocaml-ppx/ppx_deriving
Keywords: deriving generation generator library ocaml plugins type
Licenses: MIT
Submitter: J5lx
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 1
Popularity: 0.000000
First Submitted: 2016-02-06 01:59 (UTC)
Last Updated: 2024-10-08 18:56 (UTC)

Pinned Comments

dpeukert commented on 2024-03-18 17:38 (UTC)

@J5lx: 5.3.0 hasn’t been pushed to the opam repository and will be rereleased at some point to fix breaking changes (https://github.com/ocaml/opam-repository/pull/25458#issuecomment-1993894157), so I’m ignoring it for now.

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

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

Latest Comments

J5lx commented on 2024-03-18 17:40 (UTC)

Hadn’t seen that, thanks!

dpeukert commented on 2024-03-18 17:38 (UTC)

@J5lx: 5.3.0 hasn’t been pushed to the opam repository and will be rereleased at some point to fix breaking changes (https://github.com/ocaml/opam-repository/pull/25458#issuecomment-1993894157), so I’m ignoring it for now.

dpeukert commented on 2022-08-11 08:54 (UTC)

After the 4.14.0 rebuild, this package now builds again.

dpeukert commented on 2022-06-16 16:19 (UTC) (edited on 2022-06-16 16:19 (UTC) by dpeukert)

This currently doesn't build due to a package in the main repos that hasn't been rebuilt, bug filed: https://bugs.archlinux.org/task/75091

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

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

catalin.hritcu commented on 2018-10-06 15:02 (UTC)

@J5lx Many thanks for the help. Rebuilding cppo indeed helped with getting ocaml-ppx_deriving to build. For future reference, here are the magic commands I needed to run to get the cppo PKGBUILD and then install from that:

$ git clone https://git.archlinux.org/svntogit/community.git --single-branch -b packages/cppo
$ cd community/repos/community-x86_64
$ makepkg
$ pacman -U cppo-1.6.4-1-x86_64.pkg.tar.xz

J5lx commented on 2018-10-06 14:12 (UTC)

Sorry for the wait. This package does support OCaml 4.07, however, as suggested by the error message you got, the current cppo package in community has not yet been compiled against that version of OCaml, causing the compilation of this package to fail. I have reported this issue on the Arch bug tracker, see FS#60325 for the current status. Once that issue gets fixed, this package should build again. In the meantime, you can attempt to recompile cppo yourself, however be aware that the installation routine is seemingly out-of-date and broken right now after changes in the dune build system.

catalin.hritcu commented on 2018-09-07 08:40 (UTC)

Or could it be that this package doesn't yet support OCaml 4.07.0? It's the default in arch now, and does seem supported by ppx_deriving on opam: https://opam.ocaml.org/packages/ppx_deriving/

catalin.hritcu commented on 2018-09-07 08:21 (UTC) (edited on 2018-09-07 08:22 (UTC) by catalin.hritcu)

Probably something is messed up on my system, since I'm getting the following error when trying to build:

+ ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package cppo_ocamlbuild myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: /usr/lib/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.

I'm using the default ocaml-4.07.0-1, ocamlbuild-0.12.0-3, and cppo-1.6.4-1 packages. Any advice?