Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107964 - net-p2p/mldonkey-2.6.4-r2 failed to compile
Summary: net-p2p/mldonkey-2.6.4-r2 failed to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 107963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-03 01:33 UTC by Christoph Gysin
Modified: 2005-10-07 04:42 UTC (History)
0 users

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


Attachments
Full compilation log (emerge.output,83.79 KB, text/plain)
2005-10-04 02:28 UTC, Christoph Gysin
Details
mldonkey-2.6.4-r2.ebuild.patch (mldonkey-2.6.4-r2.ebuild.patch,348 bytes, patch)
2005-10-06 08:11 UTC, Christoph Gysin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Gysin 2005-10-03 01:33:14 UTC
I tried with the useflags: +gd +threads | +gd | none. Always the same result:

/usr/bin/ocamlc.opt   -I src/utils/cdk  -I src/daemon/chat  -I src/gtk/chat  -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/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/url.mli
The implementation src/utils/lib/options.ml
does not match the interface src/utils/lib/options.cmi:
The field `iter_section' is required but not provided
The field `iter_file' is required but not provided
The field `section_name' is required but not provided
The field `strings_of_section_options' is required but not provided
The field `sections' is required but not provided
The field `set_option_desc' is required but not provided
The field `restore_default' is required but not provided
The field `value_to_array' is required but not provided
The field `array_to_value' is required but not provided
The field `strings_of_option' is required but not provided
The field `once_value' is required but not provided
------ snipped another 50 lines ------
make: *** [src/utils/lib/options.cmx] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: net-p2p/mldonkey-2.6.4-r2 failed.
!!! Function src_compile, Line 95, Exitcode 2
!!! Make Failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-03 01:37:05 UTC
*** Bug 107963 has been marked as a duplicate of this bug. ***
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-03 17:21:12 UTC
please post your emerge info.
also: are you installing mldonkey in "standart" way? i mean with 'emerge 
mldonkey'? or maybe you're using ebuild ... unpack/compile/install ?
if you're using emerge, please attach full compilation log either
Comment 3 Christoph Gysin 2005-10-04 02:26:45 UTC
I'm doing a "emerge -avt world" to update my system to the current stable tree.

$ emerge info
Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-hardened-r14 i686)
=================================================================
System uname: 2.6.11-hardened-r14 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb crypt cscope curl dlloader gd hardened
imagemagick imap maildir mailwrapper mysql ncurses no-htdocs offensive pic qmail
readline samba session slang snmp spamassassin ssl tcpd threads tiff truetype
unicode userlocales vhosts x86 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Full compilation log follows as attachment.
Comment 4 Christoph Gysin 2005-10-04 02:28:21 UTC
Created attachment 69839 [details]
Full compilation log
Comment 5 spiralvoice 2005-10-06 07:14:57 UTC
Did you run ocaml-rebuild.sh after updating to your current Ocaml version?
Please test with Ocaml 3.08.4.
Comment 6 Christoph Gysin 2005-10-06 08:04:37 UTC
ocaml-3.08.4 did the trick.

Please fix the dependency in mldonkey-2.6.4*, and either mark ocaml-3.08.4
stable or mldonkey-2.6.4* unstable.
Comment 7 Christoph Gysin 2005-10-06 08:11:07 UTC
Created attachment 69990 [details, diff]
mldonkey-2.6.4-r2.ebuild.patch

dendency fix
Comment 8 spiralvoice 2005-10-06 13:27:00 UTC
(In reply to comment #6)
> ocaml-3.08.4 did the trick.

Thats weird, as there were no relevant changes to src/utils/lib/options.*
since April 23rd, 2005. Ocaml 3.08.4 was released in August 2005.
I will test compiling MLDonkey CVS with Ocaml 3.08.3 and report back.
Comment 9 spiralvoice 2005-10-06 13:59:50 UTC
ocamlc version is 3.08.3
ocamlopt version is 3.08.3

Compiling works on Gentoo, but Ocaml and MLdonkey were compiled without ebuilds.

Please post the output of: gdlib-config --libs

From your compile log:
checking for gdlib-config... gdlib-config
checking for gdImageCreate in -lgd... yes
checking for png_create_read_struct  in -lpng... yes
checking for gdImagePng in -lgd... no
checking for gdImagePng in -lgd... no
configure: png support not available in libgd
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... no
checking for gdImageJpeg in -lgd... no
configure: jpeg support not available in libgd
checking support for graphical statistics... no

You have libgd installed but MLDonkey could not find png or jpg support, thats
weird. Please also post config.log from MLDonkey.
Comment 10 Christoph Gysin 2005-10-06 23:07:01 UTC
My gd was compiled without jpeg and png support. But how is this related? I also
tried compiling mldonkey without the gd USE flag (see OP).

$ gdlib-config --libs
-lfreetype -lz -lm
Comment 11 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-06 23:32:05 UTC
(In reply to comment #6)
> ocaml-3.08.4 did the trick.
> 
> Please fix the dependency in mldonkey-2.6.4*, and either mark ocaml-3.08.4
> stable or mldonkey-2.6.4* unstable.

Chris: if you've got time, i'd like to ask you to test it againg with ocaml-3.
08.3. i suppose you had your instalation broken somehow
Comment 12 Christoph Gysin 2005-10-07 00:11:21 UTC
mldonkey-2.6.4-r2 compiled fine after I remerged ocaml-3.08.3. Strange indeed.

Sorry for wasting your time. Please close this bug with INVALID.
Comment 13 Christoph Gysin 2005-10-07 00:12:30 UTC
Comment on attachment 69990 [details, diff]
mldonkey-2.6.4-r2.ebuild.patch

please ignore this
Comment 14 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-07 04:42:49 UTC
sure - no problem;) i'm glad to hear it finally works ;]