Skip to content

Conversation

@jonpryor
Copy link
Contributor

Context: #162

PR #162 tries to use the mono bundle (fbfd676) to avoid rebuilding
mono on subsequent builds (when the mono commit hasn't changed), in
order to speed up the Jenkins build process (currently tracking at
~3.5 hours for a non-PR build...)

PR #162 currently fails when building src/Mono.Data.Sqlite:

CSC: error CS2001: Source file `/Users/builder/jenkins/workspace/xamarin-android-pr-builder/xamarin-android/external/mono/mcs/build/common/Consts.cs' could not be found

Fix this error by copying external/mono/mcs/build/common/Consts.cs
into bin/$(Configuration)/include, and updating the Consts.cs
references within Mono.Data.Sqlite.csproj and Mono.Posix.csproj so
that they'll use the include copy.

This should allow us to use the bundle to build these projects.

Additionally, llc.exe and opt.exe are installed into
$prefix/bin, which isn't correct; $prefix/bin as a construct
doesn't exist on Windows. Install these into $prefix/lib/mandroid.

Update the bundle version to note these bundle changes.

Context: dotnet#162

PR dotnet#162 tries to use the mono bundle (fbfd676) to avoid rebuilding
mono on subsequent builds (when the mono commit hasn't changed), in
order to speed up the Jenkins build process (currently tracking at
~3.5 *hours* for a non-PR build...)

[PR dotnet#162 currently fails][0] when building `src/Mono.Data.Sqlite`:

	CSC: error CS2001: Source file `/Users/builder/jenkins/workspace/xamarin-android-pr-builder/xamarin-android/external/mono/mcs/build/common/Consts.cs' could not be found

Fix this error by copying `external/mono/mcs/build/common/Consts.cs`
into `bin/$(Configuration)/include`, and updating the `Consts.cs`
references within `Mono.Data.Sqlite.csproj` and `Mono.Posix.csproj` so
that they'll use the `include` copy.

This should allow us to use the bundle to build these projects.

Additionally, `llc.exe` and `opt.exe` are installed into
`$prefix/bin`, which isn't correct; `$prefix/bin` as a construct
doesn't exist on Windows. Install these into `$prefix/lib/mandroid`.

Update the bundle version to note these bundle changes.

[0]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-pr-builder/67/console
@jonpryor jonpryor merged commit 147e0f4 into dotnet:master Aug 14, 2016
radekdoulik pushed a commit to radekdoulik/xamarin-android that referenced this pull request Aug 18, 2016
dotnet#165)

Context: dotnet#162

PR dotnet#162 tries to use the mono bundle (fbfd676) to avoid rebuilding
mono on subsequent builds (when the mono commit hasn't changed), in
order to speed up the Jenkins build process (currently tracking at
~3.5 *hours* for a non-PR build...)

[PR dotnet#162 currently fails][0] when building `src/Mono.Data.Sqlite`:

	CSC: error CS2001: Source file `/Users/builder/jenkins/workspace/xamarin-android-pr-builder/xamarin-android/external/mono/mcs/build/common/Consts.cs' could not be found

Fix this error by copying `external/mono/mcs/build/common/Consts.cs`
into `bin/$(Configuration)/include`, and updating the `Consts.cs`
references within `Mono.Data.Sqlite.csproj` and `Mono.Posix.csproj` so
that they'll use the `include` copy.

This should allow us to use the bundle to build these projects.

Additionally, `llc.exe` and `opt.exe` are installed into
`$prefix/bin`, which isn't correct; `$prefix/bin` as a construct
doesn't exist on Windows. Install these into `$prefix/lib/mandroid`.

Update the bundle version to note these bundle changes.

[0]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-pr-builder/67/console
radical pushed a commit that referenced this pull request May 8, 2018
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=56653

Android's Zygote process, responsible for starting and initializing
of every app as well as catching any application crashes (exceptions
not handled by the app, most of the time), special-cases application
exceptions of types java.lang.Error and java.lang.Exception (and their
derivatives) and this may cause issues with automatic crash reporting
recently added to the Google's Developer Console.

The automatically collected reports do not contain the full trace of
exceptions that *don't* inherit from Exception or Error.

Change the base class of JavaProxyThrowable to Error so that if
it reaches the Zygote handler the full stack trace will be provided.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants