Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3-pyusb: missing runtime dependency on libusb1 #394

Closed
crazystick opened this issue Jul 14, 2021 · 0 comments
Closed

python3-pyusb: missing runtime dependency on libusb1 #394

crazystick opened this issue Jul 14, 2021 · 0 comments

Comments

@crazystick
Copy link

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.

kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 14, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 15, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 15, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 15, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 16, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Jul 16, 2021
Patch as suggested from [1]

[1] openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue Jul 16, 2021
Patch as suggested from [1]

[1] #394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 30, 2021
Fix parsing of emphasis before links (openembedded#424, Nick Wellnhofer).
Fixes a regression introduced with commit ed0a4bf.

Update to Unicode 14.0 (data-man).

Add ~ to safe href character set (openembedded#394, frogtile).

Update CMakeLists.txt (Saleem Abdulrasool). Bump the minimum required
CMake to 3.7. Imperatively define output name for static library.

Fix install paths in libcmark.pc (Sebastián Mancilla).
CMAKE_INSTALL_<dir> can be relative or absolute path, so it is wrong to
prefix CMAKE_INSTALL_PREFIX because if CMAKE_INSTALL_<dir> is set to an
absolute path it will result in a malformed path with two absolute paths
joined together. Instead, use CMAKE_INSTALL_FULL_<dir> from
GNUInstallDirs.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jul 7, 2022
Changelog:
=========
Bug Fixes
---------
    deps: allow protobuf < 5.0.0 (openembedded#400) (8f73d2e)
    drop support for grpc-gcp (openembedded#401) (5da6733)

Documentation
-------------
    fix changelog header to consistent size (openembedded#394) (ac266e9)
    Fix typo in the BackgroundConsumer docstring (openembedded#395) (0eb727f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jul 7, 2022
Changelog:
=========
Bug Fixes
---------
    deps: allow protobuf < 5.0.0 (openembedded#400) (8f73d2e)
    drop support for grpc-gcp (openembedded#401) (5da6733)

Documentation
-------------
    fix changelog header to consistent size (openembedded#394) (ac266e9)
    Fix typo in the BackgroundConsumer docstring (openembedded#395) (0eb727f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 19, 2023
Changelog:
=========
-Fixed Callable erroneously rejecting a callable that has the requested amount
 of positional arguments but they have defaults
-Fixed a regression introduced in v4.1.4 where the elements of Literal got
 quotes removed from them by the AST transformer
-Fixed AttributeError where the transformer removed elements from a PEP 604 union
-Fixed AttributeError: 'Subscript' object has no attribute 'slice' when
 encountering an annotation with a subscript containing an ignored type
 (imported within an if TYPE_CHECKING: block)
-Fixed type checking not being skipped when the target is a union (PEP 604 or
 typing.Union) where one of the elements is an ignored type (shadowed by an
 argument, variable assignment or an if TYPE_CHECKING import) (openembedded#394, openembedded#395)
-Fixed type checking of class instances created in __new__() in cases such as
 enums where this method is already invoked before the class has finished initializing

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 20, 2023
Changelog:
=========
-Fixed Callable erroneously rejecting a callable that has the requested amount
 of positional arguments but they have defaults
-Fixed a regression introduced in v4.1.4 where the elements of Literal got
 quotes removed from them by the AST transformer
-Fixed AttributeError where the transformer removed elements from a PEP 604 union
-Fixed AttributeError: 'Subscript' object has no attribute 'slice' when
 encountering an annotation with a subscript containing an ignored type
 (imported within an if TYPE_CHECKING: block)
-Fixed type checking not being skipped when the target is a union (PEP 604 or
 typing.Union) where one of the elements is an ignored type (shadowed by an
 argument, variable assignment or an if TYPE_CHECKING import) (openembedded#394, openembedded#395)
-Fixed type checking of class instances created in __new__() in cases such as
 enums where this method is already invoked before the class has finished initializing

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
…n libusb1

Patch as suggested from [1]

[1] openembedded/meta-openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
…n libusb1

Patch as suggested from [1]

[1] openembedded/meta-openembedded#394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant