Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892553 - dev-ml/ppx_here-0.15.0 failes to compile
Summary: dev-ml/ppx_here-0.15.0 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 04:51 UTC by risto.paavola
Modified: 2023-02-01 19:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description risto.paavola 2023-01-30 04:51:47 UTC
Trying to emerge package and the building phase fails.

Reproducible: Always

Steps to Reproduce:
1.emerge
2.fail
Actual Results:  
Failed to run command: dune build @install --display=short --profile release -j 6

Expected Results:  
Successful build.

I think this is the relevant information:
--8<--
Error: The files /usr/lib64/ocaml/ppxlib/ppxlib.cmi
       and /usr/lib64/ocaml/base/base.cmi make inconsistent assumptions
       over interface Sexplib0__Sexp_conv
--8<--

build.log:
--8<--
 * Package:    dev-ml/ppx_here-0.15.0:0/0.15
 * Repository: gentoo
 * Maintainer: ml@gentoo.org gienah@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ppx_here-0.15.0.tar.gz to /var/tmp/portage/dev-ml/ppx_here-0.15.0/work
>>> Source unpacked in /var/tmp/portage/dev-ml/ppx_here-0.15.0/work
>>> Preparing source in /var/tmp/portage/dev-ml/ppx_here-0.15.0/work/ppx_here-0.15.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ml/ppx_here-0.15.0/work/ppx_here-0.15.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ml/ppx_here-0.15.0/work/ppx_here-0.15.0 ...
 * dune build @install --display=short --profile release -j 6
Done: 100% (2/2, 0 left) (jobs: 0)^M                                  ^MDone: 4% (2/43, 41 left) (jobs: 0)^M                                  ^MDone: 42% (26/61, 35 left) (jobs: 0)^M                                    
^MDone: 42% (26/61, 35 left) (jobs: 0)^M                                    ^MDone: 35% (26/73, 47 left) (jobs: 0)^M                                    ^MDone: 39% (29/73, 44 left) (jobs: 1)^M                           
         ^M      ocamlc runtime-lib/.ppx_here_lib.objs/byte/ppx_here_lib.{cmi,cmti}
Done: 39% (29/73, 44 left) (jobs: 1)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 43% (32/73, 41 left) (jobs: 2)^M                                    ^M      ocamlc runtime-lib/.ppx_here_lib.objs/byte/ppx_here_lib.{cmo,cmt}
Done: 43% (32/73, 41 left) (jobs: 2)^M                                    ^M    ocamlopt runtime-lib/.ppx_here_lib.objs/native/ppx_here_lib.{cmx,o}
Done: 43% (32/73, 41 left) (jobs: 2)^M                                    ^MDone: 49% (36/73, 37 left) (jobs: 2)^M                                    ^MDone: 49% (36/73, 37 left) (jobs: 2)^M                                    ^M      ocamlc runtime-lib/ppx_here_lib.cma
Done: 49% (36/73, 37 left) (jobs: 2)^M                                    ^MDone: 51% (38/74, 36 left) (jobs: 2)^M                                    ^MDone: 51% (38/74, 36 left) (jobs: 2)^M                                    ^MDone: 51% (38/74, 36 left) (jobs: 2)^M                                    ^MDone: 51% (38/74, 36 left) (jobs: 2)^M                                    ^M    ocamlopt runtime-lib/ppx_here_lib.{a,cmxa}
Done: 51% (38/74, 36 left) (jobs: 2)^M                                    ^MDone: 51% (38/74, 36 left) (jobs: 2)^M                                    ^M      ocamlc expander/.ppx_here_expander.objs/byte/ppx_here_expander.{cmi,cmti}
Done: 51% (38/74, 36 left) (jobs: 2)^M                                    ^MDone: 58% (45/77, 32 left) (jobs: 4)^M                                    ^M      ocamlc src/.ppx_here.objs/byte/ppx_here.{cmi,cmti}
Done: 58% (45/77, 32 left) (jobs: 4)^M                                    ^MDone: 58% (45/77, 32 left) (jobs: 4)^M                                    ^M    ocamlopt runtime-lib/ppx_here_lib.cmxs
Done: 58% (45/77, 32 left) (jobs: 4)^M                                    ^MDone: 62% (48/77, 29 left) (jobs: 5)^M                                    ^MDone: 64% (50/77, 27 left) (jobs: 4)^M                                    ^MDone: 64% (50/77, 27 left) (jobs: 4)^M                                    ^M      ocamlc .ppx/ff408171a8b46151d93f2f1b1c8a9f6e/dune__exe___ppx.{cmi,cmo}
Done: 64% (50/77, 27 left) (jobs: 4)^M                                    ^M    ocamlopt expander/.ppx_here_expander.objs/native/ppx_here_expander.{cmx,o} (exit 2)
File "expander/ppx_here_expander.ml", line 1:
Error: The files /usr/lib64/ocaml/ppxlib/ppxlib.cmi
       and /usr/lib64/ocaml/base/base.cmi make inconsistent assumptions
       over interface Sexplib0__Sexp_conv
Done: 64% (50/77, 27 left) (jobs: 4)^M                                    ^M      ocamlc expander/.ppx_here_expander.objs/byte/ppx_here_expander.{cmo,cmt} (exit 2)
File "expander/ppx_here_expander.ml", line 1:
Error: The files /usr/lib64/ocaml/ppxlib/ppxlib.cmi
       and /usr/lib64/ocaml/base/base.cmi make inconsistent assumptions
       over interface Sexplib0__Sexp_conv
