[Bug 49829] New: file.c:237:37: error: 'EXTATTR_NAMESPACE_USER' undeclared building with GCC 9 and FreeBSD
https://bugs.winehq.org/show_bug.cgi?id=49829 Bug ID: 49829 Summary: file.c:237:37: error: 'EXTATTR_NAMESPACE_USER' undeclared building with GCC 9 and FreeBSD Product: Wine-staging Version: 5.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: gerald(a)pfeifer.com CC: damjan.jov(a)gmail.com, leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: Other Created attachment 68166 --> https://bugs.winehq.org/attachment.cgi?id=68166 Excerpt from the failure log This regression came between version 5.16 and 5.17 and only with Wine Staging. I am seeing this on FreeBSD/i386 11.x with GCC 9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49829 --- Comment #1 from Gerald Pfeifer <gerald(a)pfeifer.com> --- Still reproduces with Wine 5.18. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49829 --- Comment #2 from Gerald Pfeifer <gerald(a)pfeifer.com> --- (In reply to Gerald Pfeifer from comment #1)
Still reproduces with Wine 5.18.
I actually meant: Still reproduces with Wine 5.19. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49829 Gerald Pfeifer <gerald(a)pfeifer.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|file.c:237:37: error: |file.c:237:37: error: |'EXTATTR_NAMESPACE_USER' |'EXTATTR_NAMESPACE_USER' |undeclared building with |undeclared on FreeBSD |GCC 9 and FreeBSD | --- Comment #3 from Gerald Pfeifer <gerald(a)pfeifer.com> --- It turns out this is not specific to GCC, but to building on FreeBSD. The following addresses part of the issue: diff -u unix/file.c{.orig,} --- unix/file.c.orig 2020-10-14 19:03:39.476740000 +0000 +++ unix/file.c 2020-10-14 19:49:03.226593000 +0000 @@ -112,6 +112,9 @@ #elif defined(HAVE_SYS_XATTR_H) #include <sys/xattr.h> #endif +#ifdef HAVE_SYS_EXTATTR_H +#include <sys/extattr.h> +#endif #include <time.h> #ifdef HAVE_UNISTD_H # include <unistd.h> -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49829 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- This should now be fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49829 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing bugs fixed in Staging 5.21. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla