Bug 27492 - Build error in reference sources for System.ComponentModel namespace
Summary: Build error in reference sources for System.ComponentModel namespace
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: General ()
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2015-02-27 03:28 UTC by Dylan Borg
Modified: 2016-04-16 09:37 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
build log (19.75 KB, text/plain)
2015-02-27 06:47 UTC, Dylan Borg
Details
build log 2 (22.53 KB, text/plain)
2015-02-27 08:05 UTC, Dylan Borg
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

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