Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204677 - dev-lang/mono-1.2.6-r1 install fails - The compiler 'false' doesn't appear to be usable
Summary: dev-lang/mono-1.2.6-r1 install fails - The compiler 'false' doesn't appear to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 212350 214463 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-06 22:34 UTC by Dave
Modified: 2008-06-02 17:55 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,502.88 KB, text/plain)
2008-01-06 22:35 UTC, Dave
Details
emerge --info (info,10.88 KB, text/plain)
2008-01-06 22:36 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2008-01-06 22:34:33 UTC
See attachments
Comment 1 Dave 2008-01-06 22:35:21 UTC
Created attachment 140323 [details]
build.log
Comment 2 Dave 2008-01-06 22:36:02 UTC
Created attachment 140324 [details]
emerge --info

Also tried with -nptl, same error
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-06 22:40:01 UTC
*** The compiler 'false' doesn't appear to be usable.

LOL... :)
Comment 4 sashomasho 2008-01-09 13:14:35 UTC
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...
Comment 5 Dave 2008-01-10 00:40:25 UTC
(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.
Comment 6 sashomasho 2008-01-10 14:09:30 UTC
> 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 ?!

Comment 7 Dave 2008-01-13 14:56:23 UTC
(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...
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-03-06 02:51:58 UTC
*** Bug 212350 has been marked as a duplicate of this bug. ***
Comment 9 radim 2008-03-06 06:36:55 UTC
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.
Comment 10 radim 2008-03-09 11:51:15 UTC
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
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-03-23 23:57:39 UTC
*** Bug 214463 has been marked as a duplicate of this bug. ***
Comment 12 Roy Wright 2008-04-13 23:33:19 UTC
(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.
Comment 13 David King 2008-04-30 10:43:11 UTC
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?
Comment 14 Dave 2008-06-02 01:12:04 UTC
It looks like I can compile dev-lang/mono-1.9.1 on the box that chocked with the earlier versions
Comment 15 Jurek Bartuszek (RETIRED) gentoo-dev 2008-06-02 17:55:45 UTC
Closing then