Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371545 - emerge-wrapper: emerging www-client/chromium-12.0.742.91 doesn't pull x11-libs/libXinerama which is in DEPEND
Summary: emerge-wrapper: emerging www-client/chromium-12.0.742.91 doesn't pull x11-lib...
Status: RESOLVED DUPLICATE of bug 286040
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 03:34 UTC by Patrick
Modified: 2011-06-14 18:23 UTC (History)
1 user (show)

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 Patrick 2011-06-14 03:34:30 UTC
chromium fails to compile without files from x11-libs/libXinerama.

In the below output, notice the failure due to "'XineramaScreenInfo' was not declared in this scope". Line 23 of content/browser/renderer_host/render_message_filter_gtk.cc has a #include for X11/extensions/Xinerama.h which provides this. However this header file is provided by libXinerama which the chromium ebuild does not have a depend on.



  armv7a-unknown-linux-gnueabi-g++ '-DNO_TCMALLOC' '-DNO_HEAPCHECKER' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DGL_GLEXT_PROTOTYPES' '-DSK_BUILD_NO_IMAGE_ENCODE' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DGR_AGGRESSIVE_SHADER_OPTS=1' '-DUSE_SYSTEM_FLAC' '-DUSE_SYSTEM_SPEEX' '-DUSE_SYSTEM_ZLIB' '-DU_USING_ICU_NAMESPACE=0' '-DUSE_SYSTEM_ICU' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Igpu -Iout/Release/obj/gen/app/app_resources -Iskia/config -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/include/gpu -Ithird_party/skia/include/ports -Ithird_party/skia/gpu/include -Iskia/ext -Ithird_party/npapi -Ithird_party/npapi/bindings -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-abi -MMD -MF out/Release/.deps/out/Release/obj.target/content_browser/content/browser/renderer_host/render_widget_fullscreen_host.o.d.raw -O2 -pipe -mcpu=cortex-a9 -fomit-frame-pointer -fno-tree-sink -c -o out/Release/obj.target/content_browser/content/browser/renderer_host/render_widget_fullscreen_host.o content/browser/renderer_host/render_widget_fullscreen_host.cc
content/browser/renderer_host/render_message_filter_gtk.cc: In member function 'void RenderMessageFilter::OnGetScreenInfo(gfx::NativeViewId, WebKit::WebScreenInfo*)':
content/browser/renderer_host/render_message_filter_gtk.cc:78: error: 'XineramaScreenInfo' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:78: error: 'screen_info' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:83: error: ISO C++ forbids declaration of 'Bool' with no type
content/browser/renderer_host/render_message_filter_gtk.cc:83: error: typedef 'Bool' is initialized (use decltype instead)
content/browser/renderer_host/render_message_filter_gtk.cc:83: error: 'XineramaIsActiveFunction' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:84: error: expected initializer before '*' token
content/browser/renderer_host/render_message_filter_gtk.cc:87: error: expected ';' before 'is_active'
content/browser/renderer_host/render_message_filter_gtk.cc:90: error: 'XineramaQueryScreensFunction' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:90: error: expected ';' before 'query_screens'
content/browser/renderer_host/render_message_filter_gtk.cc:94: error: 'is_active' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:94: error: 'query_screens' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:112: error: 'target_screen' was not declared in this scope
content/browser/renderer_host/render_message_filter_gtk.cc:119: error: 'XFree' was not declared in this scope
  armv7a-unknown-linux-gnueabi-g++ '-DNO_TCMALLOC' '-DNO_HEAPCHECKER' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DGL_GLEXT_PROTOTYPES' '-DSK_BUILD_NO_IMAGE_ENCODE' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DGR_AGGRESSIVE_SHADER_OPTS=1' '-DUSE_SYSTEM_FLAC' '-DUSE_SYSTEM_SPEEX' '-DUSE_SYSTEM_ZLIB' '-DU_USING_ICU_NAMESPACE=0' '-DUSE_SYSTEM_ICU' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Igpu -Iout/Release/obj/gen/app/app_resources -Iskia/config -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/include/gpu -Ithird_party/skia/include/ports -Ithird_party/skia/gpu/include -Iskia/ext -Ithird_party/npapi -Ithird_party/npapi/bindings -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-abi -MMD -MF out/Release/.deps/out/Release/obj.target/content_browser/content/browser/renderer_host/render_widget_helper.o.d.raw -O2 -pipe -mcpu=cortex-a9 -fomit-frame-pointer -fno-tree-sink -c -o out/Release/obj.target/content_browser/content/browser/renderer_host/render_widget_helper.o content/browser/renderer_host/render_widget_helper.cc
