Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708880 - dev-ml/findlib-1.7.1 with dev-lang/ocaml-4.09.0 - The -vmthread switch is not supported: Your ocaml version is too old!
Summary: dev-ml/findlib-1.7.1 with dev-lang/ocaml-4.09.0 - The -vmthread switch is not...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-09 21:12 UTC by H. Peter Pfeufer
Modified: 2020-11-28 18:16 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 H. Peter Pfeufer 2020-02-09 21:12:08 UTC
Todays world update pulled dev-lang/ocaml-4.09.0

this package itself was building fine, but the following not anymore ...

---------------------
>>> Emerging (6 of 17) dev-ml/findlib-1.7.1::gentoo
* findlib-1.7.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking findlib-1.7.1.tar.gz to /var/tmp/portage/dev-ml/findlib-1.7.1/work
>>> Source unpacked in /var/tmp/portage/dev-ml/findlib-1.7.1/work
>>> Preparing source in /var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1 ...
* Applying externalmeta4.patch ...                                                                                                                                                                                                                                                                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1 ...
Welcome to findlib version 1.7.1
Configuring core...
Checking for #remove_directory...
Testing threading model...
The -vmthread switch is not supported: Your ocaml version is too old!
* ERROR: dev-ml/findlib-1.7.1::gentoo failed (configure phase):
*   configure failed
* 
* Call stack:
*     ebuild.sh, line 125:  Called src_configure
*   environment, line 1887:  Called die
* The specific snippet of code:
*       ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man -sitelib ${ocamlfind_destdir} -config ${ocamlfind_destdir}/findlib/findlib.conf -no-custom ${myconf} || die "configure failed"
* 
* If you need support, post the output of `emerge --info '=dev-ml/findlib-1.7.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-ml/findlib-1.7.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-ml/findlib-1.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-ml/findlib-1.7.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1'
* S: '/var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1'


---------------------
thor ~ # emerge --resume --skipfirst -av

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
* Invalid resume list:
* 
*   ('ebuild', '/', 'dev-ml/ocurl-0.6.1', 'merge')
*   ('ebuild', '/', 'dev-util/itstool-2.0.6-r1', 'merge')
*   ('ebuild', '/', 'dev-libs/gobject-introspection-1.60.2-r1', 'merge')
*   ('ebuild', '/', 'dev-games/freecell-solver-5.14.0-r1', 'merge')
*   ('ebuild', '/', 'net-wireless/bluez-5.52-r1', 'merge')
*   ('ebuild', '/', 'app-portage/unsymlink-lib-17-r1', 'merge')
*   ('ebuild', '/', 'dev-qt/qtwebengine-5.13.2', 'merge')
*   ('ebuild', '/', 'media-gfx/gimp-2.10.14-r1', 'merge')
*   ('ebuild', '/', 'app-office/libreoffice-6.3.4.2-r1', 'merge')
*   ('ebuild', '/', 'kde-plasma/ksysguard-5.17.4', 'merge')
*   ('ebuild', '/', 'kde-apps/kig-19.08.3-r5', 'merge')
* 
* One or more packages are either masked or have missing dependencies:
* 
*   >=dev-lang/ocaml-4.02.3-r1:0/4.04.2=[ocamlopt] pulled in by:
*     (dev-ml/findlib-1.7.1:0/0::gentoo, installed)
* 
* The resume list contains packages that are either masked or have
* unsatisfied dependencies. Please restart/continue the operation
* manually, or use --skipfirst to skip the first package in the list and
* any other packages that may be masked or have missing dependencies.

---------------------

After downgrading to dev-lang/ocaml-4.04.2-r1 all is building just fine.


Reproducible: Always

Steps to Reproduce:
1. update dev-lang/ocaml to the lantest version
2. try to emerge findlib



emerge --info:

---------------------

emerge --info '=dev-ml/findlib-1.7.1::gentoo'
Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 5.4.14-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.4.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-8086K_CPU_@_4.00GHz-with-gentoo-2.6
KiB Mem:    65770404 total,  47229488 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Sun, 09 Feb 2020 20:30:01 +0000
Head commit of repository gentoo: 9673d96b0c6418c23143a6d736d629ef82c54a77
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

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

bobwya
location: /var/lib/layman/bobwya
masters: gentoo
priority: 50

localrepo
location: /home/ppfeufer/Gentoo/localrepo
masters: gentoo
priority: 50

ppfeufer-gentoo-overlay
location: /var/lib/layman/ppfeufer-gentoo-overlay
masters: gentoo
priority: 50

steam-overlay
location: /var/lib/layman/steam-overlay
masters: gentoo
priority: 50

tastytea
location: /var/lib/layman/tastytea
masters: gentoo
priority: 50

vifino-overlay
location: /var/lib/layman/vifino-overlay
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=broadwell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=broadwell -O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE DE_DE de-DE en en_GB en_US EN_GB EN_US en-GB en-US"
MAKEOPTS="-j12"
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 aac accessibility acl acpi activities aes aiglx alsa amd64 avx avx2 berkdb bluetooth bzip2 cairo cdda cdr cleartype cli corefonts crypt cups cxx dbus declarative dri dts dvd dvdr dxvk emboss encode exif f16c fat flac fma3 fortran gdbm gif gles gmp gpm hfs iconv icu inotify ipv6 jfs jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntfs nvenc nvidia ogg opengl openmp pam pango pclmul pcre pda pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt5 rdesktop readline reiserfs sdl seccomp semantic-desktop spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs systemd tcpd threads tiff truetype typo1 udev udisks unicode upower usb v4l vdpau vorbis vulkan wayland widgets win32codecs wxwidgets x264 xattr xcb xcomposite xfs xinerama xml xpm xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias auth_digest http2 imagemap proxy proxy_http" CALLIGRA_FEATURES="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 sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="de de_DE DE_DE de-DE en en_GB en_US EN_GB EN_US en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
Package Settings
=================================================================

dev-ml/findlib-1.7.1::gentoo was built with the following:
USE="ocamlopt -doc -tk" ABI_X86="(64)"
Comment 1 liqsquid 2020-02-09 21:59:38 UTC
I have some info about it. If you run the command:

$ ocamlc -vmthread

You get the following message:

The -vmthread argument of ocamlc is no longer supported
since OCaml 4.09.0.  Please switch to system threads, which have the
same API. Lightweight threads with VM-level scheduling are provided by
third-party libraries such as Lwt, but with a different API.
Comment 2 Eduardo Coutinho Scalabrin 2020-02-09 22:37:11 UTC
I have the same error here.
Comment 3 Eduardo Coutinho Scalabrin 2020-02-09 22:40:05 UTC
I found this https://bugs.gentoo.org/708696#c2