Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54530 - Can't emerge net-p2p/mldonkey-2.5.21-r2
Summary: Can't emerge net-p2p/mldonkey-2.5.21-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-20 09:36 UTC by Xake
Modified: 2004-07-08 09:26 UTC (History)
1 user (show)

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


Attachments
files/bTClient.patch (bTClient.patch,23.99 KB, patch)
2004-06-26 12:22 UTC, Jon Hood (RETIRED)
Details | Diff
mldonkey-2.5.21-r3.ebuild (mldonkey-2.5.21-r3.ebuild,2.70 KB, text/plain)
2004-06-26 12:24 UTC, Jon Hood (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2004-06-20 09:36:08 UTC
I can't emerge net-p2p/mldonkey-2.5.21-r2. It just errors out giving me the message shown below.

Reproducible: Always
Steps to Reproduce:
USE="-gtk" emerge net-p2p/mldonkey-2.5.21-r2
Actual Results:  
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I
src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I
src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I
+camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c
src/networks/bittorrent/bTOptions.ml
File "src/networks/bittorrent/bTRate.ml", line 22, characters 0-16:
Unbound module BasicSocket
File "src/networks/bittorrent/bTOptions.ml", line 21, characters 0-8:
Unbound module Md4
make: *** [src/networks/bittorrent/bTRate.cmx] Fel 2
make: *** Inv
Comment 1 Xake 2004-06-20 09:36:08 UTC
I can't emerge net-p2p/mldonkey-2.5.21-r2. It just errors out giving me the message shown below.

Reproducible: Always
Steps to Reproduce:
USE="-gtk" emerge net-p2p/mldonkey-2.5.21-r2
Actual Results:  
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I
src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I
src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I
+camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c
src/networks/bittorrent/bTOptions.ml
File "src/networks/bittorrent/bTRate.ml", line 22, characters 0-16:
Unbound module BasicSocket
File "src/networks/bittorrent/bTOptions.ml", line 21, characters 0-8:
Unbound module Md4
make: *** [src/networks/bittorrent/bTRate.cmx] Fel 2
make: *** Inväntar oavslutade jobb...
make: *** [src/networks/bittorrent/bTOptions.cmx] Fel 2
File "src/networks/bittorrent/bTTypes.ml", line 21, characters 0-8:
Unbound module Md4
make: *** [src/networks/bittorrent/bTTypes.cmx] Fel 2
 
!!! ERROR: net-p2p/mldonkey-2.5.21-r2 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)


Expected Results:  
MLDonkey 2.5.21-r2 should be installed.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo)
=================================================================
System uname: 2.6.7-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O3 -march=pentium4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http:/gentoo.linux.no http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync1.no.gentoo.org/gentoo-x86-portage"
USE="X acpi alsa avi berkdb cdr crypt cups dga encode flac foomaticdb gdbm gif
gimpprint gnome gpm gstreamer gtk gtk2 imlib ipv6 java joystick jpeg libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl ogg oggvorbis opengl
pam pdflib perl pic png ppds python quicktime readline sdl slang spell sse ssl
svga tcltk tcpd theora threads tiff truetype x86 xml2 xmms xv zlib"
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-06-20 11:38:35 UTC
I've got 2 things I'd like you to try:

# OCAMLRUNPARAM="l=256M" emerge mldonkey

and when, er, if that fails,

# cd /usr/portage/net-p2p/mldonkey
# ebuild mldonkey-2.5.21-r2.ebuild unpack
# ebuild mldonkey-2.5.21-r2.ebuild compile
# ebuild mldonkey-2.5.21-r2.ebuild merge

I had another user reporting this same error on IRC. It seems to pop up for some people...
Comment 3 Xake 2004-06-20 12:02:35 UTC
My trys to follow your guidelines ends at:
"# ebuild mldonkey-2.5.21-r2.ebuild compile"
With:

---

File "src/networks/bittorrent/bTTypes.ml", line 24, characters 0-20:
Unbound module CommonDownloads
make: *** [src/networks/bittorrent/bTTypes.cmx] Fel 2
make: *** Inv
Comment 4 Xake 2004-06-20 12:02:35 UTC
My trys to follow your guidelines ends at:
"# ebuild mldonkey-2.5.21-r2.ebuild compile"
With:

