<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 26, 2009, at 5:07, Zhihai Wang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br>I checked out the latest engine source code from <a href="https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine">https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine</a> and find out the last modified date is 2009-03-28.<br> Then I tried dpkg-buildpackage -d -rfakeroot -uc -b in sbox-CHINOOK_ARMEL, it doesn't compile.<br>Is the svn migrated, or something is wrong with my environment?<br></blockquote><div><br></div><div>I am unsure if it is your specific environment that is the problem, it appears more likely that the shell script you are running is the problem. That shell script looks to be dpkg-buildpackage,&nbsp;which&nbsp;is&nbsp;a&nbsp;bash&nbsp;script.&nbsp;bash&nbsp;has&nbsp;bashisms&nbsp;which&nbsp;might&nbsp;not&nbsp;translate&nbsp;well&nbsp;when&nbsp;you&nbsp;run&nbsp;them&nbsp;under&nbsp;another&nbsp;shell.&nbsp;If&nbsp;chinook&nbsp;does&nbsp;not&nbsp;have&nbsp;bash&nbsp;as&nbsp;a&nbsp;shell&nbsp;for&nbsp;example,&nbsp;it&nbsp;will&nbsp;run&nbsp;the&nbsp;bash&nbsp;shell&nbsp;script&nbsp;under&nbsp;dash,&nbsp;or&nbsp;ash&nbsp;most&nbsp;likely,&nbsp;and&nbsp;you&nbsp;can&nbsp;get&nbsp;syntax&nbsp;errors&nbsp;as&nbsp;a&nbsp;consequence,&nbsp;like&nbsp;the&nbsp;one&nbsp;at&nbsp;the&nbsp;bottom&nbsp;of&nbsp;your&nbsp;email.</div><div><br></div><div>Jeremiah</div><div><br></div><div><br></div><blockquote type="cite">dpkg-buildpackage -d -rfakeroot -uc -b<br>dpkg-buildpackage: source package is microb-engine<br> dpkg-buildpackage: source version is 20090207-6<br>dpkg-buildpackage: source changed by Oleg Romashin &lt;<a href="mailto:oleg.romashin@nokia.com">oleg.romashin@nokia.com</a>&gt;<br>dpkg-buildpackage: host architecture armel<br> dpkg-buildpackage: source version without epoch 20090207-6<br>&nbsp;fakeroot debian/rules clean<br>rm -f /home/user/microb-engine/microb-engine/stampdir/patch<br>Unapplying patches...nothing to do.<br>dh_testdir<br>dh_testroot<br> rm -f build-stamp configure-stamp unpack-stamp patch-stamp<br>#Removing object_tree<br>rm -rf build-tree/obj-*<br>#Removing unpacked sources<br>rm -rf build-tree/mozilla/patches<br>rm -rf build-tree/mozilla/.pc<br>rm -f debian/shlibs.local<br> #chmod -f a-x debian/patches/*.diff<br>rm -rf /home/user/microb-engine/microb-engine/stampdir<br>rm -rf /home/user/microb-engine/microb-engine/patches<br>rm -f /home/user/microb-engine/microb-engine/.pc<br>rm -f /home/user/microb-engine/microb-engine/debian/patches/series<br> rm -rf /home/user/microb-engine/microb-engine/tarballs<br># uuencode source files<br>for str1 in "*.png" "*.gif" "*.tar.gz"; do \<br>for str in `find ./debian -name "$str1"`;do \<br> if [ -s $str ]; then \<br>&nbsp; uuencode $str $str &gt; $str.uu; rm $str; \<br>fi; \<br>done; \<br>done<br>chmod a-x debian/resources/tools/*<br>dh_clean<br>&nbsp;debian/rules build<br>mkdir -p build-tree<br>mkdir -p /home/user/microb-engine/microb-engine/stampdir/log<br> #Small hack for old X11R6 directory<br># uudecode source files<br>for str in `find ./debian -name "*.uu"`;do \<br>if [ -s $str ]; then \<br>&nbsp; uudecode -o $(echo $str | sed 's/\.uu//g') $str; rm $str; \<br> fi ;\<br>done<br>if [ -f /home/user/microb-engine/microb-engine/<a href="http://client.mk">client.mk</a> ]; then\<br>&nbsp; rm -f build-tree/mozilla &amp;&amp; ln -s /home/user/microb-engine/microb-engine build-tree/mozilla;\<br> else\<br>&nbsp; if [ -d build-tree/mozilla ]; then \<br>&nbsp;&nbsp;&nbsp; if [ -d build-tree/mozilla/.hg ]; then \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hg pull -R build-tree/mozilla &amp;&amp; hg update -R build-tree/mozilla -C; \<br>&nbsp;&nbsp;&nbsp; else \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hg archive -r upstream/20090207 -t files build-tree/mozilla; \<br> &nbsp;&nbsp;&nbsp; fi \<br>&nbsp; else \<br>&nbsp;&nbsp;&nbsp; hg clone -r upstream/20090207 /home/user/microb-engine/microb-engine build-tree/mozilla &amp;&amp; hg update -C -R build-tree/mozilla; \<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hg archive -r upstream/20090207 -t files build-tree/mozilla; \<br> &nbsp; fi;\<br>fi<br>/scratchbox/tools/bin/sh: -c: line 2: syntax error: unexpected end of file<br><br><br clear="all"><br>-- <br>Best Regards,<br><br>Zhihai Wang<br> _______________________________________________<br>maemo-developers mailing list<br><a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br><a href="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br></blockquote></div><br></body></html>