Package: mono-runtime Version: 6.8.0.105+dfsg-3.3 Severity: serious Tags: ftbfs newcomer upstream Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: l.scor...@gmail.com
Dear Maintainer, * What led up to the situation? I'm trying to install mono-runtime on debian bookworm from deb package on an armel NAS device (NSA325v2, architecture armv5tel, soft-float). The install fails due to the following error during package postinstall: r4_conv_to_r8 R47 <- R44 * Assertion: should not be reached at decompose.c:1894 * What exactly did you do (or not do) that was effective (or ineffective)? According to my investigation, there's a long standing bug in mono that affects the armel arch: https://github.com/mono/mono/issues/12537 I have reproduced the issue via docker container on a x64 VM: https://gitlab.winehq.org/mono/mono/-/issues/7 and I verified that the workaround suggested in the GitHub issue actually fixes the problem. The workaround is to disable the float32 optimization during the package build: cd mono-6.12.0.199 ./configure --prefix=/opt/mono MONO_ENV_OPTIONS='-O=-float32' make make install produces a working mono environment in /opt/mono. * What was the outcome of this action? This flag disables an optimization regarding floating point numbers that is buggy on soft-float devices. Since debian is the one of the very few distributions that still supports this device, it would be beneficial to exclude this known-non-working optimization for the armel architecture. * What outcome did you expect instead? It would be nice if the actual upstream bug could be fixed, but that would require some heavyweight investigation which is better left to the upstream issue. I'd be happy to just be able to install mono from the debian package. -- System Information: Debian Release: 12.9 APT prefers stable APT policy: (700, 'stable'), (500, 'stable-updates'), (500, 'stable-security') Architecture: armel (armv5tel) Kernel: Linux 5.15.5-kirkwood-tld-1 (UP; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages mono-runtime depends on: ii libc6 2.36-9+deb12u9 pn mono-runtime-sgen <none> Versions of packages mono-runtime recommends: ii binfmt-support 2.2.2-2 mono-runtime suggests no packages.