Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446572 - app-emulation/libvirt-1.0.0 - In file included from libxl/libxl_conf.c:43:0: libxl/libxl_conf.h:61:15: error: field 'ctx' has incomplete type
Summary: app-emulation/libvirt-1.0.0 - In file included from libxl/libxl_conf.c:43:0: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-09 05:06 UTC by Xi
Modified: 2013-01-24 04:17 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,86.91 KB, text/plain)
2012-12-10 02:46 UTC, Xi
Details
emerge.info (emerge.info,4.72 KB, text/plain)
2012-12-10 02:47 UTC, Xi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xi 2012-12-09 05:06:31 UTC
When compiling app-emulation/libvirt-1.0.0, I got many errors related to libxls. But even recompile libxls won't help.

Build log: http://bpaste.net/show/62976/
Emerge --info: http://bpaste.net/show/62977/
Comment 1 Xi 2012-12-09 05:08:27 UTC
Portage 2.1.11.33 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.16.0, 3.6.8-gentoo x86_64)
=================================================================
System uname: Linux-3.6.8-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
Timestamp of tree: Fri, 07 Dec 2012 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.5.4-r4, 2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.5
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo gentoo-zh
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 PUEL Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/home/xi/github/gentoo-zh"
SYNC="rsync://mirrors.163.com/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cjk cli colord consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gstreamer gtk iconv icu jpeg lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Xi 2012-12-09 06:41:18 UTC
My mistake, the error has nothing to do with libxls. I mixed the name :(

According to Google, I think the error is caused by the fact that Xen 4.2 and libvirt are not compatible. :'(
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-09 18:24:24 UTC
(In reply to comment #0)

> Build log: http://bpaste.net/show/62976/
> Emerge --info: http://bpaste.net/show/62977/

Attach those, please.
Comment 4 Carlos Silva 2012-12-10 01:30:48 UTC
Same problem here
Comment 5 Xi 2012-12-10 02:46:48 UTC
Created attachment 331914 [details]
build.log

app-emulation/libvirt-1.0.0
Comment 6 Xi 2012-12-10 02:47:05 UTC
Created attachment 331916 [details]
emerge.info
Comment 7 Xi 2012-12-10 02:49:46 UTC
I downgrade Xen to 4.1.x and libvirt compiled without error. I guess we will have to wait till libvirt adapt the changes in Xen 4.2.

(In reply to comment #4)
> Same problem here
Comment 8 Carlos Silva 2012-12-10 03:00:10 UTC
Here's the patch applied upstream:

http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=dfa1e1dd5325f3a6bc8865312cde557044bf0b93
Comment 9 Ben Kohler gentoo-dev 2012-12-18 18:34:41 UTC
libvirt-1.0.1 has just been released, and it seems to build fine against xen-tools-4.2.  I have not done any runtime tests.

# qlist -ICv libvirt xen-tools
app-emulation/libvirt-1.0.1
app-emulation/xen-tools-4.2.0-r2
#
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2013-01-24 03:59:07 UTC
libvirt 1.0.1 supports Xen 4.2 while libvirt 1.0.0 supports Xen 4.1.
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2013-01-24 04:17:24 UTC
Fix committed to CVS to prevent this from happening.