Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835962

Summary: net-analyzer/wireshark-3.6.2[plugin-ifdemo -qt5] - CMake Error at cmake/modules/WiresharkPlugin.cmake:32 (add_library): Target "pluginifdemo" links to target "Qt5::Multimedia" but the target was not found.
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: bman, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2022-03-24 21:58:52 UTC
Created attachment 767757 [details]
build.log

[...]
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -fvisibility=hidden  -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wredundant-decls -Wframe-larger-than=32768 -fdiagnostics-color=always -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -mcpu=970 -pipe -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.6.2/work/wireshark-3.6.2/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.6.2/work/wireshark-3.6.2_build/=
C++              -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wredundant-decls -Wframe-larger-than=32768 -fdiagnostics-color=always -Wextra-semi -O2 -mcpu=970 -pipe -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.6.2/work/wireshark-3.6.2/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.6.2/work/wireshark-3.6.2_build/=
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Module          -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Shared          -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu

-- Configuring done
CMake Error at cmake/modules/WiresharkPlugin.cmake:32 (add_library):
  Target "pluginifdemo" links to target "Qt5::Multimedia" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  plugins/epan/pluginifdemo/CMakeLists.txt:53 (add_plugin_library)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: net-analyzer/wireshark-3.6.2::gentoo failed (configure phase):
Comment 1 ernsteiswuerfel archtester 2022-03-24 21:59:25 UTC
Created attachment 767758 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 16:15:12 UTC
*** Bug 859574 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2022-10-10 16:18:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8efc0e6128d196453d205efc85925349919535b6

commit 8efc0e6128d196453d205efc85925349919535b6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-10 16:09:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-10 16:18:46 +0000

    net-analyzer/wireshark: Drop USE=plugin-ifdemo (which needs Qt 6)
    
    No real point and we have too many USE flags for Wireshark anyway.
    
    Closes: https://bugs.gentoo.org/835962
    Closes: https://bugs.gentoo.org/876304
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/wireshark/wireshark-4.0.0.ebuild | 9 +++++----
 net-analyzer/wireshark/wireshark-9999.ebuild  | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)