GNOME Bugzilla – Bug 559917
doesn't build with make -j2
Last modified: 2009-01-21 20:21:50 UTC
When building banshee with make -j2, it breaks halfway trough the compilations: ake[2]: Entering directory `/usr/local/src/banshee/banshee/docs' Making all in Hyena make[3]: Entering directory `/usr/local/src/banshee/banshee/docs/Hyena' /usr/bin/mdassembler --out hyena-docs --ecma ./en /usr/bin/mdassembler --out hyena-docs --ecma ./en Unhandled Exception: System.IO.IOException: Sharing violation on path /usr/local/src/banshee/banshee/docs/Hyena/hyena-docs.zip at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000] at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int) at System.IO.File.Create (System.String path, Int32 bufferSize, FileOptions options, System.Object fileSecurity) [0x00000] at System.IO.File.Create (System.String path) [0x00000] at Monodoc.HelpSource.SetupForOutput () [0x00000] at Monodoc.HelpSource..ctor (System.String base_filename, Boolean create) [0x00000] at Monodoc.Assembler.Main (System.String[] args) [0x00000] make[3]: *** [hyena-docs.tree] Error 1 make[3]: *** Waiting for unfinished jobs....
Damn, I thought I had those parallel make issues sorted out. Looks like I wasn't building the docs. I'll attach a patch.
OK, I spoke too soon about that patch. I can't find a sensible way to solve this for now. In the meantime, you can use -j1 or pass --disable-docs to configure to work around this.
Created attachment 122517 [details] [review] Fix parallel make for docs Here's a patch that should fix this. It was my first idea, I just had to convince myself again that it was right. ;)
Bertrand, if this works for you, commit it after 1.4.2.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.