maintainer-feedback requested: [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 11:34:54 GMT 2023


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 269406: x11-wm/plasma5-kwin: fails on FreeBSD < 13 after Plasma 5.26 update
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269406



--- Description ---
Regressed by ports d06d26f8c45e

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

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

src/utils/ramfile.cpp:80:17: error: use of undeclared identifier
'F_SEAL_SHRINK'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
		^
src/utils/ramfile.cpp:80:33: error: use of undeclared identifier 'F_SEAL_GROW'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
				^
src/utils/ramfile.cpp:80:47: error: use of undeclared identifier 'F_SEAL_SEAL'
    int seals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
					      ^
src/utils/ramfile.cpp:82:18: error: use of undeclared identifier 'F_SEAL_WRITE'
	seals |= F_SEAL_WRITE;
		 ^
src/utils/ramfile.cpp:85:21: error: use of undeclared identifier 'F_ADD_SEALS'
    if (fcntl(fd(), F_ADD_SEALS, seals) != 0) {
		    ^
src/utils/ramfile.cpp:139:35: error: use of undeclared identifier 'F_GET_SEALS'
    const int seals = 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.


More information about the kde-freebsd mailing list