Ubuntu 20.04 - llvm and mono-devel
For some reason it seems installing llvm(10) and mono-devel together when building a package for Ubuntu 20.04 it fails. [ 78s] [221/390] installing mono-runtime-common-6.8.0.105+dfsg-2 [ 79s] dpkg: mono-runtime-common: dependency problems, but configuring anyway as you requested: [ 79s] mono-runtime-common depends on mono-gac (= 6.8.0.105+dfsg-2); however: [ 79s] Package mono-gac is not installed. [ 79s] update-binfmts: warning: unable to open /usr/share/binfmts/cli: No such file or directory [ 79s] update-binfmts: warning: couldn't find information about 'cli' to import [ 79s] update-binfmts: exiting due to previous errors [ 79s] dpkg: error processing package mono-runtime-common (--install): [ 79s] installed mono-runtime-common package post-installation script subprocess returned error exit status 2 [ 79s] Errors were encountered while processing: [ 79s] mono-runtime-common [ 79s] exit ... Complete log from a minimal test here: https://build.opensuse.org/build/home:SveSop/xUbuntu_20.04/x86_64/testdummy/... test-xUbuntu_20.04.dsc: Build-Depends: libtinfo-dev , llvm-dev , mono-devel , I used the same .dsc for 22.04 and it did not have the same issues. Installing this on a live 20.04 system does not have this issue. Difference between 20.04 and 22.04 seems to be llvm-10 and llvm-14, and the fact that seemingly llvm-10 for 20.04 installs the package binfmt-support. This package was not listed as installed in the log for 22.04. There is also the strangeness with mono-gac dependency for mono-runtime-common that does not happen for 22.04. This works fine in a local docker image (and live system) for 20.04 and does not seem to have the same issues, as mono-gac is automatically installed and the scripts are run without problems. Thoughts? Sveinar
participants (1)
-
Sveinar Søpler