Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734052 - net-analyzer/wireshark-3.2.5 USE=qt5? - CMake Error at CMakeLists.txt:1097 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core" [...]
Summary: net-analyzer/wireshark-3.2.5 USE=qt5? - CMake Error at CMakeLists.txt:1097 (f...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 07:52 UTC by Wim van Ravesteijn
Modified: 2020-11-04 00:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,13.34 KB, text/plain)
2020-07-27 07:52 UTC, Wim van Ravesteijn
Details
emerge --info (emerge-info,9.18 KB, text/plain)
2020-07-27 07:52 UTC, Wim van Ravesteijn
Details
emerge -pqv (emerge-pqv,411 bytes, text/plain)
2020-07-27 07:53 UTC, Wim van Ravesteijn
Details
environment (environment,154.78 KB, text/plain)
2020-07-27 07:53 UTC, Wim van Ravesteijn
Details
CMakeError.log (CMakeError.log,6.84 KB, text/plain)
2020-07-27 10:21 UTC, Wim van Ravesteijn
Details
CMakeOutput.log (CMakeOutput.log,65.09 KB, text/plain)
2020-07-27 10:21 UTC, Wim van Ravesteijn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wim van Ravesteijn 2020-07-27 07:52:04 UTC
Created attachment 650938 [details]
build.log

Build fails due to Qt5 not found.

CMake Error at CMakeLists.txt:1097 (find_package):                                                                                                                 
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has                                                                                       
  asked CMake to find a package configuration file provided by "Qt5Core", but                                                                                      
  CMake did not find one.                                                                                                                                          

  Could not find a package configuration file provided by "Qt5Core" with any                                                                                       
  of the following names:                                                                                                                                          

    Qt5CoreConfig.cmake                                                                                                                                            
    qt5core-config.cmake                                                                                                                                           

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set                                                                                             
  "Qt5Core_DIR" to a directory containing one of the above files.  If                                                                                              
  "Qt5Core" provides a separate development package or SDK, be sure it has                                                                                         
  been installed.
Comment 1 Wim van Ravesteijn 2020-07-27 07:52:54 UTC
Created attachment 650940 [details]
emerge --info
Comment 2 Wim van Ravesteijn 2020-07-27 07:53:16 UTC
Created attachment 650942 [details]
emerge -pqv
Comment 3 Wim van Ravesteijn 2020-07-27 07:53:38 UTC
Created attachment 650944 [details]
environment
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-27 08:16:47 UTC
Comment on attachment 650942 [details]
emerge -pqv

[ebuild   R   ] net-analyzer/wireshark-3.2.5  USE="capinfos captype dftest dumpcap editcap filecaps lua mergecap minizip netlink pcap plugins qt5* randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump zlib zstd -androiddump -bcg729 -brotli -ciscodump -doc -dpauxmon -http2 -kerberos -libxml2 -lz4 -maxminddb -plugin-ifdemo -sbc -sdjournal (-selinux) -smi -snappy -spandsp -sshdump -test -tfshark"
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-27 08:19:27 UTC
Obviously I would like to now know what version of dev-qt/qtcore is installed and perhaps any other information about your system that relates to Qt.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-27 08:19:53 UTC
Comment on attachment 650938 [details]
build.log

-- Configuring incomplete, errors occurred!
See also "/tmp/portage/net-analyzer/wireshark-3.2.5/work/wireshark-3.2.5_build/CMakeFiles/CMakeOutput.log".
See also "/tmp/portage/net-analyzer/wireshark-3.2.5/work/wireshark-3.2.5_build/CMakeFiles/CMakeError.log".

It might help to attach those, too.
Comment 7 Wim van Ravesteijn 2020-07-27 10:21:14 UTC
Created attachment 650948 [details]
CMakeError.log
Comment 8 Wim van Ravesteijn 2020-07-27 10:21:34 UTC
Created attachment 650950 [details]
CMakeOutput.log
Comment 9 Wim van Ravesteijn 2020-07-27 10:22:14 UTC
$ emerge -pqv qtcore
[binary   R   ] dev-qt/qtcore-5.14.2  USE="icu systemd -debug -old-kernel -test"
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-16 09:10:33 UTC
(In reply to Wim van Ravesteijn from comment #1)
> Created attachment 650940 [details]
> emerge --info

Looks like it's looking for Qt5 when that ought to be disabled:

net-analyzer/wireshark-3.2.5::gentoo was built with the following:
USE="capinfos captype dftest dumpcap editcap filecaps lua mergecap minizip netlink pcap plugins randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump zlib zstd -androiddump -bcg729 -brotli -ciscodump -doc -dpauxmon -http2 -kerberos -libxml2 -lz4 -maxminddb -plugin-ifdemo -qt5 -sbc -sdjournal (-selinux) -smi -snappy -spandsp -sshdump -test -tfshark" ABI_X86="(64)"
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-16 09:15:18 UTC
Comment on attachment 650938 [details]
build.log

But your build log has USE=qt5:

 * USE:        abi_x86_64 amd64 capinfos captype dftest dumpcap editcap elibc_glibc filecaps kernel_linux lua mergecap minizip netlink pcap plugins qt5 randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump userland_GNU zlib zstd

What is going on?