Discussion:
building GMT5 documentation
Sebastian P. Luque
2014-07-20 20:24:47 UTC
Permalink
Hi,

I'm having problems building the documentation for GMT5 in Debian sid.
I've followed the building instructions from the Wiki, and although the
programs build OK, the documentation fails when working on example 23.
It's very difficult to debug, given tha the only message I get is that
there's an unrecoverable error:

╭─────
│ $ make docs_man
│ [ 7%] Built target _docs_examples_verbatim
│ [ 7%] Copying doc/rst/source ...
│ [ 7%] Built target _docs_copy_rst_tree_source
│ [ 7%] Copying doc/rst/themes ...
│ [ 7%] Built target _docs_copy_rst_tree_themes
│ [ 10%] Built target _docs_copy_fig
│ [ 11%] Built target gen_gmt_headers
│ [ 13%] Built target pslib
│ [ 34%] Built target gmtlib
│ [ 35%] Built target gmt
│ [ 35%] Built target gmt_for_img_convert
│ [ 35%] Generating ../rst/_source/_images/GMT_coverlogo.pdf
│ [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_a4.pdf
│ [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_letter.pdf
│ [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_tabloid.pdf
│ [ 71%] Built target _docs_scripts_fig
│ [ 82%] Built target _docs_scripts_verbatim
│ [ 82%] Generating ../rst/_source/_images/example_23.pdf
│ Unrecoverable error: limitcheck in ]
│ Operand stack:
│ PSL_path_x --nostringval-- 3452 3457 3460 ...
│ ps2raster: System call [gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox -sFONTPATH=/usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex31/fonts -dMaxBitmap=2147483647 -dUseFastColor=true /usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex23//example_23.ps 2> /usr/local/lib/GMT/GMTdev/gmt5/build/doc/rst/_source/_images/ps2raster_13933c.bb] returned error 65280.
│ doc/examples/CMakeFiles/_docs_examples_fig.dir/build.make:172: recipe for target 'doc/rst/_source/_images/example_23.pdf' failed
│ make[3]: *** [doc/rst/_source/_images/example_23.pdf] Error 1
│ CMakeFiles/Makefile2:1667: recipe for target 'doc/examples/CMakeFiles/_docs_examples_fig.dir/all' failed
│ make[2]: *** [doc/examples/CMakeFiles/_docs_examples_fig.dir/all] Error 2
│ CMakeFiles/Makefile2:1273: recipe for target 'doc/rst/CMakeFiles/docs_man.dir/rule' failed
│ make[1]: *** [doc/rst/CMakeFiles/docs_man.dir/rule] Error 2
│ Makefile:518: recipe for target 'docs_man' failed
│ make: *** [docs_man] Error 2
╰─────

The list of numbers in "..." is *very* long. If I try to view the
example_23.ps file with ghostscript, I get a partial image of example 23
in *.pdf online (the map without the contours, lines, etc.), followed by
error messages from ghostscript matching the one shown during building).

I realize this is likely a problem with ghostscript in Debian, given
that I haven't found any reference to this issue elsewhere. Is anybody
else seeing this? I could avoid this by just installing the pre-built
documentation, but unfortunately it doesn't include the man pages in man
format, which I use frequently and extensively in Emacs.

Cheers,
--
Seb

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Eduardo A. Suárez
2014-07-20 20:41:37 UTC
Permalink
dpkg -l | grep ghostscript ???
Post by Sebastian P. Luque
Hi,
I'm having problems building the documentation for GMT5 in Debian sid.
I've followed the building instructions from the Wiki, and although the
programs build OK, the documentation fails when working on example 23.
It's very difficult to debug, given tha the only message I get is that
??????
? $ make docs_man
? [ 7%] Built target _docs_examples_verbatim
? [ 7%] Copying doc/rst/source ...
? [ 7%] Built target _docs_copy_rst_tree_source
? [ 7%] Copying doc/rst/themes ...
? [ 7%] Built target _docs_copy_rst_tree_themes
? [ 10%] Built target _docs_copy_fig
? [ 11%] Built target gen_gmt_headers
? [ 13%] Built target pslib
? [ 34%] Built target gmtlib
? [ 35%] Built target gmt
? [ 35%] Built target gmt_for_img_convert
? [ 35%] Generating ../rst/_source/_images/GMT_coverlogo.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_a4.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_letter.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_tabloid.pdf
? [ 71%] Built target _docs_scripts_fig
? [ 82%] Built target _docs_scripts_verbatim
? [ 82%] Generating ../rst/_source/_images/example_23.pdf
? Unrecoverable error: limitcheck in ]
? PSL_path_x --nostringval-- 3452 3457 3460 ...
? ps2raster: System call [gs -q -dSAFER -dNOPAUSE -dBATCH
-sDEVICE=bbox
-sFONTPATH=/usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex31/fonts
-dMaxBitmap=2147483647 -dUseFastColor=true
/usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex23//example_23.ps 2>
/usr/local/lib/GMT/GMTdev/gmt5/build/doc/rst/_source/_images/ps2raster_13933c.bb] returned error
65280.
recipe for target 'doc/rst/_source/_images/example_23.pdf' failed
? make[3]: *** [doc/rst/_source/_images/example_23.pdf] Error 1
? CMakeFiles/Makefile2:1667: recipe for target
'doc/examples/CMakeFiles/_docs_examples_fig.dir/all' failed
? make[2]: *** [doc/examples/CMakeFiles/_docs_examples_fig.dir/all] Error 2
? CMakeFiles/Makefile2:1273: recipe for target
'doc/rst/CMakeFiles/docs_man.dir/rule' failed
? make[1]: *** [doc/rst/CMakeFiles/docs_man.dir/rule] Error 2
? Makefile:518: recipe for target 'docs_man' failed
? make: *** [docs_man] Error 2
??????
The list of numbers in "..." is *very* long. If I try to view the
example_23.ps file with ghostscript, I get a partial image of example 23
in *.pdf online (the map without the contours, lines, etc.), followed by
error messages from ghostscript matching the one shown during building).
I realize this is likely a problem with ghostscript in Debian, given
that I haven't found any reference to this issue elsewhere. Is anybody
else seeing this? I could avoid this by just installing the pre-built
documentation, but unfortunately it doesn't include the man pages in man
format, which I use frequently and extensively in Emacs.
Cheers,
--
Seb
Mailing list for GMT discussions of all kinds. If you are not sure
you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add
New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please use
forum on gmt.soest.hawaii.edu instead.
--
Eduardo A. Suarez
Facultad de Ciencias Astronómicas y Geofísicas - UNLP
FCAG: (0221)-4236593 int. 172/Cel: (0221)-15-4557542/Casa: (0221)-4526589


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Sebastian P. Luque
2014-07-20 20:48:54 UTC
Permalink
On Sun, 20 Jul 2014 17:41:37 -0300,
dpkg -l | grep ghostscript ???
Sid currently has 9.05~dfsg-8.1. It'd be interesting to know if any
other Debian users are seeing this, at least to ascertain that it's a
problem with this particular ghostscript version.
--
Seb

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Eduardo A. Suárez
2014-07-20 20:51:33 UTC
Permalink
Hi Sebastian,

