Libvirt-1.2.2 has introduced an additional feature which is a wireshark dissector for analyzing the libvirt RPC protocol. The build of this feature is selected during the configure phase of the libvirt build, depending on whether wireshark is found on the build server or not. Here the corresponding (newly introduced) configure switch: --with-wireshark-dissector enable wireshark dissector plugin support [default=check] This behaviour results in two minor annoyances: 1) depending on the build order of libvirt and wireshark, the resulting libvirt build is different 2) it's not possible to disable the wireshark dissector plugin, e.g. in case there are build problems (also see #508336) I think it would be a good idea to have a USE flag 'wireshark' which allows to enable/disable this feature and correctly pulls in the net-analyzer/wireshark dependency if enabled. Reproducible: Always Steps to Reproduce: 1. (emerge wireshark) 2. ACCEPT_KEYWORDS="~amd64" emerge =libvirt-1.2.3 Actual Results: Libvirt wireshark dissector plugin is built depending on the availability of wireshark. Expected Results: The build of the dissector plugin can be explicitly enabled or disabled.
Created attachment 375432 [details] libvirt-1.2.3-r1.ebuild with new 'wireshark' USE flag I quickly created an ebuild with a new 'wireshark' USE flag. Due to #508336 net-analyzer/wireshark-1.11.3 is not supported yet. I only tested with wireshark 1.10.6 which works fine.
Created attachment 381820 [details] app-emulation:libvirt-1.2.6:20140729-145831.log.lz Bump. This causes a build failure w/ 1.2.6.
+ 31 Jul 2014; Michał Górny <mgorny@gentoo.org> libvirt-1.2.3.ebuild, + libvirt-1.2.5.ebuild, libvirt-1.2.6.ebuild, libvirt-9999.ebuild: + Disable wireshark dissector support to fix automagic dependency and resulting + build failures, bugs #508340 and #508336. I leave any further actions up to the maintainers.
*libvirt-1.2.9-r1 (03 Nov 2014) 03 Nov 2014; Matthias Maier <tamiko@gentoo.org> +files/libvirt-1.2.9-do_not_use_sysconf.patch, +files/libvirtd.service.conf, +libvirt-1.2.9-r1.ebuild, -files/libvirt-1.2.6-numa.patch, libvirt-9999.ebuild, metadata.xml: add wireshark-plugins use flag, bug 508340; do not install into runtime paths, bug 520408; do not install into units use /etc/sysconfig, bug 477524