Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528230 - x11-base/xorg-server-1.16.1 USE=kdrive automagically depends on x11-libs/xcb-util-*
Summary: x11-base/xorg-server-1.16.1 USE=kdrive automagically depends on x11-libs/xcb-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 14:22 UTC by Ruslan Savchenko
Modified: 2015-02-22 02:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg-server-1.16.1-without-xcb-utils.build.log.bz2 (xorg-server-1.16.1-without-xcb-utils.build.log.bz2,36.99 KB, application/x-bzip)
2014-11-04 14:24 UTC, Ruslan Savchenko
Details
xorg-server-1.16.1-with-xcb-utils.build.log.bz2 (xorg-server-1.16.1-with-xcb-utils.build.log.bz2,37.74 KB, application/x-bzip)
2014-11-04 14:26 UTC, Ruslan Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Savchenko 2014-11-04 14:22:01 UTC
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
Comment 1 Ruslan Savchenko 2014-11-04 14:24:38 UTC
Created attachment 388528 [details]
xorg-server-1.16.1-without-xcb-utils.build.log.bz2
Comment 2 Ruslan Savchenko 2014-11-04 14:26:15 UTC
Created attachment 388530 [details]
xorg-server-1.16.1-with-xcb-utils.build.log.bz2
Comment 3 Ruslan Savchenko 2014-11-04 16:25:22 UTC
(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.
Comment 4 Pacho Ramos gentoo-dev 2015-01-18 11:07:16 UTC
Should a xephyr USE be added to control this or we don't want it to be optional with kdrive is enabled?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-01-21 18:05:53 UTC
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.
Comment 6 Pacho Ramos gentoo-dev 2015-01-22 10:15:55 UTC
should then we also pass $(use_enable kdrive xephyr) to ensure xephyr is always built?
Comment 7 Matt Turner gentoo-dev 2015-01-22 23:36:07 UTC
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.
Comment 8 Pacho Ramos gentoo-dev 2015-01-23 09:45:42 UTC
What should we do for 1.16.x? (please not this is blocking the xorg stabilization bug for December ;))
Comment 9 Matt Turner gentoo-dev 2015-01-23 20:41:13 UTC
(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?
Comment 10 Pacho Ramos gentoo-dev 2015-01-24 09:39:53 UTC
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 ;)
Comment 11 Pacho Ramos gentoo-dev 2015-01-27 10:28:37 UTC
(drop the blocker as talked with chithead on IRC :)
Comment 12 Matt Turner gentoo-dev 2015-02-22 02:49:43 UTC
I've added proper dependencies for IUSE=xephyr to 1.17.1 and 9999.