Hi Alan Thanks, the parallel build seems to have been the issue. I have added a note to the documentation readme to warn that the recommended -j4 option does not work under Cygwin.
Phil On 24 December 2015 at 22:40, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote: > On 2015-12-22 22:40-0000 Phil Rosenberg wrote: > >> Hi >> I have added some documentation to plGraphicsIn and moved the >> documentation I wrote recently for plTranslateCursor to the C API. >> However now I am getting the following error on Cygwin when I try to >> build the pdf >> >> Build plplotdoc-print.pdf >> >> Unexpected error occured >> >> Error: [Errno 16] Device or resource busy: >> >> '/cygdrive/d/usr/local/src/plplot-plplot/build/cygwin/doc/docbook/src/plplot-5.11.1.pdf' >> >> doc/docbook/src/CMakeFiles/pdf_target.dir/build.make:87: recipe for >> target 'doc/docbook/src/plplot-5.11.1.pdf' failed >> >> make[3]: *** [doc/docbook/src/plplot-5.11.1.pdf] Error 1 >> >> CMakeFiles/Makefile2:1802: recipe for target >> 'doc/docbook/src/CMakeFiles/pdf_target.dir/all' failed >> >> make[2]: *** [doc/docbook/src/CMakeFiles/pdf_target.dir/all] Error 2 >> >> CMakeFiles/Makefile2:1601: recipe for target >> 'doc/docbook/src/CMakeFiles/build_docbook_documentation.dir/rule' >> failed >> >> make[1]: *** >> [doc/docbook/src/CMakeFiles/build_docbook_documentation.dir/rule] >> Error 2 >> >> Makefile:457: recipe for target 'build_docbook_documentation' failed >> >> make: *** [build_docbook_documentation] Error 2 >> >> I don't suppose anyone has seen this before or could try to reproduce >> it on a proper Linux system to check it's not a Cygwin related issue? >> I have attached a patch > > > Hi Phil: > > It turns out your patch was LF rather than CRLF (which > is obviously fine with me). Is that because you produced it with > Cygwin git? > > Anyhow, your patch applied without issues using "git am <patch file > name>". > > > One small workflow issue with your patch is these two lines > > - (<literal>PLINT</literal>, input) > + (<literal>PLINT </literal>, input) > > which restored that blank which I had just removed in one of my recent > "tweak" commits. I don't really understand how this happened, but my > guess is you forgot to git rebase before you sent me the git > format-patch result. > > Anyhow, I have used "git commit --amend" to restore my blank removal > tweak. > > Finally, I tweaked the wording of your documentation change a bit > when I amended your commit. The final version is given > in commit 9863b15. > > > I forgot to say in that commit message that there were no validation > errors and the results built (in parallel with "make -j4 all") without > issues on Debian jessie. > > Please try building commit 9863b15 > > If you continue to get the above "resource busy" issue, is it possible > you are attempting a parallel build on Cygwin? Previous experience by > Arjen and Greg indicate parallel builds are problematic on modern Cygwin > (although they used to work fine for older versions of Cygwin). > > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel