Closed Bug 903549 Opened 11 years ago Closed 10 years ago

build failure in mozilla-release using webrtc and pulseaudio

Categories

(Core :: WebRTC, defect)

23 Branch
All
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 897300
Tracking Status
firefox23 - affected

People

(Reporter: cmt, Assigned: jesup)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130809184443

Steps to reproduce:

building firefox from source (firefox-23.0.source.tar.bz2) with pulseaudio enable (--enable-pulseaudio) fails with

<pre>
/usr/ports/www/firefox/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc:82:5: error: initializer 'sample_rate_hz_' does not name a non-static data member or base class; did you mean the member 'sampling_rate_hz'?
    sample_rate_hz_(0),
    ^~~~~~~~~~~~~~~
    sampling_rate_hz
/usr/ports/www/firefox/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h:313:19: note: 'sampling_rate_hz' declared here
    WebRtc_Word32 sampling_rate_hz;
                  ^
</pre>

and some other errors in the same vain.
Checking mercurial, I see that the commit for Bug 886886 was done correctly in mozilla-central: http://hg.mozilla.org/mozilla-central/rev/776fa6a8a552#l6.32 but the sample rate was named sampling_rate_hz in mozilla-release: http://hg.mozilla.org/releases/mozilla-release/rev/50843553c782#l6.33 which looks rather unintentional.
The patch is rather trivial and attached.


Actual results:

the build failed (error message see above)


Expected results:

i get firefox 23
Hardware: x86_64 → All
See Also: → 886886
This was fixed on Aurora/24 in bug 897300, but we hadn't noticed it affected FF23 as well since Pulse doesn't get built by default.

This would only affect non-Mozilla-official builds
Assignee: nobody → rjesup
Status: UNCONFIRMED → ASSIGNED
Depends on: 897300
Ever confirmed: true
No need to track for release, this is already fixed on beta (24) and anyone who wants this can take it from there for their own builds.
ff23 is long since EOL to keep it open.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: