ayaports/apk/v3.15/main/dotnet31
2021-12-13 06:07:52 +00:00
..
APKBUILD testing/dotnet31: update 2021-12-13 06:07:52 +00:00
application-insights_fix-net40-location.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
build_coreclr-tools-path.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
build_darc-fix-alpine.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
core-sdk_generate-layout-core-setup-blob-path-fix.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
core-setup_rid-plat-generation-on-alpine-fix.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
coreclr_fix-build-on-Alpine-edge-45352.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
coreclr_non-portable-distrorid-fix-alpine.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
corefx_added-alpine-315-rid.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
corefx_fix-build-clang10.patch [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
dotnet.sh [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00
README.md [main/dotnet5][main/dotnet5-stage0][main/dotnet31][main/dotnet31-stage0] Conversion of dotnet-3.1 / dotnet-5.0 to dotnet31 / dotnet5 implementation with -stage0 versions of each 2021-12-13 05:29:35 +00:00

Description

APKBUILD for dotnet31.

How to build dotnet31 stack

  • Build testing/dotnet31-stage0 first (provides binary dotnet31-bootstrap-runtime / sdk and dotnet-host)
  • Build testing/dotnet31 once (with binary bootstraps, provides repo versions of above packages, and more)
  • Build testing/dotnet31 again (with repo bootstraps, provides full repo versions)

Known issues

  • Build oddities here and there that the patches fix. In the process of upstreaming to clear them out
  • No check() mechanism, havn't found any docs for source-build tests
  • Tested only build for x86_64. While dotnet supports x86, aarch64 and armv7, I have not attempted a build on these architectures due to lack of time and hardware.
  • Option !archcheck used because main package has nothing in it by design, wants noarch.
  • Option !tracedeps used as setting pkgver in subpkgver breaks dependency tracing.

Patch notes

application-insights_fix-net40-location.patch

Because paths on Linux are case sensitive. Applications insights looks for <dotnet/applications-insights>/src/Core/Managed/net40 in net40 while the repo has a Net40. Patch moves whatever is in Net40 to net40.

build_coreclr-tools-path.patch

Various steps in the build process looks for ilasm in ildasm in $builddir/src/dotnet-3.1/Tools/source-built/coreclr-tools/x64 while they are built to $builddir/src/dotnet-3.1/Tools/source-built/coreclr-tools. This patches <dotnet/source-build> to look for ilasm and ildasm in correct path.

build_darc-fix-alpine.patch

Darc has a segmentation fault on Alpine due to not chosing the correct binary architecture. This patch deletes all the wrong ones so that it is forced to chose the correct one. See issue dotnet/source-build #1868

coreclr_fix-build-on-Alpine-edge-45352.patch

Fixes a build error for Alpine Linux. It has since been fixed in dotnet-5.0, see issue dotnet/runtime 45352.

corefx_fix-build-clang10.patch

Fixes a build error for clang 10

core-setup_rid-plat-generation-on-alpine-fix.patch

<dotnet/core-setup>/src/corehost/build.sh generates wrong plat_rid on Alpine Generated RID is expected to be alpine.x.xx-xx, while the computed RID is linux-musl-xxx. This patches it by matching what's expected.

coreclr_non-portable-distrorid-fix-alpine.patch

<dotnet/coreclr>/init-distro-id.sh generates incorrect DistroRid on Alpine. While the expected DistroRid (alpine-x.xx-xxx) should only include macro version, init-distro-id.sh includes the micro version. This patches it to cut off the trailing subversion off of VERSION_ID by treating it the same way RHEL's VERSION_ID is treated.

installer_generate-layout-core-setup-blob-path-fix.patch

<dotnet/core-setup> blobs are written to $builddir/artifacts/obj/x64/Release/ blobs/Runtime/3.1.20-alpine.3.15 while installer expects them in 3.1.20. This patches <dotnet/installer>/src/redist/targets/GenerateLayout.targets to point to actual path.