Summary: | emulators/wine-devel: undefined reference to `inotify_add_watch' | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | basarevych |
Component: | Individual Port(s) | Assignee: | Gerald Pfeifer <gerald> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | robert.ayrapetyan |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
basarevych
2015-08-22 05:04:58 UTC
I updated ports tree, wine-devel is 1.7.49,1 now and the error is the same. My options: DOCS, GECKO, HAL, MONO, OPENAL, V4L, X11 Do you have devel/libinotify installed? If so, does the problem go away if you remove that port? (Adjusting summary to be more concrete.) (In reply to Gerald Pfeifer from comment #2) Yes, I had libinotify installed and after removing it wine-devel compiled without errors. A commit references this bug: Author: gerald Date: Mon Oct 12 05:54:57 UTC 2015 New revision: 399113 URL: https://svnweb.freebsd.org/changeset/ports/399113 Log: Unconditionally prevent the detection of libinotify which fails the build in the presence of devel/libinotify and is not really necessary. PR: 202564, 168617 Changes: head/emulators/wine-devel/files/patch-libinotify Okay, now this should work for everyone (without having to remove libinotify, for example). Too bad there is not a configure option on the Wine side. A commit references this bug: Author: gerald Date: Sun Apr 28 22:44:17 UTC 2019 New revision: 500375 URL: https://svnweb.freebsd.org/changeset/ports/500375 Log: Update to Wine 4.7. This includes the following changes: - Support for builtin libraries in PE format even on Unix. - More implementation of the Debug Engine DLL. - Support for the Command Link standard control. - Improved Edit control sizing in CJK locales. - Various bug fixes. Officially this also brought an updated version of the Mono engine, which we got two days ago via revision 500271 already, though. My local patch files/patch-libinotify is not required any longer [1] (and would not apply to begin with) after the following upstream commit: commit 07c2e8581a2745725cd7ce4282eedb9a8084a1e4 Author: Damjan Jovanovic <damjan.jov@gmail.com> Date: Sat Apr 20 15:14:53 2019 +0200 configure: Link wineserver to libinotify if necessary. Outside Linux, wineserver fails to link when sys/inotify.h is present, as it tries to find inotify symbols in libc, which doesn't have them. The inotify symbols are in libinotify.so. Detect it properly, and link to it where available. Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> PR: 202564 [1], 168617 [1] Changes: head/emulators/wine-devel/distinfo head/emulators/wine-devel/files/patch-libinotify It [wine-devel 5.0-rc1] fails again when "libinotify" is present in the system. Without "libinotify" it compiles fine. Please reopen. I was able to build latest wine with "--without-inotify" option. |