| Summary: | xdg-desktop-portal-kde fails to build with Pipewire 0.2.5/master | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | bluescreenavenger |
| Component: | general | Assignee: | Jan Grulich <jgrulich> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | jgrulich |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is a bug in Pipewire, see https://github.com/PipeWire/pipewire/pull/119. |
SUMMARY STEPS TO REPRODUCE Building with cmake -Wno-dev .. -DCMAKE_INSTALL_PREFIX=$INSTALLDIR -DCMAKE_PREFIX_PATH=$INSTALLDIR -DCMAKE_BUILD_TYPE=Release OBSERVED RESULT I get the following build error. It build file with an older pipewire version. [ 12%] Building CXX object src/CMakeFiles/xdg-desktop-portal-kde.dir/xdg-desktop-portal-kde_autogen/mocs_compilation.cpp.o In file included from /opt/include/pipewire/protocol.h:33, from /opt/include/pipewire/proxy.h:99, from /opt/include/pipewire/interfaces.h:32, from /opt/include/pipewire/pipewire.h:31, from /srcbuild/xdg-desktop-portal-kde/src/screencaststream.h:40, from /srcbuild/xdg-desktop-portal-kde/src/screencaststream.cpp:21: /opt/include/pipewire/utils.h: In function ‘spa_pod* pw_spa_pod_copy(const spa_pod*)’: /opt/include/pipewire/utils.h:61:17: error: invalid conversion from ‘void*’ to ‘spa_pod*’ [-fpermissive] if ((c = malloc(size)) == NULL) ~~~~~~^~~~~~ /srcbuild/xdg-desktop-portal-kde/src/screencaststream.cpp: At global scope: