Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704910 - net-misc/unison-2.51.2 : Error: The implementation /var/tmp/portage/net-misc/unison-2.51.2/work/src/system.ml
Summary: net-misc/unison-2.51.2 : Error: The implementation /var/tmp/portage/net-misc/...
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-01-07 08:10 UTC by Toralf Förster
Modified: 2020-10-17 01:28 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.10 KB, text/plain)
2020-01-07 08:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,178.67 KB, text/plain)
2020-01-07 08:10 UTC, Toralf Förster
Details
environment (environment,21.04 KB, text/plain)
2020-01-07 08:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.17 KB, application/x-bzip)
2020-01-07 08:10 UTC, Toralf Förster
Details
net-misc:unison-2.51.2:20200106-221707.log (net-misc:unison-2.51.2:20200106-221707.log,6.45 KB, text/plain)
2020-01-07 08:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.27 KB, application/x-bzip)
2020-01-07 08:10 UTC, Toralf Förster
Details
Patch for unison-2.51 (unison-2.51.2-ocaml-4.08.patch,1.66 KB, patch)
2020-03-17 16:22 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***