Seems they split QPainterPath from QPainter so it needs a separate include statement - patch provided. Also on my machine cmake is complaining so a patch is provided Reproducible: Always Steps to Reproduce: 1. emerge krita 2. 3. Actual Results: it dies on those 2 problems. FIrst on cmake, then when compiling. Patch will be provided in the next post - I don't see a button here, to add it... Portage 2.3.99 (python 3.8.2-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.31-r2, 5.6.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.6.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-glibc2.2.5 KiB Mem: 16337712 total, 5027520 free KiB Swap: 128924660 total, 128923124 free Timestamp of repository gentoo: Tue, 14 Apr 2020 08:30:01 +0000 Head commit of repository gentoo: 501ae304467b33729f94d72ddc65a7a0808d2f82 sh bash 5.0_p16 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p16::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo, 3.8.2-r1::gentoo, 3.9.0_alpha5::gentoo dev-util/cmake: 3.17.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 4.9.4-r1::gentoo, 5.5.0::gentoo, 7.5.0::gentoo, 8.4.0::gentoo, 9.3.0::gentoo, 10.0.1_pre9999::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://10.1.1.30/portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo priority: 0 kde location: /var/lib/layman/kde masters: gentoo priority: 50 matrix location: /var/lib/layman/matrix masters: gentoo priority: 50 qt location: /var/lib/layman/qt masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 Installed sets: @kde-apps-next, @kde-frameworks-live, @kde-plasma-live, @mykde ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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=corei7" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=corei7" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j 8 -l 16" 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 aacplus aalib acl acpi alac alsa amd64 amr ansi apache2 apng berkdb boost branding btrfs bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cdrom cdsound cjk clang cli client clozurecl clucene context cpio cracklib crypt css curl cxx cyrillic daap dav1d dbus dconf dcraw declarative demosaic detex device-mapper dga dirac dri dv dvd dvdr dvdread dvi2tty dvipdfm eds emacs enca encode eselect-ldso exif extensions extra extras farstream ffmpeg firefox flac fontconfig foomaticdb fortran fortran2003 fortran95 fpm g3dvl games gd gdbm gdu gif gimp gkrellm glib gnome gnome-keyring gnuplot goffice gphoto2 graphics graphviz grub gs gsf gsl gsm gstreamer gtk gtk2-perl gtk3 gtkhtml gudev gzip gzip-el h224 h281 h323 hacking heif hidpi humanities hwdb hwinfo iconv icu id3 id3tag imagemagick import-filter introspection ipv6 jadetex java javascript jbig jpeg jpeg2k kate kdcraw kde kdenlive kdrive keymap kipi kpathsea lame lapack laptop latex latex3 lcms legacy-systray libaom libkms libtirpc libv4l2 libxml2 llvm llvm-gcc luatex lxc lxde lzo mad mariadb matplotlib matroska mbox melt metis minizip mjpeg mmx mng modemmanager mozilla mp3 mp4 mpd mpeg mplayer mpqc msms multilib musepack music musicbrainz nautilus ncurses networkmanager nls nptl nsplugin nss ntp numpy ocrad offensive ogg ogg123 oggvorbis ogm omega openexr opengl openmp openssl opus otr pam pcre pcre16 pdf perl plasma png pnm policykit posix postproc preview-latex printsupport pstricks publishers pulseaudio python python3 qml qt3support qt5 rar raw readline rendering rle rtc sasl scanner schroedinger science scipy script scripttools sdl seccomp semantic-desktop sendto server shout smp smpeg sndfile sockets socks5 sox speex split-usr sql sqlite sse sse2 ssh ssl static-libs svg systemd taglib tagwriting tbb tcpd tex4ht tga theora threads tiff tk tonal truetype twolame udev udisks unicode unzip upcall upnp usb uuencode uvm uxa v4l2 vaapi vala valgrind vcd vdpau vdr vhosts video vim vim-pager vim-syntax vorbis vpx wav wavpack weather webm webp widgets winbind x264 x265 xattr xcb xetex xft xindy xkb xml xmp xorg xpm xv xvfb xvid xvmc yv12 zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en us" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-gfx/krita-9999::kde was built with the following: USE="fftw gif gsl heif jpeg openexr pdf raw test tiff vc -color-management -debug -qtmedia" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" FEATURES="assume-digests merge-sync binpkg-dostrip fixlafiles multilib-strict candy usersync userfetch parallel-fetch sandbox ebuild-locks unknown-features-warn usersandbox preserve-libs binpkg-docompress config-protect-if-modified binpkg-logs splitdebug pid-sandbox qa-unresolved-soname-deps protect-owned ipc-sandbox xattr distlocks news sfperms unmerge-logs userpriv unmerge-orphans strict"
Created attachment 632958 [details, diff] cmake fix to compile krita-9999
Created attachment 632960 [details, diff] patch to compile krita-9999 with Qt-5.15.0
USE=openexr is a known issue with >=4.2.9, waiting for upstream. Is the Qt-5.15.0 patch from upstream? 5.15.0 is not available yet, what version did you build against? No build fix without build.log please.
Created attachment 632976 [details] log file to show the cmake problem log to show cmake problem
(In reply to Andreas Sturmlechner from comment #3) > USE=openexr is a known issue with >=4.2.9, waiting for upstream. > > Is the Qt-5.15.0 patch from upstream? 5.15.0 is not available yet, what > version did you build against? > > No build fix without build.log please. It is Qt-5.15.0_beta3 from qt layout. build.log is time consuming to prepare... OK the cmake one is simple because it is in the beginning, the other one is after 10 minute compile... But since you are asking for I'll make it. I was also not sure to report for -9999 packages, but I complained about qtpaths not compiling for Qt-5.15.0_beta3, someone suggested I report the bug for it. But it was fixed in the mean time, so I am reporting the krita one :-)
In any case, if krita-9999 fails to build today, then this fix should be submitted upstream - it means that our live ebuild will be fixed automatically once committed upstream.
Created attachment 632980 [details] build.log after complaining about QPainterPath
Thanks for your report! Upstream fixed in https://cgit.kde.org/krita.git/commit/?id=d1484812b588e30f5bf5e8d6bd023e483d94186a That leaves the CMake issue. You can user-patch krita-4.2.9-ecm-findopenexr.patch from gentoo.git for now.
Fixed with OpenEXR 2.5.2.