Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415461 - app-emulation/libvirt-0.9.11.3 fails with python3
Summary: app-emulation/libvirt-0.9.11.3 fails with python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 415635
  Show dependency tree
 
Reported: 2012-05-11 08:20 UTC by Patrick Lauer
Modified: 2012-06-18 16:02 UTC (History)
6 users (show)

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 Patrick Lauer gentoo-dev 2012-05-11 08:20:11 UTC
CC     virt_host_validate-virt-host-validate-lxc.o
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../gnulib/lib -I../gnulib/lib -I../src -I../src -I../src/util -I..    -Wall -W -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wvolatile-register-var -Wdisabled-optimization -Wbuiltin-macro-redefined -Wmudflap -Wpacked-bitfield-compat -Wsync-nand -Wattributes -Wcoverage-mismatch -Wmultichar -Wdeprecated-declarations -Wdiv-by-zero -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar -Wnormalized=nfc -Woverflow -Wpointer-to-int-cast -Wpragmas -Wtrampolines -Wno-missing-field-initializers -Wno-sign-compare -Wjump-misses-init -Wno-format-nonliteral -Wframe-larger-than=4096 -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const   -O2 -pipe -c -o virt_host_validate-virt-host-validate-lxc.o `test -f 'virt-host-validate-lxc.c' || echo './'`virt-host-validate-lxc.c
  GEN    virt-xml-validate
  GEN    virt-pki-validate
  CCLD   virt-host-validate
  CCLD   virsh
make[3]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/tools'
make[2]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/tools'
Making all in docs
make[2]: Entering directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
Making all in schemas
make[4]: Entering directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs/schemas'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs/schemas'
make[4]: Entering directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
  GEN    ./apibuild.py.stamp
  File "./apibuild.py", line 106
    print "=> define %s : %s" % (debugsym, (module, type, info,
                            ^
SyntaxError: invalid syntax
make[4]: *** [""./apibuild.py".stamp"] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/libvirt-0.9.11.3/work/libvirt-0.9.11.3'
make: *** [all] Error 2
 * ERROR: app-emulation/libvirt-0.9.11.3 failed (compile phase):
 *   emake failed

# python -V
Python 3.2.2


Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_FX-tm-4100_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Fri, 11 May 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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=""
SYNC="rsync://192.168.0.8/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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="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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Martin Samek 2012-05-30 21:02:01 UTC
there is a new libvirt 0.9.12 - bump
Comment 2 Martin Samek 2012-05-30 21:06:18 UTC
Bug 418307
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-05-30 22:32:02 UTC
(In reply to comment #1)
> there is a new libvirt 0.9.12 - bump

Yes. I'm aware. This is not fixed in 0.9.12. Saying that a new version is available and asking me to bump it on every active libvirt bug isn't productive or helpful.
Comment 4 David Klaftenegger 2012-06-10 08:50:07 UTC
At least for 0.9.12 this bug magically disappears with USE="python",
I have not tested this with previous versions.
Comment 5 Mike Gilbert gentoo-dev 2012-06-18 16:02:23 UTC
This was probably fixed by this commit:

  15 Jun 2012; Doug Goldstein <cardoe@gentoo.org> libvirt-0.9.12.ebuild,
  libvirt-9999.ebuild:
  Fix bug #421253 where we fail to build when python3 is the active selected
  python.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/libvirt/libvirt-0.9.12.ebuild?r1=1.6&r2=1.7