Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820482 - kde-plasma/kwin-5.23.2: fails to build: cannot convert ‘uintptr_t*’ {aka ‘long unsigned int*’} to ‘uint32_t*’ {aka ‘unsigned int*’} in initialization
Summary: kde-plasma/kwin-5.23.2: fails to build: cannot convert ‘uintptr_t*’ {aka ‘lon...
Status: RESOLVED DUPLICATE of bug 820365
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 07:58 UTC by Pavol Cvengros
Modified: 2021-10-27 08:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavol Cvengros 2021-10-27 07:58:17 UTC
Building of kwin package fails with error on pipewire&screencast compilation.



Reproducible: Always

Actual Results:  
FAILED: src/plugins/screencast/CMakeFiles/KWinScreencastPlugin.dir/screencastmanager.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DMESA_EGL_NO_X11_HEADERS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STATICPLUGIN -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build/src/plugins/screencast -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/plugins/screencast -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build/src/plugins/screencast/KWinScreencastPlugin_autogen/include -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/platformsupport -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/tabbox -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/effects -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/libkwineffects -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build/src -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build/src/libkwineffects -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src -I/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build/src/effects -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/Plasma -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/KF5/KWayland/Client -isystem /usr/include/KDecoration2 -isystem /usr/include/KScreenLocker -isystem /usr/include/qt5/QtXkbCommonSupport/5.15.2 -isystem /usr/include/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -isystem /usr/include/qt5/QtXkbCommonSupport -isystem /usr/include/qt5/QtGui/5.15.2 -isystem /usr/include/qt5/QtGui/5.15.2/QtGui -isystem /usr/include/qt5/QtCore/5.15.2 -isystem /usr/include/qt5/QtCore/5.15.2/QtCore -isystem /usr/include/KF5/KActivities -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2  -DQT_NO_DEBUG -O2 -pipe -march=native -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -std=gnu++17 -MD -MT src/plugins/screencast/CMakeFiles/KWinScreencastPlugin.dir/screencastmanager.cpp.o -MF src/plugins/screencast/CMakeFiles/KWinScreencastPlugin.dir/screencastmanager.cpp.o.d -o src/plugins/screencast/CMakeFiles/KWinScreencastPlugin.dir/screencastmanager.cpp.o -c /var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/plugins/screencast/screencastmanager.cpp
In file included from /usr/include/pipewire-0.3/pipewire/pipewire.h:46,
                 from /var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/plugins/screencast/pipewirestream.h:22,
                 from /var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2/src/plugins/screencast/screencastmanager.cpp:16:
/usr/include/pipewire-0.3/pipewire/map.h: In function ‘int pw_map_insert_at(pw_map*, uint32_t, void*)’:
/usr/include/pipewire-0.3/pipewire/map.h:189:50: error: cannot convert ‘uintptr_t*’ {aka ‘long unsigned int*’} to ‘uint32_t*’ {aka ‘unsigned int*’} in initialization
  189 |                                 uint32_t *next = &pw_map_get_item(map, current_id)->next;
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  uintptr_t* {aka long unsigned int*}
ninja: build stopped: subcommand failed.
 * ERROR: kde-plasma/kwin-5.23.2::gentoo failed (compile phase):
 *   ninja -v -j8 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2641:  Called cmake_src_compile
 *   environment, line 1120:  Called cmake_build
 *   environment, line 1089:  Called eninja
 *   environment, line 1735:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=kde-plasma/kwin-5.23.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-plasma/kwin-5.23.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-plasma/kwin-5.23.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-plasma/kwin-5.23.2/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2_build'
 * S: '/var/tmp/portage/kde-plasma/kwin-5.23.2/work/kwin-5.23.2'


Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.14.14-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.14.14-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i9-9900KF_CPU_@_3.60GHz-with-glibc2.33
KiB Mem:    65769656 total,  48980056 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 27 Oct 2021 06:30:01 +0000
Head commit of repository gentoo: 34aab6c54a181582d488e62145264cec28f405ea
Timestamp of repository gentoo-zh: Tue, 26 Oct 2021 04:37:02 +0000
Head commit of repository gentoo-zh: fdfe8fdc5a3e42fc0d82fac8e2827220b2cd31c5

Timestamp of repository guru: Wed, 27 Oct 2021 06:36:18 +0000
Head commit of repository guru: a42a78a73aa4969f00584957ae2cca99968fd2fb

Head commit of repository gyakovlev: 7113861beeed4a94a8482c1d89ca19be41f379aa

Head commit of repository masterlay: 9971f38c1da2780ee869fe5f9d514c954095965e

Timestamp of repository steam-overlay: Sun, 24 Oct 2021 16:36:44 +0000
Head commit of repository steam-overlay: 022a274069862bab24ce4d1a83b6372eea5b3988

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p4) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.56.0-r1::gentoo
dev-util/cmake:           3.21.3::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/sandbox:         2.27::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.2.0::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.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

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

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

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

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

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

masterlay
    location: /var/db/repos/thankjura
    sync-type: git
    sync-uri: https://github.com/thankjura/overlay.git
    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="* -@EULA NVIDIA-CUDA google-chrome TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /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/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
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"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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 bluetooth branding brotli bzip2 cairo cdda cdr cli crypt cuda cups custom-cflags dbus declarative designer dri dts dvd dvdr egl emboss encode epub exif ffmpeg flac gdbm gif gles2 gpm gtk gui iconv icu ipv6 jpeg jpeg2k kde kipi kwallet lcms libglvnd libnotify libsecret libtirpc lm-sensors lz4 lzma mad mariadb mng modemmanager mp3 mp4 mpeg multilib multimedia ncurses networkmanager nfs nls nptl nvidia ogg openexr opengl openmp opus pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 raw readline samba sdl seccomp semantic-desktop speech spell split-usr ssh ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wasm webkit webm webp widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid xz zip zlib zstd" ABI_X86="32 64" ADA_TARGET="gnat_2019" 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest brotli cache_disk cache_socache charset_lite dbd http2 lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat proxy proxy_balancer proxy_connect proxy_fcgi proxy_html proxy_http proxy_http2 proxy_wstunnel ratelimit remoteip reqtimeout session session_cookie session_crypto session_dbd slotmem_shm socache_memcache substitute version xml2enc" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx mmxext fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 sse3 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities" 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 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en sk es el pt de it pt-PT zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="BPF NVPTX X86 WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo grpc gzip limit_conn limit_req map memcached mirror proxy referer rewrite scgi split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi addition brotli cache_purge dav dav_ext degradation fancyindex flv geoip2 gunzip gzip_static headers_more metrics mp4 push_stream realip secure_link security sticky stub_status upload_progress upstream_check vhost_traffic_status xslt javascript" NGINX_MODULES_STREAM="access geo geoip geoip2 limit_conn map realip return ssl_preread upstream_hash upstream_least_conn upstream_zone javascript" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="hp epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-27 08:01:50 UTC
Please —-sync or just rebuild pipewire.

*** This bug has been marked as a duplicate of bug 820365 ***
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-27 08:02:27 UTC
(But in future, do attach the full build.log)