Summary: | app-emulation/libvirt-1.3.2-r1 with sys-libs/glibc-2.23-r1: src/.libs/libvirt.so: undefined reference to {'major', 'minor'} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Proteus <proteuss> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cardoe, pefoley2, slyfox, virtualization |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 575232 | ||
Attachments: |
emerge --info
Build log libvirt-1.3.2-glibc-2.23.patch |
Description
Andreas Proteus
2016-04-14 13:34:26 UTC
Created attachment 430440 [details]
emerge --info
My emerge --info output and
Output of emerge -pqv
[ebuild N ] app-emulation/libvirt-1.3.2-r1 USE="caps libvirtd macvtap nls qemu udev vepa -apparmor -audit -avahi -firewalld -fuse -glusterfs -iscsi -lvm -lxc -nfs -numa -openvz -parted -pcap -phyp -policykit -rbd -sasl (-selinux) -systemd -uml -virt-network -virtualbox (-wireshark-plugins) -xen"
Created attachment 430442 [details]
Build log
Compressed due to size restrictions.
Well, this is due to a Gentoo-specific patch for glibc-2.23: From 1053a4902ebff0ba30098fdcad614d963de87c3d Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Tue, 29 Dec 2015 17:54:31 -0500 Subject: [PATCH] sys/types.h: drop sys/sysmacros.h include We want to break apart this include path due to namespace pollution. https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html --- posix/sys/types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/posix/sys/types.h b/posix/sys/types.h index a728567..b3007db 100644 --- a/posix/sys/types.h +++ b/posix/sys/types.h @@ -217,9 +217,6 @@ typedef int register_t __attribute__ ((__mode__ (__word__))); /* It also defines `fd_set' and the FD_* macros for `select'. */ # include <sys/select.h> - -/* BSD defines these symbols, so we follow. */ -# include <sys/sysmacros.h> #endif /* Use misc. */ (In reply to Matthias Maier from comment #3) > Well, this is due to a Gentoo-specific patch for glibc-2.23: Thank you. I solved the problem with this: GLIBC_PATCH_EXCLUDE=00_all_0009-sys-types.h-drop-sys-sysmacros.h-include.patch emerge -1va glibc libvirt Taken from bug:575232 comment #7 Created attachment 430794 [details, diff]
libvirt-1.3.2-glibc-2.23.patch
libvirt-1.3.2-glibc-2.23.patch - in case you don't want gentoo users to patch their glibc :)
Patch applied to 1.3.4 (and future versions) and 9999. commit 9b146d56acd46538427c709608c17dfe34b43d05 Author: Matthias Maier <tamiko@gentoo.org> Date: Sun May 1 13:45:24 2016 -0500 dev-python/libvirt-python: version bump to 1.3.4, bug #580418 Package-Manager: portage-2.2.26 commit af621c349cb52c36d298d3715ad5b0c784836c1f Author: Matthias Maier <tamiko@gentoo.org> Date: Sun May 1 13:44:23 2016 -0500 app-emulation/libvirt: version bump to 1.3.4, bug #580418, bug #579960 - bump to version 1.3.4, bug #580418 - apply a build system patch for the sysmacros header change, bug #579960 fixes the compile error "undefined reference to {'major', 'minor'}" due to gentoo specific glibc patches (bug #575232) Package-Manager: portage-2.2.26 |