Closed joschi closed 5 years ago
The problem might be caused by the fact that I installed GNU coreutils and GNU stat doesn't support the %c
format sequence.
# which stat
/usr/local/opt/coreutils/libexec/gnubin/stat
# /usr/local/opt/coreutils/libexec/gnubin/stat --version
stat (GNU coreutils) 8.31
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Michael Meskes.
# BSD stat
# /usr/bin/stat -f '%c'
1574278351
# GNU stat
# /usr/local/opt/coreutils/libexec/gnubin/stat -f '%c'
stat: cannot read file system information for '%c': No such file or directory
The problem is also being caused by the GNU coreutils version of mktemp. If you can ensure in your PATH that you use the MacOS versions of mktemp
and stat
binaries it should help.
I guess I could also specify the full path to the MacOS versions of both of these to ensure future conflicts with coreutils no longer happen...
Please update the plugin, I'm now referencing both mktemp
and stat
via their full path
@halcyon Amazing, thanks for the rapid fix!
It's now working without any warning or error messages. 👍
When running
asdf list-all java
on macOS 10.15.1 with Bash 5.0.11(1)-release, I receive some error messages, although the actual listing of available Java versions seems to work.