Discussion:
[Xcb] [Bug 105020] New: libxcb fails to build with xorgproto, a python is failing
b***@freedesktop.org
2018-02-09 03:22:20 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105020

Bug ID: 105020
Summary: libxcb fails to build with xorgproto, a python is
failing
Product: XCB
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Library
Assignee: ***@lists.freedesktop.org
Reporter: ***@verizon.net
QA Contact: ***@lists.freedesktop.org

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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2018-02-09 04:00:48 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105020

--- Comment #1 from Bart Massey <***@po8.org> ---
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?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2018-02-14 21:49:03 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105020

--- Comment #2 from Adam Jackson <***@nwnk.net> ---
(In reply to Bart Massey from comment #1)
Post by b***@freedesktop.org
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Bart Massey
2018-02-15 00:43:53 UTC
Permalink
Can we just revert patches for now or does something depend on them?
*Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=105020#c2> on
bug 105020 <https://bugs.freedesktop.org/show_bug.cgi?id=105020> from Adam
(In reply to Bart Massey from comment #1 <https://bugs.freedesktop.org/show_bug.cgi?id=105020#c1>)
Post by b***@freedesktop.org
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.
------------------------------
- You are the QA Contact for the bug.
- You are the assignee for the bug.
_______________________________________________
Xcb mailing list
https://lists.freedesktop.org/mailman/listinfo/xcb
Uli Schlachter
2018-02-17 11:08:58 UTC
Permalink
These bug reports confuse me, so: Which patches in which repository do
you want to revert? What causes this issue anyway?

What is xorgproto anyway?
Post by Bart Massey
Can we just revert patches for now or does something depend on them?
*Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=105020#c2> on
bug 105020 <https://bugs.freedesktop.org/show_bug.cgi?id=105020> from Adam
(In reply to Bart Massey from comment #1 <https://bugs.freedesktop.org/show_bug.cgi?id=105020#c1>)
Post by b***@freedesktop.org
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.
------------------------------
- You are the QA Contact for the bug.
- You are the assignee for the bug.
_______________________________________________
Xcb mailing list
https://lists.freedesktop.org/mailman/listinfo/xcb
_______________________________________________
Xcb mailing list
https://lists.freedesktop.org/mailman/listinfo/xcb
--
A learning experience is one of those things that say,
'You know that thing you just did? Don't do that.'
-- Douglas Adams
Alan Coopersmith
2018-02-17 15:40:36 UTC
Permalink
Post by Uli Schlachter
These bug reports confuse me, so: Which patches in which repository do
you want to revert? What causes this issue anyway?
What is xorgproto anyway?
It's the merger of all the old per-extension protocol headers for Xlib
apps into a single repo, mirroring what xcb has with xcb-proto.

I also can't understand why it would have any effect on libxcb, especially
as it should have nothing that wasn't in the individual protocol repos,
Post by Uli Schlachter
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.
--
-Alan Coopersmith- ***@oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/alanc
b***@freedesktop.org
2018-02-17 11:08:12 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105020

--- Comment #3 from Uli Schlachter <***@znc.in> ---
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)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2018-03-02 01:35:31 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105020

n3rdopolis <***@verizon.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED

--- Comment #4 from n3rdopolis <***@verizon.net> ---
Close this, I am sorry, I needed to build a more recent version of the 'proto'
repository
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
Loading...