[Bug 768326] New: Building GStreamer for Android fails on Windows (new since 1.8.2)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 3 08:09:34 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768326

            Bug ID: 768326
           Summary: Building GStreamer for Android fails on Windows (new
                    since 1.8.2)
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: andy.devar at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

A command like the following is issued when building.
It is not compatible with Windows for several reasons:

- "cat" is not available on plain Windows (installing gnuwin32 might help)

- Multiline commands can't be separated by the backslash character "\". Maybe
"^" could be used instead - see:
http://stackoverflow.com/questions/605686/windows-how-to-specify-multiline-command-on-command-prompt

- Maybe more.

This problem seems to be new in gstreamer 1.8.2, as it did not occur in 1.8.1.



GStreamer      : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c
cat
C:/Source/gstreamer-1.0-android-armv7-1.8.2//share/gst-android/ndk-build//gstreamer_android-1.0.c.in
| \
       
C:/Source/gstreamer-1.0-android-armv7-1.8.2//share/gst-android/ndk-build//tools/windows/sed
"s/@PLUGINS_DECLARATION@/ GST_PLUGIN_STATIC_DECLARE(coreelements);\n 
GST_PLUGIN_STATIC_DECLARE(adder);\n  GST_PLUGIN_STATIC_DECLARE(app);\n 
GST_PLUGIN_STATIC_DECLARE(audioconvert);\n 
GST_PLUGIN_STATIC_DECLARE(audiorate);\n 
GST_PLUGIN_STATIC_DECLARE(audioresample);\n 
GST_PLUGIN_STATIC_DECLARE(audiotestsrc);\n  GST_PLUGIN_STATIC_DECLARE(gio);\n 
GST_PLUGIN_STATIC_DECLARE(pango);\n 
GST_PLUGIN_STATIC_DECLARE(typefindfunctions);\n 
GST_PLUGIN_STATIC_DECLARE(videoconvert);\n 
GST_PLUGIN_STATIC_DECLARE(videorate);\n 
GST_PLUGIN_STATIC_DECLARE(videoscale);\n 
GST_PLUGIN_STATIC_DECLARE(videotestsrc);\n 
GST_PLUGIN_STATIC_DECLARE(volume);\n  GST_PLUGIN_STATIC_DECLARE(autodetect);\n 
GST_PLUGIN_STATIC_DECLARE(videofilter);\n 
GST_PLUGIN_STATIC_DECLARE(playback);\n  GST_PLUGIN_STATIC_DECLARE(subparse);\n 
GST_PLUGIN_STATIC_DECLARE(ogg);\n  GST_PLUGIN_STATIC_DECLARE(theora);\n 
GST_PLUGIN_STATIC_DECLARE(vorbis);\n  GST_PLUGIN_STATIC_DECLARE(opus);\n 
GST_PLUGIN_STATIC_DECLARE(ivorbisdec);\n  GST_PLUGIN_STATIC_DECLARE(alaw);\n 
GST_PLUGIN_STATIC_DECLARE(apetag);\n 
GST_PLUGIN_STATIC_DECLARE(audioparsers);\n 
GST_PLUGIN_STATIC_DECLARE(auparse);\n  GST_PLUGIN_STATIC_DECLARE(avi);\n 
GST_PLUGIN_STATIC_DECLARE(dv);\n  GST_PLUGIN_STATIC_DECLARE(flac);\n 
GST_PLUGIN_STATIC_DECLARE(flv);\n  GST_PLUGIN_STATIC_DECLARE(flxdec);\n 
GST_PLUGIN_STATIC_DECLARE(icydemux);\n  GST_PLUGIN_STATIC_DECLARE(id3demux);\n 
GST_PLUGIN_STATIC_DECLARE(isomp4);\n  GST_PLUGIN_STATIC_DECLARE(jpeg);\n 
GST_PLUGIN_STATIC_DECLARE(matroska);\n  GST_PLUGIN_STATIC_DECLARE(mulaw);\n 
GST_PLUGIN_STATIC_DECLARE(multipart);\n  GST_PLUGIN_STATIC_DECLARE(png);\n 
GST_PLUGIN_STATIC_DECLARE(speex);\n  GST_PLUGIN_STATIC_DECLARE(taglib);\n 
GST_PLUGIN_STATIC_DECLARE(vpx);\n  GST_PLUGIN_STATIC_DECLARE(wavenc);\n 
GST_PLUGIN_STATIC_DECLARE(wavpack);\n  GST_PLUGIN_STATIC_DECLARE(wavparse);\n 
GST_PLUGIN_STATIC_DECLARE(y4menc);\n  GST_PLUGIN_STATIC_DECLARE(adpcmdec);\n 
GST_PLUGIN_STATIC_DECLARE(adpcmenc);\n  GST_PLUGIN_STATIC_DECLARE(dashdemux);\n
 GST_PLUGIN_STATIC_DECLARE(dvbsuboverlay);\n 
