Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512224 - net-libs/webkit-gtk-2.2.6 - In file included from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:39: /usr/include/GL/glext.h:6152:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr'
Summary: net-libs/webkit-gtk-2.2.6 - In file included from Source/WebCore/platform/gra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 02:02 UTC by Andrius Štikonas
Modified: 2014-07-17 01:12 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,162.22 KB, application/x-xz)
2014-06-03 02:02 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2014-06-03 02:02:56 UTC
Created attachment 378122 [details]
build.log.xz

webkit-gtk:3 fails to build with the following error message:


/usr/include/GL/glext.h:6152:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr'
In file included from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:32:0:
./Source/ThirdParty/ANGLE/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'
In file included from /usr/include/GL/gl.h:2085:0,
                 from /usr/include/GL/glx.h:32,
                 from /usr/include/cairo/cairo-gl.h:96,
                 from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:39:
/usr/include/GL/glext.h:6153:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr'
In file included from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:32:0:
./Source/ThirdParty/ANGLE/include/GLES2/gl2.h:39:26: error: 'GLsizeiptr' has a previous declaration as 'typedef khronos_ssize_t GLsizeiptr'

[ebuild  r  U  ] net-libs/webkit-gtk-2.2.6:3/29 [1.10.2-r300:3/3] USE="egl%* geoloc gles2%* gstreamer introspection jit spell webgl (-aqua) -coverage -debug -libsecret% -opengl% {-test}" 0 kB