I'm running ghostscript 9.10 from debian experimental because up to
sid it has 9.05 and I had probems with it.

Regards, Eduardo.-
Post by Sebastian P. Luque
Hi,
I'm having problems building the documentation for GMT5 in Debian sid.
I've followed the building instructions from the Wiki, and although the
programs build OK, the documentation fails when working on example 23.
It's very difficult to debug, given tha the only message I get is that
??????
? $ make docs_man
? [ 7%] Built target _docs_examples_verbatim
? [ 7%] Copying doc/rst/source ...
? [ 7%] Built target _docs_copy_rst_tree_source
? [ 7%] Copying doc/rst/themes ...
? [ 7%] Built target _docs_copy_rst_tree_themes
? [ 10%] Built target _docs_copy_fig
? [ 11%] Built target gen_gmt_headers
? [ 13%] Built target pslib
? [ 34%] Built target gmtlib
? [ 35%] Built target gmt
? [ 35%] Built target gmt_for_img_convert
? [ 35%] Generating ../rst/_source/_images/GMT_coverlogo.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_a4.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_letter.pdf
? [ 36%] Generating ../rst/_source/_images/GMT_RGBchart_tabloid.pdf
? [ 71%] Built target _docs_scripts_fig
? [ 82%] Built target _docs_scripts_verbatim
? [ 82%] Generating ../rst/_source/_images/example_23.pdf
? Unrecoverable error: limitcheck in ]
? PSL_path_x --nostringval-- 3452 3457 3460 ...
? ps2raster: System call [gs -q -dSAFER -dNOPAUSE -dBATCH
-sDEVICE=bbox
-sFONTPATH=/usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex31/fonts
-dMaxBitmap=2147483647 -dUseFastColor=true
/usr/local/lib/GMT/GMTdev/gmt5/doc/examples/ex23//example_23.ps 2>
/usr/local/lib/GMT/GMTdev/gmt5/build/doc/rst/_source/_images/ps2raster_13933c.bb] returned error
65280.
recipe for target 'doc/rst/_source/_images/example_23.pdf' failed
? make[3]: *** [doc/rst/_source/_images/example_23.pdf] Error 1
? CMakeFiles/Makefile2:1667: recipe for target
'doc/examples/CMakeFiles/_docs_examples_fig.dir/all' failed
? make[2]: *** [doc/examples/CMakeFiles/_docs_examples_fig.dir/all] Error 2
? CMakeFiles/Makefile2:1273: recipe for target
'doc/rst/CMakeFiles/docs_man.dir/rule' failed
? make[1]: *** [doc/rst/CMakeFiles/docs_man.dir/rule] Error 2
? Makefile:518: recipe for target 'docs_man' failed
? make: *** [docs_man] Error 2
??????
The list of numbers in "..." is *very* long. If I try to view the
example_23.ps file with ghostscript, I get a partial image of example 23
in *.pdf online (the map without the contours, lines, etc.), followed by
error messages from ghostscript matching the one shown during building).
I realize this is likely a problem with ghostscript in Debian, given
that I haven't found any reference to this issue elsewhere. Is anybody
else seeing this? I could avoid this by just installing the pre-built
documentation, but unfortunately it doesn't include the man pages in man
format, which I use frequently and extensively in Emacs.
Cheers,
--
Seb
Mailing list for GMT discussions of all kinds. If you are not sure
you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add
New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please use
forum on gmt.soest.hawaii.edu instead.
--
Eduardo A. Suarez
Facultad de Ciencias Astronómicas y Geofísicas - UNLP
FCAG: (0221)-4236593 int. 172/Cel: (0221)-15-4557542/Casa: (0221)-4526589


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Sebastian P. Luque
2014-07-20 21:09:12 UTC
Permalink
On Sun, 20 Jul 2014 17:51:33 -0300,
Hi Sebastian, I'm running ghostscript 9.10 from debian experimental
because up to sid it has 9.05 and I had probems with it.
Seems like experimental ghostscript is no longer installable, since it
has a dependency on libtrio1, which is no longer available... I may
have to bite the bullet and compile the latest version manually...
--
Seb

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Continue reading on narkive:
Loading...