Bug#1102176: log4net: fails to install a rebuild: missing policy.1.2.lo
From
Jing Luo@21:1/5 to
All on Sun Apr 6 06:40:01 2025
Source: log4net
Version: 1.2.10+dfsg-9
Severity: important
Hello,
After a rebuild of log4net using the standard "sbuild -d unstable --chroot-mode=unshare log4net",
although the rebuild was successful, the resulted binary package (liblog4net1.2-cil) fails to install:
Setting up liblog4net1.2-cil (1.2.10+dfsg-9) ...
* Installing 1 assembly from liblog4net1.2-cil into Mono
! Assembly /usr/share/cli-common/policies.d/liblog4net1.2-cil/policy.1.2.log4net.dll does not exist
dpkg: error processing package liblog4net1.2-cil (--configure):
installed liblog4net1.2-cil package post-installation script subprocess returned error exit status 1
And the resulted binary package doesn't include /usr/share/cli-common/policies.d/liblog4net1.2-cil/policy.1.2.log4net.dll,
even though the "liblog4net1.2-cil_1.2.10+dfsg-9_all.deb" in Debian archive includes this file.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, 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)
LSM: AppArmor: enabled
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)