---

File "src/networks/bittorrent/bTTypes.ml", line 24, characters 0-20:
Unbound module CommonDownloads
make: *** [src/networks/bittorrent/bTTypes.cmx] Fel 2
make: *** Inväntar oavslutade jobb...
File "src/networks/bittorrent/bTOptions.ml", line 22, characters 0-18:
Unbound module CommonOptions
make: *** [src/networks/bittorrent/bTOptions.cmx] Fel 2
 
!!! ERROR: net-p2p/mldonkey-2.5.21-r2 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)

---

Comment 5 Stephan Wentz 2004-06-21 00:32:30 UTC
i end up with this, none of the options you provide help:

---

ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -I src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I src/utils/mp3tagui  -I src/config/unix  -I src/gtk/newgui  -I src/gtk/gui2  -I src/gtk/configwin  -I src/gtk/okey  -I src/gtk/gpattern  -I icons/tux  -I +lablgtk  -I src/gtk/progress  -I src/im  -I src/im/yahoo  -I src/im/irc  -I src/networks/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/networks/bittorrent/bTRate.ml
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -I src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I src/utils/mp3tagui  -I src/config/unix  -I src/gtk/newgui  -I src/gtk/gui2  -I src/gtk/configwin  -I src/gtk/okey  -I src/gtk/gpattern  -I icons/tux  -I +lablgtk  -I src/gtk/progress  -I src/im  -I src/im/yahoo  -I src/im/irc  -I src/networks/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/networks/bittorrent/bTTypes.ml
File "src/networks/bittorrent/bTTypes.ml", line 24, characters 0-20:
Unbound module CommonDownloads
make: *** [src/networks/bittorrent/bTTypes.cmx] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
Comment 6 Stephan Wentz 2004-06-22 00:47:31 UTC
Ok, i tracked this down a little bit further. The Bittorrent-module seems to be responsible for this error. Unfortunately i don't have any knowledge in OCAML so i can't locate the source of the problem in detail.

A temporary fix for this is to add --disable-bittorrent to the ebuild, it compiled fine without bittorrent. 
Comment 7 Xake 2004-06-22 05:09:42 UTC
Changing patch_pack21g to patch_pack21f in the ebuild makes it compiles just fine....
So comparing the changes between patch_pack21g and patch_pack21f may give a bit of information what mait be wrong.
Comment 8 Xake 2004-06-22 07:08:03 UTC
Hmm Do not know if it is only that thing that did it but 
"ACCEPT_KEYWORDS="~x86" emerge dev-lang/ocaml"

