dotnet-runtime has hard-coded dependency on libicu71

Bug #2006533 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dotnet6 (Ubuntu)
Fix Released
High
Unassigned
dotnet7 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

dotnet-runtime-6.0 and dotnet-runtime-7.0 have libicu71 listed in the Depends field of their debian/control files.

The purpose of the ${shlibs:Depends} is so that you don't need to have direct dependency on C libraries. For instance, they both have an automatic dependency on libc6 (>= 2.36) on Ubuntu 23.04 -- and libc6 (>= 2.34) on Ubuntu 22.04 LTS.

The shlibs systems also allows packages to be simply rebuilt for C soname library transitions like the current icu transition.

Please verify whether the direct dependency on libicu71 is needed or can be dropped.

Revision history for this message
Miriam España Acebal (mirespace) wrote :

Hi Jeremy!

When preparing the package to be submitted as New package, this was one of the things that changed due to the review process.

The reason was "dotnet is not linked against libicu, it dlopens it instead"

I'll review the package deeper to double check... thank you!

Changed in dotnet6 (Ubuntu):
status: New → Won't Fix
Changed in dotnet7 (Ubuntu):
status: New → Won't Fix
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I am reopening this issue. It is a bug for these packages to depend on libicu71 which is no longer built from source. The dependency will need to be updated to libicu72.

https://people.canonical.com/~ubuntu-archive/transitions/html/auto-icu.html

https://people.canonical.com/~ubuntu-archive/nbs.html

Changed in dotnet6 (Ubuntu):
status: Won't Fix → Triaged
Changed in dotnet7 (Ubuntu):
status: Won't Fix → Triaged
importance: Undecided → High
Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):

Hi Jeremy!

Sorry for the misunderstanding. I closed the bug as "Won't Fix" because we cannot drop the dependency (as I understood that it was the debate here) and need to update libicu in every transition, in this case, to libicu72 as you pointed out right. You can see it in the latest upload:

https://launchpad.net/ubuntu/+source/dotnet7/7.0.103-0ubuntu1

Are you Ok if I close the bug again?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Yes, I closed the dotnet7 bug. Can you update dotnet6 too?

Changed in dotnet7 (Ubuntu):
status: Triaged → Fix Released
Jeremy Bícha (jbicha)
Changed in dotnet6 (Ubuntu):
status: Triaged → Fix Released
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.