FS#77787 - [libosmosdr] missing depends 'libusb' FTBFS

Attached to Project: Community Packages
Opened by Xeonacid (Xeonacid) - Thursday, 09 March 2023, 04:18 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 18:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for module 'libusb-1.0'
-- Package 'libusb-1.0', required by 'virtual:world', not found
-- libusb-1.0 not found.
CMake Error at CMakeLists.txt:54 (message):
LibUSB 1.0 required to compile OsmoSDR


-- Configuring incomplete, errors occurred!
See also "/build/libosmosdr/src/osmo-sdr/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().


$ ldd usr/lib/libosmosdr.so
linux-vdso.so.1 (0x00007fff075b9000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f4abfc75000) <=====
libc.so.6 => /usr/lib/libc.so.6 (0x00007f4abfa8e000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f4abfa5b000)
libatomic.so.1 => /usr/lib/libatomic.so.1 (0x00007f4abfa51000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f4abfcb5000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f4abfa45000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4abfa25000)


Patch to PKGBUILD is attached.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 02 September 2023, 18:13 GMT
Reason for closing:  Fixed

Loading...