Package: librtlsdr-dev
Version: 0.6-1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello Maitland,

while trying to build tfrec (https://github.com/baycom/tfrec) I came across the
problem that pkg-config does not provide the correct linker flags for
librtlsdr:

~$ pkg-config --libs librtlsdr
-L -lrtlsdr

(empty path after -L). Looking at librtlsdr.pc shows that the first four lines
do not have any values defined:

prefix=
exec_prefix=
libdir=
includedir=

Name: RTL-SDR Library
Description: C Utility Library
Version: 0.6.0
Cflags: -I${includedir}/
Libs: -L${libdir} -lrtlsdr
Libs.private:  -lusb-1.0

To me, the upstream librtlsdr.pc.in seems to look fine, so it might a problem
introduced during packaging, but I'm not an expert on pkg-config...

Best regards,
Jonas



-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages librtlsdr-dev depends on:
ii  librtlsdr0        0.6-1
ii  libusb-1.0-0-dev  2:1.0.22-2

librtlsdr-dev recommends no packages.

librtlsdr-dev suggests no packages.

-- no debconf information

Reply via email to