Bug #492
smuxi-0.8 fails to build with --enable-debug is no smuxi is already installed in system
Status: | Closed | Start: | 09/13/2010 | |
Priority: | Normal | Due date: | ||
Assigned to: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Complexity: | Found in Version: | |||
Votes: | 0 |
Description
I am having problems to update to smuxi-0.8 on Gentoo. If smuxi is not already installed on system, it fails to build if I don't disable debug:
usr/lib64/mono/3.5/Microsoft.Common.targets: error : Sharing violation on path /var/tmp/portage/net-irc/smuxi-0.8/work/smuxi-0.8/bin/debug/obj/Debug/Newtonsoft.Json.csproj.FilesWrittenAbsolute.txt at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x00000] in <filename unknown>:0
Task "WriteLinesToFile" execution -- FAILED
Done building target "_RecordCleanFile" in project "/var/tmp/portage/net-irc/smuxi-0.8/work/smuxi-0.8/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Newtonsoft.Json.csproj".-- FAILED
Time Elapsed 00:00:08.5297710
Done building project "/var/tmp/portage/net-irc/smuxi-0.8/work/smuxi-0.8/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Newtonsoft.Json.csproj".-- FAILED
Build FAILED.
Errors:
/var/tmp/portage/net-irc/smuxi-0.8/work/smuxi-0.8/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Newtonsoft.Json.csproj (default targets) ->
/usr/lib64/mono/3.5/Microsoft.Common.targets (_RecordCleanFile target) ->
/usr/lib64/mono/3.5/Microsoft.Common.targets: error : Sharing violation on path /var/tmp/portage/net-irc/smuxi-0.8/work/smuxi-0.8/bin/debug/obj/Debug/Newtonsoft.Json.csproj.FilesWrittenAbsolute.txt at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x00000] in <filename unknown>:0
0 Warning(s)
1 Error(s)
(Full build.log is attached)
Now, I need to compile it first time without debug support, install it and, finally, I am able to re-build it with debug support. This is a regression over 0.7.2.1
Thanks for solving this
Related issues
duplicated by Smuxi - Bug #515 | Parallel build tends to fail and cause sharing violation | Closed | 10/05/2010 |