Bug 281231 - emulators/wine8: Fails to build with GCC 14: error: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration]
Summary: emulators/wine8: Fails to build with GCC 14: error: implicit declaration of f...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://pkg-status.freebsd.org/gohan0...
Keywords:
Depends on:
Blocks: 281091
  Show dependency treegraph
 
Reported: 2024-09-03 13:03 UTC by Lorenzo Salvadore
Modified: 2024-10-31 21:49 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2024-09-03 13:03:41 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-09-03 15:40:16 UTC
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(-)
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2024-09-03 15:53:34 UTC
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.)
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2024-10-31 21:49:50 UTC
This port expired today.