Comment 20 for bug 67544

Revision history for this message
LaMont Jones (lamont) wrote :

On 2010-09-15 Matthias Klose wrote:
> On 15.09.2010 22:54, Matthias Klumpp wrote:
> > Strange... Why does it work for Debian, but not for Ubuntu?
>
> it even does work on a babbage board running maverick

1. start with a bbg3 board running lucid and a 2.6.31-608-imx51 kernel.
2. bzr branch lp:~lamont/launchpad-buildd/chroot-scripts
3. sudo chroot-scripts/make-chroot.sh --lp -d natty --startdist maverick
4. cd chroot-autobuild/tmp; for p in fp-compiler fp-ide fp-units-base fp-units-db fp-units-fcl fp-units-fv fp-units-gfx fp-units-gnome1 fp-units-gtk2 fp-units-gtk fp-units-math fp-units-misc fp-units-multimedia fp-units-net fp-units-rtl fp-utils; do wget http://ftp.de.debian.org/debian/pool/main/f/fpc/${p}_2.4.0-2_armel.deb; done
5. echo deb http://ftpmaster.internal/ubuntu natty main universe > chroot-autobuild/etc/apt/sources.list
6. echo deb-src http://ftpmaster.internal/ubuntu natty main universe >> chroot-autobuild/etc/apt/sources.list
7. mount -t proc proc $(pwd)/chroot-autobuild/proc
8. mount -t devpts devpts $(pwd)/chroot-autobuild/dev/pts
9. chroot chroot-autobuild apt-get remove --purge pkgbinarymangler
10. sudo chroot chroot-autobuild <-- and inside there:
 a. apt-get update
 b. apt-get remove --purge pkgbinarymangler
 c. cd /tmp; dpkg -i fp-{units-base,units-fcl,utils,units-rtl,compiler}_2.4.0-2_armel.deb; apt-get -f install
 d. apt-get build-dep fpc
 e. su - buildd
   1. cd /build/buildd
   2. apt-get source fpc
   3. cd fpc-2.4.0 && dpkg-buildpackage -B

Build fails.
lamont