Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Any problem with chinhook beta repo?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


donaggio at gmail

Nov 8, 2007, 5:59 AM

Post #1 of 9 (377 views)
Permalink
Any problem with chinhook beta repo?

I keep on getting these errors when trying to do an apt-get update
before installing the maemo-sdk-dev metapackage for armel target (under
i386 target the same worked smoothly):

[sbox-chinook-armel: ~] > apt-get update
Err http://repository.maemo.org chinook/free Packages
404 Not Found [IP: 79.140.80.64 80]
Ign http://repository.maemo.org chinook/free Release
Err http://repository.maemo.org chinook/non-free Packages
404 Not Found [IP: 79.140.80.64 80]
Ign http://repository.maemo.org chinook/non-free Release
Hit http://repository.maemo.org chinook/free Sources
Hit http://repository.maemo.org chinook/free Release
Failed to fetch
http://repository.maemo.org/dists/chinook/free/binary-arm/Packages.gz
404 Not Found [IP: 79.140.80.64 80]
Failed to fetch
http://repository.maemo.org/dists/chinook/non-free/binary-arm/Packages.gz 404 Not Found [IP: 79.140.80.64 80]

Any idea why is it happening?

TIA,

Luca Donaggio

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


donaggio at gmail

Nov 8, 2007, 6:14 AM

Post #2 of 9 (350 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

I answered myself :-) !
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!

Luca Donaggio

On Nov 8, 2007 2:59 PM, Luca Donaggio <donaggio [at] gmail> wrote:
> I keep on getting these errors when trying to do an apt-get update
> before installing the maemo-sdk-dev metapackage for armel target (under
> i386 target the same worked smoothly):
>
> [sbox-chinook-armel: ~] > apt-get update
> Err http://repository.maemo.org chinook/free Packages
> 404 Not Found [IP: 79.140.80.64 80]
> Ign http://repository.maemo.org chinook/free Release
> Err http://repository.maemo.org chinook/non-free Packages
> 404 Not Found [IP: 79.140.80.64 80]
> Ign http://repository.maemo.org chinook/non-free Release
> Hit http://repository.maemo.org chinook/free Sources
> Hit http://repository.maemo.org chinook/free Release
> Failed to fetch
> http://repository.maemo.org/dists/chinook/free/binary-arm/Packages.gz
> 404 Not Found [IP: 79.140.80.64 80]
> Failed to fetch
> http://repository.maemo.org/dists/chinook/non-free/binary-arm/Packages.gz 404 Not Found [IP: 79.140.80.64 80]
>
> Any idea why is it happening?
>
> TIA,
>
> Luca Donaggio
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


gabriel.schulhof at nokia

Nov 8, 2007, 7:04 AM

Post #3 of 9 (348 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

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
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


donaggio at gmail

Nov 8, 2007, 8:12 AM

Post #4 of 9 (353 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

On Nov 8, 2007 4:04 PM, Gabriel Schulhof <gabriel.schulhof [at] nokia> 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)!
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


juha.kallioinen at nokia

Nov 8, 2007, 11:42 PM

Post #5 of 9 (336 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

ext Luca Donaggio wrote:
> On Nov 8, 2007 4:04 PM, Gabriel Schulhof <gabriel.schulhof [at] nokia> 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 :-)

Cheers,
Juha




--
Juha Kallioinen JID: kaltsi [at] o
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


inz at inz

Nov 9, 2007, 9:26 AM

Post #6 of 9 (343 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Juha Kallioinen wrote:
> ext Luca Donaggio wrote:
>> 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:
>>
> 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.

Please do note that I use the "old" debian devkit on purpose, because
the goal in my blog post is to be able to compile the same source for
different targets, so there cannot anyway be anything using the new
features of the newer devkit.

Also, I have tested each of the commands and they produce a working
target, with no arm/armel mismatch. Unfortunately I don't know why is
there a problam for Luca. My instructions do use the qemu-0.8.2-sb2 and
use the maemo3-debian. It might be that debian-sarge without
maemo3-debian breaks things.

The package versions may indeed be the ones to blame, apt-get upgrade
(outside scratchbox) might help.

- --
Santtu Lakkala
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFHNJhBX9Rc0+po4p0RAvVVAJ9EOc22HTL9gIVkj+ifuXOanMDn4gCgsciH
kqd2nnTlgzQeJF7fDcDqCt0=
=QiEY
-----END PGP SIGNATURE-----
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


eero.tamminen at nokia

Nov 14, 2007, 9:13 AM

Post #7 of 9 (320 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

Hi,

ext Luca Donaggio wrote:
> On Nov 8, 2007 4:04 PM, Gabriel Schulhof <gabriel.schulhof [at] nokia> 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.
>
> 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)!

For Chinook debian-sarge should be debian-etch.



Eero
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


juha.kallioinen at nokia

Nov 15, 2007, 12:28 AM

Post #8 of 9 (314 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

ext Santtu Lakkala wrote:
> Please do note that I use the "old" debian devkit on purpose, because
> the goal in my blog post is to be able to compile the same source for
> different targets, so there cannot anyway be anything using the new
> features of the newer devkit.

I have to admit that I did not read the whole blog post, I just quickly
looked at the chinook target setup :)

The debian-etch devkit does not really have new features as such, just
updated versions of the tools. Just as an example, the debhelper has been
updated and you might not be able to build a package that use compat level
5, which is not supported by the debian-sarge devkit.

> Also, I have tested each of the commands and they produce a working
> target, with no arm/armel mismatch. Unfortunately I don't know why is
> there a problam for Luca. My instructions do use the qemu-0.8.2-sb2 and
> use the maemo3-debian. It might be that debian-sarge without
> maemo3-debian breaks things.

Yes your instructions have the correct qemu version, but Luca's post
revealed that he was using the 0.8.1 version.

I hope the final SDK released fixed any problems Luca had.

Cheers,
Juha

--
Juha Kallioinen JID: kaltsi [at] o
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


donaggio at gmail

Nov 15, 2007, 12:38 AM

Post #9 of 9 (310 views)
Permalink
Re: Any problem with chinhook beta repo? [In reply to]

>
> Yes your instructions have the correct qemu version, but Luca's post
> revealed that he was using the 0.8.1 version.
>
> I hope the final SDK released fixed any problems Luca had.
>
> Cheers,
> Juha
>
> --
> Juha Kallioinen JID: kaltsi [at] o
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>

Thanks Juha, yes, I used the installer script for the final SDK and
now it works. Previously I tried to upgrade the qemu devkit to the
correct version, but it didn't fix my problem, so I used the installer
script!

Luca Donaggio
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.