[Scratchbox-users] foreign compilers, sbrsh configs, debs, etc.

Matt Hoosier mwhoosier at gmail.com
Thu Aug 24 21:36:32 EEST 2006


I've got no clue why you're getting the bizarre failure. Because
several of the dh_foo commands manage to run, I guess you must have
correctly installed the Debian devkit. Your prompt string also makes
it look like you're running inside SB on a host-compiler target. I
thought that was pretty much all one needed to do...

On 8/24/06, K. Richard Pixley <rich.pixley at palmsource.com> wrote:
> Matt Hoosier wrote:
>
> > Rich,
> >
> > You can make a Debian package out of the whole foreign toolchain by
> > doing "make CONFIG=meta/alien-tc/my.conf deb".
>
> Er...  from where?
>
> --rich
>
> rpixley at svrpixleylnx[host]> pwd
> /home/rpixley/sb-toolchain-extras
> rpixley at svrpixleylnx[host]> time make
> CONFIG=meta/alien-tc/arm-linux-gnueabi.conf deb
> sed -e "s/<NAME>/arm-linux-gnueabi/" \
>     -e "s/<PACKAGE>/<you have to fill in this one>/" \
>     -e "s/<REPLACES>/"scratchbox-devicetools", /" \
>     -e "s/<CONFLICTS>/"scratchbox-devicetools"/" \
>     debian/control.in > debian/control
> sed -e "s/<VERSION>/1.0.5/" \
>     -e "s/<DATE>/Fri, 21 Apr 2006 12:21:00 +0000/" \
>     debian/changelog.in > debian/changelog
> cp COPYRIGHT debian/copyright
> CONFIG=meta/alien-tc/arm-linux-gnueabi.conf dpkg-buildpackage -rfakeroot
> -b -uc
> dpkg-buildpackage: source package is sb-toolchains
> dpkg-buildpackage: source version is 1.0.5
> dpkg-buildpackage: source maintainer is Scratchbox Developers
> <scratchbox-devel at lists.scratchbox.org>
> dpkg-buildpackage: host architecture is i386
> dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
> dpkg-checkbuilddeps: Dependency provided by Scratchbox: debhelper (>= 4.0.0)
>  fakeroot debian/rules clean
> make[1]: Entering directory `/home/rpixley/sb-toolchain-extras'
> dh_testdir
> dh_testroot
> dh_clean
> /scratchbox/tools/bin/sh: line 1: you: No such file or directory
> dh_clean: command returned error code
> make[1]: *** [clean] Error 1
> make[1]: Leaving directory `/home/rpixley/sb-toolchain-extras'
> dpkg-buildpackage: This error may be caused by SBOX_DPKG_BUILDDEPS.
> dpkg-buildpackage: (See /scrathbox/doc/debian-variables.txt for usage.)
> make: *** [deb] Error 2
>
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>


More information about the Scratchbox-users mailing list