From nobody Mon Apr 1 05:42:27 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V7KfC1rM4z5Fd3V for ; Mon, 1 Apr 2024 05:42:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7KfC0nSQz4Wtc for ; Mon, 1 Apr 2024 05:42:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711950147; a=rsa-sha256; cv=none; b=MLPbsyMoZ6+mxY+qXP5z8U0x24ukMTGQ9C63JQTeqBr8liv/bdYTV94gkJWNY5OqRO8FI5 B1tEIiPfeuZaYdDlqExaXEzfeaInNjB7J5VAu0ly563DE6dIyTGBSjGRyMHApwPxjPocbY S8ltKmPhhau7WVZOYik+bRmddcXnV9cBlSRM0b33ckn+/JedDw3JJBIHw4wGuyzDp4tq9Y hDiE1m3xzNEWMqVI5++y4W5lDeKqqkc5zXZyAcG4z0a9GXqOWj9PP+fKMBvP0ivKd382Sn i7DSIln9J6C57db/iFZ1auoK6Ap8eQImJVctcIc/++xWlDA6bk/f7ZFXChVLdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711950147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3IRwYJj5Y+QlhU0xxsLx8Sa3w6TqIJB4MSeREaQ+yYc=; b=Z4zgDpW98zNxQEKzRiq5bLoTXRi79TQ1er2DADTvmq15fUjOe1WMMt8gbVaXBZqBbF51lq OGywXL64tmVvgchOykXEeINCTDgy/XktTnS9o2BImgP4SuF56nmlAOVtMWExIBxMQm4RYa O6A+sbU6ok8jcxZGiKAqQs2OFb8fMk7K18AAhH2TptO21Th4u5ha1qwFlah1KLVZ+52wgE wokyNB70ljM81q8ZkRcc4o+LaWce8Ozx3HsDN0Ngn09AXCTp+/vxpVHq9aCpgO1ZgP6P1P +CeBII9bWCAC+QVbUGh1JUpMvSQ9L+a5F8QtV0xrElCsSuz2woThlT2EyaC4lA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V7KfC0PZGz18b8 for ; Mon, 1 Apr 2024 05:42:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4315gQ34078844 for ; Mon, 1 Apr 2024 05:42:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4315gQMk078836 for ports-bugs@FreeBSD.org; Mon, 1 Apr 2024 05:42:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278086] comms/py-hid missing library path in __init__.py Date: Mon, 01 Apr 2024 05:42:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drac7ft@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 0mp@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=