[oe] Help with bitebaking latest python-dbus

Nicolas FR nicolasfr at gmail.com
Wed Oct 11 20:46:25 UTC 2006


I am trying to bitbake python-dbus_0.71 with a simple bb, but I am
stuck on a cryptic error (seems to lie in how distutils tries to
compile the package). Could someone help me building this new version?

Here is the bb recipe:
---------------
DESCRIPTION = "Python bindings for DBus, a socket-based message bus
system for interprocess communication"
SECTION = "devel/python"
HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
LICENSE = "GPL"
DEPENDS = "python"
RDEPENDS = "dbus"
PR = "r0"

SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python-${PV}.tar.gz"
S = "${WORKDIR}/dbus-python-${PV}"

inherit distutils
---------------

and the error:

running build
running build_py
running build_ext
NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded
building 'dbus/dbus_bindings' extension
Traceback (most recent call last):
  File "setup.py", line 151, in ?
    cmdclass={'build_ext': build_ext, 'clean': full_clean, 'check':
dbus_python_check}
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/core.py",
line 149, in setup
    dist.run_commands()
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/dist.py",
line 946, in run_commands
    self.run_command(cmd)
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/dist.py",
line 966, in run_command
    cmd_obj.run()
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/command/build.py",
line 112, in run
    self.run_command(cmd_name)
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/cmd.py",
line 333, in run_command
    self.distribution.run_command(command)
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/dist.py",
line 966, in run_command
    cmd_obj.run()
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/command/build_ext.py",
line 279, in run
    self.build_extensions()
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/command/build_ext.py",
line 405, in build_extensions
    self.build_extension(ext)
  File "/opt/OE/build/tmp.openzaurus/staging/lib/python2.4/distutils/command/build_ext.py",
line 442, in build_extension
    sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)




More information about the Openembedded-devel mailing list