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!

suihkulokki 2010-05-03 07:35

Re: errors installing maemo5 sdk for arm
 
This is a bug in lucid kernel:

https://bugs.launchpad.net/ubuntu/lu...ux/+bug/568844

davidmaxwaterman 2010-05-16 13:59

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by MohammadAG (Post 636526)
Wonderful find mate! Works for me after doing it.
Now in wiki: http://wiki.maemo.org/Documentation/...d_distribution

FWIW, I didn't have to do 1 or 2, just 3, 4, 5, and 6 and it then worked with the SDK I already had installed.

kifcaliph 2010-05-18 11:48

Re: errors installing maemo5 sdk for arm
 
Hi,

I used the GUI installer and I did as mentioned here by andy80, so there is no problem installing the sdk. but I still can't run the xephyr emulator, I tried using the shortcut on the desktop and I tried to run in terminal but failed to initiate it.

gri 2010-05-18 11:51

Re: errors installing maemo5 sdk for arm
 
Quote:

Originally Posted by kifcaliph (Post 663973)
Hi,

I used the GUI installer and I did as mentioned here by andy80, so there is no problem installing the sdk. but I still can't run the xephyr emulator, I tried using the shortcut on the desktop and I tried to run in terminal but failed to initiate it.

The shortcut doesn't work for me, too. Create your own desktop shortcut which calls "Xephyr -host-cursor -screen 800x480x16 :2".

Start Xephyr with it's new shortcut and then click the "Maemo SDK" shortcut on your desktop. It will start :)

kifcaliph 2010-05-18 14:52

Re: errors installing maemo5 sdk for arm
 
ya it does work, thank you very much

kifcaliph 2010-05-19 08:31

Re: errors installing maemo5 sdk for arm
 
I'd like to add that you can edit started_xephyr.sh located in /usr/local/bin/ with the code you provided or with this one here

TheAccountant 2010-06-11 16:13

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.

Fantastic, thank you very very much!!

lucretia 2010-06-30 14:16

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.

You don't need to uninstall the sdk or scratchbox, just add that line, reload the sysctl and carry on with the upgrade, that worked for me.

Thanks,
Luke.

marmistrz 2012-06-21 16:14

Re: errors installing maemo5 sdk for arm
 
I'm using Debian Squeeze 64 bit. I set up the first target flawlessly, and while setting up the 2nd target for experiments I'm getting this. Any ideas?

Code:

[sbox-fremantle2armel: ~] > fakeroot apt-get install -fReading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up sudo (1.6.8p12-4osso22+0m5) ...
Updating sudoers
ERROR: ld.so: object '/usr/lib/libfakeroot-sysv/libfakeroot.so.0' from LD_PRELOAD cannot be preloaded: ignored.
visudo: you don't exist in the passwd database
/etc/sudoers.d/01sudo changes break sudoers
dpkg: error processing sudo (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of osso-af-startup:
 osso-af-startup depends on sudo; however:
  Package sudo is not configured yet.
dpkg: error processing osso-af-startup (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of osso-app-killer:
 osso-app-killer depends on osso-af-startup (>= 1.23); however:
  Package osso-af-startup is not configured yet.
 osso-app-killer depends on sudo; however:
  Package sudo is not configured yet.
dpkg: error processing osso-app-killer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ke-recv:
 ke-recv depends on osso-af-startup (>= 1.22); however:
  Package osso-af-startup is not configured yet.
dpkg: error processing ke-recv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hildon-application-framework-packages:
 hildon-application-framework-packages depends on osso-af-startup (>= 1.35-1); however:
  Package osso-af-startup is not configured yet.
 hildon-application-framework-packages depends on osso-app-killer; however:
  Package osso-app-killer is not configured yet.
 hildon-application-framework-packages depends on ke-recv; however:
  Package ke-recv is not configured yet.
dpkg: error processing hildon-application-framework-packages (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hildon-application-framework:
 hildon-application-framework depends on hildon-application-framework-packages; however:
  Package hildon-application-framework-packages is not configured yet.
dpkg: error processing hildon-application-framework (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hildon-application-framework-dev:
 hildon-application-framework-dev depends on hildon-application-framework; however:
  Package hildon-application-framework is not configured yet.
dpkg: error processing hildon-application-framework-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maemo-core-runtime:
 maemo-core-runtime depends on sudo; however:
  Package sudo is not configured yet.
dpkg: error processing maemo-core-runtime (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maemo-core-dev:
 maemo-core-dev depends on maemo-core-runtime (= 5.0+3); however:
  Package maemo-core-runtime is not configured yet.
dpkg: error processing maemo-core-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maemo-sdk-runtime:
 maemo-sdk-runtime depends on hildon-application-framework; however:
  Package hildon-application-framework is not configured yet.
 maemo-sdk-runtime depends on maemo-core-runtime; however:
  Package maemo-core-runtime is not configured yet.
dpkg: error processing maemo-sdk-runtime (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maemo-sdk-dev:
 maemo-sdk-dev depends on maemo-sdk-runtime (= 5.0+0m5); however:
  Package maemo-sdk-runtime is not configured yet.
 maemo-sdk-dev depends on hildon-application-framework-dev; however:
  Package hildon-application-framework-dev is not configured yet.
 maemo-sdk-dev depends on maemo-core-dev; however:
  Package maemo-core-dev is not configured yet.
dpkg: error processing maemo-sdk-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sudo
 osso-af-startup
 osso-app-killer
 ke-recv
 hildon-application-framework-packages
 hildon-application-framework
 hildon-application-framework-dev
 maemo-core-runtime
 maemo-core-dev
 maemo-sdk-runtime
 maemo-sdk-dev
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)



All times are GMT. The time now is 05:11.

vBulletin® Version 3.8.8