[Bug 52085] New: wine-gecko fails to build with 'storage size of mreq isn't known' on Fedora 35 with gcc11
https://bugs.winehq.org/show_bug.cgi?id=52085 Bug ID: 52085 Summary: wine-gecko fails to build with 'storage size of mreq isn't known' on Fedora 35 with gcc11 Product: Wine-gecko Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek(a)codeweavers.com Reporter: patrick+winehq.org(a)laimbock.com Distribution: --- Created attachment 71096 --> https://bugs.winehq.org/attachment.cgi?id=71096 Log with build failure due to 'storage size of mreq isn't known' wine-gecko 2.47.2 fails to build with 'storage size of mreq isn't known' on Fedora 35 with gcc11. Log snippet attached. -- 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=52085 --- Comment #1 from Jacek Caban <jacek(a)codeweavers.com> --- I can't reproduce it here with GCC11. Relevant ip_mreq type is a part of mingw-w64 and it seems to be defined there. -- 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=52085 --- Comment #2 from Patrick <patrick+winehq.org(a)laimbock.com> --- This seems to happen only when building with make -j1 -- 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=52085 Michael Cronenworth <mike(a)cchtml.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike(a)cchtml.com --- Comment #3 from Michael Cronenworth <mike(a)cchtml.com> --- It's a one-liner fix to include netinet/in.h. --- a/nsprpub/pr/src/io/prmapopt.c 2020-11-30 06:47:56.000000000 -0600 +++ b/nsprpub/pr/src/io/prmapopt.c 2022-01-24 17:47:10.013250910 -0600 @@ -33,6 +33,8 @@ #include "primpl.h" +#include <netinet/in.h> + #ifdef HAVE_NETINET_TCP_H #include <netinet/tcp.h> /* TCP_NODELAY, TCP_MAXSEG */ #endif -- 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=52085 --- Comment #4 from Michael Cronenworth <mike(a)cchtml.com> --- Oops. Since this part uses MinGW the correct header is winsock2.h. --- /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/wine-gecko-2.47.2/wine-gecko-2.47.2/nsprpub/pr/src/io/prmapopt.c.orig 2022-01-24 19:49:18.944000804 -0600 +++ /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/wine-gecko-2.47.2/wine-gecko-2.47.2/nsprpub/pr/src/io/prmapopt.c 2022-01-24 19:48:35.511918656 -0600 @@ -19,6 +19,7 @@ #if defined(WINNT) || defined(__MINGW32__) #include <winsock.h> +#include <winsock2.h> #endif /* MinGW doesn't define these in its winsock.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=52085 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jacek Caban <jacek(a)codeweavers.com> --- Looks good to me, thanks! I pushed the patch to git: https://sourceforge.net/p/wine/wine-gecko/ci/7601bd71999da4b5b2a0cfc88a34b71... (I also removed winsock.h, because it seems unneeded when winsock2.h is used). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=52085 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7601bd71999da4b5b2a0cfc88a3 | |4b71547975fc8 -- 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