Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810511 - kde-plasma/kwin-5.22.4-r1 w/ >=media-libs/libglvnd-1.3.4: error: invalid conversion from ‘xcb_window_t’ {aka ‘unsigned int’} to ‘KEGLNativeWindowType’ {aka ‘void*’} [-fpermissive]
Summary: kde-plasma/kwin-5.22.4-r1 w/ >=media-libs/libglvnd-1.3.4: error: invalid conv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: plasma-5.22.5-stable
Blocks:
  Show dependency tree
 
Reported: 2021-08-26 18:27 UTC by Austin Kilgore
Modified: 2021-09-21 18:44 UTC (History)
8 users (show)

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


Attachments
build.log (build.zip,84.08 KB, application/zip)
2021-08-26 18:28 UTC, Austin Kilgore
Details
`emerge -p -uvDU @world; emerge --info` output from Kobboi (file_810511.txt,11.83 KB, text/plain)
2021-08-30 19:33 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Kilgore 2021-08-26 18:27:37 UTC
Fresh install of Gentoo installing plasma-meta and kde-apps-meta.

Reproducible: Always

Steps to Reproduce:
Emerging the package causes the failure.
Actual Results:  
Should compile correctly.

Expected Results:  
Package should build.

Portage 3.0.22 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.3.0, glibc-2.33-r7, 5.13.12-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.13.12-gentoo-dist-x86_64-AMD_Ryzen_9_5900HS_with_Radeon_Graphics-with-glibc2.33
KiB Mem:    15778264 total,  11996956 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 25 Aug 2021 20:51:25 +0000
Head commit of repository gentoo: 9825a21d8755f858def113c7bd7eb0ae53cfe0ca

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6_p1::gentoo, 3.10.0_rc1_p1::gentoo
dev-lang/rust:            1.54.0::gentoo
dev-util/cmake:           3.21.1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000
    sync-git-verify-commit-signature: true

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps y --complete-graph y"
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"
FCFLAGS="-march=native -O3 -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 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="-march=native -O3 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
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"
USE="X a52 aac acl acpi activities alsa amd64 asm bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gold gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lto mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid 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="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU NVPTX X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64 i386 aarch64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon nvidia qxl virtualbox vmware" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Austin Kilgore 2021-08-26 18:28:01 UTC
Created attachment 736159 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-26 18:37:28 UTC
/var/tmp/portage/kde-plasma/kwin-5.22.4-r1/work/kwin-5.22.4/src/plugins/platforms/x11/common/eglonxbackend.cpp:227:66: error: invalid conversion from ‘xcb_window_t’ {aka ‘unsigned int’} to ‘KEGLNativeWindowType’ {aka ‘void*’} [-fpermissive]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-26 18:39:48 UTC
Checking mesa/qtgui USE flags may help for now.
Comment 4 George Diamantopoulos 2021-08-27 01:46:54 UTC
Same here. Sounds like it could be related to https://bugs.gentoo.org/810343...

Simply adding -DUSE_X11=true to CXXFLAGS doesn't seem to help with this, though.
Comment 5 Andreas Sturmlechner gentoo-dev 2021-08-27 09:55:15 UTC
Did you rebuild dev-qt/qtgui after media-libs/libglvnd-1.3.4 upgrade yet?
Comment 6 Marco Rebhan 2021-08-27 10:20:02 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Did you rebuild dev-qt/qtgui after media-libs/libglvnd-1.3.4 upgrade yet?

I just tried rebuilding both libglvnd and qtgui just in case and then trying to build kwin again, same error.
Comment 7 Andreas Sturmlechner gentoo-dev 2021-08-27 11:22:06 UTC
Matt, was that a downstream change or sth everyone is getting with >=media-libs/libglvnd-1.3.4?
Comment 8 Austin Kilgore 2021-08-27 12:41:46 UTC
I accidentally cleaned my entire 500+ packages out of the plasma-meta and kde-apps-meta groups last night so I left my laptop on all night to re-emerge them. All of those packages got recompiled but it still failed when it got to kwin.
Comment 9 Austin Kilgore 2021-08-27 18:40:53 UTC
I tried manually installing kwin-5.21.5-r1 but it also fails to build.
Comment 10 Andreas Sturmlechner gentoo-dev 2021-08-27 19:27:05 UTC
Austin, doing the same thing over and over again will not make a difference.

