[DSE-Dev] Bug#951630: libsemanage1: FTBFS due to clean failure when you build it twice
Russell Coker
russell at coker.com.au
Wed Feb 19 06:48:03 GMT 2020
Package: libsemanage1
Version: 3.0-1
Severity: normal
This patch allows you to build it again after it's already been built once.
Note that src/Makefile is probably buggy in that it won't remove the *.so files
when you run "make -C src clean".
--- libsemanage-3.0/debian/rules 2019-12-12 10:47:10.000000000 +0000
+++ ../libsemanage-3.0/debian/rules 2020-02-19 06:35:06.577127195 +0000
@@ -58,6 +58,9 @@
endif
override_dh_auto_clean:
+ make -C tests clean
+ make -C src clean
+ rm src/*.so
ifneq ($(filter python3-semanage,$(DOPACKAGES)),)
set -e; for version in $(PY3VERSIONS); do \
$(MAKE) clean PYTHON=python$$version; \
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages libsemanage1 depends on:
ii libaudit1 1:2.8.5-2+b1
ii libbz2-1.0 1.0.8-2
ii libc6 2.29-10
ii libselinux1 3.0-1
ii libsemanage-common 3.0-1
ii libsepol1 3.0-1
libsemanage1 recommends no packages.
libsemanage1 suggests no packages.
-- no debconf information
More information about the SELinux-devel
mailing list