<div dir="ltr">[answering my own question]<div><br></div><div>For #3 the problem seems to be that I had stale files in ~/cerbero/sources/local from a previous attempt [with incorrect config files, I presume].  I guess the cerbero wipe command doesn't clean these directories out.  I fixed it by removing the ~/cerbero/sources/local/libiconv directory.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 11:23 AM, Stephen Webb <span dir="ltr"><<a href="mailto:swebb.gstreamer@gmail.com" target="_blank">swebb.gstreamer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK,<div><br></div><div>After looking more closely it appears that cross compiling for Android/Arm is not supported on a Windows system (is my understanding correct?)  I have moved to an Ubuntu 13.04 / Raring system to try to make progress there instead.  I have run into two issues:</div><div><br></div><div>1.  When I try to bootstrap with config/cross-android.cbc I get two warnings:</div><div>"WARNING:  No bootstrapper for the distro version android_gingerbread"</div><div>"WARNING:  No bootstrapper for the distro version ubuntu_raring"</div><div><br></div><div>Can I safely ignore these warnings, or should I try to make them go away?</div><div><br></div><div>2.  I ran into a problem in recipes/libmad.recipe line 27:</div><div>if Architecture.is_arm(self.config.target_arch):</div><div><br></div><div>I ran this command:  cerbero-uninstalled -c config/cross-android.cbc package gstreamer-sdk</div><div><br></div><div>The error is:  </div><div>"WARNING:  Error loading recipe in file /home/user/gstreamer/gstreamer-sdk/cerbero/recipes/libmad.recipe class Architecture has no attribute 'is_arm'</div><div><br></div><div>I'm happy to short-circuit this conditional because everything I am doing is for ARM...but is this a clue that I am doing something else wrong?</div><div><br></div><div>3.  If I hard-wire around the error in #2 I get this error:</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17.3333339691162px">DK can also be cross-compiled to Windows from Linux, but you should only use it for testing purpose. The DirectShow plugins cannot be cross-compiled yet and WiX can't be used with Wine yet, so packages can only be created from Windows.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">user@ubuntuvm:~/gstreamer/</span><span style="font-family:arial,sans-serif;font-size:13px">gstreamer-sdk/cerbero$ cerbero -c config/cross-android.cbc package gstreamer-sdk</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Building the following recipes: libiconv gnustl gettext libffi zlib gtk-doc-lite glib libxml2 gstreamer libogg libpng pixman expat freetype bzip2 fontconfig cairo pango libvorbis libtheora libvisual orc tremor gst-plugins-base gst-sdk-shell jpeg speex tiff gdk-pixbuf gmp nettle libtasn1 gnutls glib-networking libsoup taglib wavpack flac libdv gst-plugins-good fribidi libass faad2 libkate libvpx opus schroedinger libdca jasper libmms soundtouch gst-plugins-bad a52dec opencore-amr libdvdread libmpeg2 libmad x264 gst-plugins-ugly gst-android gstreamer-static gst-plugins-base-static gst-plugins-good-static gst-plugins-bad-static gst-plugins-ugly-static glib-networking-static gst-ffmpeg gst-ffmpeg-static gst-editing-services gnonlin gnonlin-static gst-sdk-tutorials</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">[(1/72) libiconv -> fetch ]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Running command 'git remote add -f origin git://</span><a href="http://anongit.freedesktop.org/gstreamer/libiconv.git" style="font-family:arial,sans-serif;font-size:13px" target="_blank">anongit.freedesktop.org/gstreamer/libiconv.git</a><span style="font-family:arial,sans-serif;font-size:13px">'</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">fatal: remote origin already exists.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Running command 'git fetch --all'</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Fetching origin</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">fatal: remote error: access denied or repository not exported: /gstreamer/libiconv.git</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">error: Could not fetch origin</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Running command 'git reset --hard origin/sdk-1.14+2012-07-01'</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">fatal: ambiguous argument 'origin/sdk-1.14+2012-07-01': unknown revision or path not in the working tree.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Use '--' to separate paths from revisions</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">***** Error running 'package' command:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Recipe 'libiconv' failed at the build step 'fetch'</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">It looks to me (just a guess) like it is trying to fetch /gstreamer/libiconv.git but it should be going for /gstreamer-sdk/libiconv.git  </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I figured there might be something wrong with my config files, but I haven't been able to find anything.  </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">If someone could point me in the right direction I would appreciate it.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">-Steve</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 10:42 AM, Stephen Webb <span dir="ltr"><<a href="mailto:swebb.gstreamer@gmail.com" target="_blank">swebb.gstreamer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm trying to build Gstreamer for Android i.MX6 platform from my Win7 development machine.  I have followed the directions here:</div><div><br></div><div><a href="http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero" target="_blank">http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero</a><br></div><div><br></div><div>If I understand correctly, I should be running all cerbero commands like this:</div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;font-size:13px;line-height:15.1999988555908px;white-space:pre-wrap">cerbero-uninstalled -c config/cross-android.cbc <command></span><br></div><div><br></div><div>including the bootstrap command.</div><div><br></div><div>When I run:</div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;font-size:13px;line-height:15.1999988555908px;white-space:pre-wrap">cerbero-uninstalled -c config/cross-android.cbc bootstrap</span><br></div><div><br></div><div>I get an error:</div><div><br></div><div>Fatl Error:  Error running command: sh -c "wget <a href="http://www.freedesktop.org/software/gstreamer-sdk/data/packages/2012.5/windows/toolchain/mingw-w64-gcc-4.7.3-windows-arm.tar.xz" target="_blank">http://www.freedesktop.org/software/gstreamer-sdk/data/packages/2012.5/windows/toolchain/mingw-w64-gcc-4.7.3-windows-arm.tar.xz</a> -O ..."</div><div><br></div><div>When looking on the website in that directory the file doesn't exist.  In fact I can't find anything with "arm" in the name.  </div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>-Steve</div><div> <br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>