Should probably DEPEND on <=dev-lang/ocaml-3.10
Won't that make an upgrade/downgrade loop?
About which Ocaml version are we talking about here? New MLDonkey 2.9.7 can be compiled using Ocaml 3.11.0
Jer?
I guess it was <=2.9.6.
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 Need build ******** Objective-Caml 3.10 is required ********* ******* Check http://caml.inria.fr/ ******** Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ? still hangs there! I have installed dev-lang/ocaml-3.11.1 and trying to emerge net-p2p/mldonkey-3.0.0
mldonkey-3.0.0's configure script seems to check for ocaml-3.11.0 precisely, not for ocaml-3.11.* This can be fixed by: sed -i -e "s:3.11.0\*:3.11.\*:g" mldonkey-3.0.0/config/configure.in
(In reply to comment #6) > mldonkey-3.0.0's configure script seems to check for ocaml-3.11.0 precisely, > not for ocaml-3.11.* > > This can be fixed by: > sed -i -e "s:3.11.0\*:3.11.\*:g" mldonkey-3.0.0/config/configure.in > Where in the ebuild should i insert this line ?
(In reply to comment #7) > Where in the ebuild should i insert this line ? It's not in the ebuild. You might use these commands until the ebuild gets fixed: # ebuild /usr/portage/net-p2p/mldonkey/mldonkey-3.0.0.ebuild clean unpack # sed -i 's/3\.11\.0/3.11/' \ /var/tmp/portage/net-p2p/mldonkey-3.0.0/work/mldonkey-3.0.0/config/configure.in # ebuild /usr/portage/net-p2p/mldonkey/mldonkey-3.0.0.ebuild merge Haven't tried whether the resulting app works, but at least it does compile.
I`m sorry i removed mldonkey,i`ll use amule for a while :)
i'm hit by this bug today on stable amd64, [ebuild N ] net-p2p/mldonkey-3.0.0 USE="fasttrack gd gnutella ocamlopt -doc -gtk -guionly -magic" hangs with (in build.log): ..... 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 Need build ******** Objective-Caml 3.10 is required ********* ******* Check http://caml.inria.fr/ ******** Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ?
The sed stuff works and i can emerge... can't/shouldn't this be done from the ebuild ?
This bug is almost one year old, and the fix is quite easy, can someone just put the damn sed into the ebuild !
yes..... please.. There are so far only 'works for me' reports, aren't they ?
essentially, someone needs to diff the incorrect configure.in and correct configure.in and create a patch once they do that, they need to insert a line into the ebuild with an epatch statement which will run the patch when the ebuild is run if there's a document that outlines how I should try something of the sort, i can have a go at it
Created attachment 209090 [details, diff] net-p2p/mldonkey/files/mldonkey-3.0.0_ocaml-3.11.x.patch
Created attachment 209734 [details] mldonkey-3.0.0.ebuild Created ebuild using patch. Seems to pass the hang point and is emerging for me right now.
Created attachment 209736 [details] Files for overlay
Created attachment 212339 [details, diff] mldonkey ebuild patch IMHO better to change version for econf/configure to current (method copyed from configure), ebuild patch attached.
According to http://mldonkey.sourceforge.net/News mkdonkey-3.0.1 should fix this issue here as well. Bug #298982 has the bump request. We could make this one here depend on that one, if applying the fix in the ebuild is too much to ask.
This bug is fixed in MLDonkey 3.0.2
Use mldonkey-3.0.5