From: Audiodef O. <on...@au...> - 2012-05-30 14:08:09
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> I just noticed that subsequently, I get the following error when I try to run emerge liquidsoap and ocaml-lame fails. Compile remains stuck at this error:<br> <br> >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1 ...<br> make -j3 <br> make -C src all<br> make[1]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[2]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> making ._bcdi/lame.di from lame.mli<br> ocamlc.opt -c lame.mli<br> ocamlc.opt -c lame.ml<br> >> Fatal error: cannot open pervasives.cmi<br> Fatal error: exception Misc.Fatal_error<br> >> Fatal error: cannot open pervasives.cmi<br> Fatal error: exception Misc.Fatal_error<br> make[1]: *** [lame.cmi] Error 2<br> make[1]: *** Waiting for unfinished jobs....<br> make[1]: *** [lame.cmo] Error 2<br> making ._d/lame.d from lame.ml<br> make[2]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[2]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> ocamlc.opt -c -cc "x86_64-pc-linux-gnu-gcc" -ccopt "-fPIC -march=opteron -O2 -pipe -I/usr/include -Wall -DCAML_NAME_SPACE \<br> -DPIC -fPIC -I/usr/include \<br> -o lame_stubs.o " lame_stubs.c <br> ocamlc.opt -c lame.mli<br> >> Fatal error: cannot open pervasives.cmi<br> Fatal error: exception Misc.Fatal_error<br> make[2]: *** [lame.cmi] Error 2<br> make[2]: *** Waiting for unfinished jobs....<br> lame_stubs.c:25:24: fatal error: caml/alloc.h: No such file or directory<br> compilation terminated.<br> make[2]: *** [lame_stubs.o] Error 2<br> make[2]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[1]: *** [byte-code-library] Error 2<br> make[1]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make: *** [all] Error 2<br> * ERROR: dev-ml/ocaml-lame-0.3.1 failed (compile phase):<br> * emake failed<br> * <br> * If you need support, post the output of 'emerge --info =dev-ml/ocaml-lame-0.3.1',<br> * the complete build log and the output of 'emerge -pqv =dev-ml/ocaml-lame-0.3.1'.<br> * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'<br> * The complete build log is located at '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/build.log'.<br> * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/environment'.<br> * S: '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1'<br> <br> <br> <br> On 05/30/12 13:40, Audiodef Online wrote: <blockquote cite="mid:4FC...@au..." type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> Here are my initial comments:<br> <br> Liquidsoap should be media-radio, not media-sound.<br> <br> I had to run emerge liquidsoap repeatedly, as some ocaml packages (I noticed mm) would not compile the first time, but did subsequently. However, ocaml-lame simply fails eventually, with the same error output (I've tried this on two different machines):<br> <br> --------------------- error output start -----------------------<br> >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1 ...<br> make -j3 <br> make -C src all<br> make[1]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[2]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> making ._bcdi/lame.di from lame.mli<br> ocamlc.opt -c lame.mli<br> ocamlc.opt -c lame.ml<br> ocamlc.opt -c -cc "x86_64-pc-linux-gnu-gcc" -ccopt "-march=opteron -O2 -pipe -I/usr/include -Wall -DCAML_NAME_SPACE \<br> -fPIC -I/usr/include \<br> -o lame_stubs.o " lame_stubs.c <br> ocamlc.opt -a -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -L/usr/lib -ccopt -L-Wl,-O1 -ccopt -L-Wl,--as-needed -ccopt -L/usr/lib \<br> lame_stubs.o -cclib -lmp3lame -cclib -lm -o lame.cma lame.cmo<br> ocamlc.opt -i -intf lame_dynlink.mli.in > lame_dynlink.mli 2>/dev/null<br> making ._d/lame.d from lame.ml<br> ocamlc.opt -a lame_dynlink.mli lame_loader.ml -o lame_loader.cma<br> make[2]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[2]: Entering directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> x86_64-pc-linux-gnu-ar rcs liblame_stubs.a lame_stubs.o<br> ocamlmklib -L-Wl,-O1 -L-Wl,--as-needed -L/usr/lib \<br> -o lame_stubs lame_stubs.o -lmp3lame -lm \<br> <br> lame_stubs.o: file not recognized: File truncated<br> collect2: ld returned 1 exit status<br> make[2]: *** [dlllame_stubs.so] Error 2<br> make[2]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make[1]: *** [byte-code-library] Error 2<br> make[1]: *** Waiting for unfinished jobs....<br> make[1]: Leaving directory `/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1/src'<br> make: *** [all] Error 2<br> * ERROR: dev-ml/ocaml-lame-0.3.1 failed (compile phase):<br> * emake failed<br> * <br> * If you need support, post the output of 'emerge --info =dev-ml/ocaml-lame-0.3.1',<br> * the complete build log and the output of 'emerge -pqv =dev-ml/ocaml-lame-0.3.1'.<br> * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'<br> * The complete build log is located at '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/build.log'.<br> * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/temp/environment'.<br> * S: '/var/tmp/portage/dev-ml/ocaml-lame-0.3.1/work/ocaml-lame-0.3.1'<br> <br> -----------------------error output end---------------------------<br> <br> When I copy the tarball from /usr/portage/distfiles and compile it manually, I get no errors. <br> <br> So the ebuild for ocaml-lame is doing something that's tripping it up...<br> <br> I hope this helps. :-)<br> <br> Damien<br> <br> <br> <br> <br> <br> <br> <br> On 05/30/12 02:36, Emery Hemingway wrote: <blockquote cite="mid:20120530023619.GA2325@laptop" type="cite"> <pre wrap="">A Liquidsoap ebuild is available through the proaudio overlay. Intructions for using the overlay are here: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://proaudio.tuxfamily.org/wiki/index.php?title=Usage">http://proaudio.tuxfamily.org/wiki/index.php?title=Usage</a> Assuming you have layman and it can do SVN, all you have to do is: layman -a proaudio layman -s proaudio emerge -av liquidsoap It hasn't been thoroughly tested, so please report any problems to me on or off-list. I did make a new initscript that manages stream scripts independently, so you devs out there might consider replacing the current gentoo initscript with it. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://paste.lugons.org/show/1580/">http://paste.lugons.org/show/1580/</a> Emery </pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- My music: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://audiodef.com">http://audiodef.com</a> Synthetronica: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://synthetronica.com">http://synthetronica.com</a> Male survivors of domestic violence: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://abusedmen.org">http://abusedmen.org</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. <a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- My music: <a class="moz-txt-link-freetext" href="http://audiodef.com">http://audiodef.com</a> Synthetronica: <a class="moz-txt-link-freetext" href="http://synthetronica.com">http://synthetronica.com</a> Male survivors of domestic violence: <a class="moz-txt-link-freetext" href="http://abusedmen.org">http://abusedmen.org</a></pre> </body> </html> |