Package Details: ocaml-migrate-parsetree 1.8.0-2

Git Clone URL: https://aur.archlinux.org/ocaml-migrate-parsetree.git (read-only, click to copy)
Package Base: ocaml-migrate-parsetree
Description: Convert OCaml parsetrees between different major versions - 1.x.x version
Upstream URL: https://github.com/ocaml-ppx/ocaml-migrate-parsetree
Keywords: convert library ocaml parsetrees version versions
Licenses: custom:LGPL2.1 with linking exception
Submitter: J5lx
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 0
Popularity: 0.000000
First Submitted: 2017-08-01 16:04
Last Updated: 2021-07-31 13:36

Pinned Comments

dpeukert commented on 2020-08-18 13:19

Please don't report this package as outdated, it will stay at 1.8.0 for some time. 2.2.0 is available as ocaml-migrate-parsetree2 and requires patching your ocaml code for now (see its package page for more info).

As there were fairly substantial changes (mostly functionality being removed/moved elsewhere) in 2.0.0, I've chosen this approach in order to not break existing AUR packages. I plan on switching this package to 2.x.x and merging ocaml-migrate-parsetree2 into it once most packages have been updated to work with 2.x.x.

dpeukert commented on 2020-04-09 22:13

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

Latest Comments

1 2 Next › Last »

snakeroot commented on 2020-11-01 18:25

@dpeukert Just retried it and it built fine. Weird. Sorry for the (currently) false alarm.

dpeukert commented on 2020-10-30 18:28

@snakeroot: Huh, weird, I was able to build this package just now without any issues. Can you post the entire build log if possible? Thanks

dpeukert commented on 2020-10-30 18:27

@dkvasnicka: This is caused by an update of ocaml causing the code compiled with the previus version to no longer be compatible with the newly compiled code. Reinstalling ocaml-ppx_derivers (and any other packages ocaml complains about not being consistent) should fix this.

snakeroot commented on 2020-10-24 22:41

ocaml-migrate-parsetree 1.8.0-1 build fails with:

Error: Files src/.migrate_parsetree.objs/native/migrate_parsetree_driver.cmx b and src/.migrate_parsetree.objs/native/migrate_parsetree__Migrate_parsetree_driver.cmx make inconsistent assumptions over implementation Migrate_parsetree__Migrate_parsetree_driver

In contrast to the usual errors between packages indicating that links in the dependency chain need to be rebuilt, this is an error within the package.

Rebuilt and reinstalled ocaml-ppx_derivers before this compile attempt.

dkvasnicka commented on 2020-10-24 15:48

Getting File "src/migrate_parsetree_driver.pp.ml", line 1: Error: /usr/lib/ocaml/ppx_derivers/ppx_derivers.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml.

when updating to the latest version.

chrisqq commented on 2020-08-18 19:58

@dpeukert you sir are a Golden God. Your suggestion on reinstalling (and therefore recompiling) the dependencies not only solved my problem here but helped me get another troubling ocaml aur to upgrade that has been bugging, unable to upgrade for a few months now.

dpeukert commented on 2020-08-18 13:19

Please don't report this package as outdated, it will stay at 1.8.0 for some time. 2.2.0 is available as ocaml-migrate-parsetree2 and requires patching your ocaml code for now (see its package page for more info).

As there were fairly substantial changes (mostly functionality being removed/moved elsewhere) in 2.0.0, I've chosen this approach in order to not break existing AUR packages. I plan on switching this package to 2.x.x and merging ocaml-migrate-parsetree2 into it once most packages have been updated to work with 2.x.x.

kureta commented on 2020-04-16 12:08

thanks @dpeukert that solved the issue.

dpeukert commented on 2020-04-15 13:56

@kureta This is caused by an update of ocaml causing the code compiled with the previus version to no longer be compatible with the newly compiled code. I've bumped the pkgrel of all my affected packages, but it looks like your ocaml-ppx_derivers wasn't updated. Reinstalling ocaml-ppx_derivers (and any other packages ocaml complains about not being consistent) should fix this.

kureta commented on 2020-04-13 22:03

Hi! I am getting this error while trying to update this package

$ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -linkall -g -o test/driver/null/ppx.exe -I /usr/lib/ocaml/compiler-libs -I /usr/lib/ocaml/ppx_derivers -I /usr/lib/ocaml/result -I src -I test/driver/ppx1 -I test/driver/ppx2 /usr/lib/ocaml/compiler-libs/ocamlcommon.cmxa /usr/lib/ocaml/result/result.cmxa /usr/lib/ocaml/ppx_derivers/ppx_derivers.cmxa src/migrate_parsetree.cmxa test/driver/ppx1/ppx1.cmxa test/driver/ppx2/ppx2.cmxa test/driver/null/.ppx.eobjs/native/ppx.cmx)
File "_none_", line 1:
Error: Files /usr/lib/ocaml/ppx_derivers/ppx_derivers.cmxa
       and /usr/lib/ocaml/stdlib.cmxa
       make inconsistent assumptions over implementation Stdlib__printf