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

            Bug ID: 424607
           Summary: Fails to build pipewirestream.cpp
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: fab...@ritter-vogt.de
  Target Milestone: ---

This is probably due to glibc 2.26?

[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:
In static member function 'static void PipeWireStream::onStreamAddBuffer(void*,
pw_buffer*)':
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:62:
error: 'MFD_CLOEXEC' was not declared in this scope
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                                                              
^~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:62:
note: suggested alternative: 'FD_CLOEXEC'
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                                                              
^~~~~~~~~~~
[  638s]                                                              
FD_CLOEXEC
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:76:
error: 'MFD_ALLOW_SEALING' was not declared in this scope
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                                                                       
     ^~~~~~~~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:76:
note: suggested alternative: '_PC_ALLOC_SIZE_MIN'
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                                                                       
     ^~~~~~~~~~~~~~~~~
[  638s]                                                                       
     _PC_ALLOC_SIZE_MIN
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:24:
error: 'memfd_create' was not declared in this scope
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                         ^~~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:138:24:
note: suggested alternative: 'timer_create'
[  638s]          spa_data->fd = memfd_create("kwin-screencast-memfd",
MFD_CLOEXEC | MFD_ALLOW_SEALING);
[  638s]                         ^~~~~~~~~~~~
[  638s]                         timer_create
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:150:30:
error: 'F_SEAL_GROW' was not declared in this scope
[  638s]          unsigned int seals = F_SEAL_GROW | F_SEAL_SHRINK |
F_SEAL_SEAL;
[  638s]                               ^~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:150:30:
note: suggested alternative: 'F_SETLKW'
[  638s]          unsigned int seals = F_SEAL_GROW | F_SEAL_SHRINK |
F_SEAL_SEAL;
[  638s]                               ^~~~~~~~~~~
[  638s]                               F_SETLKW
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:150:44:
error: 'F_SEAL_SHRINK' was not declared in this scope
[  638s]          unsigned int seals = F_SEAL_GROW | F_SEAL_SHRINK |
F_SEAL_SEAL;
[  638s]                                             ^~~~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:150:60:
error: 'F_SEAL_SEAL' was not declared in this scope
[  638s]          unsigned int seals = F_SEAL_GROW | F_SEAL_SHRINK |
F_SEAL_SEAL;
[  638s]                                                            
^~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:150:60:
note: suggested alternative: 'F_SETLEASE'
[  638s]          unsigned int seals = F_SEAL_GROW | F_SEAL_SHRINK |
F_SEAL_SEAL;
[  638s]                                                            
^~~~~~~~~~~
[  638s]                                                             F_SETLEASE
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:151:33:
error: 'F_ADD_SEALS' was not declared in this scope
[  638s]          if (fcntl(spa_data->fd, F_ADD_SEALS, seals) == -1)
[  638s]                                  ^~~~~~~~~~~
[  638s]
/home/abuild/rpmbuild/BUILD/kwin-5.19.80git.20200724T020645~27951dc9e/screencast/pipewirestream.cpp:151:33:
note: suggested alternative: 'F_OFD_SETLK'
[  638s]          if (fcntl(spa_data->fd, F_ADD_SEALS, seals) == -1)
[  638s]                                  ^~~~~~~~~~~
[  638s]                                  F_OFD_SETLK

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

Reply via email to