[Xcb] libxcb build broken
Knut Petersen
Knut_Petersen at t-online.de
Wed Apr 27 09:00:30 PDT 2011
Hi!
Trying to rebuild the Xorg modular tree I see the following
error:
Making all in src
make[1]: Entering directory `/home/knut/git/xcb/libxcb/src'
/usr/bin/python ./c_client.py -p /home/knut/local/lib/python2.7/site-packages /home/knut/local/share/xcb/xproto.xml
Traceback (most recent call last):
File "./c_client.py", line 2315, in <module>
module.generate()
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 101, in generate
item.out(name)
File "./c_client.py", line 1788, in c_struct
_c_type_setup(self, name, ())
File "./c_client.py", line 301, in _c_type_setup
if self.is_switch:
AttributeError: 'Struct' object has no attribute 'is_switch'
make[1]: *** [xproto.c] Fehler 1
make[1]: Leaving directory `/home/knut/git/xcb/libxcb/src'
make: *** [all-recursive] Fehler 1
build.sh: "make " failed on xcb/libxcb
build.sh: error processing module/component: "xcb/libxcb"
The Xorg git tree is up to date.
My build script:
export PREFIX=/home/knut/local
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.6/site-packages
util/modular/build.sh -p -g $PREFIX --autoresume built-modules.txt --confflags "--disable-runtime-deps --disable-gallium"
That failed. I tried
export PREFIX=/home/knut/local
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.6/site-packages
util/modular/build.sh $PREFIX -a --cmd "make clean"
util/modular/build.sh $PREFIX -a -n --cmd "make realclean"
util/modular/build.sh $PREFIX -a -n --cmd "git reset --hard"
and then the build script. That failed again with the same error.
An additional check showed that the source of every module is up to date.
The python version is 2.7, distribution is opensuse 11.4
with current drm-intel-staging kernel.
I'm sure that I miss something obvious, but I don't see it.
Could someone be so kind to help?
cu,
Knut
More information about the Xcb
mailing list