Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860213 - dev-ml/merlin-4.6 - Error: This expression has type Yojson.Basic.t Seq/1.t
Summary: dev-ml/merlin-4.6 - Error: This expression has type Yojson.Basic.t Seq/1.t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 07:58 UTC by Toralf Förster
Modified: 2022-09-25 19:01 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.72 KB, text/plain)
2022-07-23 07:58 UTC, Toralf Förster
Details
dev-ml:merlin-4.6:20220723-030426.log (dev-ml:merlin-4.6:20220723-030426.log,2.99 KB, text/plain)
2022-07-23 07:58 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,66.15 KB, application/x-bzip)
2022-07-23 07:59 UTC, Toralf Förster
Details
environment (environment,33.98 KB, text/plain)
2022-07-23 07:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.64 KB, application/x-bzip)
2022-07-23 07:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.59 KB, application/x-bzip)
2022-07-23 07:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-23 07:58:56 UTC
Warning: the precedence level assigned to QUESTIONQUESTION is never useful.
File "src/frontend/ocamlmerlin/old/old_IO.ml", line 317, characters 33-88:
317 |   let input   = Seq.to_dispenser (Yojson.Basic.(seq_from_lexbuf (init_lexer ()) lexbuf)) in
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type Yojson.Basic.t Seq/1.t
       but an expression was expected of type
         'a Seq/2.t = unit -> 'a Seq/2.node

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220719-050030

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit eadc89e84a6a182f5c50226c33e3bf6bf20c17a1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 23 01:16:37 2022 +0000

    2022-07-23 01:16:37 UTC

emerge -qpvO dev-ml/merlin
[ebuild  N    ] dev-ml/merlin-4.6  USE="ocamlopt -emacs -test"
Comment 1 Toralf Förster gentoo-dev 2022-07-23 07:58:57 UTC
Created attachment 793346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-23 07:58:58 UTC
Created attachment 793349 [details]
dev-ml:merlin-4.6:20220723-030426.log
Comment 3 Toralf Förster gentoo-dev 2022-07-23 07:59:00 UTC
Created attachment 793352 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-23 07:59:01 UTC
Created attachment 793355 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-23 07:59:03 UTC
Created attachment 793358 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-23 07:59:04 UTC
Created attachment 793361 [details]
temp.tar.bz2
Comment 7 Maciej Barć gentoo-dev 2022-07-23 16:37:24 UTC
There was seq-0.2.2 installed (which does not work with merlin 4.6)

> 2022-07-19T22:00:10 >>> dev-ml/seq-0.2.2

And later seq-0.3 (which works with this version)

> 2022-07-23T05:04:07 >>> dev-ml/seq-0.3

The error, though, looks like seq-0.2.2 was used to build merlin.

Please, re-run this build, if You can, after seq-0.3 is installed to root.
Comment 8 Larry the Git Cow gentoo-dev 2022-09-25 19:01:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424be3e2d4438b6261de17cf18957aa513bae50f

commit 424be3e2d4438b6261de17cf18957aa513bae50f
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-09-25 19:00:36 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-09-25 19:01:08 +0000

    dev-ml/merlin: strong block dev-ml/seq
    
    Closes: https://bugs.gentoo.org/860213
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-ml/merlin/merlin-4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)