Juliaup breakes GMT (via Ghostscript and tmp dir permissions)

All started when I decided to tell students to follow the official installing recommendations of using juliaup to install Julia. No problems in this first step (other than the slowness as comparing to install using the manual installer). But the true problems came when we tried to install and run GMT. Again, no problems with the install step (but see below) but when we tried to run the first example all computers with Windows errored when Ghostcript was called to convert the PostScript (that’s what GMT produces) into png. The error was about not finding libz.dll, though it is located in Julia’s bin dir. It sure is another of those compatibility issues that the OSs into that type of very misleading message.

Meanwhile, when I was finally able to reproduce the error in a VM, and very likely because very recently I added a new command to the pre-compilation workflow, I was faced wit another error:

makecpt [ERROR]: Unable to open file gmtapi_colors2cpt_9772.cpt file for writing

Now this is stranger and arises when the C lib tries to write that file to the temporary dir. So, a very odd permissions trouble came in.

Guess what. Installed the LTS version with the manual installer and no problems whatsoever. Not so surprising as the CI tests use that type of installation and never had a report of such type of errors.

Not sure where to open a issue to report this.