GST_PLUGIN_STATIC_DECLARE(dvdspu);\n  GST_PLUGIN_STATIC_DECLARE(hls);\n 
GST_PLUGIN_STATIC_DECLARE(id3tag);\n  GST_PLUGIN_STATIC_DECLARE(kate);\n 
GST_PLUGIN_STATIC_DECLARE(midi);\n  GST_PLUGIN_STATIC_DECLARE(mxf);\n 
GST_PLUGIN_STATIC_DECLARE(openh264);\n  GST_PLUGIN_STATIC_DECLARE(opusparse);\n
 GST_PLUGIN_STATIC_DECLARE(pcapparse);\n  GST_PLUGIN_STATIC_DECLARE(pnm);\n 
GST_PLUGIN_STATIC_DECLARE(rfbsrc);\n  GST_PLUGIN_STATIC_DECLARE(schro);\n 
GST_PLUGIN_STATIC_DECLARE(gstsiren);\n 
GST_PLUGIN_STATIC_DECLARE(smoothstreaming);\n 
GST_PLUGIN_STATIC_DECLARE(subenc);\n 
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);\n 
GST_PLUGIN_STATIC_DECLARE(y4mdec);\n  GST_PLUGIN_STATIC_DECLARE(jpegformat);\n 
GST_PLUGIN_STATIC_DECLARE(gdp);\n  GST_PLUGIN_STATIC_DECLARE(rsvg);\n 
GST_PLUGIN_STATIC_DECLARE(openjpeg);\n  GST_PLUGIN_STATIC_DECLARE(spandsp);\n 
GST_PLUGIN_STATIC_DECLARE(androidmedia);\n  GST_PLUGIN_STATIC_DECLARE(tcp);\n 
GST_PLUGIN_STATIC_DECLARE(rtsp);\n  GST_PLUGIN_STATIC_DECLARE(rtp);\n 
GST_PLUGIN_STATIC_DECLARE(rtpmanager);\n  GST_PLUGIN_STATIC_DECLARE(soup);\n 
GST_PLUGIN_STATIC_DECLARE(udp);\n  GST_PLUGIN_STATIC_DECLARE(dataurisrc);\n 
GST_PLUGIN_STATIC_DECLARE(sdp);\n  GST_PLUGIN_STATIC_DECLARE(srtp);\n 
GST_PLUGIN_STATIC_DECLARE(rtspclientsink);\n 
GST_PLUGIN_STATIC_DECLARE(opensles);\n  GST_PLUGIN_STATIC_DECLARE(opengl);\n 
GST_PLUGIN_STATIC_DECLARE(mms);\n  GST_PLUGIN_STATIC_DECLARE(rtmp);\n 
GST_PLUGIN_STATIC_DECLARE(asfmux);\n  GST_PLUGIN_STATIC_DECLARE(dtsdec);\n 
GST_PLUGIN_STATIC_DECLARE(faad);\n  GST_PLUGIN_STATIC_DECLARE(mpegpsdemux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegpsmux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegtsdemux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegtsmux);\n  GST_PLUGIN_STATIC_DECLARE(voaacenc);\n
 GST_PLUGIN_STATIC_DECLARE(a52dec);\n  GST_PLUGIN_STATIC_DECLARE(amrnb);\n 
GST_PLUGIN_STATIC_DECLARE(amrwbdec);\n  GST_PLUGIN_STATIC_DECLARE(asf);\n 
GST_PLUGIN_STATIC_DECLARE(dvdsub);\n  GST_PLUGIN_STATIC_DECLARE(dvdlpcmdec);\n 
GST_PLUGIN_STATIC_DECLARE(mad);\n  GST_PLUGIN_STATIC_DECLARE(mpeg2dec);\n 
GST_PLUGIN_STATIC_DECLARE(xingmux);\n  GST_PLUGIN_STATIC_DECLARE(realmedia);\n 
GST_PLUGIN_STATIC_DECLARE(x264);\n  GST_PLUGIN_STATIC_DECLARE(lame);\n 
GST_PLUGIN_STATIC_DECLARE(mpg123);\n  GST_PLUGIN_STATIC_DECLARE(libav);\n/g" |
\
       
