Package Details: gmt 5.4.5-2

Git Clone URL: https://aur.archlinux.org/gmt.git (read-only)
Package Base: gmt
Description: Generic Mapping Tools: Collection of tools for manipulating geographic and Cartesian data sets, and generating EPS maps.
Upstream URL: http://gmt.soest.hawaii.edu/
Licenses: LGPL
Conflicts: gmt4
Submitter: None
Maintainer: graziano
Last Packager: graziano
Votes: 20
Popularity: 0.121943
First Submitted: 2007-11-16 20:01
Last Updated: 2019-05-14 17:46

Latest Comments

1 2 3 4 Next › Last »

bidulock commented on 2019-07-03 06:42

Please add 'python-sphinx' and 'ghostscript' to makedepends so that the package will build in a clean chroot.

holishing commented on 2019-06-19 09:07

GMT v6.0.0rc1 was announced: https://github.com/GenericMappingTools/gmt/releases/tag/6.0.0rc1 If someone want to try this release candidate version: https://aur.archlinux.org/packages/gmt6

OvelixMax commented on 2019-06-03 17:43

As @pseyfert said it's related with python-sphinx (Python documentation generator). I installed it, and after that, gmt compiled fine. No more "make docs_man" error.

pseyfert commented on 2019-05-28 11:37

I had faced the same problem (package() failing at 'docs_man'). I traced it down to the fact that python-sphinx wasn't installed on my system (it's only an optional dependency, so my aur manager didn't install it). gmt's cmake then doesn't generate the target 'docs_man' (it's thus an optional build target). But the package() function will just fail if 'make docs_man' cannot be done. I.e. to me it seems python-sphinx should be a non-optional build dependency or package() needs to be fixed to not build docs_man if python_sphinx isn't installed.

(fwiw i didn't check if the python2 or python3 sphinx is the relevant one, i just installed both and things worked)

holishing commented on 2019-05-19 08:16

sometimes I ran into the issue @OvelixMax reported, but I still cannot reproduce this, I guess that if it is related to python-sphinx's version. (related problem: https://github.com/GenericMappingTools/pygmt/commit/997b88c855c12ffacd2c4b911f3fa83244ce8d7b )

OvelixMax commented on 2019-05-19 07:46

There was an error compiling this version. This is the final part (some text are in spanish due to my locale):

[ 93%] Building C object src/CMakeFiles/supplib.dir/x2sys/x2sys_merge.c.o

[ 96%] Linking C shared module plugins/supplements.so

[100%] Built target supplib

==> Entrando en entorno fakeroot...

==> Iniciando package()...

make: *** No hay ninguna regla para construir el objetivo 'docs_man'. Alto.

==> ERROR: Se produjo un fallo en package().

Cancelando...

Error making: gmt

holishing commented on 2019-05-09 21:20

Maybe License Information for this repository should be checked. https://github.com/GenericMappingTools/gmt/blob/master/LICENSE.TXT

(License of v5.x [or after][LGPL,GPL] is different from v4.x[GPL])

graziano commented on 2016-03-02 14:20

Thanks @richli, integrated patch. Reported upstream.

richli commented on 2016-03-02 01:00

I don't know exactly what caused the problem (because it worked for me when I last compiled it on 2016-01-14), but a simple cast silences the error. This should probably be reported upstream.

Meanwhile, I have the updated package here:

https://gist.github.com/richli/76d55a4557a7c6ea9d21

The addition is in the "float_cast.patch" file. I also made some minor changes to the PKGBUILD.

richli commented on 2016-02-29 23:28

I can no longer seem to compile:

./gmt/src/gmt-5.2.1/src/xyz2grd.c: In function ‘GMT_xyz2grd’:
./gmt/src/gmt-5.2.1/src/xyz2grd.c:752:4: error: non-floating-point argument in call to function ‘__builtin_isnan’
(GMT_is_dnan (GMT->common.d.active[GMT_IN])) ? sprintf (e_value, "NaN") : sprintf (e_value, GMT->current.setting.format_float_out, GMT->common.d.nan_proxy[GMT_I
^
src/CMakeFiles/gmtlib.dir/build.make:2443: recipe for target 'src/CMakeFiles/gmtlib.dir/xyz2grd.c.o' failed
make[2]: *** [src/CMakeFiles/gmtlib.dir/xyz2grd.c.o] Error 1
CMakeFiles/Makefile2:278: recipe for target 'src/CMakeFiles/gmtlib.dir/all' failed
make[1]: *** [src/CMakeFiles/gmtlib.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2