Closed
Bug 1160745
Opened 10 years ago
Closed 10 years ago
Fix webrtc tests building on OpenBSD (missing -lsndio)
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox39 | --- | unaffected |
| firefox40 | --- | fixed |
| firefox41 | --- | fixed |
People
(Reporter: gaston, Assigned: gaston)
References
Details
Attachments
(1 file, 1 obsolete file)
|
653 bytes,
patch
|
glandium
:
review+
ritu
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Similar to bug 1127510, currently if enabled webrtc tests fail to build on OpenBSD with missing symbols to sndio (which is needed by audio_device and cubeb)
See http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/1478/steps/build/logs/stdio for the full log.
The attached patch fixes the build for me.
| Assignee | ||
Updated•10 years ago
|
Attachment #8600584 -
Flags: review?(rjesup)
Attachment #8600584 -
Flags: review?(rbarker)
Updated•10 years ago
|
Attachment #8600584 -
Flags: review?(rjesup) → review+
Comment 1•10 years ago
|
||
Comment on attachment 8600584 [details] [diff] [review]
Add -lsndio on OpenBSD
This is a buildfile change, you officially should get a build peer (though it's trivial and for OpenBSD and for a cpp unit test)
Attachment #8600584 -
Attachment is patch: true
Attachment #8600584 -
Flags: review?(mh+mozilla)
Updated•10 years ago
|
Attachment #8600584 -
Flags: review?(rbarker) → review+
Comment 2•10 years ago
|
||
Comment on attachment 8600584 [details] [diff] [review]
Add -lsndio on OpenBSD
Review of attachment 8600584 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/webrtc/signaling/test/common.build
@@ +140,5 @@
> if CONFIG['OS_TARGET'] == 'Darwin':
> OS_LIBS += CONFIG['TK_LIBS']
>
> +if CONFIG['OS_TARGET'] == 'OpenBSD':
> + OS_LIBS += ['sndio']
Shouldn't this only be needed in media/webrtc/signaling/test/standalone/moz.build?
Attachment #8600584 -
Flags: review?(mh+mozilla) → feedback+
| Assignee | ||
Comment 3•10 years ago
|
||
That also works, i was more concerned about having it in a more "central" place so it wouldnt break if more tests were enabled/tweaked in other directories.
Can you mark it checkin-needed if you r+ it ? i wont be really available to land it (on a long trip)
Assignee: nobody → landry
Attachment #8602690 -
Flags: review?(mh+mozilla)
Comment 4•10 years ago
|
||
Comment on attachment 8602690 [details] [diff] [review]
Add -lsndio on OpenBSD, only in standalone dir this time
Review of attachment 8602690 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/webrtc/signaling/test/standalone/moz.build
@@ +57,5 @@
>
> +if CONFIG['OS_TARGET'] == 'OpenBSD':
> + OS_LIBS += ['sndio']
> +
> +
There's one too many carriage return.
Attachment #8602690 -
Flags: review?(mh+mozilla) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #8600584 -
Attachment is obsolete: true
Comment 5•10 years ago
|
||
Keywords: checkin-needed
| Assignee | ||
Comment 6•10 years ago
|
||
Sorry i messed up the bug # in the patch..
| Assignee | ||
Comment 7•10 years ago
|
||
Will have to look at the details, but my aurora build from today failed, so it might also apply there.. depending on the merges.
status-firefox39:
--- → affected
| Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8602690 [details] [diff] [review]
Add -lsndio on OpenBSD, only in standalone dir this time
Approval Request Comment
[Feature/regressing bug #]: 1101651
[User impact if declined]: failure to build on OpenBSD
[Describe test coverage new/current, TreeHerder]: in m-i and m-c, NPOTB
[Risks and why]: only affects a single tier3 platform
Can a sherrif fix the bug number when commiting ?
Attachment #8602690 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment on attachment 8602690 [details] [diff] [review]
Add -lsndio on OpenBSD, only in standalone dir this time
Approved, seems like a test-only build.
Attachment #8602690 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 11•10 years ago
|
||
Dunno the status of the merges, but it might have to go to -beta - 39 is still affected
Keywords: checkin-needed
Comment 12•10 years ago
|
||
Fx39 is on beta.
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
affected → ---
status-firefox41:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Comment 13•10 years ago
|
||
| Assignee | ||
Comment 14•10 years ago
|
||
Comment on attachment 8602690 [details] [diff] [review]
Add -lsndio on OpenBSD, only in standalone dir this time
Approval Request Comment
[Feature/regressing bug #]: 1101651
[User impact if declined]: failure to build on OpenBSD
[Describe test coverage new/current, TreeHerder]: in m-i and m-c and m-a now, NPOTB
[Risks and why]: only affects a single tier3 platform
Then i guess i'll have to ask for beta approval.. sigh
Attachment #8602690 -
Flags: approval-mozilla-beta?
| Assignee | ||
Updated•10 years ago
|
status-firefox39:
--- → affected
Comment 15•10 years ago
|
||
Comment on attachment 8602690 [details] [diff] [review]
Add -lsndio on OpenBSD, only in standalone dir this time
Approved for uplift to beta (39)
Attachment #8602690 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 16•10 years ago
|
||
Bug 1101651 never landed on Fx39 (which is what mozilla-beta is).
Updated•10 years ago
|
Attachment #8602690 -
Flags: approval-mozilla-beta+
You need to log in
before you can comment on or make changes to this bug.
Description
•