solved by manually decompress tarball to build-tree/mozilla and remove counterpart from debian/rule<br><br><div class="gmail_quote">On Fri, Jun 26, 2009 at 11:07 AM, Zhihai Wang <span dir="ltr"><<a href="mailto:pageguest@gmail.com">pageguest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">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><br>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 <<a href="mailto:oleg.romashin@nokia.com" target="_blank">oleg.romashin@nokia.com</a>><br>dpkg-buildpackage: host architecture armel<br>
dpkg-buildpackage: source version without epoch 20090207-6<br> 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> uuencode $str $str > $str.uu; rm $str; \<br>fi; \<br>done; \<br>done<br>chmod a-x debian/resources/tools/*<br>dh_clean<br> 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> 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" target="_blank">client.mk</a> ]; then\<br> rm -f build-tree/mozilla && ln -s /home/user/microb-engine/microb-engine build-tree/mozilla;\<br>
else\<br> if [ -d build-tree/mozilla ]; then \<br> if [ -d build-tree/mozilla/.hg ]; then \<br> hg pull -R build-tree/mozilla && hg update -R build-tree/mozilla -C; \<br> else \<br> hg archive -r upstream/20090207 -t files build-tree/mozilla; \<br>
fi \<br> else \<br> hg clone -r upstream/20090207 /home/user/microb-engine/microb-engine build-tree/mozilla && hg update -C -R build-tree/mozilla; \<br># hg archive -r upstream/20090207 -t files build-tree/mozilla; \<br>
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><font color="#888888"><br>Zhihai Wang<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Zhihai Wang<br>