Done: 64% (50/77, 27 left) (jobs: 4)^M                                    ^MDone: 66% (51/77, 26 left, 2 failed) (jobs: 1)^M                                              ^MDone: 66% (51/77, 26 left, 2 failed) (jobs: 1)
^M                                              ^MDone: 66% (51/77, 26 left, 2 failed) (jobs: 1)^M                                              ^M      ocamlc src/.ppx_here.objs/byte/ppx_here.{cmo,cmt}
Done: 66% (51/77, 26 left, 2 failed) (jobs: 1)^M                                              ^M      ocamlc src/ppx_here.cma
Done: 66% (51/77, 26 left, 2 failed) (jobs: 1)^M                                              ^M * ERROR: dev-ml/ppx_here-0.15.0::gentoo failed (compile phase):
 *   Failed to run command: dune build @install --display=short --profile release -j 6
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 587:  Called dune_src_compile
 *   environment, line 353:  Called dune-compile
 *   environment, line 303:  Called dune-release 'build' '--target' '@install'
 *   environment, line 344:  Called edune 'build' '@install' '--display=short' '--profile' 'release' '-j' '6'
 *   environment, line 510:  Called edo 'dune' 'build' '@install' '--display=short' '--profile' 'release' '-j' '6'
 *   environment, line 499:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "Failed to run command: $@"
 * 
 * If you need support, post the output of `emerge --info '=dev-ml/ppx_here-0.15.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ml/ppx_here-0.15.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ml/ppx_here-0.15.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ppx_here-0.15.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ml/ppx_here-0.15.0/work/ppx_here-0.15.0'
 * S: '/var/tmp/portage/dev-ml/ppx_here-0.15.0/work/ppx_here-0.15.0'
--8<--

emerge --info:
--8<--
Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12, glibc-2.36-r7, 6.1.8-gentoo x86_64)
=================================================================
System uname: Linux-6.1.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-glibc2.36
KiB Mem:    24573564 total,   4828264 free
KiB Swap:   39845884 total,  38995632 free
Timestamp of repository gentoo: Sun, 29 Jan 2023 22:00:01 +0000
Head commit of repository gentoo: 86d0e242ae40560010204fe7c5c0d69ce22b3c47
Head commit of repository steam-overlay: 8d074bae13d66a865fe1766a42fdcf2d0c1d2f3d

sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.40 p1) 2.40
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.67.0::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          252.4-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-activ
e/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTI
ME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch
 pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en fi"
MAKEOPTS="--jobs=6"
PKGDIR="/var/cache/binpkgs"
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=/pack
ages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aac acl acpi activities alsa amd64 apache2 audit bash-completion bluetooth branding bzip2 cairo clamav cli crypt cups curl dbus declarative dri driver dts encode exif flac fontconfig fortran gdbm gif gles2 gpm gt
k gui iconv icu ipv6 iwd java jpeg kde kwallet lcms libass libglvnd libnotify libtirpc lm-sensors lvm mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp pam pango pcmcia pcre pdf pipe
wire plasma png policykit ppds pulseaudio python qml qt5 readline samba screencast scsi sdl seccomp semantic-desktop smp sound spell split-usr ssl startup-notification svg systemd test-rust tiff tools truetype udev udis
ks unicode upower usb vaapi vdpau vnc vorbis vpx wayland widgets wifi wxwidgets x264 xattr xcb xcomposite xft xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shm
cb 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_FEATU
RES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_P
ROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublo
x ubx" INPUT_DEVICES="mouse keyboard synaptics libinput" KERNEL="linux" L10N="en fi" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="pyt
hon3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark i
pmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM,
 OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
--8<--
Comment 1 Larry the Git Cow gentoo-dev 2023-02-01 19:08:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f3d8f200a73d1773dee5bdcb2cf144da741aff

commit a8f3d8f200a73d1773dee5bdcb2cf144da741aff
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-02-01 19:07:27 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-02-01 19:07:59 +0000

    dev-ml/sexplib0: change SLOT
    
    Closes: https://bugs.gentoo.org/892553
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/sexplib0/{sexplib0-0.15.1.ebuild => sexplib0-0.15.0-r2.ebuild} | 2 +-
 .../sexplib0/{sexplib0-0.15.0-r1.ebuild => sexplib0-0.15.1-r1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be0e0ac8bebb6b2ab016b37ed0a86968981e4c5

commit 8be0e0ac8bebb6b2ab016b37ed0a86968981e4c5
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-02-01 18:56:48 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-02-01 19:07:56 +0000

    dev-ml/sexplib: relax sexplib0 slot deps
    
    Bug: https://bugs.gentoo.org/892553
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/sexplib/{sexplib-0.15.1.ebuild => sexplib-0.15.0-r3.ebuild}    | 2 +-
 dev-ml/sexplib/{sexplib-0.15.0-r2.ebuild => sexplib-0.15.1-r1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09167e86fa3e8e7cff67c8eca3caf70e044c244d

commit 09167e86fa3e8e7cff67c8eca3caf70e044c244d
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-02-01 18:54:15 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-02-01 19:07:52 +0000

    dev-ml/base: relax slot of sexplib0
    
    Bug: https://bugs.gentoo.org/892553
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/base/{base-0.15.1.ebuild => base-0.15.0-r3.ebuild}    | 2 +-
 dev-ml/base/{base-0.15.0-r2.ebuild => base-0.15.1-r1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)