Re: X.Org modular build problem with xcb

2010-07-27 Thread Trevor Woerner
On Mon, Jul 26, 2010 at 9:41 PM, Gaetan Nadon mems...@videotron.ca wrote:
 On Mon, 2010-07-26 at 17:38 -0400, Trevor Woerner wrote:

   File /usr/lib/python2.6/site-packages/xcbgen/state.py, line 94, in
 resolve
     item.resolve(self)

 You need the package xcb-proto-1.2 or later which has an xcbgen sub
 directory which gets installed in /usr/lib/python2.6/site-packages.

Excellent, thank you!

openSUSE 11.3 doesn't have a package called xcb-proto-1.2, but it does
have a package called xorg-x11-proto-devel which includes a whole
bunch of files in /usr/lib/python2.6/site-packages/xcbgen. That
package was already installed on my system; it seems as though having
it installed was the problem. Trying to uninstall it, however, would
also want to uninstall just about every xorg-*-devel package from my
system, which I assume some parts of which I need to build the latest.

So simply renaming python's xcbgen directory to xcbgen.BAK allowed the
build to continue successfully. Thanks for pointing me in the right
direction.

Best regards,
Trevor
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


X.Org modular build problem with xcb

2010-07-26 Thread Trevor Woerner
Hi,

I'm not sure if this is the correct place to post this but I'm trying
to build X.Org from git using the wiki instructions for building the
modular tree found at:
http://xorg.freedesktop.org/wiki/ModularDevelopersGuide

When the util/modular/build.sh script tries to build xcb/libxcb it
fails. The last couple lines of the failure look like this:
Making all in src
make[1]: Entering directory
`/home/trevor/devel/code/xorg.modular/xcb/libxcb/src'
/usr/bin/python ./c_client.py -p
/home/trevor/local/packages/xorg.modular/lib/python2.6/site-packages
/home/trevor/local/packages/xorg.modular/share/xcb/dri2.xml
Traceback (most recent call last):
  File ./c_client.py, line 1040, in module
module.resolve()
  File /usr/lib/python2.6/site-packages/xcbgen/state.py, line 94, in resolve
item.resolve(self)
  File /usr/lib/python2.6/site-packages/xcbgen/xtypes.py, line 405, in resolve
self.reply.resolve(module)
  File /usr/lib/python2.6/site-packages/xcbgen/xtypes.py, line 369, in resolve
ComplexType.resolve(self, module)
  File /usr/lib/python2.6/site-packages/xcbgen/xtypes.py, line 296, in resolve
type = ListType(child, module.get_type(fkey), self)
  File /usr/lib/python2.6/site-packages/xcbgen/xtypes.py, line 163,
in __init__
self.expr = Expression(elts[0] if len(elts) else elt, self)
  File /usr/lib/python2.6/site-packages/xcbgen/expr.py, line 70, in __init__
self.lhs = Expression(list(elt)[0], parent)
  File /usr/lib/python2.6/site-packages/xcbgen/expr.py, line 71, in __init__
self.rhs = Expression(list(elt)[1], parent)
  File /usr/lib/python2.6/site-packages/xcbgen/expr.py, line 84, in __init__
raise Exception('XXX')
Exception: XXX
make[1]: *** [dri2.c] Error 1
make[1]: Leaving directory `/home/trevor/devel/code/xorg.modular/xcb/libxcb/src'
make: *** [all-recursive] Error 1

I've attached the entire build log in case the problem is further up.

This problem is reproducible always, and has been happening to me over
the last couple weeks (in other words it wasn't a quick problem that
appeared in the git repository then was fixed). My base system is the
latest openSUSE 11.3. One person has pointed out to me that this
procedure works if using the latest Ubuntu, so it looks like something
in some openSUSE package appears to be colliding with the build's
expectations. Another person pointed out I could route around the
problem by simply commenting out the xcb build portions, however,
seeing how xcb is a rather important component I was hoping to,
someday, understand it better by being able to tinker with it, which
I can only do if I can build it from source.

Anything obvious I'm doing wrong here?

Best regards,
Trevor


LOG.build.xz
Description: Binary data
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Re: X.Org modular build problem with xcb

2010-07-26 Thread Gaetan Nadon
On Mon, 2010-07-26 at 17:38 -0400, Trevor Woerner wrote:

   File /usr/lib/python2.6/site-packages/xcbgen/state.py, line 94, in
 resolve
 item.resolve(self)
 

You need the package xcb-proto-1.2 or later which has an xcbgen sub
directory which gets installed in /usr/lib/python2.6/site-packages.

I ran into this situation recently, but I don't know anything about xcb.
I hope it helps.


signature.asc
Description: This is a digitally signed message part
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel