Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704364 - dev-ml/ocamlsdl-0.9.1 : Error: This expression has type string but an expression was expected of type
Summary: dev-ml/ocamlsdl-0.9.1 : Error: This expression has type string but an express...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ocaml-4.09
  Show dependency tree
 
Reported: 2019-12-31 09:16 UTC by Toralf Förster
Modified: 2020-10-28 03:43 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.13 KB, text/plain)
2019-12-31 09:16 UTC, Toralf Förster
Details
dev-ml:ocamlsdl-0.9.1:20191231-065209.log (dev-ml:ocamlsdl-0.9.1:20191231-065209.log,6.48 KB, text/plain)
2019-12-31 09:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.79 KB, text/plain)
2019-12-31 09:16 UTC, Toralf Förster
Details
environment (environment,76.28 KB, text/plain)
2019-12-31 09:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.52 KB, application/x-bzip)
2019-12-31 09:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.47 KB, application/x-bzip)
2019-12-31 09:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.75 KB, application/x-bzip)
2019-12-31 09:17 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 2019-12-31 09:16:48 UTC
55 |     then s.[7-i] <- '@'
              ^
Error: This expression has type string but an expression was expected of type
         bytes
make[1]: *** [../makefile.rules:7: sdlmouse.cmo] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-ml/ocamlsdl-0.9.1/work/ocamlsdl-0.9.1/src'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20191227-172117

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

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.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 31 Dec 2019 05:05:49 +0000

emerge -qpvO dev-ml/ocamlsdl
[ebuild  N    ] dev-ml/ocamlsdl-0.9.1  USE="ocamlopt opengl truetype -doc"
Comment 1 Toralf Förster gentoo-dev 2019-12-31 09:16:51 UTC
Created attachment 602012 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-31 09:16:54 UTC
Created attachment 602014 [details]
dev-ml:ocamlsdl-0.9.1:20191231-065209.log
Comment 3 Toralf Förster gentoo-dev 2019-12-31 09:16:58 UTC
Created attachment 602016 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-31 09:17:00 UTC
Created attachment 602018 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-31 09:17:03 UTC
Created attachment 602020 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-31 09:17:06 UTC
Created attachment 602022 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-12-31 09:17:09 UTC
Created attachment 602024 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-28 03:42:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a7cddd027725bad4894a63671bdbf12b4eec43

commit e0a7cddd027725bad4894a63671bdbf12b4eec43
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-28 03:42:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-28 03:42:30 +0000

    dev-ml/ocamlsdl: fix OCaml 4.09.0 build
    
    Closes: https://bugs.gentoo.org/704364
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 ...amlsdl-0.9.1-fix-ocaml-4.09.0-compilation.patch | 28 ++++++++++++++++++++
 ...camlopt.patch => ocamlsdl-0.9.1-ocamlopt.patch} |  0
 dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild              | 30 ++++++++++++----------
 3 files changed, 44 insertions(+), 14 deletions(-)