make: *** [out/Release/obj.target/content_browser/content/browser/renderer_host/render_message_filter_gtk.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: www-client/chromium-12.0.742.91 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 6052:  Called die
 * The specific snippet of code:
 *       emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die;
 * 
 * If you need support, post the output of 'emerge --info =www-client/chromium-12.0.742.91',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-12.0.742.91'.
 * The complete build log is located at '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/temp/build.log'.
 * The ebuild environment file is located at '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/temp/environment'.
 * S: '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/work/chromium-12.0.742.91'

>>> Failed to emerge www-client/chromium-12.0.742.91 for /usr/armv7a-unknown-linux-gnueabi/, Log file:

>>>  '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/temp/build.log'

 * Messages for package www-client/chromium-12.0.742.91 merged to /usr/armv7a-unknown-linux-gnueabi/:

 * Unable to find kernel sources at /usr/armv7a-unknown-linux-gnueabi/usr/src/linux
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * ERROR: www-client/chromium-12.0.742.91 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 6052:  Called die
 * The specific snippet of code:
 *       emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die;
 * 
 * If you need support, post the output of 'emerge --info =www-client/chromium-12.0.742.91',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-12.0.742.91'.
 * The complete build log is located at '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/temp/build.log'.
 * The ebuild environment file is located at '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/temp/environment'.
 * S: '/usr/armv7a-unknown-linux-gnueabi/tmp/portage/www-client/chromium-12.0.742.91/work/chromium-12.0.742.91'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Reproducible: Always

Steps to Reproduce:
1. emerge chromium without libXinerama



Portage 2.1.9.42 (default/linux/arm/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 09 Jun 2011 17:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -mcpu=cortex-a9 -fomit-frame-pointer"
CHOST="armv7a-unknown-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -mcpu=cortex-a9 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo http://ftp.gtlib.cc.gatech.edu/pub/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/armv7a-unknown-linux-gnueabi//packages/"
PORTAGE_BZIP2_COMMAND="/bin/bzip2"
PORTAGE_CONFIGROOT="/usr/armv7a-unknown-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/armv7a-unknown-linux-gnueabi//tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl arm bindist bluetooth bzip2 cli cracklib crypt cxx dbus dhcpcd embedded fortran gdbm gpsd iconv make-symlinks minimal modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd udev unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="nmea sirf" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="pvr-omap4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-14 09:42:31 UTC
At least on my system, chromium-12.0.742.91.ebuild:

DEPEND="${RDEPEND}
    dev-lang/perl
    >=dev-util/gperf-3.0.3
    >=dev-util/pkgconfig-0.23
    sys-devel/flex
    >=sys-devel/make-3.81-r2
    x11-libs/libXinerama
    test? (
        dev-python/pyftpdlib
        dev-python/simplejson
        virtual/krb5
    )"
Comment 2 Patrick 2011-06-14 13:47:41 UTC
Hrm, so it does, missed that. Then theres something going on with regards to cross compiling because that dep wasnt automatically pulled in.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-14 14:35:01 UTC
(In reply to comment #2)
> Hrm, so it does, missed that. Then theres something going on with regards to
> cross compiling because that dep wasnt automatically pulled in.

How are you compiling chromium (command line please)?
Comment 4 Patrick 2011-06-14 14:36:13 UTC
emerge-wrapper --init
armv7a-unknown-linux-gnueabi-emerge chromium
Comment 5 SpanKY gentoo-dev 2011-06-14 18:23:29 UTC

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