* SELinux userspace build fails on Fedora 44
@ 2026-06-10 15:50 Kalevi Kolttonen
2026-06-10 16:18 ` Kalevi Kolttonen
2026-06-10 16:21 ` Petr Lautrbach
0 siblings, 2 replies; 4+ messages in thread
From: Kalevi Kolttonen @ 2026-06-10 15:50 UTC (permalink / raw)
To: selinux
Hello!
The instructions in README.md no longer work when
building SELinux userspace on Fedora 44. It has
something to do Python 3 as the error is:
python3 -m build --no-isolation --wheel .
/usr/sbin/python3: No module named build
make[2]: *** [Makefile:17: python-build] Error 1
Fedora 44 has:
Name : python3
Version : 3.14.5
Release : 1.fc44
How we do fix this?
br,
KK
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SELinux userspace build fails on Fedora 44
2026-06-10 15:50 SELinux userspace build fails on Fedora 44 Kalevi Kolttonen
@ 2026-06-10 16:18 ` Kalevi Kolttonen
2026-06-10 16:21 ` Petr Lautrbach
1 sibling, 0 replies; 4+ messages in thread
From: Kalevi Kolttonen @ 2026-06-10 16:18 UTC (permalink / raw)
To: selinux
On Wed, Jun 10, 2026 at 06:50:23PM +0300, Kalevi Kolttonen wrote:
> python3 -m build --no-isolation --wheel .
> /usr/sbin/python3: No module named build
> make[2]: *** [Makefile:17: python-build] Error 1
>
> Fedora 44 has:
>
> Name : python3
> Version : 3.14.5
> Release : 1.fc44
>
> How we do fix this?
Aargh, it should have been obvious! I just needed
python3-build package like it says in README.md.
I wonder how it worked before...
br,
KK
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SELinux userspace build fails on Fedora 44
2026-06-10 15:50 SELinux userspace build fails on Fedora 44 Kalevi Kolttonen
2026-06-10 16:18 ` Kalevi Kolttonen
@ 2026-06-10 16:21 ` Petr Lautrbach
2026-06-10 16:25 ` Kalevi Kolttonen
1 sibling, 1 reply; 4+ messages in thread
From: Petr Lautrbach @ 2026-06-10 16:21 UTC (permalink / raw)
To: Kalevi Kolttonen, selinux
Kalevi Kolttonen <kalevi@kolttonen.fi> writes:
> Hello!
>
> The instructions in README.md no longer work when
> building SELinux userspace on Fedora 44. It has
> something to do Python 3 as the error is:
>
> python3 -m build --no-isolation --wheel .
> /usr/sbin/python3: No module named build
> make[2]: *** [Makefile:17: python-build] Error 1
>
> Fedora 44 has:
>
> Name : python3
> Version : 3.14.5
> Release : 1.fc44
>
Works for me:
$ rpm -q python3
python3-3.14.5-1.fc44.x86_64
$ make DESTDIR=/home/plautrba/sw/selinux install install-pywrap
$ find /home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux/_selinux.cpython-314-x86_64-linux-gnu.so
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux/audit2why.cpython-314-x86_64-linux-gnu.so
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux/__init__.py
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/METADATA
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/WHEEL
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/top_level.txt
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/INSTALLER
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/direct_url.json
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/REQUESTED
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/selinux-3.11rc1.dist-info/RECORD
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/_selinux.cpython-314-x86_64-linux-gnu.so
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/_semanage.cpython-314-x86_64-linux-gnu.so
/home/plautrba/sw/selinux/usr/lib64/python3.14/site-packages/semanage.py
> How we do fix this?
>
See the commit e11e59675f69:
Author: Petr Lautrbach <lautrbach@redhat.com>
Date: Fri Jun 5 13:25:27 2026 +0200
libselinux,python: Use system Python3 build module
...
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ dnf install \
# For Python and Ruby bindings
dnf install \
+ python3-build \
python3-devel \
python3-pip \
python3-setuptools \
@@ -97,6 +98,7 @@ apt-get install --no-install-recommends --no-install-suggests \
# For Python and Ruby bindings
apt-get install --no-install-recommends --no-install-suggests \
+ python3-build \
python3-dev \
python3-pip \
python3-setuptools \
Petr
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: SELinux userspace build fails on Fedora 44
2026-06-10 16:21 ` Petr Lautrbach
@ 2026-06-10 16:25 ` Kalevi Kolttonen
0 siblings, 0 replies; 4+ messages in thread
From: Kalevi Kolttonen @ 2026-06-10 16:25 UTC (permalink / raw)
To: Petr Lautrbach; +Cc: selinux
On Wed, Jun 10, 2026 at 06:21:16PM +0200, Petr Lautrbach wrote:
> Works for me:
Yes, I was foolish, the error message was quite
clear. I got confused because it used to work earlier
and I thought I had all the dependencies installed.
I just saw the git logs about the Makefile and realized
this changed recently. Sorry for the useless noise, it
works fine for me too.
br,
KK
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-06-10 16:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 15:50 SELinux userspace build fails on Fedora 44 Kalevi Kolttonen
2026-06-10 16:18 ` Kalevi Kolttonen
2026-06-10 16:21 ` Petr Lautrbach
2026-06-10 16:25 ` Kalevi Kolttonen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.