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

libusb not found while build for Fedora #940

Closed
Vascom opened this issue Apr 20, 2020 · 8 comments
Closed

libusb not found while build for Fedora #940

Vascom opened this issue Apr 20, 2020 · 8 comments

Comments

@Vascom
Copy link
Collaborator

Vascom commented Apr 20, 2020

Try build commit 4445e1c and have this error

-- Found _libusb: /usr/lib64/libusb-1.0.so  
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/stlink-org-stlink-4445e1c/build/CMakeFiles/CMakeOutput.log".
See also "/builddir/build/BUILD/stlink-org-stlink-4445e1c/build/CMakeFiles/CMakeError.log".
CMake Error at cmake/modules/Find_libusb.cmake:152 (message):
  libusb library not found on your system! Install libusb 1.0.x from your
  package repository.
Call Stack (most recent call first):
  CMakeLists.txt:68 (find_package)

Before commit fb9f777 build was OK.

@Nightwalker-87 Nightwalker-87 self-assigned this Apr 20, 2020
@Nightwalker-87 Nightwalker-87 added this to the v1.6.1 milestone Apr 20, 2020
@Nightwalker-87
Copy link
Member

The second commit did not change anything related to libusb detection, it solely addressed packaging. Please test again.

@Vascom
Copy link
Collaborator Author

Vascom commented Apr 20, 2020

Tested. The same error.

@Nightwalker-87
Copy link
Member

As far as I can see from fb9f777, there are no changes related to the part of your compilation that match. It must be a commit where there is a change in Find_libusb.cmake. Please test older commits going backwards. I don't have the possibility to test on fedora, so you need to find the exact commit where it first appeared. Otherwise I can hardly help any further.

@Vascom
Copy link
Collaborator Author

Vascom commented Apr 20, 2020

Error came from this commit 629314c

@Nightwalker-87
Copy link
Member

ok, travis build reveals it now, I think.
Please give me some time and don't report any new issues until this is fixed.

@Vascom
Copy link
Collaborator Author

Vascom commented Apr 20, 2020

OK.
Next reports will be after this fixed :)

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Apr 21, 2020

@Vascom: Please try the temporary test_a branch to verify if everything is ok with it on Fedora now. Don't stay with it though and move back to develop after testing this, as it is going to be deleted, as soon as develop is proved to be working again.

@Vascom
Copy link
Collaborator Author

Vascom commented Apr 21, 2020

Tested. Problem solved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants