Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range make[1]: *** [Makefile:1406: xc_misc.c] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1406: xproto.c] Error 1 make[1]: *** [Makefile:1406: dpms.c] Error 1 make[1]: *** [Makefile:1406: damage.c] Error 1 make[1]: *** [Makefile:1406: bigreq.c] Error 1 make[1]: *** [Makefile:1406: dri2.c] Error 1 make[1]: *** [Makefile:1406: composite.c] Error 1 Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py", line 3361, in <module> module = Module(args[0], output) IndexError: list index out of range make[1]: *** [Makefile:1406: present.c] Error 1 make[1]: *** [Makefile:1406: dri3.c] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14-abi_x86_64.amd64/src' make: *** [Makefile:792: all-recursive] Error 1 * ERROR: x11-libs/libxcb-1.14::gentoo failed (compile phase): * emake failed
Created attachment 662074 [details] emerge --info output
Created attachment 662077 [details] build log
It seems that slash gets stripped somewhere in parameters to c_client.py call. <mgorny> dilfridge: when i build it, i have '-p /' there, and double slash in .xml path <mgorny> in your log, there's '-p' without argument, and single slash in .xml path <mgorny> so the .xml path is taken as argument to -p, and args[0] is indeed missing
The Makefile: $(EXTSOURCES): c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml) $(AM_V_GEN)$(PYTHON) $(srcdir)/c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \ -s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) \ $(C_CLIENT_PY_EXTRA_ARGS) \ $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml) The build log: /usr/bin/python3.7 /var/tmp/portage/x11-libs/libxcb-1.14/work/libxcb-1.14/src/c_client.py -c "libxcb 1.14" -l "X Version 11" \ -s "3" -p \ \ /usr/share/xcb/xproto.xml
in /usr/lib64/pkgconfig/xcb-proto.pc : xcbincludedir=${pc_sysrootdir}${datadir}/xcb pythondir=${pc_sysrootdir} Seems like dev-util/pkgconf returns "/" as ${pc_sysrootdir}, while dev-util/pkgconfig-openbsd returns "" ... Glad that it's already gone.