Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480624 - app-emulation/libvirt-1.1.1-r2 fails to detect /usr/include/linux/if_bridge.h during configure
Summary: app-emulation/libvirt-1.1.1-r2 fails to detect /usr/include/linux/if_bridge.h...
Status: RESOLVED DUPLICATE of bug 480472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-11 13:18 UTC by Marek Bartosiewicz
Modified: 2013-08-11 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Bartosiewicz 2013-08-11 13:18:50 UTC
This happens on fairly fresh Gentoo ~amd64 install. 

I have linux-headers-3.9 installed and /usr/include/linux/if_bridge.h file is present.


checking for rpcgen... /usr/bin/rpcgen
checking for xmllint... /usr/bin/xmllint
checking for xmlcatalog... /usr/bin/xmlcatalog
checking for xsltproc... /usr/bin/xsltproc
checking for augparse... /usr/bin/augparse
checking for dnsmasq... /usr/sbin/dnsmasq
checking for radvd... /usr/sbin/radvd
checking for tc... /sbin/tc
checking for udevadm... /usr/bin/udevadm
checking for udevsettle... no
checking for modprobe... /sbin/modprobe
checking for ovs-vsctl... ovs-vsctl
checking for scrub... /usr/bin/scrub
checking for init script flavor... systemd
checking for whether to install sysctl config... yes
checking for ip... /bin/ip
checking for iptables... /sbin/iptables
checking for ip6tables... /sbin/ip6tables
checking for ebtables... /sbin/ebtables
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... none required
checking for xdr_u_int64_t... no
checking where to find <rpc/rpc.h>... none
checking for dlfcn.h... (cached) yes
checking for library containing dlopen... -ldl
checking linux/kvm.h usability... yes
checking linux/kvm.h presence... yes
checking for linux/kvm.h... yes
checking for shell that supports <> redirection... /bin/sh
checking for linux/param.h... yes
checking for linux/sockios.h... yes
checking for linux/if_bridge.h... no
configure: error: You must install kernel-headers in order to compile libvirt with QEMU or LXC support

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/libvirt-1.1.1-r2/work/libvirt-1.1.1/config.log
 * ERROR: app-emulation/libvirt-1.1.1-r2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4557:  Called econf '--with-libvirtd' '--with-avahi' '--without-xen' '--without-xen-inotify' '--without-xenapi' '--without-libxl' '--without-openvz' '--without-lxc' '--without-vbox' '--without-uml' '--with-qemu' '--with-yajl' '--without-phyp' '--with-esx' '--with-vmware' '--with-network' '--with-storage-fs' '--without-storage-lvm' '--without-storage-iscsi' '--without-storage-disk' '--without-storage-mpath' '--without-storage-rbd' '--without-numactl' '--without-numad' '--without-selinux' '--without-fuse' '--with-udev' '--with-capng' '--with-polkit' '--without-sasl' '--without-macvtap' '--with-libpcap' '--without-virtualport' '--without-firewalld' '--enable-nls' '--with-python' '--with-qemu-user=qemu' '--with-qemu-group=qemu' '--without-audit' '--without-netcf' '--without-hal' '--without-sanlock' '--with-init-script=systemd' '--disable-static' '--docdir=/usr/share/doc/libvirt-1.1.1-r2' '--with-remote' '--localstatedir=/var'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/libvirt-1.1.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-1.1.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/libvirt-1.1.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-1.1.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/libvirt-1.1.1-r2/work/libvirt-1.1.1'
 * S: '/var/tmp/portage/app-emulation/libvirt-1.1.1-r2/work/libvirt-1.1.1'

>>> Failed to emerge app-emulation/libvirt-1.1.1-r2, Log file:

>>>  '/var/tmp/portage/app-emulation/libvirt-1.1.1-r2/temp/build.log'



Portage 2.1.13.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.11.0-rc4 x86_64)
=================================================================
System uname: Linux-3.11.0-rc4-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_840_@_1.87GHz-with-gentoo-2.2
KiB Mem:     8153404 total,   6460384 free
KiB Swap:    9185000 total,   9185000 free
Timestamp of tree: Sun, 11 Aug 2013 04:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo systemd
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="gentoo.prz.rzeszow.pl"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/systemd"
USE="X a52 aac acl acpi alsa amd64 archive artworkextra autoipd avahi berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli conntrack cracklib creds crypt cryptsetup cups cxx dbus dconf device-mapper disable-watermark djvu downloads-monitor dri dts dvd dvdr edit eds emboss encode evo exif extra fam fbcon ffmpeg firefox flac fontconfig g3dvl games gbm gd gdbm gdm gdu gif git glchess gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm graphics graphite graphviz gs gstreamer gtk gtk3 hpijs humanities iconv icu imagemagick infinality introspection ipv6 ithreads jabber jpeg jpeg2k justify lame lcdfilter lcms libkms libnotify libsamplerate libsecret lzma lzo mad minizip mmx mmxext mng modemmanager modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nsplugin ntp offensive ogg openal opengl openmp openvg pam pango pcap pcre pdf perl png policykit ppds previewer publishers pulseaudio python python3 qemu rdesktop readline ruby samba science sdl session shared-dricore slang slp smp snmp socialweb spell spice sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg symlink systemd t1lib taglib tcpd theora threads tiff truetype udev udisks unicode upcall upower usb vaapi vala virt-network vorbis wavpack wifi winbind wxwidgets x264 xa xcb xcomposite xindy xinerama xml xorg xpm xv xvfb xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="plymouth biosdevname caps crypt crypt-loop mdraid systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Marek Bartosiewicz 2013-08-11 13:20:57 UTC
Sorry, seems to be a duplicate of 480472:
From the config.log:

configure:62433: checking for linux/if_bridge.h
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete type
|          * the problem here in the same manner as in virnetdevbridge.c.  */
| #include <linux/if_bridge.h>
ac_cv_header_linux_if_bridge_h=no
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-08-11 13:42:29 UTC
*** This bug has been marked as a duplicate of bug 480472 ***