Closed Bug 837427 Opened 7 years ago Closed 7 years ago

building --enable-gstreamer is broken

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla21

People

(Reporter: Benjamin, Assigned: johns)

References

Details

Attachments

(1 file)

In file included from ../../../dist/include/GStreamerReader.h:8:0,
                 from /home/benjamin/dev/mozilla/inbound/content/media/webaudio/MediaBufferDecoder.cpp:26:
../../../dist/system_wrappers/gst/gst.h:3:26: fatal error: gst/gst.h: No such file or directory
compilation terminated.

In the directory  /home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media/webaudio
The following command failed to execute properly:
c++ -o MediaBufferDecoder.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /home/benjamin/dev/mozilla/inbound/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -I/home/benjamin/dev/mozilla/inbound/content/media/webaudio -I. -I../../../dist/include -I/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/dist/include/nspr -I/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/dist/include/nss -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF .deps/MediaBufferDecoder.o.pp /home/benjamin/dev/mozilla/inbound/content/media/webaudio/MediaBufferDecoder.cpp
make[7]: *** [MediaBufferDecoder.o] Error 1
make[7]: *** Waiting for unfinished jobs....
MediaEngineWebRTCAudio.cpp
make[7]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media/webaudio'
make[6]: *** [webaudio_libs] Error 2
make[6]: *** Waiting for unfinished jobs....
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHReader.cpp: In member function ‘virtual nsresult mozilla::DASHReader::Seek(int64_t, int64_t, int64_t, int64_t)’:
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHReader.cpp:271:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp: In member function ‘void mozilla::DASHDecoder::NotifyDownloadEnded(mozilla::DASHRepDecoder*, nsresult, int32_t)’:
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp:754:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp:760:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp: In member function ‘nsresult mozilla::DASHDecoder::PossiblySwitchDecoder(mozilla::DASHRepDecoder*)’:
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp:1014:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp:1015:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/dash/DASHDecoder.cpp:993:8: warning: unused variable ‘noRepAvailable’ [-Wunused-variable]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp: In member function ‘virtual nsresult mozilla::GStreamerReader::ReadMetadata(mozilla::VideoInfo*, mozilla::MetadataTags**)’:
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:214:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp: In member function ‘virtual nsresult mozilla::GStreamerReader::GetBuffered(nsTimeRanges*, int64_t)’:
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:532:15: warning: unused variable ‘format’ [-Wunused-variable]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:554:72: warning: operation on ‘start’ may be undefined [-Wsequence-point]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:519:10: warning: unused variable ‘resourceLength’ [-Wunused-variable]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp: In member function ‘void mozilla::GStreamerReader::ReadAndPushData(guint)’:
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:587:79: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp: In member function ‘void mozilla::GStreamerReader::NeedData(GstAppSrc*, guint)’:
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:630:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp: In member function ‘gboolean mozilla::GStreamerReader::SeekData(GstAppSrc*, guint64)’:
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:665:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/benjamin/dev/mozilla/inbound/content/media/gstreamer/GStreamerReader.cpp:671:55: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
make[7]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media/webrtc'
make[7]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media/dash'
make[7]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media/gstreamer'
make[6]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content/media'
make[5]: *** [media_libs] Error 2
make[5]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu/content'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/benjamin/dev/mozilla/inbound/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/benjamin/dev/mozilla/inbound'
make: *** [build] Error 2
Blocks: 792263
Bug 792263 added content/media/webaudio/MediaBufferDecoder.cpp, but webaudio
doesn't include gstreamer cflags.
Attachment #710189 - Flags: review?(ehsan)
Attachment #710189 - Flags: review?(ehsan) → review+
Try run for 257b1704fb9d is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=257b1704fb9d
Results (out of 8 total builds):
    success: 8
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jschoenick@mozilla.com-257b1704fb9d
https://hg.mozilla.org/mozilla-central/rev/c80a10a30cf2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.