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

Bug 830447

Summary: dev-ml/ocaml-process-0.2.1 - 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-process-0.2.1:20220102-114745.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-02 12:20:37 UTC
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -principal -strict-sequence -package bytes -w @5@8@10@11@12@14@23@24@26@29 -I lib -o lib/process.cmo lib/process.ml
File "lib/process.ml", line 247, characters 21-24:
247 |       let ls = lines buf (n - 1) [] in
                           ^^^
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-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 6937b6ee5c7a2aaec546365d1f9d795e1135132c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 2 10:21:52 2022 +0000

    2022-01-02 10:21:50 UTC

emerge -qpvO dev-ml/ocaml-process
[ebuild  N    ] dev-ml/ocaml-process-0.2.1  USE="ocamlopt -test"
Comment 1 Toralf Förster gentoo-dev 2022-01-02 12:20:38 UTC
Created attachment 761073 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-02 12:20:39 UTC
Created attachment 761074 [details]
dev-ml:ocaml-process-0.2.1:20220102-114745.log
Comment 3 Toralf Förster gentoo-dev 2022-01-02 12:20:40 UTC
Created attachment 761075 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-02 12:20:41 UTC
Created attachment 761076 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-02 12:20:42 UTC
Created attachment 761077 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-02 12:20:43 UTC
Created attachment 761078 [details]
temp.tar.bz2
Comment 7 Tupone Alfredo gentoo-dev 2022-01-08 15:06:10 UTC
Please rebuild. Used findlib is not ok for ocaml-4.13. Already put a block on it