Opened 15 months ago
Closed 15 months ago
#68027 closed defect (fixed)
xorg-libxcb @1.15_0+python311 build failure: KeyError in c_client.py
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.
Attachments (1)
Change History (9)
Changed 15 months ago by GT-8
comment:1 Changed 15 months ago by jmroot (Joshua Root)
Keywords: | xorg-libxcb failed removed |
---|---|
Owner: | set to jeremyhu |
Port: | xorg-libxcb added |
Status: | new → assigned |
Summary: | Failed to build xorg-libxcb: command execution failed Error code: CHILDSTATUS 71630 2 → xorg-libxcb @1.15_0+python311 build failure: KeyError in c_client.py |
comment:2 Changed 15 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 15 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 15 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.
comment:5 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:6 Changed 15 months ago by GT-8
Description: | modified (diff) |
---|
I got stuck, can someone please advise me on how to install libxcb1.16?
comment:7 Changed 15 months ago by lukaso (Lukas Oberhuber)
I'm seeing this same error on an arm build. https://app.circleci.com/pipelines/github/GNOME/gimp-macos-build/2257/workflows/186799bb-2ae8-46a5-bb66-3db0c449cd13/jobs/13745
:info:build Traceback (most recent call last): :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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> :info:build module.generate() :info:build File "//Users/circleci/macports-gimp2-arm64/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate :info:build item.out(name) :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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 :info:build _c_request_helper(self, name, void=True, regular=False) :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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 :info:build if namecount[tname] > 1: :info:build ~~~~~~~~~^^^^^^^ :info:build KeyError: 'xcb_report_level_t' :info:build /Users/circleci/macports-gimp2-arm64/bin/python3.11 ./c_client.py -c "libxcb 1.15" -l "X Version 11" \ :info:build -s "3" -p //Users/circleci/macports-gimp2-arm64/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages \ :info:build \ :info:build //Users/circleci/macports-gimp2-arm64/share/xcb/xprint.xml :info:build Traceback (most recent call last): :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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> :info:build module.generate() :info:build File "//Users/circleci/macports-gimp2-arm64/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate :info:build item.out(name) :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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 :info:build _c_request_helper(self, name, void=True, regular=False) :info:build File "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_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 :info:build if namecount[tname] > 1: :info:build ~~~~~~~~~^^^^^^^ :info:build KeyError: 'xcb_redirect_t' :info:build make[1]: *** [damage.c] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make[1]: *** [composite.c] Error 1 :info:build make[1]: Leaving directory `/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15/src' :info:build make: *** [all-recursive] Error 1 :info:build make: Leaving directory `/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15' :info:build Command failed: cd "/Users/circleci/macports-gimp2-arm64/var/macports/build/_Users_circleci_macports-gimp2-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build Failed to build xorg-libxcb: command execution failed :debug:build Error code: CHILDSTATUS 54122 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /Users/circleci/macports-gimp2-arm64/var/macports/logs/_Users_circleci_macports-gimp2-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/main.log for details.
comment:8 Changed 15 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Also, no evidence that it's related to this build failure, but:
You might want to upgrade your CLTs to match Xcode. If Software Update won't do it, see ProblemHotlist#reinstall-clt