Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830644

Summary: dev-ml/ocaml-base64-3.5.0 - Error: This expression has type bytes but an expression was expected of type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ml:ocaml-base64-3.5.0:20220105-142320.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-05 16:30:41 UTC
Use Bytes.create/BytesLabels.create instead.
File "src/base64.ml", line 144, characters 33-36:
144 |       Ok (Bytes.unsafe_to_string res, 0, n'))
                                       ^^^
Error: This expression has type bytes but an expression was expected of type
         Bytes.t = string
File "src/base64_rfc2045.ml", line 36, characters 36-52:

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

  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 a82683eb7ee7b1ceb05e7b73f765bcac47ee3046
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 5 13:51:49 2022 +0000

    2022-01-05 13:51:48 UTC

emerge -qpvO dev-ml/ocaml-base64
[ebuild  N    ] dev-ml/ocaml-base64-3.5.0  USE="ocamlopt -test"
Comment 1 Toralf Förster gentoo-dev 2022-01-05 16:30:42 UTC
Created attachment 761366 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-05 16:30:43 UTC
Created attachment 761367 [details]
dev-ml:ocaml-base64-3.5.0:20220105-142320.log
Comment 3 Toralf Förster gentoo-dev 2022-01-05 16:30:45 UTC
Created attachment 761368 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-05 16:30:46 UTC
Created attachment 761369 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-05 16:30:47 UTC
Created attachment 761370 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-05 16:30:48 UTC
Created attachment 761371 [details]
temp.tar.bz2
Comment 7 Tupone Alfredo gentoo-dev 2022-01-08 14:54:54 UTC
Please rebuild. Used findlib is not ok for 4.13. Already put a block on it