On Fri, Oct 19, 2007 at 05:03:05PM +0100, Peter Pearse wrote:
>       When building Debian packages in scratchbox I often get problems
> because the dpkg tools don't see the devkit tools as being installed.

It's a by design. scratchbox only "provides" build-deps for
dpkg-checkbuildeps. Thus what apt and dpkg see continues to match
exactly what is installed in the target. So even if scratchbox
provides "perl", it should still be possible to install it to the
target.

Suboptimal, yes, but nobody has become up with better scheme either.

> Must I manually falsify the /var/lib/dpkg contents or am I missing
> something?

That depends what exactly you are trying to do. If you are merely
trying use something like "apt-get build-dep", you might instead
want to look at "pbuilder-satisfydepends --scratchbox" [1].

If you are trying to install a build-tool "foo" that depends "bar"
that is available in a devkit, you might want to instead extend
the devkit to include "foo" as well.

Thirdly, if you really want to falsify the information, you can use:

        /scratchbox/devkits/debian/sbox-list-packages.sh -c


Cheers,
Riku

[1] 
http://scratchbox.org/cgi-bin/darcsweb.cgi?r=crocodile;a=headblob;f=/lib/pbuilder-satisfydepends
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to