Include support for .NET 8 for Ubuntu on Power

Bug #2064530 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
In Progress
Undecided
Ubuntu on IBM Power Systems Bug Triage
dotnet8 (Ubuntu)
Status tracked in Oracular
Noble
New
Undecided
Unassigned
Oracular
New
Undecided
Unassigned

Bug Description

== Comment: #0 - JAMIE L. DOLAN <email address hidden> - 2024-05-01 12:19:47 ==

This is a bug to track adding the feature of .NET 8 to Ubuntu 24.04

- This has already been added for s390x
- Customer survey showed strong interest in .NET on Linux on Power, having .NET on Ubuntu on Power will help in adoption of .NET on Power as well as pushing Ubuntu for Power.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-206154 severity-medium targetmilestone-inin2404
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Was this filed against the correct package? https://launchpad.net/ubuntu/+source/dotnet8 looks more appropriate. It's a pity this request wasn't made two months ago, 24.04's Feature Freeze date was February 29 https://discourse.ubuntu.com/t/noble-numbat-release-schedule/35649 -- it might have been trivial then, I don't know what the path is for this now, but it won't be as quick and easy.

I suggest working on a debdiff for the dotnet8 package to get it to build and pass the test suites etc.

Thanks

Frank Heimes (fheimes)
affects: linux (Ubuntu) → dotnet8 (Ubuntu)
Changed in ubuntu-power-systems:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
Changed in dotnet8 (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → nobody
Revision history for this message
Frank Heimes (fheimes) wrote :

Hi Seth, this request came in via the Bugzilla-to-LP bridge, and the default for packages (if unknown to BZ, or for other reasons) is "linux (Ubuntu)".

We (the PE IBM Squad) usually update this when we triage the incoming bugs - and I was a bit late (since we have a pub. holiday today), but already changed it in parallel when you've added your comment.

I'm already in contact with the dotnet tool-chain team on this.
And yes, it will be needed to get it into oracular first (before we can think of getting it into noble).

description: updated
Revision history for this message
Patricia Domingues (patriciasd) wrote :

Hello IBM, we have now a bootstrapped .NET 8 build for ppc64el in this PPA:

Our toolchain team has added this PPA for testing:

https://launchpad.net/~mateus-morais/+archive/ubuntu/dotnet8-ppc64el-ppa

Please, could you try it and let us know? thank you.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2024-05-07 13:41 EDT-------
Thanks for the quick turnaround. We will test it and report the results.

Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: New → In Progress
Revision history for this message
bugproxy (bugproxy) wrote :
Download full text (3.4 KiB)

------- Comment From <email address hidden> 2024-05-09 17:13 EDT-------
Was able to successfully validate the bootstrapped dotnet8 package .

Here are a few of the tests that were run:

$ uname -a
Linux ltcden12-lp22 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 ppc64le ppc64le ppc64le GNU/Linux

foo@ltcden12-lp22:~/HelloWorld$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble

$ apt list --installed | grep dotnet

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

dotnet-apphost-pack-8.0/noble,now 8.0.4-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-host-8.0/noble,now 8.0.4-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-hostfxr-8.0/noble,now 8.0.4-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-runtime-8.0/noble,now 8.0.4-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-sdk-8.0/noble,now 8.0.104-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-targeting-pack-8.0/noble,now 8.0.4-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet-templates-8.0/noble,now 8.0.104-0ubuntu2~ppa4 ppc64el [installed,automatic]
dotnet8/noble,now 8.0.104-8.0.4-0ubuntu2~ppa4 ppc64el [installed]

$ dotnet --info
.NET SDK:
Version: 8.0.104
Commit: 034f91fcc0
Workload version: 8.0.100-manifests.cd97f1c9

Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-ppc64le
Base Path: /usr/lib/dotnet/sdk/8.0.104/

.NET workloads installed:
Workload version: 8.0.100-manifests.cd97f1c9
There are no installed workloads to display.

Host:
Version: 8.0.4
Architecture: ppc64le
Commit: 2d7eea2529

.NET SDKs installed:
8.0.104 [/usr/lib/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.4 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:

$ dotnet new console -o HelloWorld

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.104

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console App" was created successfully.

Processing post-creation actions...
Restoring /home/foo/HelloWorld/HelloWorld.csproj:
Determining projects to restore...
Restored /home/foo/HelloWorld/HelloWorld.csproj (in 980 ms).
Restore succeeded.

foo@ltcden12-lp22:~$ cd HelloWorld/
foo@ltcden12-lp22:~/HelloWorld$ dotnet run
Hello, World!

$ dotnet new console -lang "F#" -o FSharpHelloWorld
The template "Console App" was created su...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.