https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/django-tables2-2.7.0 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 883223 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: - couldn't import psycopg 'binary' implementation: No module named 'psycopg_binary' - couldn't import psycopg 'c' implementation: No module named 'psycopg_c' FAILED (errors=1) ImportError: Failed to import test module: tests.columns.test_jsoncolumn ImportError: no pq wrapper available. ModuleNotFoundError: No module named 'psycopg2'
I vaguely recall another bug for this.
Of course, it's the: libcname = ctypes.util.find_library("c") problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102c2f5b2beaf5374cf9b510d9adb7abaa21a5b4 commit 102c2f5b2beaf5374cf9b510d9adb7abaa21a5b4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-01-27 15:30:51 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-27 20:33:19 +0000 dev-python/psycopg: Add a patch for musl Closes: https://bugs.gentoo.org/923003 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/psycopg/files/psycopg-3.1.17-musl.patch | 34 ++++++++++++++++++++++ dev-python/psycopg/psycopg-3.1.17.ebuild | 5 ++++ 2 files changed, 39 insertions(+)
*** Bug 900709 has been marked as a duplicate of this bug. ***