Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2023 11:34:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269406] x11-wm/plasma5-kwin: fails on FreeBSD < 13 after Plasma 5.26 update
Message-ID:  <bug-269406-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269406

            Bug ID: 269406
           Summary: x11-wm/plasma5-kwin: fails on FreeBSD < 13 after
                    Plasma 5.26 update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Regressed by ports d06d26f8c45e

FreeBSD < 13, DragonFly, NetBSD, OpenBSD don't support sealing. Neither Lin=
ux
nor FreeBSD support sealing regular files.

https://elixir.bootlin.com/linux/latest/A/ident/F_SEAL_WRITE
https://cgit.freebsd.org/src/commit/?id=3Daf755d3e4859

src/utils/ramfile.cpp:80:17: error: use of undeclared identifier
'F_SEAL_SHRINK'
    int seals =3D F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                ^
src/utils/ramfile.cpp:80:33: error: use of undeclared identifier 'F_SEAL_GR=
OW'
    int seals =3D F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                                ^
src/utils/ramfile.cpp:80:47: error: use of undeclared identifier 'F_SEAL_SE=
AL'
    int seals =3D F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
                                              ^
src/utils/ramfile.cpp:82:18: error: use of undeclared identifier 'F_SEAL_WR=
ITE'
        seals |=3D F_SEAL_WRITE;
                 ^
src/utils/ramfile.cpp:85:21: error: use of undeclared identifier 'F_ADD_SEA=
LS'
    if (fcntl(fd(), F_ADD_SEALS, seals) !=3D 0) {
                    ^
src/utils/ramfile.cpp:139:35: error: use of undeclared identifier 'F_GET_SE=
ALS'
    const int seals =3D fcntl(fd(), F_GET_SEALS);
                                  ^
src/utils/ramfile.cpp:141:21: error: use of undeclared identifier
'F_SEAL_WRITE'
        if (seals & F_SEAL_WRITE) {
                    ^
7 errors generated.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269406-7788>