-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Incorrect installation of lib-dynload
for custom builds on openSUSE
#131425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As an openSUSE user, I had this problem as well. I think I did a combination of |
lib-dynload
for custom builds on openSUSE
This was previously reported and discussed in #108819. There are workarounds suggested in the comments on that issue, but no comments from any maintainers. |
I think I actually also specified the libdir explicitly so that it doesn't use lib64 but lib instead. I'll see if I can write better installation instructions for openSUSE |
I think that's an error in the configure script. And it's not only OPENSUSE - it's also SLES |
Yes I think so as well but I'll need to confirm it properly. I'll also tag those responsible for openSUSE contact |
@mcepl From a configure PoV, what's the best? detect that we're on openSUSE or SLES or do something else? |
could someone figure out what causes this difference? how are those 2 paths defined in configure? what is different on SUSE that causes the difference? |
I believe it’s because the configure script doesn’t handle the possibility that
|
if you give me the right git commands to download the correct files (my git knowledge is barely existant....) |
In that case, I'd recommend you use the Github CLI, which simplifies this quite significantly 😊 Using it, it should be as straightforward as: $ gh pr checkout 133163 Otherwise, you'll have to manually add a remote for my fork, and then checkout the correct branch. $ git remote add ffy00 https://github.com/FFY00/cpython.git
$ git fetch ffy00
$ git checkout gh-108819 |
wouldn't I also need a git clone? Github CLI is not really an option $ git clone https://github.com/FFY00/cpython.git |
You can either clone the main repo and add my fork as a remote, or clone my fork directly, then you can checkout my |
I obviously don’t see anything like this with our system packages:
However, we have plenty of patches and configuration. Perhaps looking at https://build.opensuse.org/package/show/devel:languages:python:Factory/python313 would show something interesting. However, to be honest, I don’t care that much about user-build builds; I think we are doing pretty good job in packaging Python ourselves and we support those. |
That'd be because you set |
looks good:
|
Bug report
Bug description:
from
Python-3.13.2.tar.xz
dynamic libraries are installed to
$RUN/3.13.2/lib64/python3.13/lib-dynload
but internally
sys.path
uses$RUN/3.13.2/lib/python3.13/lib-dynload
setting a link resolves the
errors that show up:
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: