Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212284 - xf86-video-nv fails due to missing /usr/lib/pkgconfig/xorg-server.pc
Summary: xf86-video-nv fails due to missing /usr/lib/pkgconfig/xorg-server.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 15:12 UTC by Victor Mataré
Modified: 2009-05-06 10:52 UTC (History)
0 users

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


Attachments
config.log (config.log,38.18 KB, text/plain)
2008-03-04 15:13 UTC, Victor Mataré
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2008-03-04 15:12:08 UTC
x11-base/xorg-server-1.3.0.0-r5 on hardened amd64 doesn't install /usr/lib/pkgconfig/xorg-server.pc and thus isn't known to pkgconfig. This leads to xf86-video-nv failing at configure:
[blablabla...]
checking if DPMSExtension is defined... no
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.2 xproto fontsproto ) were not met:

No package 'xorg-server' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
...

I don't know if there's a reason xorg-server doesn't register itself with pkgconfig or if it's just some mistake. Please let me know if there's any rationale behind this, so I might look into fixing it...

Reproducible: Always
Comment 1 Victor Mataré 2008-03-04 15:13:48 UTC
Created attachment 145268 [details]
config.log
Comment 2 Victor Mataré 2008-03-05 16:18:42 UTC
strange, enabling the sdl use flag on xorg-server makes it install /usr/lib/pkgconfig/xorg-server.pc . What does sdl have to do with pkg-config? Well, if this ought to make any sense, xf86-video-nv should print a warning that sdl needs to be enabled on xorg-server...
So I guess this is not a hardened-specific issue...
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-05-06 10:52:42 UTC
xorg-server.pc is now always installed in xorg-server 1.5.3. I didn't check older versions but since it's the latest stable, let's consider the bug fixed.

Thanks