Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654690 - net-analyzer/wireshark-2.6.0-r1: Could not find a package configuration file provided by "Qt5Svg" [...]
Summary: net-analyzer/wireshark-2.6.0-r1: Could not find a package configuration file ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://code.wireshark.org/review/c/3...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 07:31 UTC by Michał Górny
Modified: 2020-01-17 14:43 UTC (History)
2 users (show)

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


Attachments
net-analyzer:wireshark-2.6.0-r1:20180503-064446.log (net-analyzer:wireshark-2.6.0-r1:20180503-064446.log,20.60 KB, text/plain)
2018-05-03 07:31 UTC, Michał Górny
Details
e-info.txt (e-info.txt,6.25 KB, text/plain)
2018-05-03 07:31 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
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!