C:/Source/gstreamer-1.0-android-armv7-1.8.2//share/gst-android/ndk-build//tools/windows/sed
"s/@PLUGINS_REGISTRATION@/ GST_PLUGIN_STATIC_REGISTER(coreelements);\n 
GST_PLUGIN_STATIC_REGISTER(adder);\n  GST_PLUGIN_STATIC_REGISTER(app);\n 
GST_PLUGIN_STATIC_REGISTER(audioconvert);\n 
GST_PLUGIN_STATIC_REGISTER(audiorate);\n 
GST_PLUGIN_STATIC_REGISTER(audioresample);\n 
GST_PLUGIN_STATIC_REGISTER(audiotestsrc);\n  GST_PLUGIN_STATIC_REGISTER(gio);\n
 GST_PLUGIN_STATIC_REGISTER(pango);\n 
GST_PLUGIN_STATIC_REGISTER(typefindfunctions);\n 
GST_PLUGIN_STATIC_REGISTER(videoconvert);\n 
GST_PLUGIN_STATIC_REGISTER(videorate);\n 
GST_PLUGIN_STATIC_REGISTER(videoscale);\n 
GST_PLUGIN_STATIC_REGISTER(videotestsrc);\n 
GST_PLUGIN_STATIC_REGISTER(volume);\n 
GST_PLUGIN_STATIC_REGISTER(autodetect);\n 
GST_PLUGIN_STATIC_REGISTER(videofilter);\n 
GST_PLUGIN_STATIC_REGISTER(playback);\n 
GST_PLUGIN_STATIC_REGISTER(subparse);\n  GST_PLUGIN_STATIC_REGISTER(ogg);\n 
GST_PLUGIN_STATIC_REGISTER(theora);\n  GST_PLUGIN_STATIC_REGISTER(vorbis);\n 
GST_PLUGIN_STATIC_REGISTER(opus);\n  GST_PLUGIN_STATIC_REGISTER(ivorbisdec);\n 
GST_PLUGIN_STATIC_REGISTER(alaw);\n  GST_PLUGIN_STATIC_REGISTER(apetag);\n 
GST_PLUGIN_STATIC_REGISTER(audioparsers);\n 
GST_PLUGIN_STATIC_REGISTER(auparse);\n  GST_PLUGIN_STATIC_REGISTER(avi);\n 
GST_PLUGIN_STATIC_REGISTER(dv);\n  GST_PLUGIN_STATIC_REGISTER(flac);\n 
GST_PLUGIN_STATIC_REGISTER(flv);\n  GST_PLUGIN_STATIC_REGISTER(flxdec);\n 
GST_PLUGIN_STATIC_REGISTER(icydemux);\n 
GST_PLUGIN_STATIC_REGISTER(id3demux);\n  GST_PLUGIN_STATIC_REGISTER(isomp4);\n 
GST_PLUGIN_STATIC_REGISTER(jpeg);\n  GST_PLUGIN_STATIC_REGISTER(matroska);\n 
GST_PLUGIN_STATIC_REGISTER(mulaw);\n  GST_PLUGIN_STATIC_REGISTER(multipart);\n 
GST_PLUGIN_STATIC_REGISTER(png);\n  GST_PLUGIN_STATIC_REGISTER(speex);\n 
GST_PLUGIN_STATIC_REGISTER(taglib);\n  GST_PLUGIN_STATIC_REGISTER(vpx);\n 
GST_PLUGIN_STATIC_REGISTER(wavenc);\n  GST_PLUGIN_STATIC_REGISTER(wavpack);\n 
GST_PLUGIN_STATIC_REGISTER(wavparse);\n  GST_PLUGIN_STATIC_REGISTER(y4menc);\n 
GST_PLUGIN_STATIC_REGISTER(adpcmdec);\n 
GST_PLUGIN_STATIC_REGISTER(adpcmenc);\n 
GST_PLUGIN_STATIC_REGISTER(dashdemux);\n 
GST_PLUGIN_STATIC_REGISTER(dvbsuboverlay);\n 
GST_PLUGIN_STATIC_REGISTER(dvdspu);\n  GST_PLUGIN_STATIC_REGISTER(hls);\n 
GST_PLUGIN_STATIC_REGISTER(id3tag);\n  GST_PLUGIN_STATIC_REGISTER(kate);\n 
GST_PLUGIN_STATIC_REGISTER(midi);\n  GST_PLUGIN_STATIC_REGISTER(mxf);\n 
GST_PLUGIN_STATIC_REGISTER(openh264);\n 
GST_PLUGIN_STATIC_REGISTER(opusparse);\n 
GST_PLUGIN_STATIC_REGISTER(pcapparse);\n  GST_PLUGIN_STATIC_REGISTER(pnm);\n 
GST_PLUGIN_STATIC_REGISTER(rfbsrc);\n  GST_PLUGIN_STATIC_REGISTER(schro);\n 
GST_PLUGIN_STATIC_REGISTER(gstsiren);\n 
GST_PLUGIN_STATIC_REGISTER(smoothstreaming);\n 
GST_PLUGIN_STATIC_REGISTER(subenc);\n 
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);\n 
GST_PLUGIN_STATIC_REGISTER(y4mdec);\n 
GST_PLUGIN_STATIC_REGISTER(jpegformat);\n  GST_PLUGIN_STATIC_REGISTER(gdp);\n 
GST_PLUGIN_STATIC_REGISTER(rsvg);\n  GST_PLUGIN_STATIC_REGISTER(openjpeg);\n 
GST_PLUGIN_STATIC_REGISTER(spandsp);\n 
GST_PLUGIN_STATIC_REGISTER(androidmedia);\n  GST_PLUGIN_STATIC_REGISTER(tcp);\n
 GST_PLUGIN_STATIC_REGISTER(rtsp);\n  GST_PLUGIN_STATIC_REGISTER(rtp);\n 
