https://bugs.winehq.org/show_bug.cgi?id=56047
Bug ID: 56047 Summary: Won't build on FreeBSD, error: 'F_GETPATH' undeclared Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: adrien_fernandes2@hotmail.com
FreeBSD/amd64 15.0-CURRENT main-n266837-3933ff56f9b6: Thu Dec 7 04:11:58 UTC 2023
-----------------
Wine 9.0-rc1 and rc2 won't build on FreeBSD. The error is :
/Wine/wine-9.0-rc2/server/change.c: In function 'get_path_from_fd': /Wine/wine-9.0-rc2/server/change.c:730:21: error: 'F_GETPATH' undeclared (first use in this function) 730 | if (!fcntl( fd, F_GETPATH, ret )) return ret; | ^~~~~~~~~ /Wine/wine-9.0-rc2/server/change.c:730:21: note: each undeclared identifier is reported only once for each function it appears in *** Error code 1
Stop.
-----------------
Is 'F_GETPATH' available on FreeBSD?
https://bugs.winehq.org/show_bug.cgi?id=56047
Adrien Fernandes adrien_fernandes2@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adrien_fernandes2@hotmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=56047
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #1 from Vijay Kamuju infyquest@gmail.com --- It seems F_GETPATH is not yet supported in FreeBSD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198570
https://bugs.winehq.org/show_bug.cgi?id=56047
Brendan Shanks bshanks@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks@codeweavers.com
--- Comment #2 from Brendan Shanks bshanks@codeweavers.com --- F_GETPATH is also not supported on OpenBSD or NetBSD (until 10.x, which is not released yet).
Also note that libinotify needs to be installed for this codepath to be active.
I'll submit a fix for this.
https://bugs.winehq.org/show_bug.cgi?id=56047
--- Comment #3 from Brendan Shanks bshanks@codeweavers.com --- Created MR4744 with a fix: https://gitlab.winehq.org/wine/wine/-/merge_requests/4744
https://bugs.winehq.org/show_bug.cgi?id=56047
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6b4eae4088b19441a0185b5f4e5 | |a4f11fb4d552d Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Vijay Kamuju infyquest@gmail.com --- Fix now committed - 6b4eae4088b19441a0185b5f4e5a4f11fb4d552d
https://bugs.winehq.org/show_bug.cgi?id=56047
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc4.