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

Bug 704910

Summary: net-misc/unison-2.51.2 : Error: The implementation /var/tmp/portage/net-misc/unison-2.51.2/work/src/system.ml
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal CC: frainz, tb, zima
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:unison-2.51.2:20200106-221707.log
temp.tbz2
Patch for unison-2.51

Description Toralf Förster gentoo-dev 2020-01-07 08:10:27 UTC
ocamlopt -g -unsafe-string -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -c /var/tmp/portage/net-misc/unison-2.51.2/work/src/system.ml
File "/var/tmp/portage/net-misc/unison-2.51.2/work/src/system.ml", line 1:
Error: The implementation /var/tmp/portage/net-misc/unison-2.51.2/work/src/system.ml
       does not match the interface system.cmi:
       Values do not match:
         val link : ?follow:bool -> string -> string -> unit

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

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

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

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)

Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 06 Jan 2020 21:46:00 +0000

emerge -qpvO net-misc/unison
[ebuild  N    ] net-misc/unison-2.51.2  USE="ocamlopt -debug -doc -gtk -static -test -threads"
Comment 1 Toralf Förster gentoo-dev 2020-01-07 08:10:30 UTC
Created attachment 602710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-07 08:10:33 UTC
Created attachment 602712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-07 08:10:35 UTC
Created attachment 602714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-07 08:10:38 UTC
Created attachment 602716 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-07 08:10:41 UTC
Created attachment 602718 [details]
net-misc:unison-2.51.2:20200106-221707.log
Comment 6 Toralf Förster gentoo-dev 2020-01-07 08:10:43 UTC
Created attachment 602720 [details]
temp.tbz2
Comment 7 Mats Lidell gentoo-dev 2020-01-12 22:25:11 UTC
Unison v2.51.2 is according to upstream compatible with Ocaml-4.06. Compatibility with later versions of Ocaml has been added to unison since the release of v2.51.2. The latest version in testing we have in the tree is Ocaml-4.09 which thus breaks the unison build.

One possibility is to change the ebuild to set a dependency on ocaml to be "<=dev-lang/ocaml-4.09".
Comment 8 Petr Zima 2020-03-17 16:22:06 UTC
Created attachment 620922 [details, diff]
Patch for unison-2.51

Derived from https://salsa.debian.org/ocaml-team/unison/commit/46a011f5628e0ecd9beb2794ccdb0ae3b9906817.
See also bug #709646.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-17 01:28:39 UTC

*** This bug has been marked as a duplicate of bug 709646 ***