[Pkg-libvirt-maintainers] Bug#681791: hivex: FTBFS with Python 3.3: error: python3.3mu is not installed

Jakub Wilk jwilk at debian.org
Mon Jul 16 15:57:28 UTC 2012


Source: hivex
Version: 1.3.6-2
Severity: important
Tags: sid
User: debian-python at lists.debian.org
Usertags: python3.3

hivex FTBFS if built against Python 3.3:
| checking for python... python3.3
| checking Python prefix... /usr
| checking Python version... 3.3
| checking for Python include path... /usr/include/python3.3m
| checking for Python site-packages path... /usr/lib/python3/dist-packages
| checking for PyList_Size in -lpython3.3mu... no
| configure: error: in `/build/hivex-I4CMnl/hivex-1.3.6/debian/build-python3.3':
| configure: error: python3.3mu is not installed
| See `config.log' for more details
| dh_auto_configure: ../../configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=${prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking PYTHON=python3.3 OCAMLC=no PERL=no RUBY=no RAKE=no returned exit code 1
| make[1]: *** [override_dh_auto_configure] Error 2

I believe that this is because of this part of the configure script:

     dnl Look for libpython and some optional symbols in it.
     old_LIBS="$LIBS"
     if test "x$PYTHON_VERSION_MAJOR" = "x3"; then
         dnl libpython3 is called "libpython3.Xmu.so"
         LIBPYTHON="python${PYTHON_VERSION}mu"
     else
         LIBPYTHON="python$PYTHON_VERSION"
     fi

However, the ABI tag (i.e., the part between version number and the .so 
extension) is not necessarily "mu". For Python 3.3 in Debian it's 
currently "m". You can use this command to query for the ABI tag:

python3.X-config --abiflags

-- 
Jakub Wilk



More information about the Pkg-libvirt-maintainers mailing list