Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362405 - www-client/chromium fails to compile without Xinerama
Summary: www-client/chromium fails to compile without Xinerama
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 08:25 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-04-08 11:27 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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-04-07 08:25:35 UTC
I just tried to compile www-client/chromium-12.0.725.0 inside a chroot and got the following error:

content/browser/renderer_host/render_message_filter_gtk.cc:23:37: fatal error: X11/extensions/Xinerama.h: No such file or directorycompilation terminated.

I'm going to identify the range of affected Chromium versions and add needed dependencies.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-04-07 09:00:52 UTC
www-client/chromium-11.0.696.34 is not affected.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-04-07 09:38:24 UTC
Okay, so x11-libs/libXinerama is required during build time, but during run time the browser does dlopen, so then the dependency is optional.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-04-08 06:49:04 UTC
I added the dependency.
Comment 4 Zeev Tarantov 2011-04-08 11:15:49 UTC
Any chance of ifdef'ing out the code? It only being needed during compile time is not much consolation.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-04-08 11:27:49 UTC
(In reply to comment #4)
> Any chance of ifdef'ing out the code? It only being needed during compile time
> is not much consolation.

It's definitely on my list, but I'm not sure when I'll have time to fix that. Patches are welcome (send them upstream please).