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

From: Graham Cobb g+770 at cobb.uk.net
Date: Sat Oct 24 02:07:18 EEST 2009
On Thu, Oct 22, 2009 at 09:37:11AM +0300, Ed Bartosh wrote:
> 2009/10/22 Kamen Bundev <bundyo at gmail.com>:
> > Hmm, yes, that seems to be the problem. In the final SDK /opt is a symlink
> > but in the latest beta SDK it is not. I didn't upgrade my development
> > machine, but I have the final on another so I can compare. I'll report back
> > if successful.
> >
> You're right.
> Autobuilder uses latest SDK and /opt is in the rootstrap:
> tar -ztf /scratchbox/packages/maemo-sdk-rootstrap_5.0_armel.tgz | grep '^\./opt'
> ./opt
> I removed it from there and now packages with /opt directory should be
> installable.
> Try to re-upload your packages to autobuilder. It should work now.
> Thank you for your help.
> PS: Is someone willing to file a bug for SDK :) ?

I don't think you will get anywhere.  Isn't this a known issue?  The manual
installation instructions for the SDK

In order to facilitate installing applications under /opt on the device, a
symlink /opt has been created pointing to /home/opt. The SDK inherits this
feature. Under Scratchbox, /opt points to /target/links/opt which in turn
points to /targets/<target_name>/opt. Installing the rootstraps makes this
point to /home/opt, which is not what we want, since we need /opt to be
target specific. In order to resolve this situation, 
[sbox-FREMANTLE_X86: ~] >rm /targets/FREMANTLE_X86/opt
[sbox-FREMANTLE_X86: ~] >mkdir /targets/FREMANTLE_X86/opt

I think sbdmock needs to do the same thing after installing the rootstrap.

More information about the maemo-developers mailing list