| Summary: | x11-libs/libxcb-1.14 with dev-util/pkgconfig-openbsd fails to build (IndexError: list index out of range) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info output
build log |
||
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.
|
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