Some of my merge history for net-analyzer/wireshark and app-emulation/libvirt: Wed Jun 18 06:29:56 2014 >>> net-analyzer/wireshark-1.12.0_rc2 Wed Jun 18 06:46:18 2014 >>> app-emulation/libvirt-1.2.5 Sun Jun 29 22:16:43 2014 >>> net-analyzer/wireshark-1.12.0_rc2-r1 Fri Jul 25 15:28:49 2014 >>> net-analyzer/wireshark-1.12.0_rc3 Tue Jul 29 06:09:57 2014 >>> net-analyzer/wireshark-1.10.8-r1 As you can see app-emulation/libvirt-1.2.5 built just fine with net-analyzer/wireshark-1.12.0_rc2 instaled, but fails (probably) since I have net-analyzer/wireshark-1.12.0_rc3 installed. Reproducible: Always Steps to Reproduce: 1. emerge =net-analyzer/wireshark-1.12.0_rc3 2. emerge =app-emulation/libvirt-1.2.5 Actual Results: building of app-emulation/libvirt-1.2.5 fails Expected Results: building app-emulation/libvirt-1.2.5 succeeds Downgrading to net-analyzer/wireshark-1.10.8-r1 solved the problem for me.
Created attachment 381754 [details] app-emulation/libvirt-1.2.5 build failure log The build.log is gzipped, because it's size is 1.3M and the attachment limit is 1M.
The excerpt from the attached build log showing the failure: Making all in tools/wireshark make[2]: Entering directory '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5/tools/wireshark' Making all in src make[3]: Entering directory '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5/tools/wireshark/src' /bin/mkdir -p libvirt LIBVIRT_VERSION=1.2.5 \ /usr/bin/perl ./../util/genxdrstub.pl ../../../src/remote/remote_protocol.x ../../../src/remote/qemu_protocol.x ../../../src/remote/lxc_protocol.x ../../../src/rpc/virkeepaliveprotocol.x /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/bin/../include/wireshark -march=native -O3 -pipe -fomit-frame-pointer -c -o libvirt_la-packet-libvirt.lo `test -f 'packet-libvirt.c' || echo './'`packet-libvirt.c /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/bin/../include/wireshark -march=native -O3 -pipe -fomit-frame-pointer -c -o libvirt_la-plugin.lo `test -f 'plugin.c' || echo './'`plugin.c libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/bin/../include/wireshark -march=native -O3 -pipe -fomit-frame-pointer -c packet-libvirt.c -fPIC -DPIC -o .libs/libvirt_la-packet-libvirt.o libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/bin/../include/wireshark -march=native -O3 -pipe -fomit-frame-pointer -c plugin.c -fPIC -DPIC -o .libs/libvirt_la-plugin.o plugin.c:12:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const' WS_DLL_PUBLIC_NOEXTERN const gchar version[] = VERSION; ^ plugin.c:16:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' WS_DLL_PUBLIC_NOEXTERN void ^ plugin.c:21:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' WS_DLL_PUBLIC_NOEXTERN void ^ Makefile:1935: recipe for target 'libvirt_la-plugin.lo' failed make[3]: *** [libvirt_la-plugin.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... packet-libvirt.c: In function 'dissect_libvirt_payload_xdr_data': packet-libvirt.c:309:5: warning: passing argument 1 of 'tvb_memdup' from incompatible pointer type [enabled by default] payload_data = (caddr_t)tvb_memdup(payload_tvb, 0, payload_length); ^ In file included from /usr/include/wireshark/epan/proto.h:52:0, from packet-libvirt.c:27: /usr/include/wireshark/epan/tvbuff.h:448:21: note: expected 'struct wmem_allocator_t *' but argument is of type 'struct tvbuff_t *' WS_DLL_PUBLIC void *tvb_memdup(wmem_allocator_t *scope, tvbuff_t *tvb, ^ packet-libvirt.c:309:5: error: too few arguments to function 'tvb_memdup' payload_data = (caddr_t)tvb_memdup(payload_tvb, 0, payload_length); ^ In file included from /usr/include/wireshark/epan/proto.h:52:0, from packet-libvirt.c:27: /usr/include/wireshark/epan/tvbuff.h:448:21: note: declared here WS_DLL_PUBLIC void *tvb_memdup(wmem_allocator_t *scope, tvbuff_t *tvb, ^ packet-libvirt.c: In function 'dissect_libvirt': packet-libvirt.c:426:5: warning: passing argument 7 of 'tcp_dissect_pdus' from incompatible pointer type [enabled by default] tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 4, get_message_len, dissect_libvirt_message); ^ In file included from packet-libvirt.c:29:0: /usr/include/wireshark/epan/dissectors/packet-tcp.h:111:1: note: expected 'new_dissector_t' but argument is of type 'void (*)(struct tvbuff_t *, struct packet_info *, struct proto_tree *)' tcp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ^ packet-libvirt.c:426:5: error: too few arguments to function 'tcp_dissect_pdus' tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 4, get_message_len, dissect_libvirt_message); ^ In file included from packet-libvirt.c:29:0: /usr/include/wireshark/epan/dissectors/packet-tcp.h:111:1: note: declared here tcp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ^ Makefile:1928: recipe for target 'libvirt_la-packet-libvirt.lo' failed make[3]: *** [libvirt_la-packet-libvirt.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5/tools/wireshark/src' Makefile:1833: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5/tools/wireshark' Makefile:1964: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5' Makefile:1866: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: app-emulation/libvirt-1.2.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/libvirt-1.2.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-1.2.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/libvirt-1.2.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-1.2.5/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5' * S: '/var/tmp/portage/app-emulation/libvirt-1.2.5/work/libvirt-1.2.5'
The same happens with libvirt-1.2.6 (~amd64). Same error. USE flags for wireshark: - - adns + + caps + + cryptc - - doc - - doc-pdf + + filecaps - - geoip - - gtk3 + + ipv6 - - kerberos - - lua + + netlink + + pcap - - portaudio + + qt4 - - smi + + ssl + + zlib USE flags for libvirt: - - audit + + avahi + + caps - - firewalld - - fuse - - iscsi + - libvirtd + - lvm - - lxc + - macvtap - - nfs + + nls - - numa - - openvz - - parted - - pcap - - phyp + + policykit + - qemu - - rbd + + sasl - - systemd + + udev - - uml + - vepa + - virt-networ + - virtualbox - - xen
*** This bug has been marked as a duplicate of bug 508336 ***