Different sources on the internet say that you need to add kdrive USE flag to x11-base/xorg-server package in order to build Xephyr. It turned out that xcb-utils* packages are required. When I've tried to run x11-base/xorg-xserver configure with --enable-xephyr, it failed: configure: error: Package requirements (xau xdmcp xcb xcb-shape xcb-aux xcb-image xcb-icccm xcb-shm xcb-keysyms xcb-xv libdrm xcb-glx xcb-xf86dri > 1.6) were not met: No package 'xcb-image' found No package 'xcb-icccm' found No package 'xcb-keysyms' found So I realized that xephyr depends on xcb-utils*. Ater I did 1. emerge xcb-utils localhost x11-base # emerge -vD xcb-util These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/xcb-util-0.3.9-r1 USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] x11-libs/xcb-util-image-0.3.9-r1 USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] x11-libs/xcb-util-renderutil-0.3.9-r1 USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] x11-libs/xcb-util-keysyms-0.3.9-r1 USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] x11-libs/xcb-util-wm-0.4.1-r1 USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB 2. added xnest USE flag for x11-base/xorg-xserver 3. emerge -1 xorg-server Xephyr is present. Reproducible: Always Steps to Reproduce: 1. emerge -C xcb-util-renderutil xcb-util-wm xcb-util-keysyms xcb-util-image 2. emerge -1 xorg-server 3. ls /usr/bin/Xephyr Actual Results: ls: cannot access /usr/bin/Xephyr: No such file or directory Expected Results: -rwxr-xr-x 1 root root 2355536 Nov 4 17:02 /usr/bin/Xephyr
Created attachment 388528 [details] xorg-server-1.16.1-without-xcb-utils.build.log.bz2
Created attachment 388530 [details] xorg-server-1.16.1-with-xcb-utils.build.log.bz2
(In reply to Ruslan Savchenko from comment #0) > 2. added xnest USE flag for x11-base/xorg-xserver Sorry about that. Should be read as kdrive USE flag.
Should a xephyr USE be added to control this or we don't want it to be optional with kdrive is enabled?
Adding the xcb-util-* dependencies is probably the way to go. If someone has a use case to build kdrive without xephyr, a separate enhancement bug would be the best idea.
should then we also pass $(use_enable kdrive xephyr) to ensure xephyr is always built?
I've pushed a patch that adds a xephyr USE flag to xorg-server-9999 in the overlay. I don't think the dependencies are quite right though.
What should we do for 1.16.x? (please not this is blocking the xorg stabilization bug for December ;))
(In reply to Pacho Ramos from comment #8) > What should we do for 1.16.x? (please not this is blocking the xorg > stabilization bug for December ;)) Sorry, I don't understand. Do you want me to fix this for 1.16.x as well?
Well, at some point this was considered as a blocker for bug 530652 then, we would need to fix it if possible. On the other hand if you think it's not safe enough and not a real blocker we can also drop the block :/ (but I am not a X11 team member ;)
(drop the blocker as talked with chithead on IRC :)
I've added proper dependencies for IUSE=xephyr to 1.17.1 and 9999.