On 2014-11-04 13:15-0000 phil rosenberg wrote:

> nm: '/usr/local/src/plplot-plplot/build/src/libplplot.so': No such file
> /usr/local/src/plplot-plplot/doc/docbook/src/../bin/get-library-symbols.pl: 
> cannot get external symbols of library 
> /usr/local/src/plplot-plplot/build/src/libplplot.so at 
> /usr/local/src/plplot-plplot/doc/docbook/src/../bin/get-library-symbols.pl 
> line 26.
> doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/build.make:54: 
> recipe for target 'doc/docbook/src/plplot-symbols.txt' failed
> make[2]: *** [doc/docbook/src/plplot-symbols.txt] Error 1
> CMakeFiles/Makefile2:1756: recipe for target 
> 'doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/all' failed
> make[1]: *** [doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/all] 
> Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
> Running make a second time allows the build to complete with no problems. 
> Alan do you have any ideas why this might be the case?

CMake has both target and file dependencies which are handled
automatically and correctly for ordinary targets, but such
dependencies can be tricky to implement for custom targets and their
associated custom commands (which are often used in our documentation
build). Furthermore, finding such dependency problems can be tricky
because actual build errors resulting from dependency issues can
depend very much on platform, timing (especially from race conditions
that sometimes are the result of dependency issues) and what targets
are run in what order.  So it is good you found and reported the above
issue.  Further investigation found a file-dependency issue in the
custom command associated with the docbook_plplot-symbols_txt target.

I have fixed that file-dependency issue as of commit 673c09b, and the
result works for the simple test I did.  However, please do the exact
sequence of commands you did before (to get the timing right just in
case the above problem was due to a build-system race condition) to
see if the issue you found is now fixed.

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

Reply via email to