Portage 2.2.8-r1 (default/linux/arm/13.0/armv7a, gcc-4.7.3, glibc-2.17, 3.8.13.23 armv7l)
=================================================================
System uname: Linux-3.8.13.23-armv7l-with-gentoo-2.2
KiB Mem:     2070800 total,    622504 free
KiB Swap:    2104316 total,   1954088 free
Timestamp of tree: Mon, 02 Jun 2014 18:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunxi
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunxi"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi aio alsa apache2 apng archive arm authdaemond authlib autoipd avahi bash-completion bazaar berkdb bindist bittorrent bogofilter bookmarks branding btrfs bugzilla bzip2 c++0x cairo cdda cgi chappa chatzilla chm cli clucene cmake color colordiff context cracklib crypt cryptsetup cups curl custom-optimization cvs cxx d dbus declarative deflate device-mapper dhcpd dirac djvu dot dovecot-sasl downloadorder dri drm dts dvi dvi2tty dvipdfm dynamic eap-sim ebook edit egl eigen emacs embedded enchant encode exif extensions extra extra-algorithms fakevim fam farstream fat ffmpeg fftw flac fontconfig fontforge foomaticdb fortran fortran2003 fortran95 fpm fpx freetds g3dvl gallium games gbm gd gdbm gdm geoip geoloc geolocation gif git gles gles1 gles2 glew glsl gmp gnuplot gnutls go gold google gpg gpm gptfdisk gpu graphics graphicsmagick graphite graphviz gsl gsm gstreamer gtk gtk3 gtkspell gudev gzip harden hdf5 hdri highlight history hscolour hunspell hwdb icedtea7 iconv icu id3tag imagemagick imaging imap imlib imlib2 intl introspection iodbc ipc ipv6 jabber jadetex javascript jbootstrap jingle jit jpeg jpeg2k json kate kde kdepim kerberos keymap kipi kontact kpathsea lame lapack lastfm latex latexmk lcms ldap lensfun less libass libcaca libkms libnotify libproxy libsamplerate libssh2 libtiger lightning llvm lto lua luatex lvm lyrics lzma lzo mad magic magnetgenerator maildir managesieve marble math mathml matplotlib matroska md5sum mdnsresponder-compat mediaplayer mediawiki melt mercurial metalink mhash mikmod minizip mjpeg mng mod modemmanager modplug modules monolithic monolithic-build monotone mount mp3 mp4 mpeg mpg123 mplayer mpx multitarget music musicbrainz mysql nat native native-exceptions ncurses nethack network networkmanager new-login nfs nls nntp nptl nsplugin nss ntfs ntfsprogs ntp numpy oauth objc objc++ objc-gc ogg ogg123 ogm okteta okular omega opengl opengtl openid openldap openmp openstreetmap optimization opus otr p2p pam pango parted pcap pcmcia pcntl pcre pdf pdftk pdo perl phonon php plasma player plymouth png pnm policykit postgres postproc postscript ppds prediction preview-latex prison privacy privacylists privatestorage projectm psf pstricks pth publishers pulseaudio pyqt4 python qalculate qml qt3support qt4 quicktime quota qwt r600-llvm-compiler radio radius readline realtime redeyes resolvconf rss rtsp ruby sandbox sasl sbcl science script sdk sdl search secure-delete semantic-desktop sensord server session sftp sha512 shapefile shared-dricore shared-glapi sieve skins smime smtp sndfile soap sockets socks solver sound soundtouch sparse speech speex spell sql sqlite sqlite3 srt srtp ssh ssl stars startup-notification strong-optimization stun subversion supernodal svg symlink syslog system-boost system-cairo system-ffmpeg system-icu system-jpeg system-libs system-libvncserver system-libyaml system-mpmath system-mupdf system-renpy system-sqlite system-wine systemd taglib tcl tcpd telepathy terminal tex4ht texteffect themedesigner themes theora thesaurus threads thumbnail thumbnails tidy tiff tls tor tordns translator truetype tty-helpers udev udisks udisks2 umfpack unicode unzip upnp-av upower usb v4l v8 vamp video videoslideshow vim vlc vlm vnc vorbis wav wavpack wayland wayland-compositor webcam webdav webkit webkit2 webm webp wifi wma wmf word-perfect wps wxwidgets xa xbase xcb xcomposite xetex xface xft xml xmlwriter xmp xorg xpm xrandr xrender xv xvfb xvid xvmc xwayland xz youtube zeroconf zip zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="lt en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-03 17:10:48 UTC
1) Please post your `eselect opengl list' output in a comment.
2) Please post your `emerge -vpq media-libs/mesa' output in a comment.
Comment 2 Andrius Štikonas 2014-06-03 18:11:14 UTC
# emerge -vpq media-libs/mesa
[ebuild   R   ] media-libs/mesa-9.1.6  USE="classic egl gallium gbm gles1 gles2 llvm nptl shared-glapi wayland xa xvmc -bindist -debug -openvg -osmesa -pax_kernel -pic (-r600-llvm-compiler) (-selinux) (-vdpau) -xorg" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" VIDEO_CARDS="(-i915) (-i965) (-intel) (-nouveau) (-r100) (-r200) (-r300) (-r600) (-radeon) (-radeonsi) (-vmware)"

# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
Comment 3 Pacho Ramos gentoo-dev 2014-06-04 06:50:12 UTC
Try if it's still valid with 2.4.3
Comment 4 Andrius Štikonas 2014-06-04 20:14:38 UTC
(In reply to Pacho Ramos from comment #3)
> Try if it's still valid with 2.4.3

Yeah, it is still valid. Exactly the same compilation error. I guess I don't need to attach build.log for it.
Comment 5 Pacho Ramos gentoo-dev 2014-06-05 16:31:08 UTC
Please report this to upstream -> https://bugs.webkit.org and provide the build.log for latest version as they won't take care of 2.2.x

Then, please post here the link to let us track the problem

Thanks
Comment 6 Andrius Štikonas 2014-06-09 13:43:00 UTC
It seems that we link to cairo[opengl]
From:
        webgl? (
                x11-libs/cairo[opengl]
                x11-libs/libXcomposite
                x11-libs/libXdamage )
This looks incorrect... I will try to recompile cairo with gles2
Comment 7 Pacho Ramos gentoo-dev 2014-07-16 09:10:45 UTC
2.4.4 should include the fixes for this, please retry
Comment 8 Andrius Štikonas 2014-07-17 01:12:25 UTC
(In reply to Pacho Ramos from comment #7)
> 2.4.4 should include the fixes for this, please retry

Yeah, it works.

Although that was expected cause I already tested that patch with 2.4.3.