Closed
Bug 1152185
Opened 10 years ago
Closed 10 years ago
media/webrtc/signaling/test/signaling_unittests.cpp fails to build with musl libc (no <sys/queue.h>)
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: felix.janda, Assigned: felix.janda)
Details
Attachments
(1 file, 2 obsolete files)
|
2.15 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
Build of media/webrtc/signaling/test/signaling_unittests.cpp fails on linux systems with musl libc (http://musl-libc.org) because signaling_unittests.cpp includes media/mtransport/test/stunserver.cpp, which includes media/mtransport/third_party/nrappkit/src/share/nr_api.h, which tries to include sys/queue.h, which is missing on musl.
There is a copy of sys/queue.h in media/mtransport/third_party/nrappkit/src/port/generic/include/sys/queue.h, which is used for the compilation of mtransport since media/mtransport/third_party/nrappkit/src/port/generic/include is in LOCAL_INCLUDES of media/mtransport/build/moz.build.
The attached patch puts media/mtransport/third_party/nrappkit/src/port/generic/include also into LOCAL_INCLUDES of media/webrtc/signaling/test/moz.build to fix the compilation.
Attachment #8589479 -
Flags: review?(ekr)
Comment 1•10 years ago
|
||
Comment on attachment 8589479 [details] [diff] [review]
Proposed patch
Review of attachment 8589479 [details] [diff] [review]:
-----------------------------------------------------------------
This patch looks fine, but please provide a try push demonstrating it does not cause problems and then ask for re-review.
Attachment #8589479 -
Flags: review?(ekr)
Comment 2•10 years ago
|
||
This needs rebasing.
Assignee: nobody → felix.janda
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8589479 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•10 years ago
|
||
Does now also the same to media/mtransport/test/moz.build thereby making the include consistent between mtransport/test/moz.build, mtransport/common.build and webrtc/signaling/test/common.build.
Attachment #8592416 -
Attachment is obsolete: true
Comment 5•10 years ago
|
||
Comment on attachment 8593600 [details] [diff] [review]
Expanded patch
Review of attachment 8593600 [details] [diff] [review]:
-----------------------------------------------------------------
Please provide a try push demonstrating that this doesn't break the build for other platforms.
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Eric Rescorla (:ekr) from comment #5)
> Please provide a try push demonstrating that this doesn't break the build
> for other platforms.
Sorry, I don't have access to the try server. Could you do a try push for me?
Comment 7•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8593600 -
Flags: review?(ekr)
Updated•10 years ago
|
Attachment #8593600 -
Flags: review?(ekr) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 9•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•