Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 297034

Summary: net-p2p/mldonkey-3.0.0.ebuild compile failed if ocaml3.11 installed
Product: Gentoo Linux Reporter: s7v7nislands <s7v7nislands>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal CC: mirimiri66
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description s7v7nislands 2009-12-15 14:30:50 UTC
the ebuild hard encode option: --enable-ocamlver=3.10. so when ocaml3.11 installed , compiler failed. 

Reproducible: Always

Steps to Reproduce:
when ocaml installed is not 3.10




--- mldonkey-3.0.0.ebuild.old   2009-12-15 22:28:55.000000000 +0800
+++ mldonkey-3.0.0.ebuild       2009-12-15 22:16:01.000000000 +0800
@@ -87,7 +87,7 @@
                $(use_enable gnutella gnutella2) \
                $(use_enable gd) \
                $(use_enable magic) \
-               --enable-ocamlver=3.10 \
+               --enable-ocamlver=3.11 \
                ${myconf} || die "econf failed"
 }

just for me.
Comment 1 Mattia Rossi 2010-01-13 08:53:52 UTC
Same here. The suggested fix works.
Comment 2 enrique sardon 2010-03-21 21:45:16 UTC
econf \
		--sysconfdir=/etc/mldonkey \
		--sharedstatedir=/var/mldonkey \
		--localstatedir=/var/mldonkey \
		--enable-checks \
		--disable-batch \
		$(use_enable fasttrack) \
		$(use_enable gnutella) \
		$(use_enable gnutella gnutella2) \
		$(use_enable gd) \
		$(use_enable magic) \
		--enable-ocamlver=3.11 \
		${myconf} || die "econf failed"


Umm just it :P and it works, please add it please as an USEflag or by default
Comment 3 spiralvoice 2010-05-22 19:54:43 UTC
This bug is fixed in MLDonkey 3.0.2
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2010-09-29 13:34:45 UTC
Use mldonkey-3.0.5