Skip to content

Conversation

@nicrowe00
Copy link
Contributor

@nicrowe00 nicrowe00 commented Feb 27, 2025

.NET 9 and 10 are now available on alpine and edge.

@nicrowe00 nicrowe00 requested review from omajid and tmds February 27, 2025 11:32
@omajid
Copy link
Member

omajid commented Feb 28, 2025

On Fedora/RHEL, the dotnet-sdk-9.0-aot package brings in AOT dependencies, including clang, openssl-devel, brotli-devel and others. This doesn't happen on Alpine. The users need to install them manually (apk add clang openssl-dev zlib-dev brotli-dev).

@ayakael is this intentional?

If this is intentional, we can add these packages to the README as dependencies for testing on alpine.

@omajid
Copy link
Member

omajid commented Nov 13, 2025

Hey, @ayakael any thoughts?

@ayakael
Copy link
Contributor

ayakael commented Nov 15, 2025

On Fedora/RHEL, the dotnet-sdk-9.0-aot package brings in AOT dependencies, including clang, openssl-devel, brotli-devel and others. This doesn't happen on Alpine. The users need to install them manually (apk add clang openssl-dev zlib-dev brotli-dev).

@ayakael is this intentional?

If this is intentional, we can add these packages to the README as dependencies for testing on alpine.

Hi! Thanks for pinging again, this is not intentional! I'll add these dependencies to AOT subpackage and backport to 3.22.

@ayakael
Copy link
Contributor

ayakael commented Nov 16, 2025

algitbot pushed a commit to alpinelinux/aports that referenced this pull request Nov 17, 2025
algitbot pushed a commit to alpinelinux/aports that referenced this pull request Nov 17, 2025
@ayakael
Copy link
Contributor

ayakael commented Nov 17, 2025

The MR adding those dependencies just got merged. dotnet10 package will also be released with v3.23 in a few weeks.

@omajid
Copy link
Member

omajid commented Nov 17, 2025

Thanks!

.NET 9 and 10 are now available on alpine and edge.
@nicrowe00 nicrowe00 changed the title Update CI to run .NET 9 on alpine Update CI to run .NET 9 and 10 on alpine Dec 8, 2025
@omajid
Copy link
Member

omajid commented Dec 11, 2025

Hey @ayakael do you have the cycles to investigate the test failures and propose fixes for this PR? These failing legs in our CI are becoming concerning and we are wondering if dropping alpine from our matrix would be easier for everyone.

@ayakael
Copy link
Contributor

ayakael commented Dec 12, 2025

Thanks for pinging me! I maintain the dotnet package as a volunteer so can't be as proactive as I'd like to be. I'll take a look at these failures and come up with proposals.

@ayakael
Copy link
Contributor

ayakael commented Dec 12, 2025

For all version, lttng can be disabled:

diff --git a/lttng/test.json b/lttng/test.json
index 5bc879a..6bbf31c 100644
--- a/lttng/test.json
+++ b/lttng/test.json
@@ -10,6 +10,7 @@
     "runtime=mono", // mono does not use lttng
   ],
   "ignoredRIDs":[
+    "alpine", // lttng <=2,13,0 is broken
     "centos",
     "fedora", // see https://github.com/redhat-developer/dotnet-regular-tests/issues/202
     "rhel"

On dotnet10, we use bundled libunwind since it now seems broken on all arches instead of just on arm:

diff --git a/system-libunwind/test.json b/system-libunwind/test.json
index aaa8e53..1ca2e40 100644
--- a/system-libunwind/test.json
+++ b/system-libunwind/test.json
@@ -7,6 +7,7 @@
   "type": "bash",
   "cleanup": true,
   "skipWhen": [
+    "os=alpine,version=10",// system libunwind broken on dotnet10
     "os=fedora",           // using bundled libunwind
     "vmr-ci",              // using system libunwind is configured in the rpm build
     "runtime=mono",        // mono does not use libunwind

Bash completions on dotnet10 is a packaging bug, MR is open to address it: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/94577

publish-aspnet-selfcontained tends to be unstable, rerunning test usually does the trick.

I'll look into non-portale-rid shortly, it looks it's expecting something different on edge.

@ayakael
Copy link
Contributor

ayakael commented Dec 12, 2025

The alpine:edge currently in use is old (from january 2025, before /etc/os-release shows alpine 3.23), either cache should be invalidated or an upgrade step should be added for alpine. This causes the computed os Rid to not match the packaged Rid:

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 095c822..43cd368 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,6 +69,7 @@ jobs:
             if grep edge /etc/os-release; then
               echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
             fi
+           apk upgrade -a
             apk add dotnet-sdk-${{ matrix.dotnet_version }} dotnet-doc
             apk add \
               dotnet-sdk-dbg-${{ matrix.dotnet_version }} 

@ayakael
Copy link
Contributor

ayakael commented Dec 12, 2025

MR on Alpine is merged for latest and edge, implemented fixes for testsuite here: #403. Don't hesitate to flag other issues for me to fix. Every passes over there.

@omajid
Copy link
Member

omajid commented Dec 14, 2025

Thanks!

Closing this PR in favour of #403

@omajid omajid closed this Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants