Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489614 - net-analyzer/wireshark-1.11.0-r2::gentoo with dev-qt/qtcore-5.2.0_beta1::qt installed: byte_view_text.h:34:20: fatal error: QPrinter: No such file or directory
Summary: net-analyzer/wireshark-1.11.0-r2::gentoo with dev-qt/qtcore-5.2.0_beta1::qt i...
Status: RESOLVED DUPLICATE of bug 488640
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 18:50 UTC by Dennis Schridde
Modified: 2013-10-28 00:42 UTC (History)
0 users

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


Attachments
emerge --info wireshark (emerge.info,6.00 KB, application/x-info)
2013-10-27 18:51 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-10-27 18:50:54 UTC
Building net-analyzer/wireshark-1.11.0-r2::gentoo when dev-qt/qtcore-5.2.0_beta1::qt is installed fails to build with an error:
In file included from byte_view_text.cpp:24:0:
byte_view_text.h:34:20: fatal error: QPrinter: No such file or directory

But before that, there are also some oddities in configure:
checking for Qt5Core - version >= 4.6.0... yes (version 5.2.0) 
checking for Qt5Gui - version >= 4.6.0... yes (version 5.2.0)
checking for Qt5Widgets - version >= 4.6.0... yes (version 5.2.0)
checking for Qt5PrintSupport - version >= 4.6.0... no
checking for QtPrintSupport - version >= 4.6.0... no
checking for Qt5MacExtras - version >= 4.6.0... no
checking for QtMacExtras - version >= 4.6.0... no
checking for pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking for GLIB - version >= 2.16.0... yes (version 2.36.4)
checking for uic... /usr/bin/uic  
checking for moc... /usr/bin/moc

Apparently Wireshark will build against Qt5 but use Qt4 uic and moc for that.

# emerge -pv wireshark qtcore:5
[...]
[ebuild   R    ] dev-qt/qtcore-5.2.0_beta1:5::qt  USE="glib icu -debug {-test}" 0 kB
[ebuild     U  ] net-analyzer/wireshark-1.11.0-r2:0/1.11.0 [1.11.0-r1:0/1.11.0] USE="caps crypt filecaps geoip ipv6 netlink pcap qt4 ssl zlib -adns -doc -doc-pdf -gtk2 -gtk3 -kerberos -libadns -lua -portaudio (-selinux) -smi" 0 kB

Reproducible: Always
Comment 1 Dennis Schridde 2013-10-27 18:51:25 UTC
Created attachment 362086 [details]
emerge --info wireshark
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-28 00:42:59 UTC

*** This bug has been marked as a duplicate of bug 488640 ***