Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604674 - dev-ml/jsonm-1.0.0 - Error: Files src/jsonm.cmx and /usr/lib64/ocaml/uutf/uutf.cmxa make inconsistent assumptions over implementation Uutf
Summary: dev-ml/jsonm-1.0.0 - Error: Files src/jsonm.cmx and /usr/lib64/ocaml/uutf/uut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-04 17:36 UTC by tka
Modified: 2017-01-14 02:33 UTC (History)
0 users

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


Attachments
build.log (build.log,3.85 KB, text/plain)
2017-01-04 17:36 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2017-01-04 17:36:02 UTC
Created attachment 458770 [details]
build.log

ocamlfind ocamlopt -linkpkg -g -package unix -package bytes -package uchar -package uutf src/jsonm.cmx test/jsontrip.cmx -o test/jsontrip.native
+ ocamlfind ocamlopt -linkpkg -g -package unix -package bytes -package uchar -package uutf src/jsonm.cmx test/jsontrip.cmx -o test/jsontrip.native
File "_none_", line 1:
Error: Files src/jsonm.cmx and /usr/lib64/ocaml/uutf/uutf.cmxa
       make inconsistent assumptions over implementation Uutf
Command exited with code 2.
pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tag' 'debug'
     '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
     'README.md' 'src/jsonm.a' 'src/jsonm.cmxs' 'src/jsonm.cmxa'
     'src/jsonm.cma' 'src/jsonm.cmx' 'src/jsonm.cmi' 'src/jsonm.mli'
     'test/jsontrip.native' 'test/examples.ml' 'test/jtree.ml']: exited with 10
 * ERROR: dev-ml/jsonm-1.0.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 174:  Called die
 * The specific snippet of code:
 *       ocaml pkg/pkg.ml build || die
 * 
 * If you need support, post the output of `emerge --info '=dev-ml/jsonm-1.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ml/jsonm-1.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ml/jsonm-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ml/jsonm-1.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ml/jsonm-1.0.0/work/jsonm-1.0.0'
 * S: '/var/tmp/portage/dev-ml/jsonm-1.0.0/work/jsonm-1.0.0'

>>> Failed to emerge dev-ml/jsonm-1.0.0, Log file:



# emerge --info '=dev-ml/jsonm-1.0.0::gentoo'
Portage 2.3.3 (python 3.4.5-final-0, hardened/linux/amd64/no-multilib, gcc-5.4.0, glibc-2.23-r3, 4.9.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.0-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    16398684 total,   8846732 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Wed, 04 Jan 2017 17:00:01 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r2::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.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0

testing
    location: /var/lib/portage-local/testing
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
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="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" 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="ruby21" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="power" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


# emerge -pqv '=dev-ml/jsonm-1.0.0::gentoo'
[ebuild  r  U ] dev-ml/jsonm-1.0.0 [0.9.1] USE="(-debug%) (-doc%) (-ocamlopt%*) (-test%*)" 
[ebuild  rR   ] dev-ml/opam-1.3.0 

The following packages are causing rebuilds:

  (dev-ml/jsonm-1.0.0:0/1.0.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-ml/opam-1.3.0:0/0::gentoo, ebuild scheduled for merge)
Comment 1 tka 2017-01-04 17:52:04 UTC
After some further experiments, I figured out that also neither rebuilding dev-ml/jsonm-0.9.1 with dev-ml/uutf-1.0.0 nor updating to jsonm-1.0.0 with uutf-0.9.4 works (errors are different though). The only working combination is jsonm-0.9.1 with uutf-0.9.4.
Comment 2 Alexis Ballier gentoo-dev 2017-01-13 08:57:15 UTC
is it jsonm-1.0.0 with uutf-1.0.0 ?
Comment 3 tka 2017-01-13 11:48:36 UTC
(In reply to Alexis Ballier from comment #2)
> is it jsonm-1.0.0 with uutf-1.0.0 ?

Yes, the original report is about jsonm-1.0.0 with uutf-1.0.0.
Comment 4 Alexis Ballier gentoo-dev 2017-01-13 14:43:31 UTC
that's weird, here it works fine; does rebuilding uutf 1.0.0 help ?
Comment 5 tka 2017-01-13 18:15:40 UTC
(In reply to Alexis Ballier from comment #4)
> that's weird, here it works fine; does rebuilding uutf 1.0.0 help ?

Simply rebuilding uutf did not work. However, when I rebuild uutf with FEATURES=-test, there is no error when building jsonm. Whether I build jsonm with or without tests enabled does not mater. Something is wrong with the uutf tests!
Comment 6 Alexis Ballier gentoo-dev 2017-01-14 02:33:58 UTC
commit 66dffa4b8c7318642804ab7e1c3a8fc369fcef42
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Sat Jan 14 03:31:00 2017 +0100

    dev-ml/uutf: rebuild a proper library after running tests, bug #604674
    


thanks!