[maemo-developers] problems while building a Debian package in the scratchbox environment

From: Laurent Bloch lb at laurentbloch.org
Date: Wed Sep 5 17:12:25 EEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, as you recommended, I've started to to re-install the maemo SDK.
Everything is right until the step 3.2 of the 3.1 Bora Install Guide.
In the scratchbox environment:

[sbox-SDK_ARMEL: ~] > sb-conf rootstrap maemo-sdk-rootstrap_3.1_armel.tgz
Unpacking rootstrap...
[sbox-SDK_ARMEL: ~] > sb-conf install --etc --devkits --fakeroot
Installing fakeroot version 1.4.2...
[sbox-SDK_ARMEL: ~] > apt-get update
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Reading Package Lists... Done
[sbox-SDK_ARMEL: ~] > fakeroot apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  bluez-utils: Depends: module-init-tools
  dpkg: Depends: coreutils or
                 textutils (>= 2.0-3) but it is not installable
  hildon-home-dev: Depends: pkg-config but it is not installable
  hildon-navigator-dev: Depends: pkg-config but it is not installable
  libart-2.0-dev: Depends: pkg-config but it is not installable
  libatk1.0-dev: Depends: pkg-config but it is not installable
  libdbus-1-dev: Depends: pkg-config but it is not installable
  libgalago-dev: Depends: pkg-config (>= 0.14.0) but it is not installable
  libglib2.0-dev: Depends: pkg-config (>= 0.14.0) but it is not installable
  libgstreamer-plugins-base0.10-dev: Depends: pkg-config but it is not installable
  libgstreamer0.10-dev: Depends: pkg-config but it is not installable
  libgtk2.0-dev: Depends: pkg-config but it is not installable
  libgwobex-dev: Depends: pkg-config but it is not installable
  libmatchbox-dev: Depends: pkg-config but it is not installable
  libpango1.0-dev: Depends: pkg-config but it is not installable
  osso-core-config: Depends: coreutils
  osso-gwconnect-dev: Depends: pkg-config but it is not installable
  ppp: Depends: netbase but it is not installed
       Depends: procps
  sharutils: Depends: debianutils (>= 1.6)
  sysvinit: Depends: coreutils
E: Unmet dependencies. Try using -f.

Here is my sources.list:

[sbox-SDK_ARMEL: ~] > cat /etc/apt/sources.list
deb file:/home/bloch/maemo-sdk-nokia-binaries_3.1 bora explicit
deb file:/home/bloch/maemo-sdk-nokia-binaries_3.2 bora explicit
deb http://repository.maemo.org/ bora free non-free
deb-src http://repository.maemo.org/ bora free


Le mercredi 05 septembre 2007 Felipe Contreras a écrit ceci :

> On 8/31/07, Laurent Bloch <lb at laurentbloch.org> wrote:
> >
> > Hi, I'm trying (unsuccesffully) to port Michael Mlivoncic's JPilot
> > Package for N770 to the N800 with OS2007:
> >
> > When trying, in the appropriate directory:
> >
> > dpkg-buildpackage -rfakeroot -b -d
> >
> > the sbox-SDK_ARMEL replies :
> >
> > unable to execute /scratchbox/compilers/host-gcc/bin/gcc: No such file
> > or directory
> 
> This looks very bad.
> 
> How did you install the SDK? Did you follow the instructions
> carefully? I recommend to re-install the maemo SDK, there are not many
> steps required.
> 
> http://repository.maemo.org/stable/bora/INSTALL.txt
> 
> -- 
> Felipe Contreras
> 


- -- 
Laurent Bloch - http://www.laurentbloch.org - lb at laurentbloch.org
Tél. prof. : 01 55 74 31 74 - priv. : 01 43 14 04 55 - GPG : 943EB1A3
   L'adhésion à une proposition ne peut en aucun cas s'expliquer
exclusivement par les raisons objectives que l'on a d'y croire. (RB)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG3rlTVsVSFtWy3uMRAiEhAJ9YqoHQecXIDDjD98N0KtIEK7erCgCeLSIc
ZIYJ1B/HwNKkcGtsbu9brf4=
=UYAE
-----END PGP SIGNATURE-----
More information about the maemo-developers mailing list