* Package: net-p2p/mldonkey-3.1.6-r1 * Repository: gentoo * Maintainer: gentoo@chuso.net proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/36ca467372885150c80e717620523b31e812fae9 (Sat Oct 17 09:32:11 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r2, 5.4.0-1025-aws x86_64) ================================================================= System uname: Linux-5.4.0-1025-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 KiB Mem: 71926568 total, 48923600 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.1 p1) 2.35.1 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo dev-util/cmake: 3.18.4::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.35.1::gentoo sys-devel/gcc: 10.2.0-r2::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" 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/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" 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 -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36 V=1" PKGDIR="/root/.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 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl ocamlopt openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking mldonkey-3.1.6.tar.bz2 to /var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work >>> Source unpacked in /var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work >>> Preparing source in /var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work/mldonkey-3.1.6 ... * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work/mldonkey-3.1.6 ... * econf: updating mldonkey-3.1.6/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mldonkey-3.1.6/config/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/mldonkey-3.1.6-r1 --htmldir=/usr/share/doc/mldonkey-3.1.6-r1/html --libdir=/usr/lib64 LIBS= --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-checks --disable-batch --disable-bittorrent --disable-fasttrack --disable-gnutella --disable-gnutella2 --disable-gd --disable-magic --disable-upnp-natpmp --disable-force-upnp-natpmp --disable-gui Arguments to configure: '--enable-option-checking=fatal' '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--docdir=/usr/share/doc/mldonkey-3.1.6-r1' '--htmldir=/usr/share/doc/mldonkey-3.1.6-r1/html' '--libdir=/usr/lib64' 'LIBS=' '--sysconfdir=/etc/mldonkey' '--sharedstatedir=/var/mldonkey' '--localstatedir=/var/mldonkey' '--enable-checks' '--disable-batch' '--disable-bittorrent' '--disable-fasttrack' '--disable-gnutella' '--disable-gnutella2' '--disable-gd' '--disable-magic' '--disable-upnp-natpmp' '--disable-force-upnp-natpmp' '--disable-gui' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe -march=native -frecord-gcc-switches' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CXXFLAGS=-O2 -pipe -march=native -frecord-gcc-switches' checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu -------------------------------- Checking system tools. -------------------------------- checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for gmake... gmake checking for make... (cached) gmake checking if gmake is GNU make ... yes checking for bzip2... bzip2 checking for gzip... (cached) bzip2 checking for perl... /usr/bin/perl checking for rpmbuild... no checking for rpm... no checking for wget... wget ---------------------------------------- Checking system tools finished. ---------------------------------------- -------------------------------- Checking OCaml compiler. -------------------------------- checking for ocamlc.opt... /usr/bin/ocamlc.opt checking for x86_64-pc-linux-gnu-ocamlc... /usr/bin/ocamlc.opt checking for camlp4... /usr/bin/camlp4 checking for ocamlopt.opt... ocamlopt.opt checking for ocamlopt... (cached) ocamlopt.opt checking for ocamldep... ocamldep checking for ocamllex.opt... ocamllex.opt checking for ocamllex... (cached) ocamllex.opt checking for ocamlyacc... ocamlyacc checking for ocamldoc... ocamldoc checking for ocamlmktop... ocamlmktop checking for camlp4... /usr/bin/camlp4 checking for camlp4of... camlp4of ------------------------------------------- Checking OCaml 4.11.1 finished. ------------------------------------------- ---------------------------------- Checking system headers. ---------------------------------- checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for setrlimit... yes checking for getrlimit... yes checking for strerror_r... yes checking for strerror... yes checking for posix_fallocate... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/types.h... (cached) yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for poll... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes ------------------------------------------- Checking system headers finished. ------------------------------------------- ----------------------------------- Checking system libraries. ----------------------------------- ----- checking zlib (required) checking for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for zlibVersion in -lz... yes ----- checking bzlib (optional) checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for BZ2_bzlibVersion in -lbz2... yes configure: libmagic not available ----- checking iconv (optional) checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for locale_charset... no configure: found nl_langinfo(CODESET) checking for locale_charset in -lcharset... no checking libcharset.h usability... no checking libcharset.h presence... no checking for libcharset.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes ----- checking thread support (optional, strongly advised) checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... x86_64-pc-linux-gnu-gcc ----- GNU C Library version checking linux/limits.h usability... yes checking linux/limits.h presence... yes checking for linux/limits.h... yes checking gnu/libc-version.h usability... yes checking gnu/libc-version.h presence... yes checking for gnu/libc-version.h... yes checking for GNU C Library version... 2.32 --------------------------------------------- Checking system libraries finished. --------------------------------------------- -------------------------------------- Checking activated networks. -------------------------------------- checking eDonkey... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-g++... no checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking eMule SUI... yes checking whether x86_64-pc-linux-gnu-g++ accepts -fno-omit-frame-pointer... yes checking whether x86_64-pc-linux-gnu-g++ accepts -mno-omit-leaf-frame-pointer... yes checking FileTP... yes checking DirectConnect... yes ----------------------------------------------- Checking activated networks finished. ----------------------------------------------- configure: creating ./config.status config.status: creating Makefile.config config.status: creating mldonkey.rc config.status: creating ../src/utils/lib/autoconf.ml.new config.status: creating ../src/utils/lib/gAutoconf.ml.new config.status: creating ../src/utils/bitstring/bitstring.ml config.status: creating ../src/utils/lib/magic.ml config.status: creating ../src/networks/donkey/donkeySui.ml config.status: creating ../src/daemon/driver/driverGraphics.ml config.status: creating ../packages/rpm/mldonkey.spec config.status: creating ../packages/rpm/Makefile config.status: creating ../packages/slackware/mldonkey.options config.status: creating config.h Building dependencies (if it blocks, try 'gmake depend' to see the problem) Building dependencies fails: try: 'gmake depend' Configuring MLDonkey 3.1.6 completed. Network modules: - eDonkey enabled (eMule SUI enabled) - BitTorrent disabled - FileTP (aka wget) enabled - Fasttrack disabled - Gnutella disabled - unmaintained - Gnutella2 disabled - unmaintained - Direct Connect enabled - Open Napster disabled - currently not usable - Soulseek disabled - currently not usable - OpenFT disabled - currently not usable Core features: - zlib (required) enabled - threads enabled - bzip2 enabled - iconv enabled - libmagic disabled - upnp & natpmp disabled - graphical stats disabled Compilers: - OCaml version 4.11.1 - x86_64-pc-linux-gnu-gcc version 10.2.0 - x86_64-pc-linux-gnu-g++ version 10.2.0 \nNow execute 'gmake' to start compiling. Good luck! To compile a static code execute: gmake mlnet.static To produce a release tarball execute: gmake release.mlnet.static To clean the build directory execute: gmake maintainerclean Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work/mldonkey-3.1.6 ... make -j36 V=1 /usr/bin/ocamlc.opt -w -3 -linkall -o ocamlpp.byte \ -custom bigarray.cma unix.cma str.cma nums.cma -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" \ \ \ \ \ \ \ -I build tools/ocamlpp.cmo ocamlopt.opt -inline 10 -w -3 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/direct_connect -I src/networks/fileTP -I src/networks/donkey -I +camlp4 -c src/daemon/common/commonMain.ml ocamlopt.opt -inline 10 -w -3 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/direct_connect -I src/networks/fileTP -I src/networks/donkey -I +camlp4 -c src/utils/extlib/IO.ml /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/cdk/zlibstubs.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/cdk/zlibstubs.c /usr/bin/ocamlc.opt -w -3 -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread -o src/utils/cdk/heap_c.o" -ccopt "" -c src/utils/cdk/heap_c.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/config/unix/os_stubs_c.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/config/unix/os_stubs_c.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/fst_hash.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/fst_hash.c /usr/bin/ocamlc.opt -w -3 -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread -o src/utils/lib/md4_cc.o" -ccopt "" -c src/utils/lib/md4.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/md4_c.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/md4_c.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/charsetstubs.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/charsetstubs.c File "_none_", line 1: Error: Cannot find file nums.cma /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/md5_c.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/md5_c.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/sha1_c.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/sha1_c.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/tiger.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/tiger.c /usr/bin/ocamlc.opt -w -3 -verbose -ccopt "-I /byterun -o src/utils/lib/stubs_c.o" -ccopt "-O2 -pipe -march=native -frecord-gcc-switches -pthread" -ccopt "-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -c src/utils/lib/stubs_c.c make: *** [Makefile:3819: ocamlpp.byte] Error 2 make: *** Waiting for unfinished jobs.... + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/config/unix/os_stubs_c.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/config/unix/os_stubs_c.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/md4_c.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/md4_c.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/cdk/zlibstubs.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/cdk/zlibstubs.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/fst_hash.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/fst_hash.c' File "src/daemon/common/commonMain.ml", line 20, characters 5-12: 20 | open Printf2 ^^^^^^^ Error: Unbound module Printf2+ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/md5_c.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/md5_c.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/charsetstubs.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/charsetstubs.c' Hint: Did you mean Printf? make: *** [Makefile:5444: src/daemon/common/commonMain.cmx] Error 2 + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/sha1_c.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/sha1_c.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/tiger.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/tiger.c' + x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I /byterun -o src/utils/lib/stubs_c.o -O2 -pipe -march=native -frecord-gcc-switches -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -I'/usr/lib64/ocaml' 'src/utils/lib/stubs_c.c' File "src/utils/extlib/IO.ml", line 70, characters 22-23: 70 | let r = i.in_input s !p !l in ^ Error: This expression has type bytes but an expression was expected of type string make: *** [Makefile:5444: src/utils/extlib/IO.cmx] Error 2 src/utils/cdk/zlibstubs.c: In function ‘camlzip_error’: src/utils/cdk/zlibstubs.c:61:23: warning: assignment discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 61 | camlzip_error_exn = caml_named_value("Zlib.Error"); | ^ src/utils/lib/charsetstubs.c: In function ‘raise_error’: src/utils/lib/charsetstubs.c:171:15: warning: assignment discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 171 | closure_f = caml_named_value("charset_error"); | ^ src/utils/lib/charsetstubs.c: In function ‘ml_iconv’: src/utils/lib/charsetstubs.c:1207:23: warning: passing argument 2 of ‘iconv’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 1207 | return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left); | ^~~~~ | | | const char ** src/utils/cdk/zlibstubs.c: In function ‘camlzip_bzerror’: src/utils/cdk/zlibstubs.c:213:25: warning: assignment discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 213 | camlzip_bzerror_exn = caml_named_value("Bzlib.Error"); | ^ In file included from src/utils/lib/charsetstubs.c:45: /usr/include/iconv.h:42:54: note: expected ‘char ** restrict’ but argument is of type ‘const char **’ 42 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from src/utils/lib/charsetstubs.c:93: src/utils/lib/charsetstubs.c: In function ‘ml_copy_string_len_and_free’: In file included from /usr/lib64/ocaml/caml/signals.h:27, from src/utils/lib/os_stubs.h:94, from src/utils/lib/md4_c.c:20: src/utils/lib/md4_c.c: In function ‘md4_xor’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/charsetstubs.c:1340:11: note: in expansion of macro ‘String_val’ 1340 | memcpy (String_val(v), str, len); | ^~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/utils/lib/charsetstubs.c:31: /usr/include/bits/string_fortified.h:31:1: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/md4_c.c:32:14: note: in expansion of macro ‘String_val’ 32 | char *m1 = String_val(m1_v); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/md4_c.c:33:14: note: in expansion of macro ‘String_val’ 33 | char *m2 = String_val(m2_v); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/md4_c.c:34:14: note: in expansion of macro ‘String_val’ 34 | char *m3 = String_val(m3_v); | ^~~~~~~~~~ In file included from src/utils/lib/fst_hash.c:181: src/utils/lib/fst_hash.c: In function ‘fst_hash_file_ml’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘fst_hash_file’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/fst_hash.c:326:20: note: in expansion of macro ‘String_val’ 326 | if(fst_hash_file(String_val(digest), String_val(filename), | ^~~~~~~~~~ src/utils/lib/fst_hash.c:200:35: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 200 | int fst_hash_file (unsigned char *fth, char *file, int64_t filesize) | ~~~~~~~~~~~~~~~^~~ In file included from src/utils/lib/fst_hash.c:181: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘fst_hash_file’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/fst_hash.c:326:40: note: in expansion of macro ‘String_val’ 326 | if(fst_hash_file(String_val(digest), String_val(filename), | ^~~~~~~~~~ src/utils/lib/fst_hash.c:200:46: note: expected ‘char *’ but argument is of type ‘const char *’ 200 | int fst_hash_file (unsigned char *fth, char *file, int64_t filesize) | ~~~~~~^~~~ In file included from src/utils/lib/fst_hash.c:181: src/utils/lib/fst_hash.c: In function ‘fst_hash_string_ml’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘fst_hash_string’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/fst_hash.c:333:19: note: in expansion of macro ‘String_val’ 333 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~ src/utils/lib/fst_hash.c:274:38: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 274 | void fst_hash_string (unsigned char *fth, unsigned char *file, int64_t filesize) | ~~~~~~~~~~~~~~~^~~ In file included from src/utils/lib/fst_hash.c:181: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘fst_hash_string’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/fst_hash.c:333:39: note: in expansion of macro ‘String_val’ 333 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~ src/utils/lib/fst_hash.c:274:58: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 274 | void fst_hash_string (unsigned char *fth, unsigned char *file, int64_t filesize) | ~~~~~~~~~~~~~~~^~~~ In file included from src/utils/lib/fst_hash.c:181: src/utils/lib/fst_hash.c: In function ‘fst_hash_checksum_ml’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘fst_hash_checksum’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:75:47: note: in definition of macro ‘Val_long’ 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ src/utils/lib/fst_hash.c:339:10: note: in expansion of macro ‘Val_int’ 339 | return Val_int(fst_hash_checksum(String_val(digest))); | ^~~~~~~ src/utils/lib/fst_hash.c:339:36: note: in expansion of macro ‘String_val’ 339 | return Val_int(fst_hash_checksum(String_val(digest))); | ^~~~~~~~~~ src/utils/lib/fst_hash.c:184:50: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 184 | unsigned short fst_hash_checksum (unsigned char *hash) | ~~~~~~~~~~~~~~~^~~~ In file included from /usr/lib64/ocaml/caml/signals.h:27, from src/utils/lib/../../utils/lib/os_stubs.h:94, from src/utils/lib/tiger.c:20: src/utils/lib/tiger.c: In function ‘tigertree_unsafe_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/tiger.c:830:27: note: in expansion of macro ‘String_val’ 830 | unsigned char *digest = String_val(digest_v); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/tiger.c:831:27: note: in expansion of macro ‘String_val’ 831 | unsigned char *string = String_val(string_v); | ^~~~~~~~~~ src/utils/lib/tiger.c: In function ‘tiger_unsafe_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/tiger.c:841:27: note: in expansion of macro ‘String_val’ 841 | unsigned char *digest = String_val(digest_v); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/tiger.c:842:27: note: in expansion of macro ‘String_val’ 842 | unsigned char *string = String_val(string_v); | ^~~~~~~~~~ src/config/unix/os_stubs_c.c: In function ‘os_ftruncate’: src/config/unix/os_stubs_c.c:86:39: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘OFF_T’ {aka ‘long int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 86 | fprintf(stderr, "ftruncate(%d,%Ld)\n", fd, len); | ~~^ ~~~ | | | | | OFF_T {aka long int} | long long int | %ld src/config/unix/os_stubs_c.c:83:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 83 | write(fd, &zero, 1); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/ocaml/caml/signals.h:27, from src/utils/lib/../../utils/lib/os_stubs.h:94, from src/utils/lib/stubs_c.c:20: src/utils/lib/stubs_c.c: In function ‘ml_getsize64’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘os_getfilesize’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/lib/stubs_c.c:375:36: note: in expansion of macro ‘String_val’ 375 | return copy_int64(os_getfilesize(String_val(path))); | ^~~~~~~~~~ In file included from src/utils/lib/stubs_c.c:20: src/utils/lib/../../utils/lib/os_stubs.h:159:37: note: expected ‘char *’ but argument is of type ‘const char *’ 159 | extern int64_t os_getfilesize(char *path); | ~~~~~~^~~~ In file included from /usr/lib64/ocaml/caml/signals.h:27, from src/utils/lib/../../utils/lib/os_stubs.h:94, from src/utils/lib/stubs_c.c:20: src/utils/lib/stubs_c.c: In function ‘ml_strstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:423:13: note: in expansion of macro ‘String_val’ 423 | char *s = String_val(s_v); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:424:15: note: in expansion of macro ‘String_val’ 424 | char *sub = String_val(sub_v); | ^~~~~~~~~~ src/utils/lib/stubs_c.c: In function ‘ml_ints_of_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:443:13: note: in expansion of macro ‘String_val’ 443 | char *s = String_val(s_v); | ^~~~~~~~~~ src/utils/lib/stubs_c.c: In function ‘sha1_unsafe64_fd’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:512:27: note: in expansion of macro ‘String_val’ 512 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:583:1: note: in expansion of macro ‘ML_HASH’ 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘sha1_unsafe_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:544:27: note: in expansion of macro ‘String_val’ 544 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:583:1: note: in expansion of macro ‘ML_HASH’ 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:545:27: note: in expansion of macro ‘String_val’ 545 | unsigned char *string = String_val(string_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:583:1: note: in expansion of macro ‘ML_HASH’ 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘sha1_unsafe_file’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:558:21: note: in expansion of macro ‘String_val’ 558 | char *filename = String_val(filename_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:583:1: note: in expansion of macro ‘ML_HASH’ 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:559:27: note: in expansion of macro ‘String_val’ 559 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:583:1: note: in expansion of macro ‘ML_HASH’ 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md5_unsafe64_fd’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:512:27: note: in expansion of macro ‘String_val’ 512 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:584:1: note: in expansion of macro ‘ML_HASH’ 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md5_unsafe_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:544:27: note: in expansion of macro ‘String_val’ 544 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:584:1: note: in expansion of macro ‘ML_HASH’ 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:545:27: note: in expansion of macro ‘String_val’ 545 | unsigned char *string = String_val(string_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:584:1: note: in expansion of macro ‘ML_HASH’ 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md5_unsafe_file’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:558:21: note: in expansion of macro ‘String_val’ 558 | char *filename = String_val(filename_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:584:1: note: in expansion of macro ‘ML_HASH’ 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:559:27: note: in expansion of macro ‘String_val’ 559 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:584:1: note: in expansion of macro ‘ML_HASH’ 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md4_unsafe64_fd’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:512:27: note: in expansion of macro ‘String_val’ 512 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:585:1: note: in expansion of macro ‘ML_HASH’ 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md4_unsafe_string’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:544:27: note: in expansion of macro ‘String_val’ 544 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:585:1: note: in expansion of macro ‘ML_HASH’ 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:545:27: note: in expansion of macro ‘String_val’ 545 | unsigned char *string = String_val(string_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:585:1: note: in expansion of macro ‘ML_HASH’ 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘md4_unsafe_file’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:558:21: note: in expansion of macro ‘String_val’ 558 | char *filename = String_val(filename_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:585:1: note: in expansion of macro ‘ML_HASH’ 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:559:27: note: in expansion of macro ‘String_val’ 559 | unsigned char *digest = String_val(digest_v); \ | ^~~~~~~~~~ src/utils/lib/stubs_c.c:585:1: note: in expansion of macro ‘ML_HASH’ 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~ src/utils/lib/stubs_c.c: In function ‘tigertree_unsafe64_fd’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ src/utils/lib/stubs_c.c:636:27: note: in expansion of macro ‘String_val’ 636 | unsigned char *digest = String_val(digest_v); | ^~~~~~~~~~ src/utils/lib/stubs_c.c: In function ‘dns_thread’: src/utils/lib/stubs_c.c:854:3: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 854 | nice(19); | ^~~~~~~~ * ERROR: net-p2p/mldonkey-3.1.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/mldonkey-3.1.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/mldonkey-3.1.6-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-p2p/mldonkey-3.1.6-r1:20201017-093931.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work/mldonkey-3.1.6' * S: '/var/tmp/portage/net-p2p/mldonkey-3.1.6-r1/work/mldonkey-3.1.6'