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

Bug 711038

Summary: dev-ml/ocamlweb-1.39 : 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 OBSOLETE    
Severity: normal CC: gienah, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 750284    
Bug Blocks: 737154    
Attachments: emerge-info.txt
dev-ml:ocamlweb-1.39:20200228-013817.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
build.log (1.39, ppc)

Description Toralf Förster gentoo-dev 2020-02-28 17:12:44 UTC
73 |     if lb.lex_buffer.[i] = '\n' then incr lines
            ^^^^^^^^^^^^^
Error: This expression has type bytes but an expression was expected of type
         string
make: *** [Makefile:225: ocaml-parser/location.cmx] Error 2
 * ERROR: dev-ml/ocamlweb-1.39::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl_abi32+64-20200220-171851

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
  [3]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 28 Feb 2020 00:07:32 +0000

emerge -qpvO dev-ml/ocamlweb
[ebuild  N    ] dev-ml/ocamlweb-1.39
Comment 1 Toralf Förster gentoo-dev 2020-02-28 17:12:47 UTC
Created attachment 616452 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-28 17:12:50 UTC
Created attachment 616454 [details]
dev-ml:ocamlweb-1.39:20200228-013817.log
Comment 3 Toralf Förster gentoo-dev 2020-02-28 17:12:53 UTC
Created attachment 616456 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-28 17:12:56 UTC
Created attachment 616458 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-28 17:12:58 UTC
Created attachment 616460 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-28 17:13:01 UTC
Created attachment 616462 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-28 17:13:04 UTC
Created attachment 616464 [details]
temp.tbz2
Comment 8 ernsteiswuerfel archtester 2020-10-19 21:55:27 UTC
Created attachment 667211 [details]
build.log (1.39, ppc)

Same on ppc.

But ocamlweb-1.41 builds fine.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 07:59:01 UTC
(In reply to ernsteiswuerfel from comment #8)
> Created attachment 667211 [details]
> build.log (1.39, ppc)
> 
> Same on ppc.
> 
> But ocamlweb-1.41 builds fine.

Thank you!