Bug 27492

Summary: Build error in reference sources for System.ComponentModel namespace
Product: [Mono] Class Libraries Reporter: Dylan Borg <borgdylan>
Component: GeneralAssignee: Marek Safar <masafa>
Severity: normal CC: borgdylan, masafa, mono-bugs+mono
Priority: ---    
Version: master   
Target Milestone: Untriaged   
Hardware: PC   
OS: Linux   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: build log
build log 2

Description Dylan Borg 2015-02-27 03:28:21 UTC
When I try to build the Mono sources I get the following error:

../../../external/referencesource/System/compmod/system/diagnostics/TypedElement.cs(17,208): error CS0117: `System.Configuration.ConfigurationPropertyOptions' does not contain a definition for `IsTypeStringTransformationRequired'
Comment 1 Dylan Borg 2015-02-27 04:05:08 UTC
The workaround I found was to always force the path of when the BOOTSTRAP variable is found. That allowed me to finish the whole build,
Comment 2 Atsushi Eno 2015-02-27 05:18:49 UTC
Weird, it was the runtime team who told me that #if BOOTSTRAP should work. If SYSMONO is used to build non-bootstrap build, then there is problem in the mono build system itself.
Comment 3 Dylan Borg 2015-02-27 05:23:24 UTC
I was using Mono 3.12 as the System Mono.
Comment 4 Marek Safar 2015-02-27 05:55:40 UTC
Could you attach full build log
Comment 5 Dylan Borg 2015-02-27 06:05:33 UTC
How would I make it full? Is there some verbosity flag or the normal output of make is enough?
Comment 6 Marek Safar 2015-02-27 06:08:37 UTC
if it's still failing just do make V=1 otherwise you'll probably have to make clean and start again
Comment 7 Dylan Borg 2015-02-27 06:47:08 UTC
Created attachment 10077 [details]
build log

error is in line 266
Comment 8 Dylan Borg 2015-02-27 06:47:54 UTC
As can be seen BOOTSTRAP_BASIC is being passed in and not BOOTSTRAP
Comment 9 Marek Safar 2015-02-27 07:14:24 UTC
Fixed in master
Comment 10 Dylan Borg 2015-02-27 08:05:38 UTC
Created attachment 10080 [details]
build log 2

The BOOTSTRAP_BASIC define no longer appears on teh compiler command line leading to the same compile time error.
Comment 11 Marek Safar 2015-02-27 08:52:21 UTC
Could you 

rm -rf mcs/class/lib

and paste the log if it still fails for you