Skip to content

arch Linux github action build failed #732

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

Closed
mcuee opened this issue Apr 3, 2025 · 9 comments · Fixed by #733
Closed

arch Linux github action build failed #732

mcuee opened this issue Apr 3, 2025 · 9 comments · Fixed by #733
Labels
build system/CI Anything related to building the project or running on CI

Comments

@mcuee
Copy link
Member

mcuee commented Apr 3, 2025

Reference:
https://github.com/libusb/hidapi/actions/runs/13833217505

@mcuee mcuee added the build system/CI Anything related to building the project or running on CI label Apr 3, 2025
@mcuee
Copy link
Member Author

mcuee commented Apr 3, 2025

Maybe not a hidapi issue but rather issues of PR #728 and PR #730 though.

@mcuee
Copy link
Member Author

mcuee commented Apr 3, 2025

But the failure in PR #730 seems to be strange.

Run cmake \
-- The C compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:12 (find_package):
  Could not find a configuration file for package "hidapi" that is compatible
  with requested version "0.12".

  The following configuration files were considered but not accepted:

    install/shared-cmake/lib/cmake/hidapi/hidapi-config.cmake, version: unknown



-- Configuring incomplete, errors occurred!

@Youw
Copy link
Member

Youw commented Apr 3, 2025

Right - both are PR issues, not repo issues, to be fixed in scope of those PRs by their authors.

@Youw Youw closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2025
@aokblast
Copy link

aokblast commented Apr 3, 2025

I see the artifact build 0.15.0 ( /__w/hidapi/hidapi/install/shared-cmake/lib/libhidapi-hidraw.so.0.15.0).
But what records in the CMakeLists.txt file in test program is 0.12.0

@Youw
Copy link
Member

Youw commented Apr 3, 2025

That shouldn't be a problem, as CMake would look for same Major version and same or newer Minor version - so it is perfectly fine to require 0.12 and get 0.15.0.

@aokblast
Copy link

aokblast commented Apr 3, 2025

Emm... I create a archlinux vm with main branch(without my code). I also cannot pass the check when repeat all the CI command .

@aokblast
Copy link

aokblast commented Apr 3, 2025

I use absolute path for hidapi_ROOT and it works.

@Youw
Copy link
Member

Youw commented Apr 3, 2025

I use absolute path for hidapi_ROOT and it works.

Could you be more specific?

Looks like not on Github Actions... I'll help you investigate a bit later.

@Youw Youw reopened this Apr 4, 2025
@Youw
Copy link
Member

Youw commented Apr 4, 2025

I use absolute path for hidapi_ROOT and it works.

Nope, Archlinux is a CI/GithubActions issue - master is failing as well. Will check.,

Right, it does work. It broke in cmake 4.0 in archlinux for some reason...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system/CI Anything related to building the project or running on CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants