Created attachment 119202 [details] build log dbus-python compiles fine with python2, but when I configure it with PYTHON=python3, I get a bajillion warnings and a couple of errors: abstract.c:626:35: error: ‘PyInt_Type’ undeclared (first use in this function) DBusPyIntBase_Type.tp_base = &PyInt_Type; ^ abstract.c:640:35: error: ‘PyString_Type’ undeclared (first use in this function) DBusPyStrBase_Type.tp_base = &PyString_Type; ^ Makefile:402: recipe for target 'abstract.lo' failed It builds fine if PYTHON=python3 is not added to the configure line. I am going to attach the entire build log since there is various scary stuff in the build log (looks like a missing include file somewhere, but also there seem to be python files that use python2-style exceptions). I've spent almost no time looking at this; only filing this bug because it was requested.
Well I just noticed that we are building dbus-python 0.83.1 (I am using GNOME jhbuild, and this is the latest version in gnome-world), which is very old. So maybe it's not worth looking at this bug.
(In reply to Michael Catanzaro from comment #1) > Well I just noticed that we are building dbus-python 0.83.1 Please update the jhbuild metadata to either update or remove dbus-python. That version is from 2010. Python 3 support was added in 1.0.0 (early 2012), and the current version is 1.2.0 (mid 2013). There seems little point in having metadata to compile a 5 year old version with known-and-fixed bugs.
I'm just going to leave it be, since it's in the gnome-world moduleset, which we don't maintain; there is way too much broken stuff in there to try fixing everything. I will keep this in mind though in case we ever decide to move it. Sorry for the bogus bug report!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.