Date: Mon, 01 Apr 2024 05:42:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278086] comms/py-hid missing library path in __init__.py Message-ID: <bug-278086-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278086 Bug ID: 278086 Summary: comms/py-hid missing library path in __init__.py Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: 0mp@FreeBSD.org Reporter: drac7ft@gmail.com Flags: maintainer-feedback?(0mp@FreeBSD.org) Assignee: 0mp@FreeBSD.org py-hid will fail due to not finding libhidapi.so. The "library_paths" vari= able in the installed __init__.py located at /usr/local/lib/python3.9/site-packages/hid does not have a path for any suitable library for it to use. I have successfully patched it by adding 'libhidapi.so' to the list of library_paths. FreeBSD uses libhidapi.so and not any of the other library paths listed in __init__.py. I don't have a formal diff, but adding libhidapi.so fixes the problem and py-hid works correctly for my test case. It completely failed before. I'm hoping the maintainer can put in the proper patch. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278086-7788>