Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739426 - net-misc/unison-2.48.4-r1 : Error: This expression has type string but an expression was expected of type
Summary: net-misc/unison-2.48.4-r1 : Error: This expression has type string but an exp...
Status: RESOLVED DUPLICATE of bug 709646
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:
Depends on:
Blocks:
 
Reported: 2020-08-28 18:18 UTC by Toralf Förster
Modified: 2020-10-17 08:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2020-08-28 18:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,240.62 KB, text/plain)
2020-08-28 18:19 UTC, Toralf Förster
Details
environment (environment,22.33 KB, text/plain)
2020-08-28 18:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,38.49 KB, application/x-bzip)
2020-08-28 18:19 UTC, Toralf Förster
Details
net-misc:unison-2.48.4-r1:20200828-181206.log (net-misc:unison-2.48.4-r1:20200828-181206.log,3.39 KB, text/plain)
2020-08-28 18:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.12 KB, application/x-bzip)
2020-08-28 18:19 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 2020-08-28 18:18:58 UTC
822 |     String.blit s k s (k + d) (i - k);
                          ^
Error: This expression has type string but an expression was expected of type
         bytes
make: *** [Makefile.OCaml:437: unicode.cmx] Error 2
 * ERROR: net-misc/unison-2.48.4-r1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200823-115907

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.46.0
  [2]   rust-1.46.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Aug 28 06:05:34 PM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO net-misc/unison
[ebuild  N    ] net-misc/unison-2.48.4-r1  USE="ocamlopt -debug -doc -gtk -static -test -threads"
Comment 1 Toralf Förster gentoo-dev 2020-08-28 18:19:00 UTC
Created attachment 657312 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-28 18:19:02 UTC
Created attachment 657314 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-28 18:19:04 UTC
Created attachment 657316 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-28 18:19:05 UTC
Created attachment 657318 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-28 18:19:07 UTC
Created attachment 657320 [details]
net-misc:unison-2.48.4-r1:20200828-181206.log
Comment 6 Toralf Förster gentoo-dev 2020-08-28 18:19:08 UTC
Created attachment 657322 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-17 01:28:13 UTC

*** This bug has been marked as a duplicate of bug 709646 ***
Comment 8 Larry the Git Cow gentoo-dev 2020-10-17 08:32:10 UTC
The bug has been referenced in the following commit(s):

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

commit 71df67d36b63cbe65b3eb9a8b91c07ccb2ac9071
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2020-10-14 14:43:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-17 08:32:04 +0000

    net-misc/unison: build with ocaml-4.09.0
    
    Patches from https://bugs.gentoo.org/709646 applied
    Restricting to <=dev-lang/ocaml-4.09:=
    Does not build with ocaml-4.10.0
    
    Closes: https://bugs.gentoo.org/709646
    Bug: https://bugs.gentoo.org/739426
    Bug: https://bugs.gentoo.org/733720
    
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../unison/files/unison-2.48.4-ocaml-4.08.patch    | 79 +++++++++++++++++++
 .../unison/files/unison-2.51.2-ocaml-4.08.patch    | 50 ++++++++++++
 net-misc/unison/unison-2.48.4-r2.ebuild            | 90 ++++++++++++++++++++++
 net-misc/unison/unison-2.51.2-r1.ebuild            | 86 +++++++++++++++++++++
 4 files changed, 305 insertions(+)