[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64309: Python dlopen()s musl libc
From: |
Athena Martin |
Subject: |
bug#64309: Python dlopen()s musl libc |
Date: |
Mon, 10 Jul 2023 15:47:34 -0400 |
> So it's not the LD_DEBUG output that hold a clue, but rather the
> Python traceback.
> The nvr package in ~/.local seems to be used instead of a Guix
> package. That locally installed nvr package expects to use the host's
> libc, but since the python interpreter being used has a fixed RPATH
> and system search path it won't find it.
Ah, I see.
> .nvr-real should definitely be using the Python code inside the
> store, I wonder why that isn't being done. Maybe our
> sitecustomize.py is misbehaving? Can you do `guix shell
> python-neovim-remote python -- python3` then type `import sys.path;
> sys.path`?
$ guix shell python-neovim-remote python -- python3
>>> sys.path
['',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python310.zip',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/lib-dynload',
'/home/alm/.local/lib/python3.10/site-packages',
'/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-packages',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages']
(It's not from the environment:)
$ guix shell python-neovim-remote python --pure -- python3
>>> sys.path
['',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python310.zip',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/lib-dynload',
'/home/alm/.local/lib/python3.10/site-packages',
'/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-packages',
'/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages']
>>> os.environ
environ({'HOME': '/home/alm', 'LOGNAME': 'alm', 'PAGER': 'less', 'DISPLAY':
':0', 'USER': 'alm', 'TERM': 'xterm-256color', 'PATH':
'/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/bin', 'GUIX_PYTHONPATH':
'/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-packages',
'GUIX_ENVIRONMENT': '/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile'})
pgpv5fQe2GrG8.pgp
Description: OpenPGP digital signature
- bug#64309: Python dlopen()s musl libc, Ludovic Courtès, 2023/07/07
- bug#64309: Python dlopen()s musl libc, Athena Martin, 2023/07/08
- bug#64309: Python dlopen()s musl libc, Josselin Poiret, 2023/07/09
- bug#64309: Python dlopen()s musl libc, Athena Martin, 2023/07/09
- bug#64309: Python dlopen()s musl libc, Josselin Poiret, 2023/07/10
- bug#64309: Python dlopen()s musl libc,
Athena Martin <=
- bug#64309: Python dlopen()s musl libc, Josselin Poiret, 2023/07/11
- bug#64309: Python dlopen()s musl libc, Lars-Dominik Braun, 2023/07/11
- bug#64309: Python dlopen()s musl libc, Josselin Poiret, 2023/07/12
- bug#64309: Python dlopen()s musl libc, Lars-Dominik Braun, 2023/07/16
- bug#64309: Python dlopen()s musl libc, Athena Martin, 2023/07/10