Closed rusty-snake closed 4 months ago
Hello @rusty-snake
This is probably because in the new default options are hard coding the lib/
prefix.
The issue this is one of few ways to install the python packages outside the default site packages. See https://github.com/mesonbuild/meson/discussions/13132
have to check that (lib = architecture independent i.e. python, lib64 = architecture dependent i.e. python with C dependency).
python-lxns is architecture dependent if you are using it as a subproject. I included it in the source archive to make it easier to package bubblejail.
Is it possible to somehow/somewhere change them to get_option('libdir') / 'bubblejail/python-packages'
? Or should I just patch/override them with values from rpmbuild-macros?
project()
has to be the first function call. Trying to call anything before or inside will raise an error.
One other solution is to not have the default options at all and make PKGBUILD pass the version independent location. Or meson will add option to use different directory than site packages. However, they don't really see this as useful.
OT:
This is from earlier experiments with manipulating install dir. Thank you for bring this up. I will fix it in the future.
https://github.com/rusty-snake/fedora-extras/commit/d94d1a68ab1af0b852e0d7d024beb26374263e0c
Seems to work, thanks.
Output of
bubblejail --version
0.9.0
Your distro name and version
Fedora 40
Description
I'm not sure if this is a intentional change, just wanted to let you know. I did not used the
allow-site-packages-dir
feature. However, with 0.9.0 the install location of bubblejail has changed from/usr/lib64
("libdir
" as used by Fedora) to/usr/lib
(hardcodedlib
?). I can catch up downstream,/usr/lib
is maybe the correcter path anyway, have to check that (lib = architecture independent i.e. python, lib64 = architecture dependent i.e. python with C dependency). Just wanted to let you know I case of a unintentional change.