GST_PLUGIN_STATIC_REGISTER(rtpmanager);\n  GST_PLUGIN_STATIC_REGISTER(soup);\n 
GST_PLUGIN_STATIC_REGISTER(udp);\n  GST_PLUGIN_STATIC_REGISTER(dataurisrc);\n 
GST_PLUGIN_STATIC_REGISTER(sdp);\n  GST_PLUGIN_STATIC_REGISTER(srtp);\n 
GST_PLUGIN_STATIC_REGISTER(rtspclientsink);\n 
GST_PLUGIN_STATIC_REGISTER(opensles);\n  GST_PLUGIN_STATIC_REGISTER(opengl);\n 
GST_PLUGIN_STATIC_REGISTER(mms);\n  GST_PLUGIN_STATIC_REGISTER(rtmp);\n 
GST_PLUGIN_STATIC_REGISTER(asfmux);\n  GST_PLUGIN_STATIC_REGISTER(dtsdec);\n 
GST_PLUGIN_STATIC_REGISTER(faad);\n  GST_PLUGIN_STATIC_REGISTER(mpegpsdemux);\n
 GST_PLUGIN_STATIC_REGISTER(mpegpsmux);\n 
GST_PLUGIN_STATIC_REGISTER(mpegtsdemux);\n 
GST_PLUGIN_STATIC_REGISTER(mpegtsmux);\n 
GST_PLUGIN_STATIC_REGISTER(voaacenc);\n  GST_PLUGIN_STATIC_REGISTER(a52dec);\n 
GST_PLUGIN_STATIC_REGISTER(amrnb);\n  GST_PLUGIN_STATIC_REGISTER(amrwbdec);\n 
GST_PLUGIN_STATIC_REGISTER(asf);\n  GST_PLUGIN_STATIC_REGISTER(dvdsub);\n 
GST_PLUGIN_STATIC_REGISTER(dvdlpcmdec);\n  GST_PLUGIN_STATIC_REGISTER(mad);\n 
GST_PLUGIN_STATIC_REGISTER(mpeg2dec);\n  GST_PLUGIN_STATIC_REGISTER(xingmux);\n
 GST_PLUGIN_STATIC_REGISTER(realmedia);\n  GST_PLUGIN_STATIC_REGISTER(x264);\n 
GST_PLUGIN_STATIC_REGISTER(lame);\n  GST_PLUGIN_STATIC_REGISTER(mpg123);\n 
GST_PLUGIN_STATIC_REGISTER(libav);\n/g" | \
       
C:/Source/gstreamer-1.0-android-armv7-1.8.2//share/gst-android/ndk-build//tools/windows/sed
"s/@G_IO_MODULES_LOAD@/ GST_G_IO_MODULE_LOAD(gnutls);\n/g" | \
       
C:/Source/gstreamer-1.0-android-armv7-1.8.2//share/gst-android/ndk-build//tools/windows/sed
"s/@G_IO_MODULES_DECLARE@/ GST_G_IO_MODULE_DECLARE(gnutls);\n/g" >
gst-build-armeabi-v7a/gstreamer_android.c

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list