Windows build failure: winsock2.h(4150,5): error: unknown type name 'UBLAH_IGNORE_ME_PLEASE'
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox-esr102 unaffected, firefox112 unaffected, firefox113 unaffected, firefox114 wontfix, firefox115 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox112 | --- | unaffected |
| firefox113 | --- | unaffected |
| firefox114 | --- | wontfix |
| firefox115 | --- | fixed |
People
(Reporter: RyanVM, Assigned: sergesanspaille)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 external file)
|
4.24 MB,
application/zip
|
Details |
This may require ac_add_options --enable-bootstrap=-vs to reproduce as it could be an issue with newer Windows SDKs only. Seems like maybe we should have an ifdef/undef for this define to avoid collisions from system headers?
In file included from Unified_cpp_transport_ipc0.cpp:11:
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/ipc/StunAddrsRequestParent.cpp:19:
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net\local_addr.h:39:
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net/transport_addr.h:50:
C:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/um\winsock2.h(4149,5): error: unknown type name 'UBLAH_IGNORE_ME_PLEASE'
UINT8 operation;
^
C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net/transport_addr.h(48,15): note:
expanded from macro 'UINT8'
#define UINT8 UBLAH_IGNORE_ME_PLEASE
^
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1830038
:sergesanspaille, since you are the author of the regressor, bug 1830038, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
It's on me... very strange that it didn't get caught by CI, I'll have a look, thanks for reporting!
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1830038
| Assignee | ||
Comment 4•3 years ago
|
||
Ryan, do you also have the issue when building in non-unified build (i.e. through ac_add_options --disable-unified-build) ?
| Reporter | ||
Comment 5•3 years ago
•
|
||
Same failure with non-unified builds.
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/ipc/StunAddrsRequestParent.cpp:19:
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net\local_addr.h:39:
In file included from C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net/transport_addr.h:50:
C:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/um\winsock2.h(4150,5): error: unknown type name 'UBLAH_IGNORE_ME_PLEASE'
UINT8 triggerFlags;
^
C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/third_party/nICEr/src/net/transport_addr.h(48,15): note:
expanded from macro 'UINT8'
#define UINT8 UBLAH_IGNORE_ME_PLEASE
^
BUILDSTATUS OBJECT_FILE ScriptableContentIterator.obj
| Assignee | ||
Comment 6•3 years ago
|
||
ok... my udnerstanding is that some windows header are included before we hook in winsock2.h, and that depends on your particular system's header... could you share the preprocessed version of C:/Users/Ryan/repos/mozilla/dom/media/webrtc/transport/ipc/StunAddrsRequestParent.cpp ?
Comment 7•3 years ago
|
||
This issue also occurs when cross-compiling from Linux -> Windows, with the 10.0.22621.0 SDK.
I've attached the preprocessed unified build file, compressed as a zip as it's ~24MiB uncompressed.
| Assignee | ||
Comment 8•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•3 years ago
|
||
| bugherder | ||
Comment 11•3 years ago
|
||
The patch landed in nightly and beta is affected.
:sergesanspaille, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox114towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•3 years ago
|
Description
•