[777/1291] x86_64-pc-linux-gnu-gcc -o tools/wireshark/src/libvirt.so tools/wireshark/src/libvirt.so.p/packet-libvirt.c.o tools/wireshark/src/libvirt.so.p/plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libvirt .so -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed /usr/lib64/libwireshark.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libgthread-2.0.so -pthread /usr/lib64/libtirpc.so -Wl,-z,relro -Wl,-z,now -Wl,--no-cop y-dt-needed-entries -Wl,-z,defs /usr/lib64/libxml2.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgio-2.0.so -Wl,--end-group FAILED: tools/wireshark/src/libvirt.so x86_64-pc-linux-gnu-gcc -o tools/wireshark/src/libvirt.so tools/wireshark/src/libvirt.so.p/packet-libvirt.c.o tools/wireshark/src/libvirt.so.p/plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libvirt.so -O2 -pi pe -march=native -Wl,-O1 -Wl,--as-needed /usr/lib64/libwireshark.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libgthread-2.0.so -pthread /usr/lib64/libtirpc.so -Wl,-z,relro -Wl,-z,now -Wl,--no-copy-dt-needed -entries -Wl,-z,defs /usr/lib64/libxml2.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgio-2.0.so -Wl,--end-group /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tools/wireshark/src/libvirt.so.p/packet-libvirt.c.o: in function `dissect_xdr_bytes': packet-libvirt.c:(.text+0x93c1): undefined reference to `wmem_alloc' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tools/wireshark/src/libvirt.so.p/packet-libvirt.c.o: in function `dissect_xdr_opaque.constprop.0': packet-libvirt.c:(.text+0x1a234): undefined reference to `wmem_alloc' collect2: error: ld returned 1 exit status
Created attachment 757797 [details] emerge --info
Created attachment 757798 [details] build.log Had to compress build log, apparently bugzilla won't let me attach it uncompressed
If you're using ~arch Wireshark, need ~arch libvirt atm.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5789a5c8578cb615e23cb61b8253cbc4e22fb30e commit 5789a5c8578cb615e23cb61b8253cbc4e22fb30e Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-10 00:20:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-10 00:20:33 +0000 app-emulation/libvirt: needs older Wireshark Fixed in 7.9.0+. Closes: https://bugs.gentoo.org/828605 Signed-off-by: Sam James <sam@gentoo.org> .../libvirt/{libvirt-7.0.0-r3.ebuild => libvirt-7.0.0-r4.ebuild} | 2 +- .../libvirt/{libvirt-7.1.0-r1.ebuild => libvirt-7.1.0-r2.ebuild} | 2 +- .../libvirt/{libvirt-7.2.0-r1.ebuild => libvirt-7.2.0-r2.ebuild} | 2 +- app-emulation/libvirt/{libvirt-7.3.0.ebuild => libvirt-7.3.0-r1.ebuild} | 2 +- app-emulation/libvirt/{libvirt-7.4.0.ebuild => libvirt-7.4.0-r1.ebuild} | 2 +- app-emulation/libvirt/{libvirt-7.5.0.ebuild => libvirt-7.5.0-r1.ebuild} | 2 +- app-emulation/libvirt/{libvirt-7.7.0.ebuild => libvirt-7.7.0-r1.ebuild} | 2 +- app-emulation/libvirt/{libvirt-7.8.0.ebuild => libvirt-7.8.0-r1.ebuild} | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
Thanks for the quick fix! I love that Gentoo lets me mix-n-match stable and unstable packages, that's one of its best features in my book - and I expect doing so will occasionally turn up a combo that the systemwide ~arch folk may have missed :)
Hey Sam, the patch I've merged to fix build with newer wireshark was merged in libvirt-7.10.0, therefore I think =app-emulation/libvirt-7.9.0 could use the same treatment as ebuilds from comment 4.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c582d4bdac3f20328d8897dbade0d5ab4b9776dd commit c582d4bdac3f20328d8897dbade0d5ab4b9776dd Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-11 01:19:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-11 01:19:57 +0000 app-emulation/libvirt: needs older Wireshark Actually fixed in 7.10.0! Fixes: 5789a5c8578cb615e23cb61b8253cbc4e22fb30e Bug: https://bugs.gentoo.org/828605 Signed-off-by: Sam James <sam@gentoo.org> .../libvirt/{libvirt-7.9.0-r1.ebuild => libvirt-7.9.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Michael Moon from comment #5) > Thanks for the quick fix! > > I love that Gentoo lets me mix-n-match stable and unstable packages, that's > one of its best features in my book - and I expect doing so will > occasionally turn up a combo that the systemwide ~arch folk may have missed > :) No problem & thank you! (In reply to Michal Privoznik from comment #6) > Hey Sam, the patch I've merged to fix build with newer wireshark was merged > in libvirt-7.10.0, therefore I think =app-emulation/libvirt-7.9.0 could use > the same treatment as ebuilds from comment 4. Thanks a lot!