[Bug 269406] x11-wm/plasma5-kwin: fails on FreeBSD < 13 after Plasma 5.26 update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 8 12:45:27 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269406

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
Created attachment 239996
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239996&action=edit
v1 (apply via "git am")

Why "#ifdef F_SEAL_SEAL" instead of "#if HAVE_MEMFD" ? When memfd_create()
isn't available KWin falls back to QTemporaryFile which on Linux uses O_TMPFILE
aka "unnamed temporary regular file" under TMPDIR. Does it actually work? Do
any other projects use sealing outside of memfd_create() ?

Note, FreeBSD 12.3 (unlike 12.4) had more errors:

src/utils/ramfile.cpp:57:117: error: use of undeclared identifier 'errno'
        qCWarning(KWIN_CORE).nospace() << name << ": Failed to remove temporary
file from filesystem: " << strerror(errno);
                                                                               
                                    ^
src/backends/drm/drm_qpainter_layer.cpp:54:79: error: use of undeclared
identifier 'errno'
        qCWarning(KWIN_DRM, "Failed to create dumb framebuffer: %s",
strerror(errno));
                                                                              ^
src/backends/drm/drm_qpainter_layer.cpp:66:87: error: use of undeclared
identifier 'errno'
                qCWarning(KWIN_DRM, "Failed to create dumb framebuffer: %s",
strerror(errno));
                                                                               
      ^
src/backends/drm/drm_qpainter_layer.cpp:121:94: error: use of undeclared
identifier 'errno'
        qCWarning(KWIN_DRM, "Failed to create dumb framebuffer for the cursor:
%s", strerror(errno));
                                                                               
             ^

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list