Wireshark started to ship a pkgconfig file (wireshark.pc.in in the source directory) that is currently not installed by the ebuilds. It turns out that app-emulation/libvirt now solely relies on the pkgconfig file being present in order to build their (optional) wireshark-plugin (and consequently fails to do so). Can you please also install the pkgocnfig file?
Fixed without revision bump.
Thanks a lot! There is one remaining issue, though. The wireshark.pc.in file was apparently written with CMake in mind - autoconf does not automatically populate the following variables: prefix=@CMAKE_INSTALL_PREFIX@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ plugindir=@PLUGIN_INSTALL_DIR@ Version: @PROJECT_VERSION@ Some sed-magic in the ebuild, or further adjustment of the (autoconf) build system is necessary.
Created attachment 401524 [details] This is how the wireshark.pc file should look like when installed Just FYI the people in wireshark are not completely against the approach, but the code is not prepared for that. I mean they don't install any header files, that's why the ebuild installs them itself. So in case your patch fails to get in (as mine did) we can still make the pkgconfig file in the ebuild with some sed magic. I haven't checked yet what the .pc file looks like with your patch, but this attachment shows what it should look like when installed, so please make sure there are not many things missing.
There were multiple fixes to this problem in wireshark: https://code.wireshark.org/review/#/c/13258/ https://code.wireshark.org/review/#/c/13005/ Unfortunately, I have no idea when it's gonna be released.
In 2.0.2 it looks like this: prefix=/usr exec_prefix=${prefix} libdir=@ABSOLUTE_CMAKE_INSTALL_LIBDIR@ sharedlibdir=${libdir} includedir=${prefix}/include/wireshark plugindir=${libdir}/wireshark/2.0.2/plugins Name: wireshark Description: wireshark network packet dissection library Version: 2.0.2 Requires: Libs: -L${libdir} -L${sharedlibdir} -lwireshark Cflags: -I${includedir} So nearly there, I guess?
(In reply to Jeroen Roovers from comment #5) > In 2.0.2 it looks like this: > > prefix=/usr > exec_prefix=${prefix} > libdir=@ABSOLUTE_CMAKE_INSTALL_LIBDIR@ > sharedlibdir=${libdir} > includedir=${prefix}/include/wireshark > plugindir=${libdir}/wireshark/2.0.2/plugins > > Name: wireshark > Description: wireshark network packet dissection library > Version: 2.0.2 > > Requires: > Libs: -L${libdir} -L${sharedlibdir} -lwireshark > Cflags: -I${includedir} > > So nearly there, I guess? Yes, I believe the only thing missing for this to work corretly is the 'Requires' to be filled in properly. By the way, the stuff that should be there is changing, so we'd rather wait for it to be available from upstream than just adding that there ourselves.
*** Bug 579080 has been marked as a duplicate of this bug. ***
Just to give you guys heads up - this is resolved with =net-analyzer/wireshark-2.2.2. Which also means the use flag masking can be lifted: # grep -C3 wireshark /usr/portage/profiles/base/package.use.mask # Matthias Maier <tamiko@gentoo.org> (03 May 2015) # mask use flag until #546126 is resolved >=app-emulation/libvirt-1.2.14 wireshark-plugins # James Le Cuirot <chewi@gentoo.org> (05 Apr 2015) # dev-java/sun-j2me-bin is going away.
(In reply to Michal Privoznik from comment #8) > Just to give you guys heads up - this is resolved with > =net-analyzer/wireshark-2.2.2.