Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532932 - net-p2p/mldonkey-3.1.5 - configure goes interactive: Objective-Caml 3.12.0 is required // Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ?
Summary: net-p2p/mldonkey-3.1.5 - configure goes interactive: Objective-Caml 3.12.0 is...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-18 13:43 UTC by Toralf Förster
Modified: 2016-08-17 09:23 UTC (History)
5 users (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 Toralf Förster gentoo-dev 2014-12-18 13:43:45 UTC
1418848637: Started emerge on: Dec 17, 2014 21:37:17
1418848637:  *** emerge --tree --accept-properties=-interactive --jobs=1 --accept-restrict=-fetch --nospinner --oneshot --quiet-build=y --deep net-p2p/mldonkey
1418848639:  >>> emerge (1 of 2) dev-lang/ocaml-4.02.1 to /
1418848639:  === (1 of 2) Cleaning (dev-lang/ocaml-4.02.1::/usr/portage/dev-lang/ocaml/ocaml-4.02.1.ebuild)
1418848639:  === (1 of 2) Compiling/Merging (dev-lang/ocaml-4.02.1::/usr/portage/dev-lang/ocaml/ocaml-4.02.1.ebuild)
1418848856:  === (1 of 2) Merging (dev-lang/ocaml-4.02.1::/usr/portage/dev-lang/ocaml/ocaml-4.02.1.ebuild)
1418848857:  >>> AUTOCLEAN: dev-lang/ocaml:0
1418848860:  === (1 of 2) Post-Build Cleaning (dev-lang/ocaml-4.02.1::/usr/portage/dev-lang/ocaml/ocaml-4.02.1.ebuild)
1418848860:  ::: completed emerge (1 of 2) dev-lang/ocaml-4.02.1 to /
1418848860:  >>> emerge (2 of 2) net-p2p/mldonkey-3.1.5 to /
1418848860:  === (2 of 2) Cleaning (net-p2p/mldonkey-3.1.5::/usr/portage/net-p2p/mldonkey/mldonkey-3.1.5.ebuild)
1418848860:  === (2 of 2) Compiling/Merging (net-p2p/mldonkey-3.1.5::/usr/portage/net-p2p/mldonkey/mldonkey-3.1.5.ebuild)


so the job hangs since a day at my tinderbox :

Every 2.0s: pstree -lnup -a 23115                                                                                                             Thu Dec 18 14:39:47 2014

chr.sh,23115 /mnt/qa/tinderbox/chr.sh amd64-unstable /bin/sh /tmp/job.sh; rm /tmp/job.sh /tmp/packages
  `-su,23124 - root -c /bin/sh /tmp/job.sh; rm /tmp/job.sh /tmp/packages
      `-bash,23125 -c /bin/sh /tmp/job.sh; rm /tmp/job.sh /tmp/packages
          `-sh,23126 /tmp/job.sh
              `-emerge,998 -b /usr/lib/python-exec/python2.7/emerge -1 --nospinner --tree --quiet-build --deep --accept-properties=-interactive --accept-restrict=-fet
ch net-p2p/mldonkey
                  `-sandbox,24951,portage /usr/lib/portage/python2.7/ebuild.sh configure
                      `-ebuild.sh,24953 /usr/lib/portage/python2.7/ebuild.sh configure
                          `-ebuild.sh,24970 /usr/lib/portage/python2.7/ebuild.sh configure
                              `-configure,25061 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/us
r/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 LIBS= --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --loc
alstatedir=/var/mldonkey --enable-checks --disable-batch --disable-bittorrent --disable-fasttrack --disable-gnutella --disable-gnutella2 --disable-gd --disable-magic
--disable-gui
                                  `-configure,25071 ./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 --libdir=/usr/lib64 LIBS= --sysconfdir=/etc/mldonkey -
-sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-checks --disable-batch --disable-bittorrent --disable-fasttrack --disable-gnutella --disable-gnut
ella2 --disable-gd --disable-magic --disable-gui



There's no /var/log/portage/net-p2p:mldonkey-3.1.5:20141217-204100.log, the appropriate link /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp/build.log is red flashing.


I do just have this :

tor-relay /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp # ll logging/
total 4
-rw-r--r-- 1 portage portage 264 Dec 17 21:41 prepare
tor-relay /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp # ll logging/prepare 
-rw-r--r-- 1 portage portage 264 Dec 17 21:41 logging/prepare
tor-relay /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp # cat logging/prepare 
QA This package has a configure.in file which has long been deprecated.  Please
QA update it to use configure.ac instead as newer versions of autotools will die
QA when it finds this file.  See https://bugs.gentoo.org/426262 for details.
INFO Running autoconf ...
tor-relay /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp # cat autoconf.out 
***** autoconf *****
***** PWD: /var/tmp/portage/net-p2p/mldonkey-3.1.5/work/mldonkey-3.1.5/config
***** autoconf

tor-relay /mnt/qa/tinderbox/amd64-unstable/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp # cat eclass-debug.log 
  eclass exists: /usr/portage/eclass/flag-o-matic.eclass
inherit: flag-o-matic -> /usr/portage/eclass/flag-o-matic.eclass
*** Multiple Inheritence (Level: 2)
  eclass exists: /usr/portage/eclass/eutils.eclass
inherit: eutils -> /usr/portage/eclass/eutils.eclass
*** Multiple Inheritence (Level: 3)
  eclass exists: /usr/portage/eclass/multilib.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
*** Multiple Inheritence (Level: 4)
  eclass exists: /usr/portage/eclass/toolchain-funcs.eclass
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
*** Multiple Inheritence (Level: 5)
  eclass exists: /usr/portage/eclass/multilib.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
  eclass exists: /usr/portage/eclass/toolchain-funcs.eclass
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
  eclass exists: /usr/portage/eclass/toolchain-funcs.eclass
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
  eclass exists: /usr/portage/eclass/multilib.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
  eclass exists: /usr/portage/eclass/eutils.eclass
inherit: eutils -> /usr/portage/eclass/eutils.eclass
  eclass exists: /usr/portage/eclass/autotools.eclass
inherit: autotools -> /usr/portage/eclass/autotools.eclass
*** Multiple Inheritence (Level: 2)
  eclass exists: /usr/portage/eclass/libtool.eclass
inherit: libtool -> /usr/portage/eclass/libtool.eclass
*** Multiple Inheritence (Level: 3)
  eclass exists: /usr/portage/eclass/multilib.eclass
inherit: multilib -> /usr/portage/eclass/multilib.eclass
  eclass exists: /usr/portage/eclass/toolchain-funcs.eclass
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
  eclass exists: /usr/portage/eclass/toolchain-funcs.eclass
inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass
  eclass exists: /usr/portage/eclass/user.eclass
inherit: user -> /usr/portage/eclass/user.eclass


probnably some interactive questions ?

FIW this is an ~amd64 minimal chroot at a hardened system.
Comment 1 Toralf Förster gentoo-dev 2014-12-18 13:45:53 UTC
Ah, here's the complete emerge log after I killed the configure procces :

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

Calculating dependencies  ... done!
[ebuild  N     ] net-p2p/mldonkey-3.1.5  USE="ocamlopt -bittorrent -doc -fasttrack -gd -gnutella -gtk -guionly -magic" 
[ebuild  N     ]  dev-lang/ocaml-4.02.1  USE="ncurses ocamlopt -X -emacs -latex -xemacs" 

>>> Verifying ebuild manifests
>>> Jobs: 0 of 2 complete, 1 running                Load avg: 10.2, 10.4, 10.5
>>> Emerging (1 of 2) dev-lang/ocaml-4.02.1::gentoo
>>> Jobs: 0 of 2 complete, 1 running                Load avg: 10.2, 10.4, 10.5
>>> Installing (1 of 2) dev-lang/ocaml-4.02.1::gentoo
>>> Jobs: 0 of 2 complete, 1 running                Load avg: 10.3, 10.4, 10.5
>>> Jobs: 0 of 2 complete                           Load avg: 10.3, 10.4, 10.5
>>> Jobs: 1 of 2 complete                           Load avg: 10.2, 10.4, 10.5
>>> Jobs: 1 of 2 complete, 1 running                Load avg: 10.2, 10.4, 10.5
>>> Emerging (2 of 2) net-p2p/mldonkey-3.1.5::gentoo
>>> Jobs: 1 of 2 complete, 1 running                Load avg: 10.2, 10.4, 10.5
>>> Failed to emerge net-p2p/mldonkey-3.1.5, Log file:
>>> Jobs: 1 of 2 complete, 1 running                Load avg: 9.15, 9.28, 9.36
>>>  '/var/log/portage/net-p2p:mldonkey-3.1.5:20141217-204100.log'
>>> Jobs: 1 of 2 complete, 1 running                Load avg: 9.15, 9.28, 9.36
>>> Jobs: 1 of 2 complete, 1 running, 1 failed      Load avg: 9.15, 9.28, 9.36
>>> Jobs: 1 of 2 complete, 1 failed                 Load avg: 9.15, 9.28, 9.36

 * Package:    net-p2p/mldonkey-3.1.5
 * Repository: gentoo
 * Maintainer: net-p2p@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mldonkey-3.1.5.tar.bz2 to /var/tmp/portage/net-p2p/mldonkey-3.1.5/work
>>> Source unpacked in /var/tmp/portage/net-p2p/mldonkey-3.1.5/work
>>> Preparing source in /var/tmp/portage/net-p2p/mldonkey-3.1.5/work/mldonkey-3.1.5 ...
 * 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.5/work/mldonkey-3.1.5 ...
 * econf: updating mldonkey-3.1.5/config/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mldonkey-3.1.5/config/config.guess with /usr/share/gnuconfig/config.guess
./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 --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-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' '--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-gui' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-O2 -pipe'
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... no
********  Objective-Caml 3.12.0 is required  *********
*******  Check http://caml.inria.fr/  ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?
 * ERROR: net-p2p/mldonkey-3.1.5::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3340:  Called econf '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-gui'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=net-p2p/mldonkey-3.1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-p2p/mldonkey-3.1.5::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-p2p:mldonkey-3.1.5:20141217-204100.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/mldonkey-3.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-p2p/mldonkey-3.1.5/work/mldonkey-3.1.5'
 * S: '/var/tmp/portage/net-p2p/mldonkey-3.1.5/work/mldonkey-3.1.5'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.


This chroot image is located at a hardened amd64 system.

Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.17.6-hardened x86_64)
=================================================================
System uname: Linux-3.17.6-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16166920 total,    917456 free
KiB Swap:   16777212 total,  16765528 free
Timestamp of tree: Wed, 17 Dec 2014 10:15:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.9, 3.3.5-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --deep --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mbox mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode 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" 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" INPUT_DEVICES="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Piotr Stachura 2015-03-18 19:22:20 UTC
I can confirm that mldonkey  is unable to build with ocaml in version 4.x.
In addition, configure is pointing that mldonkey requires "Objective-Caml 3.12.0" but in ebuild, there is dependency:

>=dev-lang/ocaml-3.10.2[ocamlopt?]

After emerging ocaml-3.12.1, mldonkey is building correctly.
Comment 3 Magnus Granberg gentoo-dev 2015-04-03 15:27:22 UTC
Fails here to on my tinderbox. Can the dep bee fixed?
Comment 4 Watcom 2016-01-29 19:40:16 UTC
mldonkey builds fine with OCaml >= 4, but it requires camlp4 (which evidently came bundled with OCaml 3 but is now available as a separate package). I just emerged camlp4 and mldonkey compiled fine with OCaml 4.

In conclusion, the mldonkey ebuild is missing this dependency. As a workaround emerge camlp4.
Comment 5 Pacho Ramos gentoo-dev 2016-08-17 09:23:43 UTC
it should work with mldonkey-3.1.5-r1, please retry