Public bug reported:

wireshark-dev-3.4.7-1~exp1 from Ubuntu 21.10 includes the file
/usr/lib/x86_64-linux-gnu/wireshark/cmake/WiresharkTargets.cmake. I
don't really understand what's the difference between wireshark-dev and
libwireshark-dev. cmake/WiresharkConfig.cmake and pkgconfig/wireshark.pc
have basically the same function, but they are in different packages?
But in any case, WiresharkTargets.cmake says:


    add_library(wsutil SHARED IMPORTED)

    set_target_properties(wsutil PROPERTIES
      INTERFACE_INCLUDE_DIRECTORIES "/usr/include;/usr/include"
      INTERFACE_LINK_LIBRARIES 
"dl;/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libgcrypt.so;/usr/lib/x86_64-linux-gnu/libgpg-error.so;/usr/lib/x86_64-linux-gnu/libgnutls.so;m"
      INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/usr/include;/usr/include"
    )

But wireshark-dev doesn't depend on anything providing
/usr/lib/x86_64-linux-gnu/libgcrypt.so or /usr/lib/x86_64-linux-
gnu/libgnutls.so. I had to manually install libgnutls28-dev and
libgcrypt20-dev to build my Wireshark dissector with a cmake build
system (the epan target depends on the wsutil target).

Probably WiresharkTargets.cmake is wrong, the dependency doesn't really
exist, but as long as it says it's there the package metadata should
probably have it too.

** Affects: wireshark (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Missing dependency in wireshark-dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireshark/+bug/1960334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to