Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704154 - dev-ml/ocaml-fileutils-0.5.2 : Error: This expression has type string but an expression was expected of type
Summary: dev-ml/ocaml-fileutils-0.5.2 : Error: This expression has type string but an ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-12-29 10:10 UTC by Toralf Förster
Modified: 2020-06-24 10:25 UTC (History)
7 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.19 KB, text/plain)
2019-12-29 10:10 UTC, Toralf Förster
Details
dev-ml:ocaml-fileutils-0.5.2:20191229-023503.log (dev-ml:ocaml-fileutils-0.5.2:20191229-023503.log,10.45 KB, text/plain)
2019-12-29 10:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,285.99 KB, text/plain)
2019-12-29 10:10 UTC, Toralf Förster
Details
environment (environment,79.01 KB, text/plain)
2019-12-29 10:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.14 KB, application/x-bzip)
2019-12-29 10:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.89 KB, application/x-bzip)
2019-12-29 10:10 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-29 10:10:06 UTC
179 |                      (Unix.read fd_src buffer 0) (String.length buffer)
                                             ^^^^^^
Error: This expression has type string but an expression was expected of type
         bytes

Command exited with code 2.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20191223-091554

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

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.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:


repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 29 Dec 2019 01:05:52 +0000

emerge -qpvO dev-ml/ocaml-fileutils
[ebuild  N    ] dev-ml/ocaml-fileutils-0.5.2  USE="ocamlopt -debug -doc -test"
Comment 1 Toralf Förster gentoo-dev 2019-12-29 10:10:08 UTC
Created attachment 601634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-29 10:10:12 UTC
Created attachment 601636 [details]
dev-ml:ocaml-fileutils-0.5.2:20191229-023503.log
Comment 3 Toralf Förster gentoo-dev 2019-12-29 10:10:14 UTC
Created attachment 601638 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-29 10:10:17 UTC
Created attachment 601640 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-29 10:10:21 UTC
Created attachment 601642 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-29 10:10:23 UTC
Created attachment 601644 [details]
temp.tbz2
Comment 7 Jean-Francois Ostiguy 2019-12-29 17:25:57 UTC
0.5.2 is old. The latest release (0.6.1) may be found here 

https://github.com/gildor478/ocaml-fileutils/releases
Comment 8 Ben Chaney 2019-12-31 17:53:23 UTC
Starting with 0.6.1, we start relying on the dune build system. This means we are blocked on: https://bugs.gentoo.org/704304
Comment 9 Rafael Kitover 2020-05-14 19:39:56 UTC
Hi, I opened a pull request for this:

https://github.com/gentoo/gentoo/pull/15421

Could someone take a look please?

And I posted the new dune eclass to the dev ml:

https://archives.gentoo.org/gentoo-dev/message/5bcd78bda597e6b92b3b593408e2b327
Comment 10 Larry the Git Cow gentoo-dev 2020-06-24 10:25:43 UTC
The bug has been closed via the following commit(s):

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

commit bd6c21f1a90bec1934f1e7eebfdf94c549e056fe
Author:     Rafael Kitover <rkitover@gmail.com>
AuthorDate: 2020-06-11 19:41:10 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-24 10:25:33 +0000

    dev-ml/ocaml-fileutils: add 0.6.2
    
    Using the new dune.eclass.
    
    Closes: https://bugs.gentoo.org/704154
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Rafael Kitover <rkitover@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-ml/ocaml-fileutils/Manifest                    |  1 +
 .../ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild   | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)