Skip to content

python3-pyusb: missing runtime dependency on libusb1 #394

@crazystick

Description

@crazystick

The recipe for python3-pyusb DEPENDS on libusb1 but the automatic runtime dependency calculation doesn't work for Python libraries, and therefore if your image does not contain some other binary that has such a dependency then libusb1 will not be installed and pyusb will fail with a "No backend available" error.

Adding

RDEPENDS_${PN} += "libusb1"

will resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions