[maemo-developers] Maemo-Optify & Builder Bots = Broken?

From: Kamen Bundev bundyo at gmail.com
Date: Thu Oct 22 02:14:07 EEST 2009
Nah, that's not enough. Still fails.

Another difference is that I'm building my optified package in scratchbox
before upload and the other people are using the autobuilder, so the problem
should be somewhere else.

Regards:
Bundyo

On Thu, Oct 22, 2009 at 2:09 AM, Kamen Bundev <bundyo at gmail.com> wrote:

> Nah, that's not enough. Still fails.
>
> Regards:
> Bundyo
>
>
> On Thu, Oct 22, 2009 at 12:52 AM, Kamen Bundev <bundyo at gmail.com> wrote:
>
>> Looks like the only difference here is that my /opt should be pointing to
>> /targets/links/opt which is symlinked to the proper target on target change.
>> Uploading the new package to extras now.
>>
>> Regards:
>> Bundyo
>>
>> On Thu, Oct 22, 2009 at 12:39 AM, Nathan Anderson <
>> nathan at andersonsplace.net> wrote:
>>
>>> Ed,
>>>
>>>        I believe this is what you are asking:
>>> FREMANTLE_ARMEL  cs2007q3-glibc2.5-arm7
>>> FREMANTLE_X86    cs2007q3-glibc2.5-i486
>>>
>>>
>>> Nathan
>>>
>>> -----Original Message-----
>>> From: Ed Bartosh [mailto:bartosh at gmail.com]
>>> Sent: Wednesday, October 21, 2009 4:03 PM
>>> To: Nathan Anderson
>>> Cc: maemo-developers at maemo.org
>>> Subject: Re: Maemo-Optify & Builder Bots = Broken?
>>>
>>> 2009/10/21 Nathan Anderson <nathan at andersonsplace.net>:
>>> > Ed,
>>> >
>>> >        Sure can (and following the chain).
>>> >
>>> > ls -l / | grep opt
>>> >        lrwxrwxrwx    1 root  root      18 Oct  6 22:36 opt ->
>>> > /targets/links/opt
>>> >
>>> > ls -l /targets/links/ | grep opt
>>> >        lrwxrwxrwx  1 maemo 1000 26 Oct 19 16:55 opt ->
>>> > /targets/FREMANTLE_X86/opt
>>> >
>>> I've found the difference!
>>> In your environment /targets/<target>/opt is a directory. In autobuilder
>>> environment it's a symlink:
>>>
>>> > ls -l /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/
>>> > |grep opt
>>> lrwxrwxrwx   1 builder1 builder1    9 Oct 21 23:50 opt -> /home/opt
>>>
>>> And it looks like it becomes symlink after rootstrap unpacking. Look:
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf
>>> re
>>> -f
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt
>>> drwxrwxr-x  2 1005 1006 4096 Oct 21 23:56 opt
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf
>>> in
>>> --etc --devkits
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt
>>> drwxrwxr-x   2 builder1 builder1 4096 Oct 21 23:56 opt
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf
>>> in
>>> --fakeroot Installing fakeroot version 1.4.2.1...
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt
>>> drwxrwxr-x   2 builder1 builder1 4096 Oct 21 23:56 opt
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf
>>> rs
>>> /scratchbox/packages/maemo-sdk-rootstrap_5.0_armel.tgz
>>> Unpacking rootstrap...
>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt
>>> lrwxrwxrwx   1 1005 1006    9 Oct 21 23:57 opt -> /home/opt
>>>
>>> So, the difference is in rootstraps. Tell me which rootstrap do you use
>>> and
>>> I'll compare it with the one autobuilder uses.
>>>
>>> --
>>> BR,
>>> Ed
>>>
>>> _______________________________________________
>>> maemo-developers mailing list
>>> maemo-developers at maemo.org
>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20091022/482cbcd8/attachment.htm 
More information about the maemo-developers mailing list