[maemo-developers] microb engine doesn't compile

From: Zhihai Wang pageguest at gmail.com
Date: Mon Jun 29 11:50:36 EEST 2009
solved by manually decompress tarball to build-tree/mozilla and remove
counterpart from debian/rule

On Fri, Jun 26, 2009 at 11:07 AM, Zhihai Wang <pageguest at gmail.com> wrote:

> Hi,
> I checked out the latest engine source code from
> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engineand find out the last modified date is 2009-03-28.
> Then I tried dpkg-buildpackage -d -rfakeroot -uc -b in sbox-CHINOOK_ARMEL,
> it doesn't compile.
> Is the svn migrated, or something is wrong with my environment?
>
> dpkg-buildpackage -d -rfakeroot -uc -b
> dpkg-buildpackage: source package is microb-engine
> dpkg-buildpackage: source version is 20090207-6
> dpkg-buildpackage: source changed by Oleg Romashin <
> oleg.romashin at nokia.com>
> dpkg-buildpackage: host architecture armel
> dpkg-buildpackage: source version without epoch 20090207-6
>  fakeroot debian/rules clean
> rm -f /home/user/microb-engine/microb-engine/stampdir/patch
> Unapplying patches...nothing to do.
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp unpack-stamp patch-stamp
> #Removing object_tree
> rm -rf build-tree/obj-*
> #Removing unpacked sources
> rm -rf build-tree/mozilla/patches
> rm -rf build-tree/mozilla/.pc
> rm -f debian/shlibs.local
> #chmod -f a-x debian/patches/*.diff
> rm -rf /home/user/microb-engine/microb-engine/stampdir
> rm -rf /home/user/microb-engine/microb-engine/patches
> rm -f /home/user/microb-engine/microb-engine/.pc
> rm -f /home/user/microb-engine/microb-engine/debian/patches/series
> rm -rf /home/user/microb-engine/microb-engine/tarballs
> # uuencode source files
> for str1 in "*.png" "*.gif" "*.tar.gz"; do \
> for str in `find ./debian -name "$str1"`;do \
> if [ -s $str ]; then \
>   uuencode $str $str > $str.uu; rm $str; \
> fi; \
> done; \
> done
> chmod a-x debian/resources/tools/*
> dh_clean
>  debian/rules build
> mkdir -p build-tree
> mkdir -p /home/user/microb-engine/microb-engine/stampdir/log
> #Small hack for old X11R6 directory
> # uudecode source files
> for str in `find ./debian -name "*.uu"`;do \
> if [ -s $str ]; then \
>   uudecode -o $(echo $str | sed 's/\.uu//g') $str; rm $str; \
> fi ;\
> done
> if [ -f /home/user/microb-engine/microb-engine/client.mk ]; then\
>   rm -f build-tree/mozilla && ln -s /home/user/microb-engine/microb-engine
> build-tree/mozilla;\
> else\
>   if [ -d build-tree/mozilla ]; then \
>     if [ -d build-tree/mozilla/.hg ]; then \
>       hg pull -R build-tree/mozilla && hg update -R build-tree/mozilla -C;
> \
>     else \
>       hg archive -r upstream/20090207 -t files build-tree/mozilla; \
>     fi \
>   else \
>     hg clone -r upstream/20090207 /home/user/microb-engine/microb-engine
> build-tree/mozilla && hg update -C -R build-tree/mozilla; \
> #           hg archive -r upstream/20090207 -t files build-tree/mozilla; \
>   fi;\
> fi
> /scratchbox/tools/bin/sh: -c: line 2: syntax error: unexpected end of file
>
>
>
> --
> Best Regards,
>
> Zhihai Wang
>



-- 
Best Regards,

Zhihai Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090629/f4f71930/attachment.htm 
More information about the maemo-developers mailing list