Commit 7fe0c28
committed
debbuild: fix Python purelib paths on Debian systems
Problem: Debian based systems may use the 'posix_local' scheme for
Python installations, which causes `make deb` to break because the
'purelib' path is returned under /usr/local even when the flux-core
prefix is /usr.
Use the workaround described in
https://gitlab.kitware.com/cmake/cmake/-/issues/25113
and set DEB_PYTHON_INSTALL_LAYOUT=deb to fix `make deb`.
There is probably some standard way to actually fix this issue,
but since the deb builds are purely for testing at this time, this
solution works for now.1 parent 7b1a79f commit 7fe0c28
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
| |||
32 | 45 | | |
33 | 46 | | |
34 | 47 | | |
35 | | - | |
| 48 | + | |
36 | 49 | | |
37 | 50 | | |
38 | 51 | | |
| |||
0 commit comments