[android-toolchain] Provide path to autopoint
#1026
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: https://devdiv.visualstudio.com/DevDiv/Default/_build/index?buildId=1138882&_a=summary
Context: #606 (comment)
We discovered 6 months ago that a mono bump was failing to build
because:
The Jenkins machine building the PR has Homebrew 1.2.1 installed.
The Jenkins machine attempting to build the PR has never built
MXE before, as MXE is only required for full builds in which the
mono runtime has changed.
The MXE build failed, because
autopointwasn't in$PATH:The result is a very sad panda.
This could be fixed by force-linking the
gettextpackage:However, this is considered to be overkill, as there may be multiple
other
autopoints in$PATH. (Presumably there's some reason whyBrew 1.2 doesn't install
autopointinto$PATH...)This same issue also reappeared while attempting to build
xamarin-android within VSTS, as the VSTS bots similarly haven't run
brew link --force gettexteither.Fix this issue by overriding
$PATHwhen building MXE so that itcontains the path to
autopoint, as returned by: