Discussion:
Everybody please fix bug in your scratchbox installation!
Pali Rohár
2012-07-19 07:30:33 UTC
Permalink
Hello Maemo Community!

Now after long time I found a very very *big* problem in Nokia
Maemo SDK virtual image which can be downloaded from location:
http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
file Maemo_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.7z

Problem is in scratchbox and may be in regular scratchbox
installation on desktop too (not only in virtual image)!

That Virtual image contains *thumb* string in scratchbox shell
variable DEB_BUILD_OPTIONS which cause that some applications
will be compiled with thumb instructions.

Thumb is unstable on default Maemo 5 for Nokia N900 and
applications which are compiled with thumb-2 will crash without
any reason.

Check if you have problematic scratchbox:

1. Login to scratchbox: run /scratchbox/login
2. print DEB_BUILD_OPTIONS in scratchbox: echo $DEB_BUILD_OPTIONS

If it does *not* show "thumb" your scratchbox is already fixed
and thumb is disabled. If it *show* thumb, disable it.

Instructions how to disable *thumb* string in scratchbox:

1. Login to scratchbox: run /scratchbox/login
2. Edit file /targets/FREMANTLE_ARMEL.environment
3. Remove "thumb" from that file
4. Save file and *logout* from scratchbox

Note that scratchbox is loading DEB_BUILD_OPTIONS variable at
startup, so you need to restart scratchbox to take effect. After
restarting please check again if thumb is really disabled.
--
Pali Rohár
***@gmail.com
Loading...