installer
installer copied to clipboard
Runtime dependencies in Ubuntu Jammy 22.04
Hi,
I'm packaging dotNet for Ubuntu 22.04. I'm following as guidance the work that was made in Fedora before, and when checking what packages will be needed as runtime dependencies, I found that we don’t have on Jammy the following dependencies, or maybe they are under other packages:
- libgcc1
- libicu66
- liblttng-ust0
- liblttng-ust-python-agent0
- liblttng-ust-ctl4
- liburcu6
(This may vary depending on our build, but these are the clues we have so far from the debs from MS and the packages on Fedora.)
I'm going to check if they can already be present on Jammy under other src packages (change on the name, i.e: it seems that libgcc1 is part of libgcc-s1 on Jammy). But if not, it can be a blocker.
Rationale
If we see the runtime dependencies of the dotnet package produced by the official dotnet repo, the situation on Jammy will be the following:
❯ rmadison -s jammy libgcc1 libstdc++6 libc6 libssl1.1 libicu66 zlib1g libgssapi-krb5-2 libstdc++6 | 11.2.0-14ubuntu1 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x libc6 | 2.34-0ubuntu3 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x libssl1.1 | 1.1.1l-1ubuntu1 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x zlib1g | 1:1.2.11.dfsg-2ubuntu7 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x libgssapi-krb5-2 | 1.19.2-0ubuntu1 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
We will need to check what version of libgcc and libicu could we use to build (it seems that libgcc1 is part of libgcc-s1 on Jammy, for example).
For the Fedora package, only 2 of the dependencies that are used there are present on Jammy :
❯ rmadison -s jammy libicu66 libunwind liblttng-ust0 liblttng-ust-python-agent0 liblttng-ust-ctl4 libnuma1 liburcu6 libunwind | 1.3.2-2build1 | jammy | source libnuma1 | 2.0.14-3ubuntu1 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
Could you review if these findings are OK? I'm trying to confirm this with a successful build of the package, but this is still a work in progress with some issues, as https://github.com/dotnet/source-build/issues/2767#issuecomment-1048748452 .
Thanks in advance!