Skip to content

Conversation

@jonpryor
Copy link
Contributor

jonpryor and others added 2 commits September 27, 2019 16:41
Context: http://build.azdo.io/3085600
Context: Homebrew/homebrew-core#44608

On 2019-Sep-26, or thereabouts, we started seeing this build error:

	==> Downloading https://www-us.apache.org/dist/commons/bcel/binaries/bcel-6.3.1-bin.tar.gz
	stderr | curl: (22) The requested URL returned error: 404 Not Found
	stderr | Error: An exception occurred within a child process:
	stderr |   DownloadError: Failed to download resource "ant--bcel"
	stderr | Download failed: https://www-us.apache.org/dist/commons/bcel/binaries/bcel-6.3.1-bin.tar.gz
	Error: Installation of ant failed

This is coming from `brew install ant`.  Apparently, something
related to the [Homebrew `ant` Formulae][0] has broken recently, and
all attempts to use Homebrew to install `ant` are failing, worldwide.

Looking into it, we only use `ant` and a related `<Ant/>` task to
build `src/proguard`, and ProGuard has instructions to instead build
with `maven`, `gradle`, and `javac` (among others).  Meaning we don't
actually *need* `ant` *at all*.

I reworked `src/proguard` to be built with `gradle`, the same way we
are building `r8.jar`.  This allows us to not need `ant` anymore, and
thus avoid the `brew install ant` error.

[0]: https://formulae.brew.sh/formula/ant
@jonpryor jonpryor requested a review from grendello as a code owner September 28, 2019 01:18
@jonpryor jonpryor added the use-rebase-and-merge Normally we squash-and-merge PRs. Use this label so we instead rebase & merge. label Sep 28, 2019
Restores the instrumentation timeout for the NUnit set of BCL tests to
60 minutes, which was the previous timeout value prior to commit 3d9b154.
@jonpryor jonpryor merged commit 3666c06 into d16-3 Oct 1, 2019
@dalexsoto dalexsoto deleted the jonp-bump-mono-5608fe0a branch October 4, 2019 19:45
@dalexsoto dalexsoto restored the jonp-bump-mono-5608fe0a branch October 4, 2019 19:46
@jpobst jpobst deleted the jonp-bump-mono-5608fe0a branch March 8, 2021 17:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

use-rebase-and-merge Normally we squash-and-merge PRs. Use this label so we instead rebase & merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants