Created attachment 788090 [details, diff] Fix hardcoded libdir pyzmqs setup.py does the following: settings['library_dirs'] += [pjoin(prefix, 'lib')] Using the 32-bit lib dir with lld when linking a 64-bit binary fails, see bug 821871 for a detailed description Attached is a patch to fix this depending on target bitness. This affects all current pyzmq versions.
This is still wrong, technically. It should take an argument for libdir. We don't do multi-tier libdirs for riscv but we could.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123c8792eb39d31c22071719ed5624a1dedf11df commit 123c8792eb39d31c22071719ed5624a1dedf11df Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-17 15:55:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-17 15:55:55 +0000 dev-python/pyzmq: fix libdir usage Closes: https://bugs.gentoo.org/854627 Signed-off-by: Sam James <sam@gentoo.org> dev-python/pyzmq/files/pyzmq-23.2.0-libdir.patch | 11 ++++ dev-python/pyzmq/pyzmq-23.2.0-r1.ebuild | 81 ++++++++++++++++++++++++ 2 files changed, 92 insertions(+)