Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830610 - dev-ml/sedlex-2.3-r1 - Error: This expression has type bytes but an expression was expected of type
Summary: dev-ml/sedlex-2.3-r1 - Error: This expression has type bytes but an expressio...
Status: RESOLVED INVALID
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-01-04 19:13 UTC by Toralf Förster
Modified: 2022-01-08 15:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.65 KB, text/plain)
2022-01-04 19:13 UTC, Toralf Förster
Details
dev-ml:sedlex-2.3-r1:20220104-191046.log (dev-ml:sedlex-2.3-r1:20220104-191046.log,3.22 KB, text/plain)
2022-01-04 19:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,384.85 KB, text/plain)
2022-01-04 19:13 UTC, Toralf Förster
Details
environment (environment,24.63 KB, text/plain)
2022-01-04 19:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,38.87 KB, application/x-bzip)
2022-01-04 19:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,8.98 KB, application/x-bzip)
2022-01-04 19:13 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-01-04 19:13:02 UTC
Use Bytes.set/BytesLabels.set instead.
File "src/lib/sedlexing.ml", line 251, characters 20-21:
251 |     Bytes.to_string s
                          ^
Error: This expression has type bytes but an expression was expected of type
         string
File "src/syntax/ppx_sedlex.ml", line 131, characters 10-22:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20211229-135049

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.2.1 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
The following VMs are available for generation-2:
1)	OpenJDK 8.312_p07 [openjdk-8]
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit aad7c29e8bcb6d272ec32b0fc478a4e73008ad9d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 4 18:21:54 2022 +0000

    2022-01-04 18:21:51 UTC

emerge -qpvO dev-ml/sedlex
[ebuild  N    ] dev-ml/sedlex-2.3-r1  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2022-01-04 19:13:03 UTC
Created attachment 761313 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-04 19:13:04 UTC
Created attachment 761314 [details]
dev-ml:sedlex-2.3-r1:20220104-191046.log
Comment 3 Toralf Förster gentoo-dev 2022-01-04 19:13:05 UTC
Created attachment 761315 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-04 19:13:07 UTC
Created attachment 761316 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-04 19:13:08 UTC
Created attachment 761317 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-04 19:13:09 UTC
Created attachment 761318 [details]
temp.tar.bz2
Comment 7 Tupone Alfredo gentoo-dev 2022-01-08 15:03:15 UTC
Please rebuild. Used findlib is not ok for ocaml-4.13. Already put a block on it