[sugar] sugar-jhbuild breakage (something to do with expat)
Dan Williams
dcbw at redhat.com
Thu Dec 21 01:33:58 EST 2006
On Thu, 2006-12-21 at 01:20 -0500, Andrew Clunis wrote:
> Hi all,
>
> I crossed my fingers and did a fresh build of Sugar tonight because the
> copy I had was over two weeks old. However, I've run into two snags.
> dbus-python wouldn't build without commenting some lines out (diff
> included, just to show what I did). It was failing with the following message:
The dbus python bindings must be broken in CVS.
Dan
> #
> *** Building dbus-python *** [12/34]
> #
>
> #
> python setup.py build
> #
> running build
> #
> running build_py
> #
> file dbus/introspect_parser.py (for module dbus/introspect_parser) not found
> #
> file dbus/introspect_parser.py (for module dbus/introspect_parser) not found
> #
> running build_ext
> #
> building '_dbus_bindings' extension
> #
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I. -Iinclude -I/home/orospakr/olpc/sugar-jhbuild/build/include/dbus-1.0 -I/home/orospakr/olpc/sugar-jhbuild/build/lib/dbus-1.0/include -I/usr/include/python2.4 -c _dbus_bindings/module.c -o build/temp.linux-i686-2.4/_dbus_bindings/module.o
> #
> _dbus_bindings/module.c:24:20: error: config.h: No such file or directory
> #
> _dbus_bindings/module.c: In function ‘init_dbus_bindings’:
> #
> _dbus_bindings/module.c:359: error: ‘PACKAGE_VERSION’ undeclared (first use in this function)
> #
> _dbus_bindings/module.c:359: error: (Each undeclared identifier is reported only once
> #
> _dbus_bindings/module.c:359: error: for each function it appears in.)
> #
> error: command 'gcc' failed with exit status 1
> #
> *** error during stage build of dbus-python: Error running ['python', 'setup.py', 'build'] *** [12/34]
>
> After commenting out the offending lines and continuing the build, sugar
> wouldn't start, instead emitting this traceback:
>
> orospakr at aegir:~/olpc/sugar-jhbuild$ ./sugar-jhbuild run
> Running the installed sugar...
> error opening security policy file /usr/lib/xserver/SecurityPolicy
> Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c
> xkb_keycodes { include "xfree86+aliases(qwerty)" };
> xkb_types { include "complete" };
> xkb_compatibility { include "complete" };
> xkb_symbols { include "pc(pc101)+us" };
> xkb_geometry { include "pc(pc101)" };
> Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
> Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
> Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
> Traceback (most recent call last):
> File "/home/orospakr/olpc/sugar-jhbuild/build/bin/sugar-shell", line 38, in ?
> from view.Shell import Shell
> File "/home/orospakr/olpc/sugar-jhbuild/build/share/sugar/shell/view/Shell.py", line 22, in ?
> import dbus
> File "/home/orospakr/olpc/sugar-jhbuild/build/lib/python2.4/site-packages/dbus/__init__.py", line 198, in ?
> from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus, Interface
> File "/home/orospakr/olpc/sugar-jhbuild/build/lib/python2.4/site-packages/dbus/_dbus.py", line 39, in ?
> from dbus.proxies import ProxyObject
> File "/home/orospakr/olpc/sugar-jhbuild/build/lib/python2.4/site-packages/dbus/proxies.py", line 28, in ?
> from dbus._expat_introspect_parser import process_introspection_data
> ImportError: No module named _expat_introspect_parser
>
> --
> Regards,
> Andrew Clunis
>
> P.S. I found that etoys/squeak wouldn't checkout because squeakvm.org wouldn't
> resolve.
>
> P.P.S. I apologise for the crappy wrapping. Maybe I'll attach the logs as
> files next time.
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar
More information about the Sugar
mailing list