Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533906 - x11-libs/libxcb-1.11 should not install Xevie and Xprint headers
Summary: x11-libs/libxcb-1.11 should not install Xevie and Xprint headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 11:51 UTC by Tobias Schmid
Modified: 2017-03-04 19:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Schmid 2014-12-29 11:51:56 UTC
In libxcb-1.11 the Xevie and Xprint extensions got removed with the patch libxcb-1.11-xevie-xprint_removal.patch. At the same time the two header files:
/usr/include/xcb/xevie.h 
/usr/include/xcb/xprint.h
are still installed.

$ equery belongs /usr/include/xcb/xprint.h  
 * Searching for /usr/include/xcb/xprint.h ...
x11-libs/libxcb-1.11 (/usr/include/xcb/xprint.h)

$ equery belongs /usr/include/xcb/xevie.h 
 * Searching for /usr/include/xcb/xevie.h ... 
x11-libs/libxcb-1.11 (/usr/include/xcb/xevie.h

This causes some other packages like libkscreen fail to build. The reason is, the cmake script finds the header file and thinks the extensions are available and so it tries to link against them. Please prevent these two header files to be installed.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2014-12-29 15:45:06 UTC
Looking at it, though the broken packages could/should look at xcb-*.pc files / pkg-config to see if xcb libraries are available. Use pkg-config is mandatory in the X.org world nowadays.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2014-12-30 00:30:12 UTC
Fixed in 1.11-r1. Will send the patch upstream later. Please test it.

Thanks
Comment 3 Tobias Schmid 2014-12-30 13:54:12 UTC
The header files aren't installed anymore and libkscreen compiles as expected. Looks good to me. Thanks for the fast fix.
Comment 4 Matt Turner gentoo-dev 2015-02-21 20:02:31 UTC
(In reply to Rémi Cardona from comment #2)
> Fixed in 1.11-r1. Will send the patch upstream later. Please test it.
> 
> Thanks

Do that, please :)
Comment 5 Matt Turner gentoo-dev 2017-03-04 19:21:46 UTC
The patch went upstream in commit 966fba6ba48, available in 1.12.