Skip to contentSkip to conversation

Help with bitebaking latest python-dbus

DISCUSSION Nicolas FR 2 participants 3 messages Oct 11, 2006 – Oct 13, 2006

lore
Share & tools
lore

Nicolas FR

author
#0 lore raw

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)

#1 lore raw

Am Mittwoch, den 11.10.2006, 22:46 +0200 schrieb Nicolas FR:

Quoted 3 lines

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?

Add a bug and I'll have a look over the weekend. (pretty busy atm.)

Quoted 2 lines

sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)

This is a mismatch of swig and Distutils -- perhaps we need to upgrade (or downgrade) either one. It might be worth checking in the swig changelog whether something changed.

Signature · 3 lines
Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de