Skip to content

Conversation

@jonpryor
Copy link
Contributor

Commits 721c433, 469e628, and 986869b attempted to fix the macOS
Jenkins build by using mono --arch=32/mono32 to run
MonoAotOffsetsDumper.exe, and by altering the mono version check to
require mono 5.2.0.114, which was needed in order for macOS to provide
the mono32 binary in a location included in $PATH.

Those commits also broke the Linux+Jenkins build, by requiring
a binary (mono32) that (1) doesn't exist on Linux, and (2) isn't
needed on Linux (Linux requires a 64-bit process to invoke
MonoAotOffsetsDumper.exe!):

error : Missing dependency detected. For Linux we do not know how to install program `mono`, version >= 5.2.0.114

Mono 5.2.0 is pre-installed on that machine, but not 5.2.0.114.

Update the mono version check so that 5.2.0.114 is only required on
macOS/Darwin; other platforms just require 5.2.0.

Update the MonoAotOffsetsDumper.exe invocation so that
mono --arch=32 is only used on macOS, not Linux.

Commits 721c433, 469e628, and 986869b attempted to fix the macOS
Jenkins build by using `mono --arch=32`/`mono32` to run
`MonoAotOffsetsDumper.exe`, and by altering the mono version check to
require mono 5.2.0.114, which was needed in order for macOS to provide
the `mono32` binary in a location included in `$PATH`.

Those commits *also* [broke the Linux+Jenkins build][0], by requiring
a binary (`mono32`) that (1) doesn't exist on Linux, and (2) isn't
needed on Linux (Linux requires a 64-bit process to invoke
`MonoAotOffsetsDumper.exe`!):

	error : Missing dependency detected. For Linux we do not know how to install program `mono`, version >= 5.2.0.114

Mono 5.2.0 is pre-installed on that machine, but *not* 5.2.0.114.

Update the mono version check so that 5.2.0.114 is only required on
macOS/Darwin; other platforms just require 5.2.0.

Update the `MonoAotOffsetsDumper.exe` invocation so that
`mono --arch=32` is only used on macOS, *not* Linux.

[0]: https://jenkins.mono-project.com/job/xamarin-anroid-linux-pr-builder/444/
@jonpryor jonpryor added the full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps) label May 16, 2017
@radekdoulik radekdoulik merged commit c0f31f8 into dotnet:master May 16, 2017
jonpryor pushed a commit that referenced this pull request Mar 6, 2020
Changes: dotnet/java-interop@3dab5a0...9324e1e

  * dotnet/java-interop@9324e1e: [generator] Classes within interfaces naming (#592)
  * dotnet/java-interop@e557ba4: [generator] Allow multiple `generator --apiversions` (#593)
  * dotnet/java-interop@fa52a1c: [Java.Interop.Tools.JavaCallableWrappers] Renumber XA4213 to XA4217 (#594)
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants