Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging cryptokit as part of ocaml update fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kaizushi
n00b
n00b


Joined: 22 Sep 2018
Posts: 28

PostPosted: Thu Oct 08, 2020 5:18 am    Post subject: Emerging cryptokit as part of ocaml update fails Reply with quote

I was updating ocaml on my system and it started rebuilding things with dependencies on it. The cryptokit dependency failed at the configure stage...

emerge -1av =dev-lang/ocaml-4.09.0 --backtrack=300
Code:

>>> Configuring source in /var/tmp/portage/dev-ml/cryptokit-1.10/work/cryptokit-1.10 ...
File "./setup.ml", line 247, characters 8-26:
247 |         buf.[i] <- f s.[i]
              ^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set instead.
File "./setup.ml", line 247, characters 8-11:
247 |         buf.[i] <- f s.[i]
              ^^^
Error: This expression has type string but an expression was expected of type
         bytes
 * ERROR: dev-ml/cryptokit-1.10::gentoo failed (configure phase):
 *   (no error message)


Here is emerge -pqv '=dev-ml/cryptokit-1.10::gentoo'
Code:

[ebuild   R   ] dev-ml/cryptokit-1.10  USE="ocamlopt zlib -debug -doc -test"

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


Here is emerge --info '=dev-ml/cryptokit-1.10::gentoo'
Code:

Portage 3.0.4 (python 3.6.11-final-0, default/linux/amd64/17.0/no-multilib/hardened/selinux, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-kaizukvm-5.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.60-gentoo-kaizukvm-5.1-x86_64-Intel_Xeon_E312xx_-Sandy_Bridge-with-gentoo-2.7
KiB Mem:     8149300 total,   1177672 free
KiB Swap:    7999484 total,   7839484 free
Timestamp of repository gentoo: Thu, 08 Oct 2020 04:00:01 +0000
Head commit of repository gentoo: 10d6ffc03914836472960b9aa4965c9177db7314
Timestamp of repository ago: Tue, 29 Sep 2020 14:07:35 +0000
Head commit of repository ago: 8af15af3d18e06b74bb6b9ce4035edae1ad59545

Timestamp of repository monero: Tue, 29 Sep 2020 14:07:56 +0000
Head commit of repository monero: 1e6221907a71cfdfabcaf96ea9aee523cf0bb5fb

Timestamp of repository mva: Sun, 04 Oct 2020 23:05:21 +0000
Head commit of repository mva: e20554e1bd57488b7e1e929b3086a17676946a6f

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r2::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            7.4.0-r2::gentoo, 9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

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

ago
    location: /var/db/repos/ago
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ago.git
    masters: gentoo

monero
    location: /var/db/repos/monero
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/monero.git
    masters: gentoo

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mva.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-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 preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
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 amd64 bzip2 crypt custom-cflags fpm gd gmp hardened iconv imagemagick ipv6 jpeg libglvnd libtirpc mysql ncurses nls nptl openmp pam pcre perl php pie png python readline ruby seccomp selinux split-usr ssl ssp sysvipc tiff unicode vim-syntax xattr xtpax zlib" ABI_X86="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="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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm kaiser tsc_adjust arat" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="auth_pam naxsi gzip auth_basic fastcgi gunzip memcached proxy random_index referer rewrite secure_link security upload_progress userid access autoindex referer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby25 ruby26" 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, 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/cryptokit-1.10::gentoo was built with the following:
USE="ocamlopt zlib -debug -doc -test"
FEATURES="ipc-sandbox parallel-fetch multilib-strict unknown-features-warn config-protect-if-modified sfperms unmerge-logs binpkg-docompress usersync preserve-libs distlocks fixlafiles binpkg-dostrip network-sandbox unmerge-orphans merge-sync qa-unresolved-soname-deps news selinux strict binpkg-logs userpriv assume-digests usersandbox ebuild-locks protect-owned xattr sandbox sesandbox userfetch"


The build log: https://dpaste.com/3MF9QKJ9N
_________________
I cook a delicious onion stew without any chili peppers.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24792
Location: here

PostPosted: Thu Oct 08, 2020 5:39 am    Post subject: Reply with quote

You tried update package to 1.11 (latest stable)?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum