https://bugs.kde.org/show_bug.cgi?id=402744

            Bug ID: 402744
           Summary: xdg-desktop-portal-kde fails to build with Pipewire
                    0.2.5/master
           Product: xdg-desktop-portal-kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jgrul...@redhat.com
          Reporter: bluescreenaven...@gmail.com
  Target Milestone: ---

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:

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to