[DSE-Dev] Bug#1141063: [cip-dev] PATCH: libsemanage: Enable Autopkgtest for libsemanage

akunuri.sahithi at toshiba-tsip.com akunuri.sahithi at toshiba-tsip.com
Mon Jun 29 07:56:32 BST 2026


Source: libsemanage
Version: 3.10-1
Severity: wishlist
Tags: patch ftbfs

Dear Maintainer,
This patch enables autopkgtest for libsemanage by adding basic tests under debian/tests/ (control, upstream-tests, installed-package) to validate upstream tests and installed library usage.
While doing this, APT downgrade failures were observed with the latest upstream commits and therefore skipped the following two commits:

  *   https://salsa.debian.org/selinux-team/libsemanage/-/commit/43228664d326ce1fd83e5a3927b37a058d0a1e49
  *   https://salsa.debian.org/selinux-team/libsemanage/-/commit/292e2d954024845ca6048562c76221f527812fa9

The autopkgtest fails with dependency issues where apt attempts to downgrade packages:

The following packages will be DOWNGRADED:
  libsemanage-common libsemanage2
21 upgraded, 133 newly installed, 2 downgraded, 0 to remove and 41 not upgraded.
1 not fully installed or removed.
E: Packages were downgraded and -y was used without --allow-downgrades.
badpkg: Test dependencies are unsatisfiable.


The same commits also show build/test failures in the Debian Salsa CI, indicating possible dependency/version mismatch issues with the current test environment.

Hence, autopkgtest has been enabled on a stable base excluding these commits.
Request you to review and provide feedback.

Kind regards,
Sahithi Akunuri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20260629/e8c23277/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-necessary-files-to-enable-autopkgtest.patch
Type: application/octet-stream
Size: 2472 bytes
Desc: 0001-Add-necessary-files-to-enable-autopkgtest.patch
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20260629/e8c23277/attachment-0002.obj>


More information about the SELinux-devel mailing list