[Balloon] Emdebian toolchain woes

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Chris Jones
Date:  
To: balloon
Subject: [Balloon] Emdebian toolchain woes
I've just changed my Balloon build machine. It's now a virtual machine
running under VMWare Fusion, and it works very nicely. Except that I
can't get a complete Emdebian armel toolchain installed.

This happens to me every time I try to set up a new machine with the
toolchain, in spite of the instructions in the balloonboard.org Wiki,
some of which I even wrote.

The pattern is this:
- install debian stable (lenny, in this case) on new machine
- aptitude install emdebian-tools
- edit /etc/apt/sources.list.d/emdebian.sources.list to use stable branch
- try a 'make' of balloonboard source, just out of hope
- it fails, usually when looking to see if arm-linux-gnueabi-g++ is
installed. apt-get install g++-4.1-arm-linux-gnueabi conks out with a
dependency problem
- try emsetup -a armel. Get same depedency problem. At the moment it's
libstdc++6-4.3-dbg-armel-cross that's causing trouble.
- try emchain -a armel. Feel pleased at how quickly new machine builds
toolchain. Final stage of its install fails like this:

------------------------------
cox-debian:/localhome/emdebian-build# dpkg -i
libstdc++6-4.3-dbg-armel-cross_4.3.2-1.1_all.deb
(Reading database ... 89014 files and directories currently installed.)
Preparing to replace libstdc++6-4.3-dbg-armel-cross 4.3.2-1.1 (using
libstdc++6-4.3-dbg-armel-cross_4.3.2-1.1_all.deb) ...
Unpacking replacement libstdc++6-4.3-dbg-armel-cross ...
dpkg: dependency problems prevent configuration of
libstdc++6-4.3-dbg-armel-cross:
libstdc++6-4.3-dbg-armel-cross depends on libgcc1-dbg-armel-cross;
however:
Package libgcc1-dbg-armel-cross is not installed.
dpkg: error processing libstdc++6-4.3-dbg-armel-cross (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libstdc++6-4.3-dbg-armel-cross
-------------------------------

But I can't find libgcc1-dbg-armel-cross anywhere. Not build, not in
repositories. What is it? Where does it come from?

And even more oddly, trying another balloon kernel make failed when
trying to install cvs, recommending an apt-get install -f to sort out
dependencies. I did that, and it removed the unhappy
libstdc++6-4.3-dbg-armel-cross, and now things build.

Should it always be this hard? Can I help fix it?

Chris

--
Chris Jones -
Martin-Jones Technology Ltd, makers of Solidlights
148 Catharine Street, Cambridge, CB1 3AR, UK
Phone +44 (0) 1223 655611 Fax +44 (0) 870 112 3908
http://www.solidlights.co.uk/