Bug 105020

Summary: libxcb fails to build with xorgproto, a python is failing
Product: XCB Reporter: n3rdopolis <bluescreen_avenger>
Component: LibraryAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED INVALID QA Contact: xcb mailing list dummy <xcb>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description n3rdopolis 2018-02-09 03:22:20 UTC
Hi

I am using libxcb master
And the new xorgproto repo

I am getting this error output. I am sorry about the lenth
libxcb:   GEN      dpms.c
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3142, in c_request
libxcb:     _c_type_setup(self, name, ('request',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3142, in c_request
libxcb:     _c_type_setup(self, name, ('request',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'bigreq.c' failed
libxcb: make[1]: *** [bigreq.c] Error 1
libxcb: make[1]: *** Waiting for unfinished jobs....
libxcb: Makefile:1306: recipe for target 'xc_misc.c' failed
libxcb: make[1]: *** [xc_misc.c] Error 1
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3142, in c_request
libxcb:     _c_type_setup(self, name, ('request',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'dri3.c' failed
libxcb: make[1]: *** [dri3.c] Error 1
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3142, in c_request
libxcb:     _c_type_setup(self, name, ('request',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 2136, in c_struct
libxcb:     _c_type_setup(self, name, ())
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'dpms.c' failed
libxcb: make[1]: *** [dpms.c] Error 1
libxcb: Makefile:1306: recipe for target 'dri2.c' failed
libxcb: make[1]: *** [dri2.c] Error 1
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 2136, in c_struct
libxcb:     _c_type_setup(self, name, ())
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'xproto.c' failed
libxcb: make[1]: *** [xproto.c] Error 1
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3142, in c_request
libxcb:     _c_type_setup(self, name, ('request',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'composite.c' failed
libxcb: make[1]: *** [composite.c] Error 1
libxcb: Traceback (most recent call last):
libxcb:   File "./c_client.py", line 3368, in <module>
libxcb:     module.generate()
libxcb:   File "/usr/lib/python2.7/dist-packages/xcbgen/state.py", line 106, in generate
libxcb:     item.out(name)
libxcb:   File "./c_client.py", line 3282, in c_error
libxcb:     _c_type_setup(self, name, ('error',))
libxcb:   File "./c_client.py", line 440, in _c_type_setup
libxcb:     if field.type.is_event:
libxcb: AttributeError: 'SimpleType' object has no attribute 'is_event'
libxcb: Makefile:1306: recipe for target 'damage.c' failed
libxcb: make[1]: *** [damage.c] Error 1
libxcb: make[1]: Leaving directory '/srcbuild/libxcb/src'
libxcb: Makefile:789: recipe for target 'install-recursive' failed
libxcb: make: *** [install-recursive] Error 1


Thanks
Comment 1 Bart Massey 2018-02-09 04:00:48 UTC
This looks like the second report we've received related to the generic event support in xorgproto? Does someone want to revert that functionality until we can get sorted out what is up? Should I? Or is there something I'm missing?
Comment 2 Adam Jackson 2018-02-14 21:49:03 UTC
(In reply to Bart Massey from comment #1)
> This looks like the second report we've received related to the generic
> event support in xorgproto? Does someone want to revert that functionality
> until we can get sorted out what is up? Should I? Or is there something I'm
> missing?

Building libxcb master against the split protocol packages fails the same way (verified on Fedora 27). So this is not a bug with xorgproto, this is a bug with the generic event support.
Comment 3 Uli Schlachter 2018-02-17 11:08:12 UTC
Can someone tell me what building libxcb has to do with xorgproto? I thought it only uses the XML and Python files from xcb/proto...?
(Disclaimer: I have not heard of this new xorgproto repository before and I am quite certain that there was no mail on the xcb mailing list about it)
Comment 4 n3rdopolis 2018-03-02 01:35:31 UTC
Close this, I am sorry, I needed to build a more recent version of the 'proto' repository

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.