We discussed this yesterday on Slack, but I since found out that we'll not only hit this on Travis but in the product builds that do Mono autoprovisioning too, so I thought it's better to have it tracked.
>so I found a pretty interesting "regression" with the mono 4.4.1 osx package due to https://github.com/xamarin/bockbuild/commit/4bf7d2ee28d5fd1c6c9c4cb0231f0cef8a8ac859
>the issue is that adding stuff to /etc/paths.d doesn't cause the current PATH to be updated. since we are installing Mono on >travis by fetching the .pkg and installing it in the same shell session, the commands weren't found
>this wasn't an issue before when the symlinks were installed to /usr/local/bin, since that is in the path by default
>the fix I applied was to run `eval $(/usr/libexec/path_helper -s)` to refresh the PATH, which worked
since C8 is now closed, and is shipping this week, I will move this but to the C8SR1 milestone. We'll continue working on the issue seeking it's resolution as soon as possible.
The attempted fix does not work (running the command from inside the package's post-install script). A proper fix seems to have to involve updating shell startup scripts, which has to be done carefully and may not have a simple solution.
I will likely take care of the bash and zsh possibilities, but please feel free to suggest any other methods you may have or shells that are affected.
Fixed in mono/bockbuild master and xamarin/bockbuild mono-4.8.0-branch (for bash and zsh)