Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. libs/wine/config.c: In function 'get_runtime_exedir': libs/wine/config.c:150:35: error: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration] 150 | if (dir && !sysctl( pathname, ARRAY_SIZE( pathname ), dir, &dir_size, NULL, 0 )) | ^~~~~~~~~~ gmake: *** [Makefile:171991: libs/wine/config.o] Error 1 *** Error code 1 Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/wine8-8.0.2_2.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=10842f007b5747d49b39ff93a6cb2b763c379180 commit 10842f007b5747d49b39ff93a6cb2b763c379180 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2024-09-03 15:35:50 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2024-09-03 15:39:39 +0000 emulators/wine8: Deprecate in favor of the main wine port This port served to support a transition period from Wine 8.0 to Wine 9.0 which, after half a year, should be mostly complete. As reminded by a build failure with GCC 14, this codebase is not maintained by upstream any longer, so initiate deprecation (with an initial EXPIRATION_DATE of 2024-10-30). On the way, release maintainership. PR: 281231 emulators/wine8/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
I'm not explicitly marking this as RESOLVED, though it'll go away when this port is removed from the tree end of October, so it shouldn't be in the way of GCC 14 as default. (Should anyone want to reverse the deprecation, they should volunteer becoming a maintainer and in turn address this issue.)
This port expired today.