Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830308 - dev-ml/uutf-1.0.2 - Error: This expression has type bytes but an expression was expected of type
Summary: dev-ml/uutf-1.0.2 - Error: This expression has type bytes but an expression w...
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: 2021-12-30 18:38 UTC by Toralf Förster
Modified: 2022-01-08 15:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2021-12-30 18:38 UTC, Toralf Förster
Details
dev-ml:uutf-1.0.2:20211230-183007.log (dev-ml:uutf-1.0.2:20211230-183007.log,3.37 KB, text/plain)
2021-12-30 18:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.21 KB, text/plain)
2021-12-30 18:38 UTC, Toralf Förster
Details
environment (environment,23.04 KB, text/plain)
2021-12-30 18:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.89 KB, application/x-bzip)
2021-12-30 18:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,8.62 KB, application/x-bzip)
2021-12-30 18:38 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 2021-12-30 18:38:13 UTC
Use Bytes.create/BytesLabels.create instead.
File "src/uutf.ml", line 61, characters 42-45:
61 |   `Malformed Bytes.(unsafe_to_string (cat bs0 bs1))
                                               ^^^
Error: This expression has type bytes but an expression was expected of type
         string
Command exited with code 2.

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

  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-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 *
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 f9fdf2d34ef88f170c84e3cfe1b558a7712f0e25
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 30 16:36:53 2021 +0000

    2021-12-30 16:36:52 UTC

emerge -qpvO dev-ml/uutf
[ebuild  N    ] dev-ml/uutf-1.0.2  USE="ocamlopt -doc -test -utftrip"
Comment 1 Toralf Förster gentoo-dev 2021-12-30 18:38:14 UTC
Created attachment 760866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-30 18:38:15 UTC
Created attachment 760867 [details]
dev-ml:uutf-1.0.2:20211230-183007.log
Comment 3 Toralf Förster gentoo-dev 2021-12-30 18:38:16 UTC
Created attachment 760868 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-30 18:38:17 UTC
Created attachment 760869 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-30 18:38:18 UTC
Created attachment 760870 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-30 18:38:19 UTC
Created attachment 760871 [details]
temp.tar.bz2
Comment 7 Tupone Alfredo gentoo-dev 2022-01-08 15:09:28 UTC
Please rebuild. Used findlib is not ok for ocaml-4.13. Already put a block on it