Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884369 - kde-plasma/plasma-workspace-5.26.4.1 fails to compile with x11-libs/libICE-1.1.0
Summary: kde-plasma/plasma-workspace-5.26.4.1 fails to compile with x11-libs/libICE-1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 884563 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-04 20:35 UTC by Silvio
Modified: 2022-12-06 09:14 UTC (History)
5 users (show)

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


Attachments
build.log (buildlog.zip,51.33 KB, application/zip)
2022-12-04 20:42 UTC, Silvio
Details
Yet-to-be-sent-upstream patch (e176b676cff17948d68299c00dddefe41638c752.patch,1.02 KB, patch)
2022-12-04 23:06 UTC, Arsen Arsenović
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2022-12-04 20:35:53 UTC
It exits with a lot of errors, first is:

FAILED: ksmserver/CMakeFiles/ksmserver.dir/ksmserver_autogen/mocs_compilation.cpp.o 

than others as:

/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:5879:60: error: macro "static_assert" passed 5 arguments, but takes just 2
 5879 |           " does not meet the ForwardIterator requirements");


# emerge --info '=kde-plasma/plasma-workspace-5.26.4.1::gentoo'

Portage 3.0.40 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r6, 6.0.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.10-gentoo-x86_64-AMD_Ryzen_9_5900HS_with_Radeon_Graphics-with-glibc2.36
KiB Mem:    32264896 total,  18698576 free
KiB Swap:   34814972 total,  34812412 free
Timestamp of repository gentoo: Sun, 04 Dec 2022 09:30:01 +0000
Head commit of repository gentoo: 45dd242f4489e084758ae67292f6604aa026b381
Timestamp of repository eclipse: Thu, 20 Oct 2022 06:32:20 +0000
Head commit of repository eclipse: 9af00d52ee8f0a9c7521a12ac5247f9f488e2329

Timestamp of repository steam-overlay: Fri, 02 Dec 2022 20:01:59 +0000
Head commit of repository steam-overlay: 0d6509d18058f0144e00b8d82b35bfa2dae841ac

sh bash 5.2_p12
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p12::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.8_p3::gentoo, 3.11.0_p2::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/gcc:             11.3.1_p20221007::gentoo, 12.2.1_p20221008::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.6::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

eclipse
    location: /var/db/repos/eclipse
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/eclipse.git
    masters: gentoo

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

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 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 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 libglvnd 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 plasma png policykit ppds pulseaudio qml qt5 readline s3tc samba sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg test-rust theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx widgets wxwidgets x264 xattr xcb 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="*" USERLAND="GNU" 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

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-04 20:42:18 UTC
Please always include the full build.log.
Comment 2 Silvio 2022-12-04 20:42:39 UTC
Created attachment 840123 [details]
build.log
Comment 3 Silvio 2022-12-04 20:45:46 UTC
(In reply to Sam James from comment #1)
> Please always include the full build.log.

Give me the time to do it ;)
It was 1.1 MB, and I had to zip (after changing the chmod for all the steps towards the correct path).
Comment 4 Silvio 2022-12-04 21:17:13 UTC
I confirm: downgrading libICE it compiles well.
Comment 6 Matt Turner gentoo-dev 2022-12-04 23:00:40 UTC
(In reply to Arsen Arsenovic from comment #5)
> Can you try new libICE with
> https://gitlab.freedesktop.org/ArsenArsen/libice/-/commit/
> e176b676cff17948d68299c00dddefe41638c752.patch ?

That's 404'd. I suspect because your fork is set to private.
Comment 7 Arsen Arsenović gentoo-dev 2022-12-04 23:06:49 UTC
Created attachment 840173 [details, diff]
Yet-to-be-sent-upstream patch

Bleh.  Yeah, I just noticed it also needs login to view.
Here it is.
Comment 8 Arsen Arsenović gentoo-dev 2022-12-05 09:28:47 UTC
OK, my overnight rebuilt checked it, and it built.  Sending upstream
Comment 9 Duncan 2022-12-05 16:27:30 UTC
I'm seeing this with (kde-overlay) plasma-workspace-9999 also.  Hit me hard with the qt5.15.7 upgrade as it forced a plasma-workspace (among others) rebuild which was failing.  Luckily I didn't lose power or otherwise need to reboot while I figured out it was libICE.

Just masking =libICE-1.1.0 here as we should get at least a -rX if not an upstream bump for resolution.
Comment 10 Larry the Git Cow gentoo-dev 2022-12-05 19:28:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fc075a2a5cdf3233e5144cf28a147b3646ccd9

commit 46fc075a2a5cdf3233e5144cf28a147b3646ccd9
Author:     Arsen Arsenović <arsen@aarsen.me>
AuthorDate: 2022-12-05 19:09:16 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-12-05 19:28:14 +0000

    x11-libs/libICE: Bump to 1.1.0-r1, adding C++ interop fix
    
    An upstream change lead to C++ programs (notably, Qt/KDE) being unable
    to build with this version of libICE.  The included patch was merged
    upstream already.
    
    Closes: https://bugs.gentoo.org/884369
    Closes: https://github.com/gentoo/gentoo/pull/28553
    Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../files/libICE-1.1.0-static-assert-fix.patch     | 32 ++++++++++++++++++++++
 x11-libs/libICE/libICE-1.1.0-r1.ebuild             | 30 ++++++++++++++++++++
 2 files changed, 62 insertions(+)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-06 09:13:17 UTC
*** Bug 884563 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2022-12-06 09:14:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fe589b40bbc8e88f5c13fdea6558e50f1d8a4f

commit d6fe589b40bbc8e88f5c13fdea6558e50f1d8a4f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-06 09:14:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-06 09:14:45 +0000

    x11-libs/libICE: drop 1.1.0
    
    Bug: https://bugs.gentoo.org/884369
    Bug: https://bugs.gentoo.org/884563
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-libs/libICE/libICE-1.1.0.ebuild | 26 --------------------------
 1 file changed, 26 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce24ddb2f24f2998d0c02a38d4e9c6ef7a11b1a

commit 1ce24ddb2f24f2998d0c02a38d4e9c6ef7a11b1a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-06 09:14:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-06 09:14:30 +0000

    profiles: mask broken =x11-libs/libICE-1.1.0
    
    Bug: https://bugs.gentoo.org/884369
    Bug: https://bugs.gentoo.org/884563
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)