Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487404

Summary: =app-emulation/libvirt-1.1.2-r3[-qemu,-lxc] - error: redefinition of 'struct in6_addr'
Product: Gentoo Linux Reporter: Another Mortal <a.m>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: aaron, dirk.olmes, johannes.hirte, pcmoore, virtualization
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Quick fix

Description Another Mortal 2013-10-09 10:29:16 UTC
Curiously, this patch

0004-build-fix-build-with-latest-rawhide-kernel-headers.patch

only applies its magic fix if qemu or lxc are
"selected" (in USE, or equivalently, --with-).
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-09 12:30:38 UTC
Can you please attach the complete build log and comment with the output of `emerge --info =app-emulation/libvirt-1.1.2-r3`? Thank you in advance.
Comment 2 Another Mortal 2013-10-10 12:53:09 UTC
Created attachment 360570 [details, diff]
Quick fix

The attached patch allows the 0004-.. fix
to work even with USE="-qemu -lxc".

As an interim solution, copy the patch to
/etc/portage/patches/app-emulation/libvirt-1.1.2-r3
and the 'epatch_user' command in the ebuild
will automagically apply it.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2013-10-10 21:08:56 UTC
Give libvirt-1.1.3 in tree a whirl.
Comment 4 Another Mortal 2013-10-11 06:56:52 UTC
libvirt-1.1.3 builds fine
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-11 16:08:34 UTC
*** Bug 487654 has been marked as a duplicate of this bug. ***
Comment 6 Johannes Hirte 2013-10-14 08:53:40 UTC
(In reply to Doug Goldstein from comment #3)
> Give libvirt-1.1.3 in tree a whirl.

For me, libvirt-1.1.3 still fails without the patch.
Comment 7 Another Mortal 2013-10-15 07:58:51 UTC
> For me, libvirt-1.1.3 still fails without the patch.

You are absolutely right.  I put my user patch in the
unversioned /etc/portage/patches/app-emulation/libvirt
directory; so, it got applied even on the 1.1.3 build.
(Without the patch libvirt-1.1.3 _does_ fail!)

Sorry for misreporting..
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-18 19:01:11 UTC
*** Bug 488502 has been marked as a duplicate of this bug. ***
Comment 9 Johannes Hirte 2013-11-05 15:02:48 UTC
Seems to be fixed with =app-emulation/libvirt-1.1.4
Comment 10 Another Mortal 2013-11-10 07:52:23 UTC
(In reply to Johannes Hirte from comment #9)
> Seems to be fixed with =app-emulation/libvirt-1.1.4

Confirmed.
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2013-11-10 20:33:56 UTC
Sorry been very busy. I merged the patch into upstream and never had a chance to make an updated ebuild before 1.1.4 came out so the problem is now solved. Sorry for the lack of communication.