List Info

Thread: dpkg info for devkits




dpkg info for devkits
user name
2007-10-19 11:03:05
Hi

	When building Debian packages in scratchbox I often get
problems
because the dpkg tools don't see the devkit tools as being
installed.

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

Regards

Peter Pearse


_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: dpkg info for devkits
country flaguser name
Finland
2007-10-21 16:04:37
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://scratchbo
x.org/cgi-bin/darcsweb.cgi?r=crocodile;a=headblob;f=/lib/pbu
ilder-satisfydepends
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: dpkg info for devkits
country flaguser name
Finland
2007-10-22 03:55:34
You mean /var/lib/dpkg doesn't exist in your target?

If that's the case, [1] should solve your problem.

Regards,

   Jussi

Peter Pearse wrote:
> Hi
> 
> 	When building Debian packages in scratchbox I often
get problems
> because the dpkg tools don't see the devkit tools as
being installed.
> 
> Must I manually falsify the /var/lib/dpkg contents or
am I missing
> something?
>  
> 
> Regards
> 
> Peter Pearse
> 
> 
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-userslists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: dpkg info for devkits
country flaguser name
Finland
2007-10-22 04:40:38
And with the reference:

[1] sb-conf in -d

Jussi Hakala wrote:
> You mean /var/lib/dpkg doesn't exist in your target?
> 
> If that's the case, [1] should solve your problem.
> 
> Regards,
> 
>   Jussi
> 
> Peter Pearse wrote:
>> Hi
>>
>>     When building Debian packages in scratchbox I
often get problems
>> because the dpkg tools don't see the devkit tools
as being installed.
>>
>> Must I manually falsify the /var/lib/dpkg contents
or am I missing
>> something?
>>  
>>
>> Regards
>>
>> Peter Pearse
>>
>>
>> _______________________________________________
>> Scratchbox-users mailing list
>> Scratchbox-userslists.scratchbox.org
>> http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
> 
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-userslists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )