Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523270 - x11-base/xorg-server installs xorg-server.pc file which cannot be used without some dependencies (which are only set as build dependencies in the ebuild)
Summary: x11-base/xorg-server installs xorg-server.pc file which cannot be used withou...
Status: RESOLVED DUPLICATE of bug 379545
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 22:09 UTC by Paweł Stankowski
Modified: 2014-09-21 22:00 UTC (History)
0 users

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


Attachments
Proposed fix (xorg-server-1.15_fixed_RDEPENDS.patch,1.99 KB, patch)
2014-09-19 22:14 UTC, Paweł Stankowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Stankowski 2014-09-19 22:09:16 UTC
Initially I had a problem when emerging x11-drivers/xf86-video-intel-2.21.15 package:
configure:19378: checking for XORG
configure:19385: $PKG_CONFIG --exists --print-errors "xorg-server >= $required_x
org_server_version xproto fontsproto pixman-1 >= $required_pixman_version $REQUI
RED_MODULES"
Package scrnsaverproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `scrnsaverproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'scrnsaverproto', required by 'xorg-server', not found

It appears, that xorg-server.pc file has following text inside:
Requires.private: xproto >= 7.0.22 randrproto >= 1.4.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto pixman-1 >= 0.27.2 videoproto scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 dri2proto >= 2.8 dri3proto >= 1.0 presentproto >= 1.0 xineramaproto pciaccess >= 0.12.901

So all of these dependencies should be set in RDEPEND rather than DEPEND list.

I've found that problem on stable (1.15.0) version, but it exists also in the newest ebuild.

Reproducible: Always

Steps to Reproduce:
1. Take gentoo installation with relatively small number of packages emerged
2. install xorg-clean
3. emerge --depclean --with-bdeps=n
4. pkg-config --exists --print-errors "xorg-server"
Actual Results:  
Package scrnsaverproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `scrnsaverproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'scrnsaverproto', required by 'xorg-server', not found

Expected Results:  
Empty output
Comment 1 Paweł Stankowski 2014-09-19 22:14:15 UTC
Created attachment 385148 [details, diff]
Proposed fix

Dependencies were nearly in alphabetical order, so moved dependencies were reordered to fix some exceptions of alphabetical order.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-09-21 22:00:19 UTC

*** This bug has been marked as a duplicate of bug 379545 ***