#68037 closed defect (duplicate)

xorg-libxcb @1.15: KeyError(s) from python code namecount[tname] during compile

Reported by: jgrg (James Gilbert) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xorg-libxcb

Description (last modified by jgrg (James Gilbert))

I've compiled MacPorts from source for installing in my home directory.

Compiling xorg-libxcb fails with KeyError(s) from python:

Traceback (most recent call last):
  File "/Users/jgrg/MacPorts/var/macports/build/_Users_jgrg_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 3394, in <module>
  File "//Users/jgrg/MacPorts/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate
/Users/jgrg/MacPorts/bin/python3.11 ./c_client.py   -c "libxcb 1.15" -l "X Version 11" \
        -s "3" -p //Users/jgrg/MacPorts/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages \
         \
        //Users/jgrg/MacPorts/share/xcb/record.xml
    item.out(name)
  File "/Users/jgrg/MacPorts/var/macports/build/_Users_jgrg_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 3198, in c_request
    module.generate()
  File "//Users/jgrg/MacPorts/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate
    item.out(name)
  File "/Users/jgrg/MacPorts/var/macports/build/_Users_jgrg_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 3198, in c_request
    _c_request_helper(self, name, void=True, regular=False)
  File "/Users/jgrg/MacPorts/var/macports/build/_Users_jgrg_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 2273, in _c_request_helper
    _c_request_helper(self, name, void=True, regular=False)
  File "/Users/jgrg/MacPorts/var/macports/build/_Users_jgrg_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 2273, in _c_request_helper
    if namecount[tname] > 1:
       ~~~~~~~~~^^^^^^^
KeyError: 'xcb_redirect_t'
    if namecount[tname] > 1:
       ~~~~~~~~~^^^^^^^
KeyError: 'xcb_report_level_t'
make[1]: *** [damage.c] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [composite.c] Error 1

Attachments (1)

main.log (30.9 KB) - added by jgrg (James Gilbert) 15 months ago.
main.log file from failed compilation

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by jgrg (James Gilbert)

Attachment: main.log added

main.log file from failed compilation

comment:1 Changed 15 months ago by jgrg (James Gilbert)

Description: modified (diff)
Summary: xorg-libxcb @1.15: KeyError from python code namecount[tname] during compilexorg-libxcb @1.15: KeyError(s) from python code namecount[tname] during compile

comment:2 Changed 15 months ago by jmroot (Joshua Root)

Keywords: xcb libxcb removed
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.