Did make it for me.
Mldonkey -r2 did not compile at once, but "rm /var/tamp/portage* -r" helped me there....
Comment 9 Jon Hood (RETIRED) gentoo-dev 2004-06-22 08:29:17 UTC
-r2 seems to work for random people (including me, which is why it's in portage)- I can't figure out what the difference is between the people who do get it to work and the people who can't get it to compile. Bittorrent works fine here.
Comment 10 Xake 2004-06-22 08:59:16 UTC
Just a question: What is your versions of Ocaml?
Comment 11 Roman Gaufman 2004-06-22 10:33:18 UTC
Having a problem as well :( - just refuses to compile.

The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/lablgtk/gPack.cmi
make inconsistent assumptions over interface Pervasives
make: *** [src/gtk/configwin/configwin_types.cmx] Error 2
make: *** Waiting for unfinished jobs....
src/daemon/common/commonHasher_c.c: In function `ml_job_done':
src/daemon/common/commonHasher_c.c:288: warning: passing arg 2 of `memcpy' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c: In function `hasher_thread':
src/daemon/common/commonHasher_c.c:322: warning: passing arg 4 of `md4_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:325: warning: passing arg 4 of `md5_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:328: warning: passing arg 4 of `sha1_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:331: warning: passing arg 5 of `tiger_tree_fd' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c: In function `ml_job_start':
src/daemon/common/commonHasher_c.c:372: warning: implicit declaration of function `enter_blocking_section'
src/daemon/common/commonHasher_c.c:378: warning: implicit declaration of function `leave_blocking_section'

!!! ERROR: net-p2p/mldonkey-2.5.21-r2 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)

... I tried OCAMLRUNPARAM="l=256M" emerge net-p2p/mldonkey, no help..

I also did emerge a masked version of ocaml.
Comment 12 Roman Gaufman 2004-06-22 10:34:08 UTC
Having a problem as well :( - just refuses to compile.

The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/lablgtk/gPack.cmi
make inconsistent assumptions over interface Pervasives
make: *** [src/gtk/configwin/configwin_types.cmx] Error 2
make: *** Waiting for unfinished jobs....
src/daemon/common/commonHasher_c.c: In function `ml_job_done':
src/daemon/common/commonHasher_c.c:288: warning: passing arg 2 of `memcpy' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c: In function `hasher_thread':
src/daemon/common/commonHasher_c.c:322: warning: passing arg 4 of `md4_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:325: warning: passing arg 4 of `md5_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:328: warning: passing arg 4 of `sha1_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:331: warning: passing arg 5 of `tiger_tree_fd' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c: In function `ml_job_start':
src/daemon/common/commonHasher_c.c:372: warning: implicit declaration of function `enter_blocking_section'
src/daemon/common/commonHasher_c.c:378: warning: implicit declaration of function `leave_blocking_section'

!!! ERROR: net-p2p/mldonkey-2.5.21-r2 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)

... I tried OCAMLRUNPARAM="l=256M" emerge net-p2p/mldonkey, no help..

I also did emerge a masked version of ocaml. Rest of the system running stable (well, almost all of it anyway)
Comment 13 Roman Gaufman 2004-06-22 10:35:37 UTC
AH!, compiled with USE="-gtk" emerge net-p2p/mldonkey  -- hope this helps
Comment 14 Christoph Safferling 2004-06-24 04:08:26 UTC
OK, I had the same problems as mentioned here. 

Emerging the (~x86) 2.5.21-r2 net-p2p/mldonkey resulted in an error in the bittorrent module. 

Emerging the ~x86 dev-lang/ocaml (3.07-r1) first and then emerging mldonkey resulted in a different error, same as already posted before. BUT: using the 3.07-r1 ocaml AND the command 

OCAMLRUNPARAM="l=256M" emerge -av net-p2p/mldonkey

everything compiled just fine. And yes, I have the -gtk USE flag set, but that is my default, so I didn't test it if that is the problem for the others. So, I hope you guys can get the new mldonkey version running with these tips here...
Comment 15 Jason Kim 2004-06-24 17:14:00 UTC
Having similar problems here, however I noticed this after the 'make depend' portion of the ebuild runs:
File "src/networks/bittorrent/bTClients.ml", line 326, characters 0-34496:
Lexing error: comment not terminated
Preprocessing error

Line 326 of that file contains this:
(*How much requests in the 'pipeline'*)

I have no knowledge of ocaml, and I tried to discover how it parses quotes in a comment, but didn't find anything after a quick search. Anyway, I pulled out the quotes and ran:
# ebuild mldonkey-2.5.21-r2.ebuild compile
# ebuild mldonkey-2.5.21-r2.ebuild merge
with no problems at all.

For the record I'm emerging with USE="-gtk" and ocaml version 3.06-r1.
I have looked at the work directory generated for mldonkey-2.5.21-r1, and that comment line exists there as well, but no error gets generated during the build (I've been using it for a while now).

Hope that helps. This is my first bugzilla comment, please ignore me if I'm not making sense.
Comment 16 Jon Hood (RETIRED) gentoo-dev 2004-06-26 12:22:57 UTC
Created attachment 34213 [details, diff]
files/bTClient.patch
Comment 17 Jon Hood (RETIRED) gentoo-dev 2004-06-26 12:24:12 UTC
Created attachment 34214 [details]
mldonkey-2.5.21-r3.ebuild

Since I am unable to reproduce the errors seen in this thread, could I please
get someone to test the attached ebuild? I have no clue if it will fix whoever
is having problems, but it's worth a shot.
Comment 18 Death Angel 2004-06-27 05:53:05 UTC
Didin't work :cry:
Comment 19 Death Angel 2004-06-27 05:57:06 UTC
 * Applying bTClient.patch...                                             [ ok ]>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
Arguments: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-batch --enable-checks --enable-pthread
--prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-batch --enable-checks --enable-pthread
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc3... (cached) gcc
checking for i686-pc-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for gmake... gmake
checking for make... (cached) gmake
checking for ocamlc.opt... /usr/bin/ocamlc.opt
checking for ocamlc... /usr/bin/ocamlc.opt
i686-pc-linux-gnu
Testing ocaml version
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
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 ocamlmktop... ocamlmktop
checking for camlp4... camlp4
checking for perl... /usr/bin/perl
ocamlc version is 3.06
ocamlopt version is 3.06
checking for egrep... 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 for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void *... yes
checking size of void *... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... 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 for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for iconv_open in -liconv... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking linux/limits.h usability... yes
checking linux/limits.h presence... yes
checking for linux/limits.h... yes
checking Additionnal includes...
checking for ../src/networks/donkey... yes
checking for ../src/networks/gnutella... yes
checking for ../src/networks/gnutella2... yes
checking for ../src/networks/bittorrent... yes
checking for ../src/networks/fileTP... yes
checking for ../src/networks/fasttrack... yes
checking for ../src/networks/donkey... (cached) yes
checking for ../src/networks/server... yes
checking for gtk-config... no
checking for ../src/im... yes
checking Checking for CryptoKit... no
checking for pthread_join in LIBS=yes with CFLAGS=... no
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... gcc
checking compile GTK GUI... no
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for ../src/pic/picMain.ml... no
checking for ../src/spider/spiderMain.ml... no
checking for ../src/btview/btviewMain.ml... no
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating Makefile.config.i386
config.status: creating Makefile.config.i486
config.status: creating Makefile.config.i586
config.status: creating Makefile.config.i686
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 ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/windows/mlnet.nsi
config.status: creating config.h
Building dependencies
Verbosity level is :  INFO
The following modules will not be compiled: { audio_galaxy(obsolete) open_napster direct_connect soulseek openFT(obsolete) mldonkey_gui$(EXE) mldonkey_gui2$(EXE) mlchat$(EXE) }
/usr/bin/ocamlc.opt  -I +camlp4  -pp "camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo " -o pa_log.cmo -c tools/pa_log.ml
ocamldep    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" *.ml *.mli > .depend
(for i in src/utils/cdk src/daemon/chat src/utils/lib src/utils/net tools src/daemon/common src/daemon/driver src/utils/mp3tagui src/config/unix  src/networks/gnutella src/networks/gnutella2 src/networks/fasttrack src/networks/fileTP src/networks/bittorrent src/networks/donkey; do \
        ocamldep    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" $i/*.ml $i/*.mli  >> .depend; \
        ./ocamlpp.byte $i/*.mlt  >> .depend; \
done)
File "src/networks/bittorrent/bTClients.ml", line 309, characters 0-34196:
Lexing error: comment not terminated
Preprocessing error
/usr/bin/ocamlc.opt  -I +camlp4  -pp "camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo " -o pa_log.cmo -c tools/pa_log.ml
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/lib/date.ml
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/cdk/heap.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/zlib.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/fifo.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/lib/autoconf.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/printexc2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/string2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/filename2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/filepath.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/genlex2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/intmap.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/list2.mli
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/lib/misc.ml
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/lib/int64ops.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/weak2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/unix32.mli
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/mp3tagui/mp3_genres.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/mp3tagui/mp3_info.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/mp3tagui/mp3tag.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/fifo2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/intset.mli
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/cdk/zlibstubs.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/cdk/zlibstubs.c
/usr/bin/ocamlc.opt -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread  -o src/utils/cdk/heap_c.o" -ccopt "" -c src/utils/cdk/heap_c.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/config/unix/os_stubs_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/config/unix/os_stubs_c.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/fst_hash.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/fst_hash.c
as -o src/utils/lib/md4_as.o src/utils/lib/md4_i686.s
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/md4_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/md4_c.c
src/config/unix/os_stubs_c.c: In function `os_ftruncate':
src/config/unix/os_stubs_c.c:83: warning: int format, different type arg (arg 4)/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/md5_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/md5_c.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/sha1new_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/sha1new_c.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/tiger.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/tiger.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/lib/stubs_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/lib/stubs_c.c/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/utils/net/multicast_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/utils/net/multicast_c.c
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/arg2.mli
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/cdk/dprintf.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/sysenv.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/netbase.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/hashtbl2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/file.mli
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/cdk/array2.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/sort2.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/xmltypes.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/cdk/xml.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/stringMap.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/numset.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/hole_tab.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/store.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/indexer.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/host.mli
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/utils/lib/http_lexer.ml
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/lib/queues.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/net/base64.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/net/multicast.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/utils/net/terminal.mli
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/daemon/common/commonHasher_c.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/daemon/common/commonHasher_c.c
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/daemon/chat/chat_misc.ml
src/daemon/common/commonHasher_c.c: In function `ml_job_done':
src/daemon/common/commonHasher_c.c:288: warning: passing arg 2 of `memcpy' discards qualifiers from pointer target type
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/daemon/chat/chat_types.ml
src/daemon/common/commonHasher_c.c: In function `hasher_thread':
src/daemon/common/commonHasher_c.c:322: warning: passing arg 4 of `md4_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:325: warning: passing arg 4 of `md5_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:328: warning: passing arg 4 of `sha1_unsafe64_fd_direct' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c:331: warning: passing arg 5 of `tiger_tree_fd' discards qualifiers from pointer target type
src/daemon/common/commonHasher_c.c: In function `ml_job_start':
src/daemon/common/commonHasher_c.c:372: warning: implicit declaration of function `enter_blocking_section'
src/daemon/common/commonHasher_c.c:378: warning: implicit declaration of function `leave_blocking_section'
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/daemon/chat/chat_options.mli
/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/daemon/common/commonHosts.mli
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/enc_type_1.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/enc_type_1.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/enc_type_2.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/enc_type_2.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/enc_type_20.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/enc_type_20.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/enc_type_80.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/enc_type_80.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/fst_crypt.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/fst_crypt.c
/usr/bin/ocamlc.opt -ccopt "-I /byterun -o src/networks/fasttrack/fst_crypt_ml.o" -ccopt "-O3 -march=pentium4 -fomit-frame-pointer -pipe  -pthread" -c src/networks/fasttrack/fst_crypt_ml.c
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -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/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -pp "camlp4o ./tools/pa_log.cmo q_MLast.cmo -VINFO" -c src/networks/bittorrent/bTRate.ml
File "src/networks/bittorrent/bTRate.ml", line 22, characters 0-16:
Unbound module BasicSocket
make: ** [src/networks/bittorrent/bTRate.cmx] Erro 2
make: ** Esperando que outros processos terminem.

!!! ERROR: net-p2p/mldonkey-2.5.21-r3 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)

Here is the 95% complete log.
Comment 20 Stephan Wentz 2004-06-28 03:39:59 UTC
Tried the r3-ebuild, still "Unbound module BasicSocket"-errors.
Comment 21 teedog 2004-06-28 16:54:50 UTC
I am one of those people who can emerge mldonkey-2.5.21-r2 just fine.  The only thing that stands out about my setup is that I use -O2 instead of -O3.
Comment 22 Jon Hood (RETIRED) gentoo-dev 2004-06-28 17:03:08 UTC
I wish I knew what was going wrong. I am using -O3 and know of many others who are, and it's working great for us. This is one of the best mldonkeys yet (sorry to rub it in for those who can't get it to compile). Could this possibly be a "non-working ocaml" problem? Could everyone who cannot get the latest mldonkey working please post their "emerge --info" for me, too? We need to hunt this sucker down!
Comment 23 Jon Hood (RETIRED) gentoo-dev 2004-06-28 18:41:46 UTC
I just installed mldonkey-2.5.21-r2 on a stable x86 system this time. I just made some little changes to the ebuild- please resync and try to merge it again and let me know if it works (yet). It's worked on all systems I've tried...I can't figure out where it's botching for everyone else. If all else fails, try the latest (testing) version of ocaml and let me know if that works.
Comment 24 spiralvoice 2004-06-28 19:08:02 UTC
Some comments about needed versions. In order to build the GTK GUI lablgtk-1.2.6 is required, the ebuild says "=dev-ml/lablgtk-1*". Lablgtk-1.2.6 is still masked but there is some code which requires this version.

Ocaml 3.07+pl2 is also a better guess, ebuild 2.5.16-r6 still uses Ocaml 3.06 which is not enough, 2-5-21 uses 3.07, please update both to ocaml-3.07-r1, but again, it is masked...

As there are known problems with 2-5-21 cores and patch development is currently focused on the 2-5-16 line new users should use this version. Unfortunately a downgrade from 2-5-21 to 2-5-16 forces user to delete files.ini and do a recover_temp, so losing incompletely downloaded chunks.
Comment 25 spiralvoice 2004-06-28 19:16:48 UTC
ebuild 2-5-16-r6 does not execute autoconf after applying the patchpack and all ebuilds apply the gentoo-configure.patch before autoconf. But autoconf will overwrite config/configure so this patch is useless.
The correct order should be:
- unpack source
- apply patchpack
- cd config; autoconf; cd ..
- apply configure patch if necessary, better post patch to Savannah with needed gentoo-patches for config/configure.in
Comment 26 spiralvoice 2004-06-28 19:25:09 UTC
Yet another one: Please remove "make depend" from all ebuild as config/configure is doing the job already at the end of its turn. Having "make depend" in 2-5-16-r6 ebuild before ./configure shows errors because the original CVS makefile is still there...
Comment 27 Jon Hood (RETIRED) gentoo-dev 2004-06-28 19:48:56 UTC
Thanks for your input, spiralvoice- your suggestions seem to work fine on all my systems and have been committed to portage. Please resync and try the latest versions of both branches. The latest .16 revision should have everything in order (patch removed and everything working well), and the latest .21 should depend on the correct requirements (patch removed).
Comment 28 Jon Hood (RETIRED) gentoo-dev 2004-06-28 19:50:06 UTC
sorry if there was confusion- the gentoo-configure patch was removed, not the patch_pack
Comment 29 spiralvoice 2004-06-29 16:02:44 UTC
AFAICS ebuilds are looking good now. One small problem some users might stumble across is the lack of ed2k servers during first core start. Also getting working Overnet peers can be tricky, but both problems can easily be solved by providing this file:
ftp://ftp.berlios.de/pub/mldonkey/pango/goodies/servers.ini.gz
as unpacked version in the core's data directory. This file is well known in the MLDonkey community for having working Overnet peers, it is build daily.

One idea: Add parameter sighup to /etc/init.d/mldonkey so users can put this command into their ip-up scripts. Core performance increases if it is immediatly notified when an IP change takes place. Not restarting the core is faster and the core remembers when clients were connected so this avoids reconnecting too fast which can result in a ban.
Comment 30 rabbitambulance 2004-06-29 16:23:40 UTC
it works quite nicely for me now.
Comment 31 spiralvoice 2004-06-30 07:53:12 UTC
Please add
RESTRICT="nomirror"
to the ebuilds as the needed files are not located on Gentoo mirrors.
Comment 32 Jon Hood (RETIRED) gentoo-dev 2004-06-30 08:18:15 UTC
Which patchpack is missing on the gentoo mirrors? They should all be there. I have many tests and midterms at school until Friday, so I won't be very active until the weekend. About the servers.ini.gz file, are you suggesting having the ebuild download a copy of it and putting it in a shared directory, or just a note on the ebuild with your comment?
Comment 33 Jon Hood (RETIRED) gentoo-dev 2004-07-08 09:26:38 UTC
And with the final editings of the ocaml and mldonkey ebuilds, mldonkey-2.5.21 now emerges cleanly on all systems I have tested but will remain in ~x86.