Bug 28490 - mono fails to do parralel builds
Summary: mono fails to do parralel builds
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-27 08:14 UTC by Dinar Valeev
Modified: 2015-03-31 19:17 UTC (History)
3 users (show)

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

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 Dinar Valeev 2015-03-27 08:14:49 UTC
While trying to build mono with make -j4 build fails with:
[ 1670s] System.Data.SqlClient/SqlBulkCopy.cs(63,26): warning CS0414: The private field `System.Data.SqlClient.SqlBulkCopy.externalTransaction' is assigned but its value is never used
[ 1670s] System.Data/DataRelation.cs(55,19): warning CS0414: The private field `System.Data.DataRelation.dataSet' is assigned but its value is never used
[ 1670s] System.Data/XmlDataInferenceLoader.cs(173,15): warning CS0414: The private field `System.Data.XmlDataInferenceLoader.mode' is assigned but its value is never used
[ 1670s] System.Data.OleDb/OleDbConnection.cs(352,45): warning CS0067: The event `System.Data.OleDb.OleDbConnection.InfoMessage' is never used
[ 1670s] System.Data.OleDb/OleDbDataReader.cs(47,24): warning CS0414: The private field `System.Data.OleDb.OleDbDataReader.command' is assigned but its value is never used
[ 1670s] System.Data.SqlClient/SqlCommand.cs(1022,47): warning CS0067: The event `System.Data.SqlClient.SqlCommand.StatementCompleted' is never used
[ 1670s] System.Data.SqlClient/SqlConnection.cs(106,8): warning CS0414: The private field `System.Data.SqlClient.SqlConnection.connectionReset' is assigned but its value is never used
[ 1670s] System.Data.SqlClient/SqlConnection.cs(1770,8): warning CS0414: The private field `System.Data.SqlClient.SqlConnection.userInstance' is assigned but its value is never used
[ 1670s] System.Data.SqlClient/SqlConnection.cs(982,19): warning CS0414: The private field `System.Data.SqlClient.SqlConnection.SqlMonitorSocket.server' is assigned but its value is never used
[ 1670s] System.Data.SqlClient/SqlDependency.cs(66,37): warning CS0067: The event `System.Data.SqlClient.SqlDependency.OnChange' is never used
[ 1670s] System.Data.SqlClient/SqlParameterCollection.cs(60,14): warning CS0414: The private field `System.Data.SqlClient.SqlParameterCollection.command' is assigned but its value is never used
[ 1670s] System.Data.SqlClient/SqlBulkCopy.cs(63,26): warning CS0414: The private field `System.Data.SqlClient.SqlBulkCopy.externalTransaction' is assigned but its value is never used
[ 1670s] Compilation succeeded - 23 warning(s)
[ 1670s] Compilation succeeded - 23 warning(s)
[ 1670s] MCS     [net_4_0] Accessibility.dll
[ 1671s] MCS     [net_2_0] Accessibility.dll
[ 1671s] MCS     [net_4_0] Mono.WebBrowser.dll
[ 1671s] MCS     [net_2_0] Mono.WebBrowser.dll
[ 1673s] Mono.WebBrowser/Manager.cs(46,21): warning CS0612: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
[ 1673s] Mono.WebBrowser/Manager.cs(46,21): warning CS0612: `System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
[ 1673s] Compilation succeeded - 1 warning(s)
[ 1673s] Compilation succeeded - 1 warning(s)
[ 1673s] MCS     [net_4_0] System.Runtime.Serialization.Formatters.Soap.dll
[ 1673s] MCS     [net_2_0] System.Runtime.Serialization.Formatters.Soap.dll
[ 1675s] Error: Cannot load support for ResX format: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
[ 1675s] Error: Cannot load support for ResX format: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
[ 1675s] cp: cannot create regular file 'resources/keyboards.resources': File exists
[ 1675s] Makefile:125: recipe for target 'resources/keyboards.resources' failed
[ 1675s] make[8]: *** [resources/keyboards.resources] Error 1
[ 1675s] ../../build/rules.make:143: recipe for target 'do-all' failed
[ 1675s] make[7]: *** [do-all] Error 2
[ 1675s] ../build/rules.make:164: recipe for target 'all-recursive' failed
[ 1675s] make[6]: *** [all-recursive] Error 1
[ 1675s] build/rules.make:164: recipe for target 'all-recursive' failed
[ 1675s] make[5]: *** [all-recursive] Error 1
[ 1675s] Makefile:101: recipe for target 'profile-do--net_2_0--all' failed
[ 1675s] make[4]: *** [profile-do--net_2_0--all] Error 2
[ 1675s] make[4]: *** Waiting for unfinished jobs....
Comment 1 Zoltan Varga 2015-03-31 18:37:21 UTC
This should work fine in mono master/mono-4.0.0-branch.
Comment 2 Dinar Valeev 2015-03-31 19:13:47 UTC
Any hint which commit fixes it?
Comment 3 Zoltan Varga 2015-03-31 19:17:06 UTC
There were a lot of build changes between 3.12 and 4.0/master.