Package Details: checkpolicy 3.7-1

Git Clone URL: https://aur.archlinux.org/checkpolicy.git (read-only, click to copy)
Package Base: checkpolicy
Description: SELinux policy compiler
Upstream URL: https://github.com/SELinuxProject/selinux
Keywords: selinux
Licenses: GPL2
Groups: selinux
Conflicts: selinux-usr-checkpolicy
Provides: selinux-usr-checkpolicy
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 20
Popularity: 0.001928
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-08-11 16:18 (UTC)

Latest Comments

1 2 Next › Last »

IooNag commented on 2023-12-28 17:51 (UTC)

MarsSeed: I successfully built the package checkpolicy in a clean container using image docker.io/library/archlinux:latest and usual commands (pacman -Syu base-devel git ; git clone ... ; makepkg ...).

By the way, the continuous integration on https://github.com/archlinuxhardened/selinux is also testing building the package in clean environments (and running it in a test virtual machine). Feel free to report an issue on this GitHub repository if you encounter an issue with the way this package is packaged.

MarsSeed commented on 2023-12-19 14:25 (UTC)

This fails the linking phase of the build in a clean Arch Linux environment. Please kindly make sure you test it in such and fix it. Maybe you need to declare specific dependencies, like glib2-selinux.

jt525 commented on 2023-03-23 11:39 (UTC) (edited on 2023-03-25 02:29 (UTC) by jt525)

Hello, I am unable to build checkpolicy 3.5-1. I get the following output: https://pastebin.com/AenzEi6J Is anyone able to help? Thanks in advance

EDIT: It turns out I forgot I was running https://aur.archlinux.org/packages/glib2-selinux, which is outdated. Updating to 2.76.1 seems to have fixed the issue and I can now build everything just fine.

IooNag commented on 2020-06-13 09:46 (UTC)

Thanks for the bug report! It appears that gcc 10 no longer eliminates some unused variables, and the bug was fixed upstream by removing te_assertions, in https://github.com/SELinuxProject/selinux/commit/4d330d0d3155211f119b3082f728ae42dcc01e96. I backported this commit in checkpolicy 3.0-2.

joekhoobyar commented on 2020-06-12 21:25 (UTC)

Getting the same error as jt525

jt525 commented on 2020-06-11 09:44 (UTC)

I'm getting this error when trying to build https://pastebin.com/eHQqfsMb . Any idea what's wrong? I tried searching for te_assertions on the github but couldn't find anything.

IooNag commented on 2016-10-20 07:16 (UTC)

chrisbdaemon: bison is in base-devel group, which has to be installed before building any AUR package (cf. https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started). Hence I won't add it to makedepends.

chrisbdaemon commented on 2016-10-19 19:27 (UTC)

I'm getting an error about bison not being installed, can it be added to makedepends?

Emil commented on 2015-04-13 21:09 (UTC)

Thanks, this solves the problem!