ocamlopt -g -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.48.3/work/unison-2.48.3/system.ml File "/var/tmp/portage/net-misc/unison-2.48.3/work/unison-2.48.3/system.ml", line 1: Error: The implementation /var/tmp/portage/net-misc/unison-2.48.3/work/unison-2.48.3/system.ml does not match the interface system.cmi: Values do not match: val symlink : ?to_dir:bool -> string -> string -> unit $ cat emerge-info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-hardened-unstable_20160821-190619) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- USE flags defined in ... ... make.conf: USE=" pax_kernel xtpax -cdinstall -oci8 -bindist alsa -btrfs bugzilla cdda cddb compat corefonts cups custom-optimization exif ffmpeg gstreamer gtkstyle gui hdf5 imlib inifile ipv6 ithreads libvirtd midi mod mpeg mpi multimedia multitarget nss opencv -pam pdo php plotutils png postproc pulseaudio qml qt5 server smartcard -sockets -system-libs thinkpad tk tools traceroute truetype v4l v4l2 -vaapi vala vdpau video vpx webkit widgets wma xkb xmp xvmc" ... /etc/portage/package.use/*: mail-mta/ssmtp ssl mta net-misc/wget ssl app-editors/emacs -dbus -svg -ssl -gtk -gtk3 dev-libs/boehm-gc threads dev-util/cmake -qt4 -qt5 gnome-base/librsvg -tools media-libs/mesa -vaapi net-misc/iputils -caps -filecaps unmasked packages in /etc/portage/package.unmask/*: ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-4.9.3 [2] x86_64-pc-linux-gnu-4.9.3-hardenednopie [3] x86_64-pc-linux-gnu-4.9.3-hardenednopiessp [4] x86_64-pc-linux-gnu-4.9.3-hardenednossp [5] x86_64-pc-linux-gnu-4.9.3-vanilla [6] x86_64-pc-linux-gnu-5.4.0 * [7] x86_64-pc-linux-gnu-5.4.0-hardenednopie [8] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp [9] x86_64-pc-linux-gnu-5.4.0-hardenednossp [10] x86_64-pc-linux-gnu-5.4.0-vanilla Available Python interpreters, in order of preference: [1] python2.7 [2] python3.4 [3] python3.5 (fallback) Available Ruby profiles: [1] ruby20 (with Rubygems) * [2] ruby21 (with Rubygems) ----------------------------------------------------------------- Portage 2.3.0 (python 2.7.12-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.23-r2, 4.7.2-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.7.2-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2 KiB Mem: 65285360 total, 2624224 free KiB Swap: 67108860 total, 67105896 free Timestamp of repository gentoo: Wed, 24 Aug 2016 03:45:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.3_p46::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo dev-util/cmake: 3.6.1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.2-r1::gentoo sys-apps/openrc: 0.21.3::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 1 local location: /usr/local/portage masters: gentoo priority: 2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl alsa amd64 berkdb bugzilla bzip2 cdda cddb cli compat corefonts cracklib crypt cups custom-optimization cxx dri exif ffmpeg gdbm gstreamer gtkstyle gui hardened hdf5 iconv imlib inifile ipv6 ithreads justify libvirtd midi mmx mmxext mod modules mpeg mpi multilib multimedia multitarget ncurses nls nptl nss opencv openmp pax_kernel pcre pdo php pie plotutils png postproc pulseaudio qml qt5 readline seccomp server session smartcard sse sse2 ssl ssp tcpd thinkpad tk tools traceroute truetype unicode urandom v4l v4l2 vala vdpau video vpx webkit widgets wma xattr xkb xmp xtpax xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="el es-AR he it kk ml nb son xh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 444044 [details] emerge-history.txt
Created attachment 444046 [details] environment
Created attachment 444048 [details] net-misc:unison-2.48.3:20160824-050943.log
Created attachment 446172 [details, diff] unison-2.48.3.ebuild.patch: block ocaml 4.03
(In reply to Michael Weber from comment #4) > Created attachment 446172 [details, diff] [details, diff] > unison-2.48.3.ebuild.patch: block ocaml 4.03 I am still not able to reemerge unison-2.40.102. I deleted all dev-ml and used your patch. Furthermore I masked >=ocaml-4.03 and I deleted llvm root@lynx:/usr/local/portage/net-misc/unison(131)# grep ocaml unison-2.40.102.ebuild IUSE="gtk doc static debug threads +ocamlopt test" # ocaml version so we are sure it has ocamlopt use flag DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] <dev-lang/ocaml-4.03[ocamlopt?] use ocamlopt || myconf="$myconf NATIVE=false" # Discard cflags as it will try to pass them to ocamlc... use ocamlopt || export STRIP_MASK="*/bin/*" 'emerge unison' fails with dependency conflict: root@lynx:/usr/local/portage/net-misc/unison(150)# USE=-tk emerge -pvuDN1 --verbose-conflicts --backtrack=30 =unison-2.40.102 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N #] dev-lang/ocaml-4.03.0:0/4.03.0::gentoo USE="X emacs latex ncurses ocamlopt -flambda -xemacs" 0 KiB [ebuild N ] dev-ml/findlib-1.6.2::gentoo USE="doc ocamlopt -tk" 0 KiB [ebuild N ] dev-ml/ocamlbuild-0.9.2:0/0.9.2::gentoo USE="ocamlopt" 0 KiB [ebuild N ] dev-ml/ocaml-ctypes-0.9.2:0/0.9.2::gentoo USE="{-test}" 0 KiB [ebuild N ] dev-ml/camlp4-4.03_p1:0/4.03_p1::gentoo USE="ocamlopt" 0 KiB [ebuild R ] dev-lang/python-3.5.2:3.5/3.5m::gentoo USE="examples gdbm ipv6 ncurses readline sqlite ssl threads xml -build -hardened -libressl -tk* -wininst" 0 KiB [ebuild R ] dev-python/pyopengl-3.1.0::gentoo USE="-tk*" PYTHON_TARGETS="python2_7 python3_4 (-python3_3) -python3_5" 0 KiB [ebuild N ] dev-ml/lablgl-1.05-r1:0/1.05::gentoo USE="doc ocamlopt -glut -tk" 0 KiB [ebuild N ] dev-ml/lablgtk-2.18.5:2/2.18.5::gentoo USE="examples glade ocamlopt opengl spell svg -debug -gnomecanvas -sourceview" 0 KiB [ebuild R ] app-text/texlive-core-2015::gentoo USE="X doc luajittex xetex -cjk -source -tk*" 0 KiB [ebuild R ] dev-lang/R-3.3.1::gentoo USE="X cairo doc icu java jpeg lapack nls openmp perl png readline tiff -minimal (-prefix) -profile -static-libs -tk*" 0 KiB [ebuild N ] net-misc/unison-2.40.102:2.40::gentoo USE="doc gtk ocamlopt threads -debug -static {-test}" 0 KiB [ebuild N ] sys-devel/llvm-3.8.1-r2:0/3.8.0::gentoo USE="clang doc gold libffi ncurses ocaml python sanitize static-analyzer xml -debug -default-compiler-rt -default-libcxx -libedit -lldb -multitarget {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-radeon" 0 KiB [ebuild R ] sci-libs/vtk-6.1.0-r3::science USE="R X all-modules boost cg doc ffmpeg gdal imaging java json mpi mysql odbc postgres python qt5 rendering smp tbb tcl theora views xdmf2 (-aqua) (-examples) -kaapi -offscreen -qt4 {-test} -tk* -web" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-nvidia" 0 KiB [ebuild R ] dev-vcs/git-2.10.0::gentoo USE="blksha1 cgi curl doc emacs gnome-keyring gpg gtk iconv nls pcre perl python subversion threads webdav -cvs -highlight -libressl -mediawiki -mediawiki-experimental (-ppcsha1) {-test} -tk* -xinetd" LINGUAS="de fr ru -bg -ca -is -it -ko -pt_PT -sv -vi -zh_CN" PYTHON_TARGETS="python2_7" 0 KiB Total: 15 packages (9 new, 6 reinstalls), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-lang/python:3.4 (dev-lang/python-3.4.5:3.4/3.4m::gentoo, ebuild scheduled for merge) conflicts with dev-lang/python:3.4[tk] required by (dev-python/simpy-3.0.8:0/0::gentoo, installed) ^^ dev-lang/python:3.4[tk,threads(+)] required by (dev-python/pillow-3.1.1:0/0::gentoo, installed) ^^ dev-lang/python:3.4[tk] required by (dev-python/pmw-2.0.1:py3/py3::gentoo, installed) ^^ dev-lang/python:3.4[tk,threads(+)] required by (dev-python/matplotlib-1.5.3:0/0::gentoo, installed) ^^ dev-lang/python:2.7 (dev-lang/python-2.7.12-r100:2.7/2.7::sage-on-gentoo, ebuild scheduled for merge) conflicts with >=dev-lang/python-2.7.5-r2:2.7[tk] required by (app-cdr/cdcover-0.7.4-r1:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (dev-python/pmw-1.3.3-r2:py2/py2::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (app-office/scribus-1.5.1:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk,threads(+)] required by (dev-python/matplotlib-1.5.3:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (dev-python/simpy-3.0.8:0/0::gentoo, installed) ^^ =dev-lang/python-2*[tk] required by (sci-chemistry/viewmol-2.4.1-r2:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (sci-chemistry/mgltools-autodocktools-1.5.6:0/0::science, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk,threads(+)] required by (dev-python/pillow-3.1.1:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (sci-chemistry/pymol-1.7.7.2:0/0::gentoo, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (sci-chemistry/mgltools-dejavu-1.5.6-r1:0/0::science, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (sci-chemistry/mgltools-gle-1.5.6:0/0::science, installed) ^^ >=dev-lang/python-2.7.5-r2:2.7[tk] required by (sci-chemistry/mgltools-bhtree-1.5.6:0/0::science, installed) ^^ The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by sys-devel/llvm-3.8.1-r2::gentoo[ocaml] # required by sys-devel/clang-3.8.1-r100::gentoo # required by dev-util/kdevelop-5.0.1::gentoo[cxx] # required by @selected # required by @world (argument) # /etc/portage/package.mask/monolithic: #>app-emulation/libvirt-1.2.5 #=app-emulation/spice-protocol-0.12.11 #>=app-misc/pax-utils-0.5 #>=app-office/gnumeric-1.9.0 #>=app-pda/libopensync-plugin-syncml-0.22 #>app-pda/libsyncml-0.5.4 #>=app-portage/layman-2.1.0 #### ghostscript-gpl-9.15 does not work with xdvipdfmx from TeX Live 2014 (look at pstricks ML) #>app-text/ghostscript-gpl-9.10-r4 #>app-text/poppler-0.5.9 #>=dev-embedded/arduino-0015-r1 #=dev-java/javacup-0.11b_beta20150326 =dev-lang/ocaml-4.03.0 NOTE: The --autounmask-keep-masks option will prevent emerge from creating package.unmask or ** keyword changes.
After masking >=dev-ml/camlp4-4.03_p1 >=dev-ml/labltk-8.06.1 I was again able to emerge net-misc/unison-2.40.102 and net-misc/unison-2.48.3.
Fixed by the newest commits of 2.40, 2.45 and 2.48.
got at the stable amd64 chroot image 13.0-desktop-gnome-systemd_stable_20170905-222907 this : net-misc/unison-2.48.3 : Error: The implementation /var/tmp/portage/net-misc/unison-2.48.3/work/unison-2.48.3/system.ml
Created attachment 493762 [details] emerge-info.txt
Created attachment 493764 [details] emerge-history.txt
Created attachment 493766 [details] environment
Created attachment 493768 [details] etc.portage.tbz2
Created attachment 493770 [details] net-misc:unison-2.48.3:20170910-172325.log
Created attachment 493772 [details] temp.tbz2
*** Bug 628372 has been marked as a duplicate of this bug. ***
*** Bug 608776 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de52dea2022217c2886dc131851fc3a514883346 commit de52dea2022217c2886dc131851fc3a514883346 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2018-01-13 03:41:54 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2018-01-13 03:42:10 +0000 net-misc/unison: remove old versions that do not build. Closes: https://bugs.gentoo.org/show_bug.cgi?id=592020 Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-misc/unison/Manifest | 3 -- net-misc/unison/unison-2.48.3.ebuild | 81 ------------------------------------ 2 files changed, 84 deletions(-)