Opened 13 months ago

Last modified 13 months ago

#68027 closed defect

xorg-libxcb @1.15_0+python311 build failure: KeyError in c_client.py — at Version 6

Reported by: GT-8 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: xorg-libxcb

Description (last modified by GT-8)

Backtrace: command execution failed while executing "system {*}$notty {*}$callback {*}$nice $fullcmdstring" invoked from within "command_exec -callback portprogress::target_progress_callback build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname"

I first encountered this error when I tried to install ghex, then when installing this port itself. It also says "See /opt/macports-test/var/macports/logs/_opt_macports_macports-ports_x11_xorg-libxcb/xorg-libxcb/main.log for details" (/opt/macports-test/ is my macports directory). Main.log comes attached to this ticket.

Change History (7)

Changed 13 months ago by GT-8

Attachment: main.log added

comment:1 Changed 13 months ago by jmroot (Joshua Root)

Keywords: xorg-libxcb failed removed
Owner: set to jeremyhu
Port: xorg-libxcb added
Status: newassigned
Summary: Failed to build xorg-libxcb: command execution failed Error code: CHILDSTATUS 71630 2xorg-libxcb @1.15_0+python311 build failure: KeyError in c_client.py
:info:build   File "/opt/macports-test/var/macports/build/_opt_macports_macports-ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src/./c_client.py", line 2273, in _c_request_helper
:info:build     if namecount[tname] > 1:
:info:build        ~~~~~~~~~^^^^^^^
:info:build KeyError: 'xcb_redirect_t'

Also, no evidence that it's related to this build failure, but:

:debug:sysinfo Xcode 13.2.1, CLT 12.5.1.0.1.1623191612

You might want to upgrade your CLTs to match Xcode. If Software Update won't do it, see ProblemHotlist#reinstall-clt

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

Cc: cjones051073 added

Seems likely this is related to the recent update of xorg-xcb-proto.

comment:3 Changed 13 months ago by jmroot (Joshua Root)

https://lists.x.org/archives/xorg-announce/2023-August/003415.html

libxcb probably needs to be updated to match xcb-proto.

comment:4 Changed 13 months ago by GT-8

Thanks for the response, but it wasn't the difference in versions between Command line tools and Xcode, gonna try downloading the 1.16 version of libxcb provided by commenter jmroot.

Last edited 13 months ago by GT-8 (previous) (diff)

comment:5 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:6 Changed 13 months ago by GT-8

Description: modified (diff)

I got stuck, can someone please advise me on how to install libxcb1.16?

Note: See TracTickets for help on using tickets.