36 | let pel = List.map (fun (p, e) -> (p, loop e)) pel in ^^^ Error: This expression has type (MLast.patt * MLast.expr * MLast.attributes) list but an expression was expected of type ('a * MLast.expr) list Type MLast.patt * MLast.expr * MLast.attributes ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-20210220-021637 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [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 Wed Feb 24 01:52:27 UTC 2021 emerge -qpvO app-misc/ledit [ebuild N ] app-misc/ledit-2.04 USE="ocamlopt"
Created attachment 688182 [details] emerge-info.txt
Created attachment 688185 [details] app-misc:ledit-2.04:20210224-062244.log
Created attachment 688188 [details] emerge-history.txt
Created attachment 688191 [details] environment
Created attachment 688194 [details] etc.portage.tar.bz2
Created attachment 688197 [details] temp.tar.bz2
I have found a patch here: https://github.com/chetmurthy/ledit/commit/a55ae3782c79c4c30df5cd7b073b4ba2cfd23c69
Created attachment 731170 [details, diff] extracted.patch I have extracted the needed changes from the reported patch above which fix the building of ledit-2.04 in portage
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b70a6dd5d643a058947703c75a50f40ef1797d8 commit 9b70a6dd5d643a058947703c75a50f40ef1797d8 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2022-03-22 07:40:38 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-03-22 07:40:38 +0000 app-misc/ledit: fix build with newer ocaml Closes: https://bugs.gentoo.org/772347 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> app-misc/ledit/files/ledit-2.04-ocaml4.09.patch | 34 +++++++++++++++++++++++++ app-misc/ledit/ledit-2.04.ebuild | 2 ++ 2 files changed, 36 insertions(+)