running build.sh under gentoo

Matt Dew matt at osource.org
Fri Jun 4 19:33:03 PDT 2010


On Fri, Jun 4, 2010 at 11:04 AM, Matt Turner <mattst88 at gmail.com> wrote:
> On Thu, Jun 3, 2010 at 9:23 PM, Matt Dew <matt at osource.org> wrote:
>> Has anyone had luck getting build.sh to run on gentoo?
>> It's something with gentoo's python I think.   I searched around but no luck.
>>
>> It dies in libxcb.
>>
>> ...
>> ...
>> /usr/bin/python ./c_client.py -p
>> /home/matt/tmp/xorg.buildsh/lib64/python2.6/site-packages
>> /home/matt/tmp/xorg.buildsh/share/xcb/dri2.xml
>> Traceback (most recent call last):
>>  File "./c_client.py", line 1040, in <module>
>>   module.resolve()
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/state.py", line 94, in resolve
>>   item.resolve(self)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/xtypes.py", line
>> 405, in resolve
>>   self.reply.resolve(module)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/xtypes.py", line
>> 369, in resolve
>>   ComplexType.resolve(self, module)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/xtypes.py", line
>> 296, in resolve
>>   type = ListType(child, module.get_type(fkey), self)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/xtypes.py", line
>> 163, in __init__
>>   self.expr = Expression(elts[0] if len(elts) else elt, self)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/expr.py", line 70, in __init__
>>   self.lhs = Expression(list(elt)[0], parent)
>>  File "/usr/lib64/python2.6/site-packages/xcbgen/expr.py", line 71, in __init__
>>   self.rhs = Expression(list(elt)[1], parent)
>>  File "/usr/lib64/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/matt/xorg/modular/xcb/libxcb/src'
>> make: *** [all-recursive] Error 1
>>
>>
>> Matt
>> _______________________________________________
>> xorg-devel at lists.x.org: X.Org development
>> Archives: http://lists.x.org/archives/xorg-devel
>> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>>
>
> The standard way of building X from git on Gentoo is to use the
> ebuilds available in the 'x11' layman overlay. This is a much simpler
> and more maintainable solution.
>
> Matt
>

I'm walking through the build scripts I can find, build.sh, jhbuild,
x-jhbuild, and now Michael's script to test them out from a newbie's
perspective.   I can't use gentoo specific ways.  Thanks for the info
though.

Matt


More information about the xorg-devel mailing list