After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 559917 - doesn't build with make -j2
doesn't build with make -j2
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal minor
: 1.6
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-08 18:01 UTC by Bas Zoetekouw
Modified: 2009-01-21 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix parallel make for docs (477 bytes, patch)
2008-11-12 18:25 UTC, Bertrand Lorentz
committed Details | Review

Description Bas Zoetekouw 2008-11-08 18:01:51 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....
Comment 1 Bertrand Lorentz 2008-11-08 22:11:03 UTC
Damn, I thought I had those parallel make issues sorted out. Looks like I wasn't building the docs.
I'll attach a patch.
Comment 2 Bertrand Lorentz 2008-11-08 22:29:33 UTC
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.
Comment 3 Bertrand Lorentz 2008-11-12 18:25:50 UTC
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. ;)
Comment 4 Gabriel Burt 2009-01-13 17:47:47 UTC
Bertrand, if this works for you, commit it after 1.4.2.
Comment 5 Bertrand Lorentz 2009-01-21 20:21:50 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.