Summary: | media-gfx/krita-3.0 with dev-qt/qtgui[gles2] fails to build - libs/ui/opengl/kis_opengl_canvas2.cpp:306:12: error: ‘GL_LINE_SMOOTH_HINT’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | acidrums4 <acidrums4> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | evadim |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=357708 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
acidrums4
2016-06-07 22:34:34 UTC
Please attach the full build.log and paste emerge --info Created attachment 436872 [details]
Build log
Here goes the build log.
Portage 2.2.28 (python 2.7.10-final-0, default/linux/x86/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.22-r4, 4.5.0-pf3 i686) ================================================================= System uname: Linux-4.5.0-pf3-i686-Genuine_Intel-R-_CPU_T2080_@_1.73GHz-with-gentoo-2.2 KiB Mem: 3098372 total, 829516 free KiB Swap: 3534296 total, 3500920 free Timestamp of repository gentoo: Wed, 08 Jun 2016 11:30:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 0 desktop-effects location: /var/lib/layman/desktop-effects masters: gentoo priority: 1 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 2 stuff location: /var/lib/layman/stuff masters: gentoo priority: 3 kde location: /var/lib/layman/kde masters: gentoo priority: 4 ephemeral location: /var/lib/layman/ephemeral masters: gentoo priority: 5 x-portage location: /usr/local/portage masters: gentoo priority: 6 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* - [at] EUL dlj-1.1 sun-bcla-java-vm" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo" LANG="es_CO.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aiglx alsa amr amrnb amrwb apng appmenu attica autoipd automount avahi berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr cli cpufreq_bench cracklib crypt custom-optimization cxx dbus declarative device-mapper dhcpcd divx dri dts dvd dvdr emboss encode exif extras facebook fam ffmpeg firefox flac fortran gdbm gif git glamor gles gles1 gles2 glitz gmp google gphoto2 gpm gstreamer i915 iconv id3tag imagemagick ipv6 javascript jpeg jpeg2k kde kdenlive kdepim kipi kpathsea kscreen laptop lcdfilter lcms libkipi libmpeg2 libnotify libv4l libv4l2 lm_sensors lzma mad marble mjpeg mng modules mp3 mp4 mpeg mpi msn mtp multimedia mysql ncurses networkmanager nls nptl ogg opengl openmp optimized-qmake pam pcre pdf phonon pic plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 quicktime raw readline romio rss samba sdl seccomp semantic-desktop session splash sql ssl startup-notification subversion svg svga systemd taglib tcpd telepathy theora threads tiff truetype udev udisks udisks2 unicode upower usb v4l v4l2 vaapi vapi vim-syntax vorbis wavpack webkit widgets wifi win32codecs x264 x86 xattr xcb xcomposite xft xinerama xml xv xvid zlib zsh-completion" ABI_X86="32" ALSA_CARDS="intel8x0 hda-intel" 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="karbon words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="kbd synaptics evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_CO es_LA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON In Qt, USE="gles2" means use GLES *instead of* full OpenGL. I guess that Krita is broken against GLES right now then. So if I recompile Qt without GLES2 support this would be (in theory) fixed, or should I report this upstream? On Calligra 2.9.x I never had such issue. But when I tried to activate OpenGL from Krita, it would go unbelievably slow. And I seem to recall the "graphic card" of my old PC doesn't play well with OpenGL, hence the GLES2 USE. (In reply to acidrums4 from comment #5) > So if I recompile Qt without GLES2 support this would be (in theory) fixed, > or should I report this upstream? On Calligra 2.9.x I never had such issue. > But when I tried to activate OpenGL from Krita, it would go unbelievably > slow. And I seem to recall the "graphic card" of my old PC doesn't play well > with OpenGL, hence the GLES2 USE. It does appear to be an upstream bug (we had a similar issue with kdenlive after it was porting to KF5 too), but yeah in theory it should build correctly after Qt is rebuilt without GLES. Going to see what Krita people say! Thank you so much for your quick answers. (: (In reply to Michael Palimaka (kensington) from comment #6) > but yeah in theory it should build correctly after Qt is rebuilt without GLES. Confirmed, krita-3.0 built fine after rebuilding Qt-5.6.1 with USE=-gles2 Did anyone end up filing a bug upstream about this? Seems upstream doesn't support this. 3.0.1 now forces opengl (-gles2) due to upstream's response. |