View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
Hi,

Anyone who goes on IRC knows about my scratchbox problems. Sbox worked great for me in Ubuntu 7.10 but when I upgraded to 8.04, that's when the problems started.

1. Problem 1.

faheem@faheem-desktop:~$ scratchbox
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dos' failed!

VDSO needs to be disabled.

Thanks to pH5's blog: http://poh9.blogspot.com/

I found this:
su -i
echo 0 > /proc/sys/vm/vdso_enabled

Now, that will disable it for that session afaik. To set it permanently add vdso=0 to your kernel line in menu.lst (for grub).

Problem 2: (This affects you when you are installing the maemo-sdk, under Ubuntu Hardy at least).

Quick cut:
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `hildon-application-framework-packages')
dpkg: also configuring `desktop-file-utils' (required by `hildon-application-framework-packages')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `libhildonmime0')
Setting up shared-mime-info (0.19-1) ...
mmap: Permission denied
dpkg: error processing shared-mime-info (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `shared-mime-info' (required by `libosso-gnomevfs2-common')
Setting up libsdl-image1.2-dev (1.2.4-5) ...
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `maemo-core-runtime')
Setting up ifupdown (0.6.7osso) ...
mkdir wrapper: /dev/shm/network -> /targets/CHINOOK_ARMEL/dev/shm/network
/scratchbox/tools/bin/mkdir: cannot create directory `/targets/CHINOOK_ARMEL/dev/shm/network': File exists
dpkg: error processing ifupdown (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `ifupdown' (required by `netbase')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `osso-af-startup')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: also configuring `sudo' (required by `osso-app-killer')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
Setting up desktop-file-utils (0.12-1osso2) ...
mmap: Permission denied
dpkg: error processing desktop-file-utils (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `hildon-application-framework-packages')
dpkg: also configuring `desktop-file-utils' (required by `hildon-application-framework-packages')
Setting up hildon-update-category-database (1.10.1-1) ...
mmap: Permission denied
dpkg: error processing hildon-update-category-database (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `hildon-update-category-database' (required by `libhildonmime0')
Setting up shared-mime-info (0.19-1) ...
mmap: Permission denied
dpkg: error processing shared-mime-info (--install):
subprocess post-installation script returned error exit status 255
dpkg: also configuring `shared-mime-info' (required by `libosso-gnomevfs2-common')
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--install):
subprocess post-installation script returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
lock
partial
shared-mime-info
sudo
desktop-file-utils
hildon-update-category-database
ifupdown
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
hildon-update-category-database
shared-mime-info
sudo
ifupdown
sudo
sudo
hildon-update-category-database
desktop-file-utils
Basically, it failed.

Thanks to inz here: http://maemo.org/news/planet-maemo/c...4d5d8a3e5c362/

the solution is (do this before you install) :
su -
echo 4096 > /proc/sys/vm/mmap_min_add
echo 4096 > /proc/sys/vm/mmap_min_addr

Last edited by qwerty12; 2008-04-27 at 15:15.
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post: