Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518516 - dev-python/libvirt-python-1.2.5 - python3.3: ERROR: failed virNetworkDHCPLeaseFree
Summary: dev-python/libvirt-python-1.2.5 - python3.3: ERROR: failed virNetworkDHCPLeas...
Status: RESOLVED DUPLICATE of bug 518812
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 18:00 UTC by Andy
Modified: 2014-08-04 15:49 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 Andy 2014-07-29 18:00:34 UTC
I am bumping into this every time I try and build dev-python/libvirt-python-1.2.5


>>> Emerging (2 of 2) dev-python/libvirt-python-1.2.5::gentoo
 * libvirt-python-1.2.5.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking libvirt-python-1.2.5.tar.gz to /var/tmp/portage/dev-python/libvirt-python-1.2.5/work
>>> Source unpacked in /var/tmp/portage/dev-python/libvirt-python-1.2.5/work
>>> Preparing source in /var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5 ...
 * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
/usr/bin/python2.7 setup.py build
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python2.7 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
running build
/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 387 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 323 wrapper functions
Missing type converters: 
virNetworkDHCPLeasePtr **:1 
virNetworkDHCPLeasePtr:1 
unsigned int *:1 
ERROR: failed virNetworkDHCPLeaseFree
ERROR: failed virNetworkGetDHCPLeases
ERROR: failed virNodeGetFreePages
error: command '/usr/bin/python2.7' failed with exit status 1
 * ERROR: dev-python/libvirt-python-1.2.5::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3452:  Called distutils-r1_src_compile
 *   environment, line 1024:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  268:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3319:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2345:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2288:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2286:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2336:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  680:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1013:  Called distutils-r1_python_compile
 *   environment, line  878:  Called esetup.py 'build'
Found 387 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 323 wrapper functions
Missing type converters: 
virNetworkDHCPLeasePtr **:1 
virNetworkDHCPLeasePtr:1 
unsigned int *:1 
ERROR: failed virNetworkDHCPLeaseFree
ERROR: failed virNetworkGetDHCPLeases
ERROR: failed virNodeGetFreePages
 *   environment, line 1464:  Called die
 * The specific snippet of code:
error: command '/usr/bin/python3.3' failed with exit status 1
 * ERROR: dev-python/libvirt-python-1.2.5::gentoo failed (compile phase):
 *   (no error message)
 * 
 *       "${@}" || die
 * Call stack:
 * 
 * If you need support, post the output of `emerge --info '=dev-python/libvirt-python-1.2.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/libvirt-python-1.2.5::gentoo'`.
 *     ebuild.sh, line   93:  Called src_compile
 * The complete build log is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/environment'.
 *   environment, line 3452:  Called distutils-r1_src_compile
 * Working directory: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 * S: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 *   environment, line 1024:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  268:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3319:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2345:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2288:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2286:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2336:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  680:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1013:  Called distutils-r1_python_compile
 *   environment, line  878:  Called esetup.py 'build'
 *   environment, line 1464:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/libvirt-python-1.2.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/libvirt-python-1.2.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 * S: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
/usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (25860) - No such process

>>> Failed to emerge dev-python/libvirt-python-1.2.5, Log file:

>>>  '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/build.log'

 * Messages for package dev-python/libvirt-python-1.2.5:

 * ERROR: dev-python/libvirt-python-1.2.5::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3452:  Called distutils-r1_src_compile
 *   environment, line 1024:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  268:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3319:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2345:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2288:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2286:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2336:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  680:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1013:  Called distutils-r1_python_compile
 *   environment, line  878:  Called esetup.py 'build'
 *   environment, line 1464:  Called die
 * The specific snippet of code:
 * ERROR: dev-python/libvirt-python-1.2.5::gentoo failed (compile phase):
 *   (no error message)
 * 
 *       "${@}" || die
 * Call stack:
 * 
 * If you need support, post the output of `emerge --info '=dev-python/libvirt-python-1.2.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/libvirt-python-1.2.5::gentoo'`.
 *     ebuild.sh, line   93:  Called src_compile
 * The complete build log is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/environment'.
 *   environment, line 3452:  Called distutils-r1_src_compile
 * Working directory: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 * S: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 *   environment, line 1024:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  268:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3319:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2345:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2288:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2286:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2336:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  680:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1013:  Called distutils-r1_python_compile
 *   environment, line  878:  Called esetup.py 'build'
 *   environment, line 1464:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/libvirt-python-1.2.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/libvirt-python-1.2.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/libvirt-python-1.2.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'
 * S: '/var/tmp/portage/dev-python/libvirt-python-1.2.5/work/libvirt-python-1.2.5'

 * Regenerating GNU info directory index...
 * Processed 131 info files.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.


Reproducible: Always

Steps to Reproduce:
emerge the latest version ofdev-python/libvirt-python.
Actual Results:  
Fails to compile

Expected Results:  
Should correctly compile and install.
Comment 1 Shigapov Ruslan 2014-07-30 02:35:51 UTC
Have the same error.
"emerge --info" and "build.log" - http://bpaste.net/show/524586/
Comment 2 Mirko Guenther 2014-07-30 10:11:28 UTC
same issue with dev-python/libvirt-python-1.2.3
Comment 3 Christian Bricart 2014-07-30 10:50:48 UTC
dev-python/libvirt-python $PV has to be in sync with app-emulation/libvirt $PV ..

So if you have app-emulation/libvirt-1.2.6 you'll also have to bump to dev-python/libvirt-python-1.2.6 
This combination will result in a sucessful merge

Alternatively, downgrade to app-emulation/libvirt-1.2.5 which causes successful build of dev-python/libvirt-python-1.2.5
Comment 4 Ludovic Bellier 2014-07-30 18:36:09 UTC
same pb here.

@Christian: libvirt-1.2.6 is installed, libvirt-python-1.2.5 don't install. libvirt-python-1.2.6 isn't available in my portage tree.

So I understood we should wait an libvirt-python update to 1.2.6
Comment 5 Pawel Kraszewski 2014-07-31 05:54:39 UTC
(In reply to Christian Bricart from comment #3)
> dev-python/libvirt-python $PV has to be in sync with app-emulation/libvirt
> $PV ..
> 
> So if you have app-emulation/libvirt-1.2.6 you'll also have to bump to
> dev-python/libvirt-python-1.2.6 
> This combination will result in a sucessful merge
> 
> Alternatively, downgrade to app-emulation/libvirt-1.2.5 which causes
> successful build of dev-python/libvirt-python-1.2.5

Shouldn't then libvirt-python RDEPEND on exact version of libvirt, instead of (obviously incorrect) >=app-emulation/libvirt-0.9.6 ?
Comment 6 Christian Bricart 2014-07-31 23:10:54 UTC
(In reply to Pawel Kraszewski from comment #5)
> (In reply to Christian Bricart from comment #3)
> [..]
> Shouldn't then libvirt-python RDEPEND on exact version of libvirt, instead
> of (obviously incorrect) >=app-emulation/libvirt-0.9.6 ?

well - I don't know.. one has to check upstream if both packages have to be in sync... But IMHO I would say yes ;)

@Ludovic: just bump the version in your local overlay by copying over libvirt-python-1.2.5.ebuild from the tree and rename it to libvirt-python-1.2.6.ebuild in there (and do the usual overlay stuff ;-))
Comment 7 Ludovic Bellier 2014-08-03 13:20:18 UTC
libvirt-python-1.2.6 is now in the portage tree

*libvirt-python-1.2.6 (03 Aug 2014)
  
  03 Aug 2014; Tobias Klausmann <klausman@gentoo.org>
  +libvirt-python-1.2.6.ebuild:
  Bump to 1.2.6 so libvirt-python compiles against libvirt-1.2.6 (bug 518812)


This bug resolved for me.

This bug is a duplicate of the #518812 (see the above changelog)...
Comment 8 Agostino Sarubbo gentoo-dev 2014-08-04 15:49:16 UTC

*** This bug has been marked as a duplicate of bug 518812 ***