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"
Created attachment 602710 [details] emerge-info.txt
Created attachment 602712 [details] emerge-history.txt
Created attachment 602714 [details] environment
Created attachment 602716 [details] etc.portage.tbz2
Created attachment 602718 [details] net-misc:unison-2.51.2:20200106-221707.log
Created attachment 602720 [details] temp.tbz2
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".
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.
*** This bug has been marked as a duplicate of bug 709646 ***