The port x11/kitty fails to build for me using poudriere on FreeBSD 13.2-STABLE 1302505 amd64. Below is the error from the build log: In file included from glfw/x11_platform.h:52: In file included from /usr/local/include/X11/extensions/XInput2.h:32: /usr/local/include/X11/extensions/Xge.h:2:14: error: invalid UTF-8 in comment [-Werror,-Winvalid-utf8] * Copyright <A9> 2007-2008 Peter Hutterer ^ 1 error generated. done
Maintainer informed via mail
Sent email to maintainer. Does this error still occur with the current version of the port?
I'm still seeing the issue with FreeBSD 13.2-STABLE 1302505 amd64 using poudriere.
Sorry for the late reply. Kitty outside poudriere builds just fine. Unfortunately, I don't have access to a full poudriere build right now. I've also received mails about build errors, e.g: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p519c178336e5_scb3c414f2f/logs/kitty-0.28.0_1.log
I'd be happy to test a patch if one is available to fix the bug and see if it works using poudriere on my stable-13.2 system.
The easiest solution would be to patch out -Werror. This option should always be removed; warnings change with every compiler version and ensuring a warning-free build for the foreseeable future is basically impossible.