Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772347 - app-misc/ledit-2.04 - Error: This expression has type
Summary: app-misc/ledit-2.04 - Error: This expression has type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ocaml-4.09
  Show dependency tree
 
Reported: 2021-02-24 08:18 UTC by Toralf Förster
Modified: 2022-03-22 07:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.55 KB, text/plain)
2021-02-24 08:18 UTC, Toralf Förster
Details
app-misc:ledit-2.04:20210224-062244.log (app-misc:ledit-2.04:20210224-062244.log,1.96 KB, text/plain)
2021-02-24 08:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.97 KB, text/plain)
2021-02-24 08:18 UTC, Toralf Förster
Details
environment (environment,20.16 KB, text/plain)
2021-02-24 08:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.13 KB, application/x-bzip)
2021-02-24 08:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,7.21 KB, application/x-bzip)
2021-02-24 08:18 UTC, Toralf Förster
Details
extracted.patch (a55ae3782c79c4c30df5cd7b073b4ba2cfd23c69.patch,1.19 KB, patch)
2021-08-07 13:12 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-02-24 08:18:48 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-02-24 08:18:49 UTC
Created attachment 688182 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-02-24 08:18:50 UTC
Created attachment 688185 [details]
app-misc:ledit-2.04:20210224-062244.log
Comment 3 Toralf Förster gentoo-dev 2021-02-24 08:18:51 UTC
Created attachment 688188 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-02-24 08:18:53 UTC
Created attachment 688191 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-02-24 08:18:54 UTC
Created attachment 688194 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-02-24 08:18:55 UTC
Created attachment 688197 [details]
temp.tar.bz2
Comment 7 Fabio Rossi 2021-08-07 13:10:51 UTC
I have found a patch here:

https://github.com/chetmurthy/ledit/commit/a55ae3782c79c4c30df5cd7b073b4ba2cfd23c69
Comment 8 Fabio Rossi 2021-08-07 13:12:45 UTC
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
Comment 9 Larry the Git Cow gentoo-dev 2022-03-22 07:41:00 UTC
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(+)