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

Bug 519748

Summary: dev-python/libvirt-python - python3.3: ERROR: failed virDomainFSFreeze/virDomainFSThaw/virDomainGetTime
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: [OLD] DevelopmentAssignee: Virtualization Team <virtualization>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: mikemol
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 509858    
Attachments: dev-python:libvirt-python-1.2.3:20140812-182224.log.gz
build-python3.3.log

Description Toralf Förster gentoo-dev 2014-08-12 18:30:19 UTC
Created attachment 382778 [details]
dev-python:libvirt-python-1.2.3:20140812-182224.log.gz

/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python3.3 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
Found 384 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 324 wrapper functions
Missing type converters: 
char **:2 
long long *:1 
ERROR: failed virDomainFSFreeze
ERROR: failed virDomainFSThaw
ERROR: failed virDomainGetTime
error: command '/usr/bin/python3.3' failed with exit status 1
 * ERROR: dev-python/libvirt-python-1.2.3::gentoo failed (compile phase):
 *   (no error message)


tfoerste@n22 ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.3



tfoerste@n22 ~ $ emerge --info libvirt-python
Portage 2.2.8-r1 (default/linux/x86/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.16.0 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.16.0-i686-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:     8166608 total,   4456208 free
KiB Swap:    9767516 total,   9608496 free
Timestamp of tree: Tue, 12 Aug 2014 17:15:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4                                                                                                       
sys-devel/binutils:       2.23.2                                                                                                                       
sys-devel/gcc:            4.8.3                                                                                                                        
sys-devel/gcc-config:     1.7.3                                                                                                                        
sys-devel/libtool:        2.4.2-r1                                                                                                                     
sys-devel/make:           3.82-r4                                                                                                                      
sys-kernel/linux-headers: 3.13 (virtual/os-headers)                                                                                                    
sys-libs/glibc:           2.19-r1                                                                                                                      
Repositories: gentoo toralf                                                                                                                            
ACCEPT_KEYWORDS="x86"                                                                                                                                  
ACCEPT_LICENSE="*"                                                                                                                                     
CBUILD="i686-pc-linux-gnu"                                                                                                                             
CFLAGS="-O2 -march=native -pipe"                                                                                                                       
CHOST="i686-pc-linux-gnu"                                                                                                                              
CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/lib/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --nospinner --tree --quiet-build --deep"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-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 xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.qubenet.net/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bittorrent branding bzip2 cairo cdda cdr classic cli consolekit corefonts cracklib crypt css cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam fastbuild ffmpeg firefox flac fontconfig fortran g3dvl gdbm gif git gmp gnuplot gphoto2 gpm gtk hyphenation icedtea7 iconv ipv6 isag java jpeg kde kipi kqemu kvm lcms libnotify logrotate mad mbox mmx mng modules mp3 mp4 mpeg mysql mysqli ncurses nls nptl nsplugin ntfs ogg opengl openmp pam pango pcre pdf phonon pkcs11 plasma png policykit ppds qemu qt3support qt4 rdesktop readline sdl session sna spell spice sse sse2 sse4_1 ssl ssse3 startup-notification svg tcpd thinkpad threads tiff tk transparent-proxy truetype udev udisks uml unicode upower usb usbredir uxa v4l vaapi vim-syntax vnc vorbis wxwidgets x264 x86 xa xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc zlib" ABI_X86="32" 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" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby19 ruby20" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-python/libvirt-python-1.2.3 was built with the following:
USE="-test" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2"
CFLAGS="-O2 -march=native -pipe -g -ggdb"
CXXFLAGS="-O2 -march=native -pipe -g -ggdb"
Comment 1 Toralf Förster gentoo-dev 2014-08-12 19:00:36 UTC
dev-python/libvirt-python-1.2.5

emerged fine at x86
Comment 2 Jason Zaman gentoo-dev 2014-08-12 22:16:54 UTC
Created attachment 382786 [details]
build-python3.3.log

I also hit this bug, and can confirm that installing dev-python/libvirt-python-1.2.5 works on stable amd64.

Please stabilize 1.2.5 since libvirt-1.2.5 is stabilized. (I guess the version numbers have to match?)
Comment 3 Agostino Sarubbo gentoo-dev 2014-08-13 07:26:37 UTC
So, we know that libvirt-python should be the same version of installed libvirt. I'd suggest to change the r/DEPEND.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-13 13:10:26 UTC
What is app-virtualization/libvirt-${PV} ?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-13 13:10:36 UTC
*** Bug 519814 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Maier gentoo-dev 2014-12-13 14:22:38 UTC
Starting with 1.2.10, libvirt-python will (R)DEPEND on libvirt:0/${PV}.

Is this issue resolved with libvirt-1.2.10-r2 and matching libvirt-python-1.2.10?

If no, please reopen.