The cause is identified, upstream was notified, the information is all contained in this bug.
Comment 11 Austin Kilgore 2021-08-27 20:59:17 UTC
(In reply to Andreas Sturmlechner from comment #10)
> Austin, doing the same thing over and over again will not make a difference.
> 
> The cause is identified, upstream was notified, the information is all
> contained in this bug.

Well, that was my reason for trying an older version, I thought the bug was with the latest version of kwin.

I'm just trying to get it to work temporarily since I can't use the computer at the moment.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-27 21:06:01 UTC
(In reply to Austin Kilgore from comment #11)
> (In reply to Andreas Sturmlechner from comment #10)
> > Austin, doing the same thing over and over again will not make a difference.
> > 
> > The cause is identified, upstream was notified, the information is all
> > contained in this bug.
> 
> Well, that was my reason for trying an older version, I thought the bug was
> with the latest version of kwin.
> 
> I'm just trying to get it to work temporarily since I can't use the computer
> at the moment.

Downgrading libglvnd may work.
Comment 13 Austin Kilgore 2021-08-27 22:53:28 UTC
(In reply to Sam James from comment #12)
> (In reply to Austin Kilgore from comment #11)
> > (In reply to Andreas Sturmlechner from comment #10)
> > > Austin, doing the same thing over and over again will not make a difference.
> > > 
> > > The cause is identified, upstream was notified, the information is all
> > > contained in this bug.
> > 
> > Well, that was my reason for trying an older version, I thought the bug was
> > with the latest version of kwin.
> > 
> > I'm just trying to get it to work temporarily since I can't use the computer
> > at the moment.
> 
> Downgrading libglvnd may work.

Thanks. Downgrading libglvnd did the trick.
Comment 14 Geoff Madden 2021-08-30 08:30:33 UTC
(In reply to Austin Kilgore from comment #13)
> (In reply to Sam James from comment #12)
> > (In reply to Austin Kilgore from comment #11)
> > > (In reply to Andreas Sturmlechner from comment #10)
> > > > Austin, doing the same thing over and over again will not make a difference.
> > > > 
> > > > The cause is identified, upstream was notified, the information is all
> > > > contained in this bug.
> > > 
> > > Well, that was my reason for trying an older version, I thought the bug was
> > > with the latest version of kwin.
> > > 
> > > I'm just trying to get it to work temporarily since I can't use the computer
> > > at the moment.
> > 
> > Downgrading libglvnd may work.
> 
> Thanks. Downgrading libglvnd did the trick.

Yep downgrading to libglvnd-1.3.3 did the trick  downunder as well
Comment 15 Larry the Git Cow gentoo-dev 2021-08-30 12:58:30 UTC
The bug has been referenced in the following commit(s):

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

commit 514a343ddc1f2d7afebb8bcd7e945bcbc3cda3d6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-08-30 11:05:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-08-30 12:58:19 +0000

    kde-plasma/kwin: Block >=media-libs/libglvnd
    
    Bug: https://bugs.gentoo.org/810511
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwin/{kwin-5.22.4-r1.ebuild => kwin-5.22.4-r2.ebuild} | 1 +
 1 file changed, 1 insertion(+)
Comment 16 Larry the Git Cow gentoo-dev 2021-08-30 19:32:55 UTC
The bug has been referenced in the following commit(s):

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

commit b0501ea8272c124bb97ccea9e2b14c09ce286de6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-30 19:31:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-30 19:32:22 +0000

    kde-plasma/kwin: change blocker to < dependency
    
    Portage gets confused by blockers and isn't
    optimised for them in this sort of case it seems.
    
    It won't talk about conflicts/skipped upgrades,
    but instead just about things not being able
    to be installed in parallel in this case apparently.
    
    (That said, I thought I'd seen this work before,
    but let's choose the simpler option given
    the odd output that's been observed).
    
    Bug: https://bugs.gentoo.org/810511
    Reported-by: Kobboi
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-plasma/kwin/{kwin-5.22.4-r2.ebuild => kwin-5.22.4-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 17 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-30 19:33:46 UTC
Created attachment 736840 [details]
`emerge -p -uvDU @world; emerge --info` output from Kobboi

Not to distract from the bug, but changed to < dep because of this from Kobboi:

```
$ emerge -p -uvDU @world

These are the packages that would be merged, in order:

Calculating dependencies  ... ... .... done!
[ebuild     U  ] media-libs/libglvnd-1.3.4::gentoo [1.3.3::gentoo] USE="X -test" ABI_X86="32 (64) (-x32)" 0 KiB
[blocks B      ] >=media-libs/libglvnd-1.3.4 (">=media-libs/libglvnd-1.3.4" is blocking kde-plasma/kwin-5.22.4-r2)

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-libs/libglvnd-1.3.4:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=media-libs/libglvnd-1.3.2[X?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/libglvnd-1.3.2[X,abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-21.2.1:0/0::gentoo, installed) USE="X classic egl gallium gbm gles2 llvm vaapi vdpau wayland zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -valgrind -vulkan -vulkan-overlay -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel nouveau radeon radeonsi (-freedreno) -i915 -i965 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"
    media-libs/libglvnd[X] required by (x11-base/xorg-server-1.20.13-r1:0/1.20.13::gentoo, installed) USE="ipv6 systemd udev xorg xvfb -debug -dmx -doc (-elogind) -kdrive -minimal (-selinux) -suid -test -unwind -xcsecurity -xephyr -xnest" ABI_X86="(64)"
    media-libs/libglvnd[X] required by (net-misc/teamviewer-15.20.6:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    media-libs/libglvnd required by (gui-libs/egl-wayland-1.1.7-r1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    media-libs/libglvnd[X,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (media-libs/libglvnd[X,abi_x86_32(-),abi_x86_64(-)]) required by (x11-drivers/nvidia-drivers-470.63.01:0/470::gentoo, installed) USE="X dist-kernel driver tools wayland -static-libs" ABI_X86="32 (64) (-x32)"
    media-libs/libglvnd required by (x11-drivers/nvidia-drivers-470.63.01:0/470::gentoo, installed) USE="X dist-kernel driver tools wayland -static-libs" ABI_X86="32 (64) (-x32)"
    media-libs/libglvnd required by (dev-util/pycharm-community-2021.1.2-r1:0/0::gentoo, installed) USE="bundled-jdk" ABI_X86="(64)"
    media-libs/libglvnd[X] required by (x11-base/xwayland-21.1.2-r2:0/0::gentoo, installed) USE="ipv6 -rpc (-selinux) -unwind -xcsecurity" ABI_X86="(64)" VIDEO_CARDS="nvidia"
    media-libs/libglvnd[X] required by (app-emulation/virtualbox-6.1.26:0/6.1::gentoo, installed) USE="alsa opengl opus pam pulseaudio qt5 sdk udev -debug -doc -dtrace -headless -java -lvm -pax-kernel -python -vboxwebsrv -vnc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"

  (kde-plasma/kwin-5.22.4-r2:5/5::gentoo, installed) pulled in by
    >=kde-plasma/kwin-5.22.4:5 required by (kde-plasma/libkworkspace-5.22.4:5/5::gentoo, installed) USE="-debug -test" ABI_X86="(64)"
    >=kde-plasma/kwin-5.22.4:5 required by (kde-plasma/plasma-meta-5.22.4:5/5::gentoo, installed) USE="bluetooth browser-integration colord crash-handler crypt desktop-portal display-manager firewall gtk kwallet legacy-systray networkmanager pulseaudio sddm smart systemd wallpapers -accessibility -discover (-elogind) -grub -handbook -plymouth -qrcode -sdk -thunderbolt" ABI_X86="(64)"
    >=kde-plasma/kwin-5.22.4:5 required by (kde-plasma/plasma-desktop-5.22.4:5/5::gentoo, installed) USE="kaccounts policykit -debug -emoji -handbook -ibus -scim -semantic-desktop -test" ABI_X86="(64)"
    >=kde-plasma/kwin-5.22.4:5 required by (kde-plasma/plasma-workspace-5.22.4:5/5::gentoo, installed) USE="calculator calendar fontconfig screencast systemd -appstream -debug -geolocation -gps -handbook -semantic-desktop -telemetry -test" ABI_X86="(64)"


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

```
Comment 18 Larry the Git Cow gentoo-dev 2021-08-31 12:54:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=448c682b054e4ba1f320667e24553f9cc1ceb079

commit 448c682b054e4ba1f320667e24553f9cc1ceb079
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-08-30 11:05:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-08-31 12:53:53 +0000

    kde-plasma/kwin: RDEPEND-block >=media-libs/libglvnd-1.3.4
    
    At the same time, DEPEND on <media-libs/libglvnd-1.3.4 to help
    Portage with dependency resolution, even if this is not a direct
    dependency of KWin.
    
    Bug: https://bugs.gentoo.org/810511
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwin/kwin-5.22.49.9999.ebuild | 3 +++
 kde-plasma/kwin/kwin-9999.ebuild         | 3 +++
 2 files changed, 6 insertions(+)
Comment 19 Roman Beránek 2021-09-14 02:20:52 UTC
Fixed in upstream: https://invent.kde.org/plasma/kwin/-/merge_requests/1404
Comment 20 Larry the Git Cow gentoo-dev 2021-09-14 09:04:36 UTC
The bug has been closed via the following commit(s):

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

commit fb620f608733db4c0046ed51a848377f37263ea6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-09-14 08:51:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-09-14 09:03:36 +0000

    kde-plasma/kwin: Fix build with >=media-libs/libglvnd-1.3.4
    
    Drop obsolete >=media-libs/libglvnd-1.3.4 blocker and DEPEND crutch.
    
    Closes: https://bugs.gentoo.org/810511
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch    | 44 ++++++++++++++++++++++
 kde-plasma/kwin/kwin-5.22.5.ebuild                 |  5 +--
 2 files changed, 46 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 47d7ceb64d62c910713589bc616d88545632b052
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-09-14 09:00:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-09-14 09:03:36 +0000

    profiles: desktop/plasma: Drop >=media-libs/libglvnd-1.3.4 p.mask
    
    Bug: https://bugs.gentoo.org/810511
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/targets/desktop/plasma/package.mask | 5 -----
 1 file changed, 5 deletions(-)
Comment 21 Joakim Tjernlund 2021-09-14 13:24:35 UTC
I get the same error for kde-plasma/kwin-5.21.5-r1 using the new libglvnd
Maybe fix 5.21.5-r1 too?
Comment 22 Andreas Sturmlechner gentoo-dev 2021-09-14 13:25:53 UTC
You do your own support when mixing stable with unstable.

5.21.5 will not receive any fixes as 5.22.5 is being stabilised any minute now.
Comment 23 Joakim Tjernlund 2021-09-14 13:27:54 UTC
(In reply to Andreas Sturmlechner from comment #22)
> You do your own support when mixing stable with unstable.
> 
> 5.21.5 will not receive any fixes as 5.22.5 is being stabilised any minute
> now.

I see, all good then. I just had new libglvnd more or less by mistake
so I will just downgrade. Thanks
Comment 24 jospezial 2021-09-19 05:56:57 UTC
(In reply to Roman Beránek from comment #19)
> Fixed in upstream: https://invent.kde.org/plasma/kwin/-/merge_requests/1404

https://invent.kde.org/plasma/kwin/-/commit/839710201c389b7f4ed248cb3818e755a37ce977
"x11: Fix build with EGL_NO_PLATFORM_SPECIFIC_TYPES

eglCreateWindowSurface() wants a Window (unsigned long), but with
EGL_NO_PLATFORM_SPECIFIC_TYPES, EGLNativeWindowType is defined as an
opaque pointer, i.e. void*."

Please remove the blocker also from kde-plasma/kwin-9999::kde!
Comment 25 Andreas Sturmlechner gentoo-dev 2021-09-19 13:59:43 UTC
Right. That's the one we backported already, but it broke x86. After the second iteration of a fix it now also builds again on arm.

https://invent.kde.org/plasma/kwin/-/commit/e26ea6bf2313c021db7e5ca5454cd8b1e2e2037f
Comment 26 Larry the Git Cow gentoo-dev 2021-09-20 06:39:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=dfe69a3161324cdfbc57e81e05bea2cd2fdb06d0

commit dfe69a3161324cdfbc57e81e05bea2cd2fdb06d0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-09-19 14:00:34 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-09-19 14:00:34 +0000

    kde-plasma/kwin: Drop obsolete >=media-libs/libglvnd-1.3.4 blocker
    
    ...and DEPEND crutch.
    
    Bug: https://bugs.gentoo.org/810511
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwin/kwin-9999.ebuild | 3 ---
 1 file changed, 3 deletions(-)
Comment 27 Larry the Git Cow gentoo-dev 2021-09-21 18:44:32 UTC
The bug has been referenced in the following commit(s):

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

commit bb0d4f0f8e79ae8fb203418417177378231497db
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-09-19 14:01:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-09-21 18:43:44 +0000

    kde-plasma/kwin: Fix build on 32-bit
    
    Upstream commits:
    38e24ecd6416a975db0989c21b70d6a4cc242f35
    e26ea6bf2313c021db7e5ca5454cd8b1e2e2037f
    
    Bug: https://bugs.gentoo.org/810511
    Bug: https://bugs.gentoo.org/813228
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwin/files/kwin-5.22.5-32bit.patch      | 29 ----------------------
 .../kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch    |  6 ++++-
 kde-plasma/kwin/kwin-5.22.5.ebuild                 |  3 +--
 3 files changed, 6 insertions(+), 32 deletions(-)