74 | Migrate_parsetree.Driver.register ~name:tool ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound module Migrate_parsetree.Driver Done: 18/24 (jobs: 1) Done: 18/24 (jobs: 1) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-20201008-001900 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.47.0 [2] rust-1.47.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.265_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Oct 13 08:05:14 PM UTC 2020 emerge -qpvO dev-ml/ppxfind [ebuild N ] dev-ml/ppxfind-1.4 USE="ocamlopt"
Created attachment 665167 [details] emerge-info.txt
Created attachment 665170 [details] dev-ml:ppxfind-1.4:20201013-203543.log
Created attachment 665173 [details] emerge-history.txt
Created attachment 665176 [details] environment
Created attachment 665179 [details] etc.portage.tbz2
Created attachment 665182 [details] temp.tbz2
Hm. But dev-ml/ocaml-migrate-parsetree is listed as a dependency..
Hi, I looked a little into this and it seems "Driver" was removed (deprecated) from OCaml Migrate Parsetree in July of 2020, in the commit 720054b61830639aeb2dfa2fa0bb8262d3dca6cd <https://github.com/ocaml-ppx/ocaml-migrate-parsetree/commit/720054b61830639aeb2dfa2fa0bb8262d3dca6cd> A quick scan of the tags on its repo (git tag --no-contains 720054b61830639aeb2dfa2fa0bb8262d3dca6cd) suggests that the last version with Driver was 1.8.0, which is the latest in their 1.x series. So this package may need to depend on `<dev-ml/ocaml-migrate-parsetree-2.0.0` for now. However, the older versions of ocaml-migrate-parsetree provided are very old, and rely on jbuilder, which conflicts with dune. What worked for me was copying ocaml-migrate-parsetree into my own overlay, and taking the 2.0.0 release as template, adding the "dev-ml/result:=" dependency back in (from 1.x series), renaming to be 1.8.0 then installing that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e9d4e55ea6307bf56b7e0aea7def28ac61d137 commit 16e9d4e55ea6307bf56b7e0aea7def28ac61d137 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2021-01-09 22:45:09 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2021-01-09 22:45:47 +0000 dev-ml/ppxfind: requiring a previous ocaml-migrate-parsetree Closes: https://bugs.gentoo.org/748552 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-ml/ppxfind/ppxfind-1.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)