maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   errors installing maemo5 sdk for arm (https://talk.maemo.org/showthread.php?t=51550)

chuan huang 2010-05-01 11:42

errors installing maemo5 sdk for arm
 
hi, all! when i install maemo sdk for arm in scratchbox(host is ubuntu 10.04), many errors occurred:

dpkg: dependency problems prevent configuration of libgupnp-1.0-3:
libgupnp-1.0-3 depends on libuuid1; however:
Package libuuid1 is not configured yet.
libgupnp-1.0-3 depends on shared-mime-info; however:
Package shared-mime-info is not configured yet.
dpkg: error processing libgupnp-1.0-3 (--configure):
...
dpkg: too many errors, stopping
Errors were encountered while processing:
hal
sudo
libuuid1
osso-af-startup
desktop-file-utils
...
Processing was halted because there were too many errors.
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)

anyone knows how to fix it? Thanks!

MohammadAG 2010-05-01 11:49

Re: errors installing maemo5 sdk for arm
 
Same errors here, this needs to be fixed asap.
BTW the error starts with
Quote:

Setting up shared-mime-info (0.30-2maemo5+0m5) ...
mmap: Operation not permitted
dpkg: error processing shared-mime-info (--configure):
subprocess post-installation script returned error exit status 255
Setting up sudo (1.6.8p12-4osso22+0m5) ...
Updating sudoers
mmap: Operation not permitted
/etc/sudoers.d/01sudo changes break sudoers
and the rest just follow from those two packages

Edit: full log of failure http://pastebin.com/pUMa9Uhq

chuan huang 2010-05-01 12:12

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by MohammadAG (Post 636180)
Same errors here, this needs to be fixed asap.
BTW the error starts with

and the rest just follow from those two packages

Edit: full log of failure http://pastebin.com/pUMa9Uhq

thanks! hope it will not be too long.

zokier 2010-05-01 12:20

Re: errors installing maemo5 sdk for arm
 
http://zokier.net/stuff/maemo-sdk-in...wizard_5.0.log

probably related, on ubuntu lucid lynx

chuan huang 2010-05-01 12:38

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by zokier (Post 636208)
http://zokier.net/stuff/maemo-sdk-in...wizard_5.0.log

probably related, on ubuntu lucid lynx

exactly as i has encountered! maybe this is related to the new version of ubuntu

arne.anka 2010-05-01 13:00

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by chuan huang (Post 636222)
exactly as i has encountered! maybe this is related to the new version of ubuntu

i have some dim recollections about sbox being designed for 8.04 -- that would be exactly two yeasr before the current 10.04. but i may be wrong.

as for the recurrent
mmap: operation not permitted
i recollect a similar error message when using flash with jffs. jffs apparently lacked (lacks?) features necessary for mmap.
what file systems are you guys using?

in case of eg
Setting up packagename (version) ...
mmap: Operation not permitted
dpkg: error processing packagename:
subprocess post-installation script returned error exit status 255

you could check
/var/lib/dpkg/info/packagename.postinst
that's the script executed, for anything interesting.

although from the numerous mmap errors, i guess it has to do with either the file system or a missing variable below /sys or /proc.

andy80 2010-05-01 13:49

Re: errors installing maemo5 sdk for arm
 
Hi all,

I'm getting exactly the same errors, you can find them here: http://pastebin.com/QPhF703E

and I'm using Ubuntu lucid 10.04 too :(

If anyone of you knows how to fix this, please tell me.

Thanks!

andy80 2010-05-01 15:09

Re: errors installing maemo5 sdk for arm
 
I've fixed the problem!

1) Use Synaptic and uninstall all scratchbox* packages

2) Remove /scratchbox directory

3) sudo vim /etc/sysctl.conf

4) Add this line: vm.mmap_min_addr = 0

5) Save and exit

6) sudo sysctl -p

That's all!

At this point just install Maemo SDK in the usual way and it will work. At least it did for me.

MohammadAG 2010-05-01 16:34

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by andy80 (Post 636394)
I've fixed the problem!

1) Use Synaptic and uninstall all scratchbox* packages

2) Remove /scratchbox directory

3) sudo vim /etc/sysctl.conf

4) Add this line: vm.mmap_min_addr = 0

5) Save and exit

6) sudo sysctl -p

That's all!

At this point just install Maemo SDK in the usual way and it will work. At least it did for me.

Wonderful find mate! Works for me after doing it.
Now in wiki: http://wiki.maemo.org/Documentation/...d_distribution

chuan huang 2010-05-02 03:49

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by andy80 (Post 636394)
I've fixed the problem!

1) Use Synaptic and uninstall all scratchbox* packages

2) Remove /scratchbox directory

3) sudo vim /etc/sysctl.conf

4) Add this line: vm.mmap_min_addr = 0

5) Save and exit

6) sudo sysctl -p

That's all!

At this point just install Maemo SDK in the usual way and it will work. At least it did for me.

thank you very much!


All times are GMT. The time now is 04:44.

vBulletin® Version 3.8.8