MagicStack / MagicStack/asyncpg
v0.31.0: Undefined symbol "call_once" on FreeBSD 15
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 8.1k
- Forks
- 468
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
first things first: thanks for the great software!
my issue:
installed under python 3.12 via pip on FreeBSD 15.1-p1:
Collecting asyncpg==0.31.0
Using cached asyncpg-0.31.0-cp312-cp312-freebsd_15_1_release_p1_amd64.whl
Installing collected packages: asyncpg
...
results in this:
import asyncpg
File "/usr/home/l9/py312/lib/python3.12/site-packages/asyncpg/__init__.py", line 9, in <module>
from .connection import connect, Connection # NOQA
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/l9/py312/lib/python3.12/site-packages/asyncpg/connection.py", line 25, in <module>
from . import connect_utils
File "/usr/home/l9/py312/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 33, in <module>
from . import protocol
File "/usr/home/l9/py312/lib/python3.12/site-packages/asyncpg/protocol/__init__.py", line 11, in <module>
from .protocol import Protocol, NO_TIMEOUT, BUILTIN_TYPE_NAME_MAP
ImportError: /usr/home/l9/py312/lib/python3.12/site-packages/asyncpg/protocol/protocol.cpython-312.so: Undefined symbol "call_once"
python3.12/site-packages/asyncpg/protocol/protocol.cpython-312.so:
libthr.so.3 => /lib/libthr.so.3 (0x103df0c5a000)
libc.so.7 => /lib/libc.so.7 (0x103df255f000)
libsys.so.7 => /lib/libsys.so.7 (0x103df2bb6000)
None of the three libs contains the call_once symbol.
Some link error / missconfiguration?!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere den Python-3.12-Importfehler unter FreeBSD 15.1-p1 und untersuche asyncpg/protocol/protocol.cpython-312.so mit ldd, indem du die Imports durch asyncpg/init.py, connection.py und connect_utils.py verfolgst. Ermittle, warum call_once im paketierten Wheel nicht aufgelöst wird, und überprüfe anschließend, dass eine korrigierte FreeBSD-Installation erfolgreich importiert und die bestehende Plattformabdeckung beibehält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- postgresql, python
- Bereich
- build-system, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100