Bug 270871 - x11/kitty fails to build with invalid UTF-8 in comment using poudriere on stable-13.2 amd64
Summary: x11/kitty fails to build with invalid UTF-8 in comment using poudriere on sta...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-16 00:58 UTC by Robert Cina
Modified: 2024-01-21 21:26 UTC (History)
2 users (show)

See Also:
fuz: maintainer-feedback? (alexis.praga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2023-04-16 00:58:26 UTC
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
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2023-04-16 00:58:26 UTC
Maintainer informed via mail
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-04-25 20:50:55 UTC
Sent email to maintainer.

Does this error still occur with the current version of the port?
Comment 3 Robert Cina 2023-04-25 22:14:42 UTC
I'm still seeing the issue with FreeBSD 13.2-STABLE 1302505 amd64
using poudriere.
Comment 4 Alexis Praga 2023-04-26 19:17:38 UTC
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
Comment 5 Robert Cina 2023-04-26 19:23:25 UTC
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.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-04-26 21:40:13 UTC
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.