It exits with many error such as: /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp: In member function ‘virtual bool sipManagedColor::event(QEvent*)’: /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:4110:28: error: too few arguments to function 4110 | sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], SIP_NULLPTR, sipName_event); /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp: In member function ‘virtual bool sipManagedColor::eventFilter(QObject*, QEvent*)’: /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:4125:28: error: too few arguments to function 4125 | sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], SIP_NULLPTR, sipName_eventFilter); /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp: In member function ‘virtual void sipManagedColor::timerEvent(QTimerEvent*)’: /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5_build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:4140:28: error: too few arguments to function Reproducible: Always
Please always include the full build.log (compressed if necessary) and emerge --info.
Created attachment 876619 [details] build.log
emerge --info Portage 3.0.56 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r7, 6.6.4-gentoo x86_64) ================================================================= System uname: Linux-6.6.4-gentoo-x86_64-AMD_Ryzen_9_5900HS_with_Radeon_Graphics-with-glibc2.38 KiB Mem: 32263696 total, 3940928 free KiB Swap: 34814972 total, 32461308 free Timestamp of repository gentoo: Sun, 03 Dec 2023 17:00:01 +0000 Head commit of repository gentoo: e6ac9e609f6442744b82a96aa208be41a5d78007 Timestamp of repository booboo: Mon, 27 Nov 2023 11:16:56 +0000 Head commit of repository booboo: 09c6299deb10478088f28c4dd05f5dcfc88033ed Head commit of repository jgenco: 7d8e973a5b0e42d1a360cdd67e04020b784c32a7 Timestamp of repository pentoo: Sun, 03 Dec 2023 06:16:51 +0000 Head commit of repository pentoo: ef7b5a8e3b39fb72133e86564c737d8a17713257 Timestamp of repository steam-overlay: Mon, 27 Nov 2023 11:16:58 +0000 Head commit of repository steam-overlay: f0f7b42613f9bf45b2772ae50d0c0faeeb7a6ccb sh bash 5.2_p21-r1 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p21-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2::gentoo dev-lang/python: 3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo dev-lang/rust: 1.73.0::gentoo dev-util/cmake: 3.27.9::gentoo dev-util/meson: 1.3.0-r1::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/openrc: 0.52.1::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 14.0.6-r4::gentoo, 17.0.6::gentoo sys-devel/gcc: 12.3.1_p20230825::gentoo, 13.2.1_p20231014::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 16.0.6::gentoo, 17.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: booboo location: /var/db/repos/booboo sync-type: git sync-uri: https://github.com/gentoo-mirror/booboo.git masters: gentoo volatile: False jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay masters: gentoo volatile: False localrepo location: /var/db/repos/localrepo masters: gentoo volatile: False pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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" CXXFLAGS="-O2 -march=znver3 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -march=znver3 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=znver3 -pipe" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.init7.net/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="it en it_IT en_US" MAKEOPTS="--jobs 14 --load-average 15" PKGDIR="/var/cache/binpkgs" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative djvu dri dri3 dts dvd dvdr elogind encode exif ffmpeg fftw flac fortran gdbm gif gles2 gpm gtk gui hidpi iconv icu id3tag ipv6 javafx jpeg kde kdesu kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs objc ogg opengl openmp opus pam pango pcre pcsc-lite pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline s3tc samba screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" ALSA_CARDS="snd_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 sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="*" VIDEO_CARDS="amdgpu radeonsi nvidia vesa v4l v4l2 modesetting fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Upstream's 'fix' see URL.
Exactly same error msg with dev-python/sip-6.8.1
(In reply to woga from comment #5) > Exactly same error msg with dev-python/sip-6.8.1 Right, it's not an issue in sip, it's an issue in Krita (an incompatibility with newer sip). See the MR linked.
MR was just merged, guess we gotta wait for the next krita release?
Arch seems to have a proper fix for this: https://gitlab.archlinux.org/archlinux/packaging/packages/krita/-/blob/ba9b9592531af6f7f4598d6fd07fbad0227317c9/sip-6.8.patch I've filed an upstream bug report: https://bugs.kde.org/show_bug.cgi?id=478985
(In reply to Christoph Reiter from comment #8) > Arch seems to have a proper fix for this: > https://gitlab.archlinux.org/archlinux/packaging/packages/krita/-/blob/ > ba9b9592531af6f7f4598d6fd07fbad0227317c9/sip-6.8.patch > This is the same as https://invent.kde.org/graphics/krita/-/merge_requests/2029 (and indeed submitted by the Arch maintainer).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039e05313098a299f93038ea55934ebfd5b6bb9a commit 039e05313098a299f93038ea55934ebfd5b6bb9a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-12-26 08:58:54 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-12-26 08:59:35 +0000 media-gfx/krita: Fix build w/ >=dev-python/sip-6.8.0 Closes: https://bugs.gentoo.org/919139 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/krita/files/krita-5.1.5-sip-6.8.patch | 26 +++++++++++++++++++++++++ media-gfx/krita/krita-5.1.5.ebuild | 1 + 2 files changed, 27 insertions(+)