Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622440 - x11-libs/gtk+-3.22.16: expected expression before ‘EGLContext’ [...]
Summary: x11-libs/gtk+-3.22.16: expected expression before ‘EGLContext’ [...]
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 06:15 UTC by Michał Górny
Modified: 2021-04-16 15:08 UTC (History)
1 user (show)

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


Attachments
x11-libs:gtk+-3.22.16:20170622-060907.log (x11-libs:gtk+-3.22.16:20170622-060907.log,141.66 KB, text/x-log)
2017-06-22 06:15 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-22 06:15:16 UTC
Created attachment 477590 [details]
x11-libs:gtk+-3.22.16:20170622-060907.log

In file included from /usr/include/epoxy/egl.h:46:0,
                 from /tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.h:32,
                 from /tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c:24:
/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c: In function ‘gdk_wayland_gl_context_realize’:
/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c:179:43: error: expected expression before ‘EGLContext’
                                         : EGL_NO_CONTEXT,
                                           ^
/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c:200:47: error: expected expression before ‘EGLContext’
                                             : EGL_NO_CONTEXT,
                                               ^
/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c: In function ‘gdk_x11_gl_context_dispose’:
/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gdk/wayland/gdkglcontext-wayland.c:510:54: error: expected expression before ‘EGLSurface’
         eglMakeCurrent(display_wayland->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                                      ^
[...]


Might be related to old Mesa on my end (i.e. missing >= dep ;-P).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-22 06:16:00 UTC
Portage 2.3.6 (python 3.5.3-final-0, !../../usr/src/gentoo/profiles/default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.24-r3, 4.11.0-pf5-mgorny-amd64+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.0-pf5-mgorny-amd64+-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.4.1
Timestamp of repository gentoo: Thu, 22 Jun 2017 05:25:08 +0000
sh bash 4.4_p12
ld GNU gold (Gentoo 2.27 p1.0 2.27) 1.12
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/openrc:          0.27.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-umask: 027
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

python
    location: /home/mgorny/git/python-repo
    sync-umask: 027
    masters: gentoo

mgorny
    location: /home/mgorny/git/mgorny-repo
    sync-umask: 027
    masters: gentoo
    priority: 10000

Installed sets: @mg_depends_cb_agent, @mg_depends_qaweb
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="GPL-2+ FDL-1.1 FDL-1.2 CC-BY-2.5 FDL-1.3 FDL-1.2+ OFL CC-BY-2.0 GPL-3+ Arphic GPL-2 FDL-1.3+ FreeArt GPL-1+ CC-BY-SA-4.0 CC-BY-SA-2.5 OPL IPAfont CC-BY-4.0 GPL-3 CC-BY-SA-2.0 OFL-1.1 FDL-1.1+ GPL-1 CC-BY-SA-3.0 CC-BY-3.0 man-pages mplus-fonts CC-PD vlgothic CC-SA-1.0 myspell-en_CA-KevinAtkinson wxWinFDL-3 man-pages-posix-2013 LDP-1a man-pages-posix Unicode_Fonts_for_Ancient_Scripts BitstreamVera quake1-textures LDP-1 UbuntuFontLicense-1.0 MaxMind2 Texinfo-manual FVWM Snd CRACKLIB LLGPL-2.1 Crypt-IDEA libtiff mpich2 openafs-krb5-a Openwall Time-modules wxWinLL-3.1 mm CAOSL bea.ri.jsr173 htmlc pngcrush ngrep freemarker matplotlib SNIA TeX-other-free PIZZA-WARE UCAR-Unidata IDPL Flashpix FastCGI JasPer2.0 TeX RSA x2x ACE BSD-1 imagemagick tm-align keynote buddy xbatt feh BZIP2 LLVM-Grant JDOM torque-2.5 Old-MIT xboing BSD-with-attribution libpng icu URT LPPL-1.3b BEER-WARE DES xvt libmng Sendmail qmail-nelson Toyoda LIBGLOSS noweb JNIC Time-Format Emacs netcat lsof ipx-utils alternate File-MMagic CPL-0.5 FLEX XC gd CMake Allegro Mini-XML SVFL Xdebug LambdaMOO gsm Ispell HTML-Tidy flexmock docbook FLTK ErlPL-1.1 psutils tablelist canfep yuuji libodialog symlinks Info-ZIP totd boehm-gc pngnq SSLeay CDDL-Schily perforce SMAIL ipadic telegram scanlogd otter tcltk Sendmail-Open-Source Subversion inner-net eGenixPublic-1.1 AMPAS regexp-UofT CeCILL-C minpack NEWLIB rc Princeton xtrs w3m rwpng repoze the-Click-license mapm-4.9.5 freetts Mail-Sendmail tcp_wrappers_license bufexplorer.vim YaTeX PCRE LPPL-1.3 VTK ElementTree NCSA-HDF ZSH dom4j MIT-with-advertising JOVE shrimp iASL photopc PHP-2.02 PHP-3.01 Zend-2.0 BSD-4 OSL-2.1 AFL-3.0 PSF-2.3 metapackage GPL-2+ Ruby-BSD MIT Sleepycat Unlicense CeCILL-2 Clear-BSD PYTHON FTL Artistic-2 libgcc GPL-3-with-openssl-exception Nokia-Qt-LGPL-Exception-1.1 Boost-1.0 PSF-2.4 W3C qwt GPL-2-with-font-exception ECL-2.0 GPL-2+-with-openssl-exception GPL-3+-with-opencl-exception HPND BSD LGPL-2+ GPL-3-with-font-exception GPL-3+ GPL-2 GPL-3+-with-opencl-openssl-exception Clarified-Artistic unicode WTFPL-2 Ruby GPL-1+ public-domain GPL-2-with-linking-exception UPX-exception LGPL-2.1-with-linking-exception GPL-2-with-exceptions GPL-3 libstdc++ AGPL-3+ GPL-2-with-MySQL-FLOSS-exception CC0-1.0 AGPL-3 IJG LGPL-3 MPL-2.0 PSF-2 GPL-3+-with-cuda-openssl-exception ZLIB Transmission-OpenSSL-exception Apache-2.0 BSD-2 tanuki-community gcc-runtime-library-exception-3.1 GPL-3+-with-cuda-exception LGPL-2 PSF-2.2 ZPL LGPL-3-with-linking-exception SGI-B-2.0 GPL-1 UoI-NCSA GPL-2-with-classpath-exception LGPL-2.1 LGPL-2-with-linking-exception ISC vim LGPL-2.1+ OPENLDAP LGPL-3+ OSL-2.0 AFL-2.1 CDDL LPPL-1.2 openssl gnuplot CPAL-1.0 IBM CPL-1.0 MPL-1.0 CNRI Apache-1.1 OSL-1.1 EPL-1.0 APSL-2 Apache-1.0 EUPL-1.1 NPL-1.1 Ms-PL QPL-1.0 MPL-1.1 QPL PHP-3.01 APL-1.0 GPL-2+ OSL-2.1 MIT AFL-3.0 Sleepycat Artistic-2 Artistic Boost-1.0 W3C wxWinLL-3 POSTGRESQL HPND ECL-2.0 BSD LGPL-2+ GPL-3+ GPL-2 CDDL GPL-1+ IPAfont nethack GPL-3 NOSA PHP-3 LPPL-1.3c AGPL-3+ CPAL-1.0 AGPL-3 LGPL-3 PSF-2 MPL-2.0 ZLIB IBM CPL-1.0 Apache-2.0 BSD-2 MPL-1.0 CNRI ZPL OFL-1.1 Apache-1.1 EPL-1.0 APSL-2 UoI-NCSA EUPL-1.1 LGPL-2.1 ISC LGPL-2.1+ Ms-PL Watcom-1.0 LGPL-3+ MPL-1.1 QPL"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-5.4.0"
CFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXX="x86_64-pc-linux-gnu-g++-5.4.0"
CXXFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n --dynamic-deps=n"
FCFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup collision-protect config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://ftp.vectranet.pl/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/"
INSTALL_MASK="/test /usr/share/locale -/usr/share/locale/pl"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j12"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_COMPRESS="lzip"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS --exclude=/metadata/cache --omit-dir-times"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X a52 aac acl adns aio alsa amd64 ayatana bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr cli crypt cups curl cxx dbus djvu dri dts dvb dvd dvdr egl emboss exif fftw firefox flac fontconfig fortran gd gif glamor gmp gnuplot gnutls gphoto2 gstreamer gtk iconv idn imagemagick ipv6 jpeg jpeg2k kate latex lcms libass libatomic liblockfile libnotify libproxy libsamplerate libsecret libtiger lz4 lzma lzo mad mmap mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg openal opencl opengl openmp openvg opus osmesa pam pango pch pcre pcre-jit pdf plotutils png policykit postscript ppds pulseaudio qt3support readline sctp sdl seccomp session slang smp sndfile speex spell sse3 ssl startup-notification svg systemd t1lib tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vaapi vhosts vim-syntax vorbis wavpack wayland webp wmf wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="hda-intel emu10k1 mpu401 pcsp virmidi" APACHE2_MODULES="socache_shmcb unixd actions alias deflate filter mime mime_magic negotiation rewrite" 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" CPU_FLAGS_X86="mmx mmxext sse sse2 3dnow 3dnowext sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" LIRC_DEVICES="serial" LLVM_TARGETS="*" NGINX_MODULES_HTTP="gzip limit_conn limit_req rewrite spdy uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 jython2_7 pypy pypy3 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 ppc ppc64 ppc64abi32 x86_64" QEMU_USER_TARGETS="aarch64 arm ppc ppc64" RUBY_TARGETS="ruby23" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="nouveau radeon vesa r600 s3" 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"
USE_PYTHON="INVALID"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/mesa-17.0.5::gentoo was built with the following:
USE="dri3 egl gallium gbm gles1 gles2 llvm nptl opencl openmax osmesa vaapi vdpau wayland xa xvmc -bindist -classic -d3d9 -debug -pax_kernel -pic -selinux -valgrind -vulkan" ABI_X86="32 64 -x32" VIDEO_CARDS="nouveau r600 radeon (-freedreno) -i915 -i965 -imx -intel -r100 -r200 -r300 -radeonsi (-vc4) (-vivante) -vmware"


dev-libs/wayland-1.13.0::gentoo was built with the following:
USE="-doc -static-libs" ABI_X86="32 64 -x32"
Comment 2 Mart Raudsepp gentoo-dev 2017-06-23 05:22:52 UTC
Can you try if your previous gtk+ can compile still? Hopefully that was 3.22.15. Slightly smells as a libepoxy upgrade thing (I'm on older version than up to date ~arch with libepoxy still)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-23 07:35:11 UTC
(In reply to Mart Raudsepp from comment #2)
> Can you try if your previous gtk+ can compile still? Hopefully that was
> 3.22.15. Slightly smells as a libepoxy upgrade thing (I'm on older version
> than up to date ~arch with libepoxy still)

Actually, I've upgraded to mesa-9999 and were able to build gtk+ afterwards.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-08-30 21:50:26 UTC
FTR, I updated my work laptop recently, still stuck with older mesa due to a dependency problem and gtk+ builds just fine with mesa-17.0.5 and libepoxy 1.4.2 or 1.4.3