| Summary: | dev-lang/mono-1.2.6-r1 install fails - The compiler 'false' doesn't appear to be usable | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dave <dliana> |
| Component: | [OLD] Development | Assignee: | dotnet project <dotnet> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | amigadave, EckosGentoo, r.snajdr |
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge --info |
||
|
Description
Dave
2008-01-06 22:34:33 UTC
Created attachment 140323 [details]
build.log
Created attachment 140324 [details]
emerge --info
Also tried with -nptl, same error
*** The compiler 'false' doesn't appear to be usable. LOL... :) I had exactly the same problem on my amd64, it made me crazy for the whole day, later I understood that it occurs because I'm in chrooted environment and I had forgotten to mount /proc, mounting it fixed my problem, I hope this helps... (In reply to comment #4) > I had exactly the same problem on my amd64, it made me crazy for the whole day, > later I understood that it occurs because I'm in chrooted environment and I had > forgotten to mount /proc, mounting it fixed my problem, I hope this helps... > Don't think that is it. looks like /proc gets mounted. > Don't think that is it. looks like /proc gets mounted.
>
Another thing I saw somewhere on the net (but haven't tried it ny myself) is setting the two variables defined in the ebuild EXTERNAL_MCS=false EXTERNAL_MONO=false to something meaningful (whatever this means). Have you tried to compile it by hand - ./configure && make ?!
(In reply to comment #6) > > Don't think that is it. looks like /proc gets mounted. > > > > Another thing I saw somewhere on the net (but haven't tried it ny myself) is > setting the two variables defined in the ebuild EXTERNAL_MCS=false > EXTERNAL_MONO=false to something meaningful (whatever this means). Have you > tried to compile it by hand - ./configure && make ?! > Tried that, get similar error (minus the false part): : System.dll ../../class/mono.snk mv System.dll ../../class/lib/basic/System.dll test ! -f System.dll.mdb || mv System.dll.mdb ../../class/lib/basic/System.dll.mdb test ! -f System.pdb || mv System.pdb ../../class/lib/basic/System.pdb make[8]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System' make[7]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System' make[7]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' Creating ../../build/deps/basic_System.Xml.dll.makefrag ... make[7]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' make[7]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' make all-local make[8]: Entering directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' ../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay >System.Xml.XPath/Parser.cs ../../jay/jay: 21 rules never reduced ../../jay/jay: 1 shift/reduce conflict, 42 reduce/reduce conflicts. sed "s/\%start Expr/\%start Pattern/" System.Xml.XPath/Parser.jay >Mono.Xml.Xsl/PatternParser.jay echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternParser.cs ../../jay/jay -ct Mono.Xml.Xsl/PatternParser.jay < ../../jay/skeleton.cs >>Mono.Xml.Xsl/PatternParser.cs ../../jay/jay: 3 rules never reduced ../../jay/jay: 1 shift/reduce conflict, 46 reduce/reduce conflicts. echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternTokenizer.cs cat System.Xml.XPath/Tokenizer.cs >>Mono.Xml.Xsl/PatternTokenizer.cs MONO_PATH="../../class/lib/basic:$MONO_PATH" /var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/runtime/mono-wrapper ../../class/lib/basic/mcs.exe /codepage:65001 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -r:mscorlib.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595 -target:library -out:System.Xml.dll System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/PatternTokenizer.cs @System.Xml.dll.sources Unhandled Exception: System.ExecutionEngineException: SIGILL make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 1 make[8]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class/System.XML' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs' make[4]: *** [profile-do--basic--all] Error 2 make[4]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6-r1/work/mono-1.2.6' make: *** [all] Error 2 mono-1.2.5.1-r1 seems to compile/install fine, so something changed... *** Bug 212350 has been marked as a duplicate of this bug. *** hi, just one comment, I have the some problem on Intel Celeron, and yesterday I tried to install the mono binaries through the Mono 1.2.6_6 Installer, the installation goth through, but the system hang in the some way when I tried to start some mono program - monodevelop or so. The mono itself was running only when I didn't add any parameters - so it showed only the help info. I all other cases it hang up and eat all processor time. For me the problem is solved. I just needed to recompile the kernel with this options on: Support for paging of anonymous memory (swap) System V IPC POSIX Message Queues BSD Process Accounting *** Bug 214463 has been marked as a duplicate of this bug. *** (In reply to comment #10) > For me the problem is solved. I just needed to recompile the kernel with this > options on: > Support for paging of anonymous memory (swap) > System V IPC > POSIX Message Queues > BSD Process Accounting > Changing these kernel options did not help me. Still hanging, same place. This is on a new ~x86 box I'm just starting to add applications to. I had this exact problem, on amd64 stable while building a new system, and decided to grab a quickpkg'd mono from another machine to see if it would fix the problem. The mono executable would run fine, but when invoked as mcs it would simply hang. I ran strace on mcs and found an infinite loop while trying to use an IPC syscall. Sure enough, IPC wasn't enabled in my kernel (option "System V IPC"), and enabling it fixed the problem and the build completed successfully. Maybe the mono ebuild should depend on that kernel option being set? @Roy: Is that option definitely set in your running kernel? Can you try an strace to see if you are affected by a different issue? It looks like I can compile dev-lang/mono-1.9.1 on the box that chocked with the earlier versions Closing then |