Closed kossmoboleat closed 5 years ago
@kossmoboleat The problem, is that your system is running the gnu version of mktemp as opposed to the MacOS version. I would look for possible symlink, alias, or path causes of this.
% gmktemp -dt asdf-java
gmktemp: too few X's in template ‘asdf-java’
% which gmktemp /usr/local/bin/gmktemp
% gmktemp --version
mktemp (GNU coreutils) 8.31
...
% mktemp -dt asdf-java
/var/folders/h0/wf36d99d4f92nbmvtrtgvwxr0000gn/T/asdf-java.XYwkuOKy
% which mktemp
/usr/bin/mktemp
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G103
awesome, that works. I did install some gnu utilities via homebrew and overwrite the default macOs ones, because I've been bitten by incompatibilities before. But given the time needed to debug this I've reversed the PATH settings for coreutils.
When I'm trying to install the OpenJDK version 13+33 the installation fails with many errors and leaves some intermediate installation files in my home directory.
I'm trying this on macOs 10.14.6. My default shell is zsh but I suspect it might be a problem I'm using bash 5 via homebrew as the default bash shell.
And the intermediate files: