The difference between Debian and Ubuntu here is that Ubuntu uses -Wl
,--as-needed linker flag [1].

The Debian build log [2] contains this line:

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/gqrx-sdr/usr/bin/gqrx was not linked against libQt5Svg.so.5 (it
uses none of the library's symbols)

It means that the build system links the binary with libQt5Svg.so.5, but
the dependency is not actually used. Because Ubuntu uses -Wl,--as-
needed, that library is not linked, and so the dependency does not get
added.

If the application uses SVG icons, it should add the dependency on
libqt5svg5 explicitly. I will also add that libqt5gui5 recommends
libqt5svg5, so this package will usually be installed. We cannot make it
a hard dependency because that will introduce a circular dependency.

So this is not a bug in qtsvg-opensource-src.

[1] https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wl.2C--as-needed
[2] 
https://buildd.debian.org/status/fetch.php?pkg=gqrx-sdr&arch=amd64&ver=2.6-1%2Bb1&stamp=1480595463

** Changed in: qtsvg-opensource-src (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1652531

Title:
  gnuradio gqrx-sdr missing qt 5 svg dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gqrx-sdr/+bug/1652531/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to