[maemo-developers] Any problem with chinhook beta repo?

From: Juha Kallioinen juha.kallioinen at nokia.com
Date: Fri Nov 9 09:42:37 EET 2007
ext Luca Donaggio wrote:
> On Nov 8, 2007 4:04 PM, Gabriel Schulhof <gabriel.schulhof at nokia.com> wrote:
>> On Thu, 2007-11-08 at 15:14 +0100, ext Luca Donaggio wrote:
>>> It seems that my sbox target is somewhat misconfigured: it should look
>>> in binary-armel subdir on repository.maemo.org, not binary-arm, but I
>>> don't have any clue why it happened and how to correct it!
>> IIRC, there is a certain combination of scratchbox parameters
>> (especially the emulation and/or debkits) that results in the package
>> management system thinking that it's on arm rather than armel. I believe
>> the fix is to use the correct emulation and/or debkits.
>> Gabriel
> Thanks Gabriel!
> Any clue about how to fix it? I followed these instructions to set up
> my sbox environment:
> http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/
> My current parameters for chinhook-armel target (via sb-menu -> show) are:
> Compiler:         cs2005q3.2-glibc2.5-arm
> Architecture:     arm
> Sub-architecture: arm
> C-library:        glibc
> Devkits:          cputransp debian doctools perl debian-sarge
> CPU-transparency: /scratchbox/devkits/cputransp/bin/qemu-arm-0.8.1-sb2
> Apart from the compiler glibc version and debian-sarge among the
> devkits, they are the same for my bora-armel target, which works just
> fine (no arm/armel mismatch)!

Hi Luca, it looks like your target setup is not quite correct. Inz's blog 
entry is quite new but the information for a chinook target is incorrect.

Here's a target setup that works for me:

sb-conf st maemo4-arm -c cs2005q3.2-glibc2.5-arm -d 
cputransp:perl:debian-etch -t qemu-arm-0.8.2-sb2

The most notable differences are that you should use debian-etch devkit (not 
debian or debian-sarge) and that the qemu version is wrong.

Also make sure you've got the latest version of scratchbox and the devkits:

scratchbox-core 		1.0.8
scratchbox-libs 		1.0.8
scratchbox-devkit-cputransp 	1.0.3
scratchbox-devkit-debian 	1.0.9
scratchbox-devkit-doctools 	1.0.7
scratchbox-devkit-maemo3 	1.0.1
scratchbox-devkit-perl 		1.0.4

The maemo3 devkit is named very badly, but it provides the maemo3-tools that 
has some additional tools you also might also want to use in chinook (maemo4).

I don't know if this fixes your specific problem, but I hope so :-)


Juha Kallioinen                                               JID: kaltsi at ok

More information about the maemo-developers mailing list