monodoc and semaphores

Paul Beard paulbeard at gmail.com
Sat Feb 14 10:43:57 PST 2009


Revisiting this mono build failure, I noticed that monodoc was failing  
due to a semaphore issue.

gmake[6]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'

** ERROR **: shm_semaphores_init: semget error: No space left on  
device.  Try deleting some semaphores with ipcs and ipcrm
or increase the maximum number of semaphore in the system.
aborting...

** (process:24081): WARNING (recursed) **: Thread 0x0 may have been  
prematurely finalized
Stacktrace:


So after some reading, I ran ipcrm -W and that seemed to help. I got  
this far:

Making all in tools
gmake[1]: Entering directory `/usr/ports/devel/monodoc/work/ 
monodoc-2.0/tools'
gmcs -debug ./monodocer.cs -out:monodocer.exe -r:Mono.GetOptions
./monodocer.cs(910,41): warning CS0642: Possible mistaken empty  
statement
./monodocer.cs(255,53): warning CS0618:  
`System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete: `'
./monodocer.cs(2772,80): error CS0234: The type or namespace name  
`ExtensionAttribute' does not exist in the namespace  
`System.Runtime.CompilerServices'. Are you missing an assembly  
reference?
Compilation failed: 1 error(s), 2 warnings
gmake[1]: *** [monodocer.exe] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/monodoc/work/monodoc-2.0/ 
tools'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/devel/monodoc.

--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf

Are you trying to win an argument or solve a problem?



More information about the freebsd-mono mailing list