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

Bug 654690

Summary: net-analyzer/wireshark-2.6.0-r1: Could not find a package configuration file provided by "Qt5Svg" [...]
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: ikelos, Manfred.Knick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://code.wireshark.org/review/c/35856/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=545688
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-analyzer:wireshark-2.6.0-r1:20180503-064446.log
e-info.txt

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-03 07:31:04 UTC
Created attachment 529514 [details]
net-analyzer:wireshark-2.6.0-r1:20180503-064446.log

Looks like a missing dep.


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

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

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-analyzer/wireshark-2.6.0-r1/work/wireshark-2.6.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/net-analyzer/wireshark-2.6.0-r1/work/wireshark-2.6.0_build/CMakeFiles/CMakeError.log".
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-03 07:31:32 UTC
Created attachment 529516 [details]
e-info.txt
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-05-03 08:09:32 UTC
(In reply to Michał Górny from comment #0)
> Created attachment 529514 [details]
> net-analyzer:wireshark-2.6.0-r1:20180503-064446.log
> 
> Looks like a missing dep.

No, it looks like a pointless test. The source code doesn't call any QSvg* functions.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-05-03 08:11:35 UTC
~/wireshark-2.6.0 $ grep -r QT_SVG_LIB
CMakeLists.txt:         set(QT_SVG_LIB 1)

That's the single place where that variable is used.

~/wireshark-2.6.0 $ grep -r QSvg[A-Z]

yields no results.
Comment 4 Philipp Psurek 2018-05-03 21:06:41 UTC
I don't understand. -r0 compiled without errors and -r1 makes now a pointless test? Please patch this test away or resolve its dependency.

Applying USE="-qt5" solved this error for me.
Comment 5 Manfred Knick 2018-05-04 12:32:27 UTC
(In reply to Philipp Psurek from comment #4)
> I don't understand.
A quick look into wireshark-2.6.0{-r1}.ebuild
reveals a re-base from "autotools" to "cmake-utils".

> Applying USE="-qt5" solved this error for me.
.............................^^^^

Not sufficient in my case:

. . . fatal: Not a git repository (or any parent up to mount point /var)
. . . Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
. . . CMake Error at CMakeLists.txt:3078 (string):
. . . . . . string begin index: 1 is out of range 0 - 0

# df -h
/dev/root        40G     11G   27G   29% /
...
tmpfs           2,0G     20K  2,0G    1% /tmp
tmpfs            12G    232M   12G    2% /var/tmp           <---
/dev/sdb4      1008M     37M  921M    4% /boot
...

Hth.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-05-04 18:01:59 UTC
Fixed without revision bump.
Comment 7 Manfred Knick 2018-05-04 19:37:24 UTC
(In reply to Jeroen Roovers from comment #6)
> Fixed ...
Confirmation: WORKSFORME (without USE=-qt5).
Thanks a lot!