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

Recipe hidapi_1.4.1.bb does not work as expected #770

Closed
DaniilKl opened this issue Mar 29, 2024 · 1 comment · Fixed by Dasharo/meta-dts#123
Closed

Recipe hidapi_1.4.1.bb does not work as expected #770

DaniilKl opened this issue Mar 29, 2024 · 1 comment · Fixed by Dasharo/meta-dts#123
Assignees
Labels
bug Something isn't working DasharoToolsSuite

Comments

@DaniilKl
Copy link
Contributor

Component

Dasharo Tools Suite

Device

other

Dasharo version

No response

Dasharo Tools Suite version

Commit 386e4d402abd29661b88c76e0ef5bb6568766dac

Brief summary

Recipe hidapi_1.4.1.bb does not work as expected

How reproducible

100%

How to reproduce

Build on commit 386e4d402abd29661b88c76e0ef5bb6568766dac with mets-dts-distro layer priority set to 11 or higher.

Expected behavior

The package hidapi builds from the recipe provided by meta-dts-distro.

Actual behavior

Several errors during build:

(...)
WARNING: hidapi-1.4.1.AUTOINC+f39c5e17a5-r0 do_fetch: Failed to fetch URL gitsm://[email protected]/ruabmbua/hidapi-rs.git;protocol=ssh;nobranch=1, attempting MIRRORS if available
ERROR: hidapi-1.4.1.AUTOINC+f39c5e17a5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export GIT_PROXY_COMMAND="oe-git-proxy"; export NO_PROXY="*"; export PATH="/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/usr/bin/python3-native:/work/poky/scripts:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/usr/bin/x86_64-dts-linux:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot/usr/bin/crossscripts:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/usr/sbin:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/usr/bin:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/sbin:/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/recipe-sysroot-native/bin:/work/poky/bitbake/bin:/build/tmp/hosttools"; export HOME="/tmp/tmppa4nj65x"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror ssh://[email protected]/ruabmbua/hidapi-rs.git /build/downloads/git2/github.com.ruabmbua.hidapi-rs.git --progress failed with exit code 128, no output
ERROR: hidapi-1.4.1.AUTOINC+f39c5e17a5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'gitsm://[email protected]/ruabmbua/hidapi-rs.git;protocol=ssh;nobranch=1')
ERROR: Logfile of failure stored in: /build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/temp/log.do_fetch.451
ERROR: Task (/repo/meta-dts-distro/recipes-support/hidapi/hidapi_1.4.1.bb:do_fetch) failed with exit code '1'
(...)
WARNING: hidapi-1.4.1.AUTOINC+f39c5e17a5-r0 do_fetch: Failed to fetch URL git://[email protected]/ruabmbua/hidapi-rs.git;branch=main;protocol=ssh, attempting MIRRORS if available
ERROR: hidapi-1.4.1.AUTOINC+f39c5e17a5-r0 do_compile: ExecutionError('/build/tmp/work/core2-64-dts-linux/hidapi/1.4.1.AUTOINC+f39c5e17a5-r0/temp/run.do_compile.1445', 101, None, None)
(...)
\"libusb-1.0\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`,\nor `pkg install pkg-config` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the hidapi crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."', build.rs:69:60
(...)
ERROR: Task (/repo/meta-dts-distro/recipes-support/hidapi/hidapi_1.4.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 742 tasks of which 733 didn't need to be rerun and 1 failed.
(...)

Screenshots

No response

Additional context

This problem was found in #729 and referenced in #769.

Solutions you've tried

No response

@DaniilKl DaniilKl added the bug Something isn't working label Mar 29, 2024
DaniilKl added a commit to Dasharo/meta-dts that referenced this issue May 22, 2024
This recipe was not used in the builds, instead recipe from meta-openembedded is
being used. Surplus metadata should be deleted.

Refs:
Dasharo/dasharo-issues#770
Dasharo/dasharo-issues#769

Signed-off-by: Daniil Klimuk <[email protected]>
@DaniilKl DaniilKl linked a pull request May 22, 2024 that will close this issue
@DaniilKl DaniilKl self-assigned this May 22, 2024
@DaniilKl
Copy link
Contributor Author

Closing the issue because the fix has been merged.

PLangowski pushed a commit to Dasharo/meta-dts that referenced this issue Sep 27, 2024
This recipe was not used in the builds, instead recipe from meta-openembedded is
being used. Surplus metadata should be deleted.

Refs:
Dasharo/dasharo-issues#770
Dasharo/dasharo-issues#769

Signed-off-by: Daniil Klimuk <[email protected]>
PLangowski pushed a commit to Dasharo/meta-dts that referenced this issue Sep 27, 2024
This recipe was not used in the builds, instead recipe from meta-openembedded is
being used. Surplus metadata should be deleted.

Refs:
Dasharo/dasharo-issues#770
Dasharo/dasharo-issues#769

Signed-off-by: Daniil Klimuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DasharoToolsSuite
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants