charles@qcore:/opt/balloon/trunk$ make mkdir -p ../build && \ mkdir -p ../distro/binaries && \ mkdir -p ../distro/sources || exit 1 #testing if sudo is installed - install it if the build stops here sudo -V &> /dev/null #testing if subversion is installed - install it if the build stops here svn --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install subversion; fi #testing if diff is installed - install it if the build stops here diff --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install diff; fi #testing if quilt is installed - install it if the build stops here quilt --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install quilt; fi #testing if gcc is installed - install it if the build stops here gcc --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install gcc; fi #testing if arm-linux-gnueabi-g++ toolchain is installed - install it if the build stops here arm-linux-gnueabi-g++ --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install g++-4.1-arm-linux-gnueabi; fi #testing if bzip2 is installed - install it if the build stops here bzip2 --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bzip2; fi #testing if texinfo is installed - install it if the build stops here makeinfo --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install texinfo; fi #testing if bison is installed - install it if the build stops here bison --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bison; fi #testing if flex is installed - install it if the build stops here flex --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install flex; fi #testing if wget is installed - install it if the build stops here wget --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install wget; fi #testing if module-init-tools is installed - install it if the build stops here /sbin/depmod --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install module-init-tools; fi #testing if ncurses-dev is installed - install it if the build stops here test -e /usr/include/ncurses.h || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install libncurses5-dev; fi #testing if cvs is installed - install it if the build stops here cvs --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install cvs; fi #testing if arm-linux-gnu-gcc toolchain is installed - install it if the build stops here arm-linux-gnu-gcc --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install gcc-4.1-arm-linux-gnu; fi #testing if linux-libc-dev-arm-cross is installed - install it if the build stops here dpkg -s linux-libc-dev-arm-cross &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install linux-libc-dev-arm-cross || sudo apt-cross -a arm --quiet -i linux-libc-dev \ || echo "Make sure you have added emdebian.org to your sources.list. See http://www.emdebian.org/tools/crosstools.html"; fi #testing if libc6-dev-arm-cross is installed - install it with apt-cross if the build stops here test -e /usr/arm-linux-gnu/include/string.h || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install libc6-dev-arm-cross || sudo apt-cross -a arm --quiet -i libc6-dev \ || echo "Make sure you have install apt-cross and added emdebian.org to your sources.list. See http://www.emdebian.org/tools/crosstools.html"; fi #testing if debhelper is installed - install it if the build stops here test -x /usr/bin/dh_testversion &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install debhelper; fi #testing if fakeroot is installed - install it if the build stops here fakeroot --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install fakeroot; fi #testing if multistrap is installed - install it if the build stops here /usr/sbin/multistrap --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install multistrap; fi touch ../build/buildenv.stamp for subdir in kernel initrd rootfs utils bootldr vhdl; do\ (cd $subdir && make all) || exit 1;\ done ls: cannot access ../Makefile.local: No such file or directory make[1]: Entering directory `/opt/balloon/trunk/kernel' #testing if sudo is installed - install it if the build stops here sudo -V &> /dev/null #testing if subversion is installed - install it if the build stops here svn --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install subversion; fi #testing if diff is installed - install it if the build stops here diff --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install diff; fi #testing if quilt is installed - install it if the build stops here quilt --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install quilt; fi #testing if gcc is installed - install it if the build stops here gcc --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install gcc; fi #testing if arm-linux-gnueabi-g++ toolchain is installed - install it if the build stops here arm-linux-gnueabi-g++ --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install g++-4.1-arm-linux-gnueabi; fi #testing if bzip2 is installed - install it if the build stops here bzip2 --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bzip2; fi #testing if texinfo is installed - install it if the build stops here makeinfo --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install texinfo; fi #testing if bison is installed - install it if the build stops here bison --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bison; fi #testing if flex is installed - install it if the build stops here flex --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install flex; fi #testing if wget is installed - install it if the build stops here wget --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install wget; fi #testing if module-init-tools is installed - install it if the build stops here /sbin/depmod --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install module-init-tools; fi #testing if ncurses-dev is installed - install it if the build stops here test -e /usr/include/ncurses.h || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install libncurses5-dev; fi #testing if cvs is installed - install it if the build stops here cvs --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install cvs; fi make -C ../initrd ls: cannot access ../Makefile.local: No such file or directory make[2]: Entering directory `/opt/balloon/trunk/initrd' #testing if sudo is installed - install it if the build stops here sudo -V &> /dev/null #testing if subversion is installed - install it if the build stops here svn --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install subversion; fi #testing if diff is installed - install it if the build stops here diff --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install diff; fi #testing if quilt is installed - install it if the build stops here quilt --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install quilt; fi #testing if gcc is installed - install it if the build stops here gcc --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install gcc; fi #testing if arm-linux-gnueabi-g++ toolchain is installed - install it if the build stops here arm-linux-gnueabi-g++ --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install g++-4.1-arm-linux-gnueabi; fi #testing if bzip2 is installed - install it if the build stops here bzip2 --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bzip2; fi #testing if texinfo is installed - install it if the build stops here makeinfo --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install texinfo; fi #testing if bison is installed - install it if the build stops here bison --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bison; fi #testing if flex is installed - install it if the build stops here flex --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install flex; fi #testing if wget is installed - install it if the build stops here wget --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install wget; fi #testing if module-init-tools is installed - install it if the build stops here /sbin/depmod --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install module-init-tools; fi #testing if ncurses-dev is installed - install it if the build stops here test -e /usr/include/ncurses.h || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install libncurses5-dev; fi make[2]: Leaving directory `/opt/balloon/trunk/initrd' make[1]: Leaving directory `/opt/balloon/trunk/kernel' ls: cannot access ../Makefile.local: No such file or directory make[1]: Entering directory `/opt/balloon/trunk/initrd' #testing if sudo is installed - install it if the build stops here sudo -V &> /dev/null #testing if subversion is installed - install it if the build stops here svn --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install subversion; fi #testing if diff is installed - install it if the build stops here diff --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install diff; fi #testing if quilt is installed - install it if the build stops here quilt --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install quilt; fi #testing if gcc is installed - install it if the build stops here gcc --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install gcc; fi #testing if arm-linux-gnueabi-g++ toolchain is installed - install it if the build stops here arm-linux-gnueabi-g++ --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes --force-yes install g++-4.1-arm-linux-gnueabi; fi #testing if bzip2 is installed - install it if the build stops here bzip2 --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bzip2; fi #testing if texinfo is installed - install it if the build stops here makeinfo --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install texinfo; fi #testing if bison is installed - install it if the build stops here bison --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install bison; fi #testing if flex is installed - install it if the build stops here flex --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install flex; fi #testing if wget is installed - install it if the build stops here wget --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install wget; fi #testing if module-init-tools is installed - install it if the build stops here /sbin/depmod --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install module-init-tools; fi #testing if ncurses-dev is installed - install it if the build stops here test -e /usr/include/ncurses.h || if [ -e /etc/debian_version ]; then sudo apt-get --quiet --assume-yes install libncurses5-dev; fi make[1]: Leaving directory `/opt/balloon/trunk/initrd' make[1]: Entering directory `/opt/balloon/trunk/rootfs' for subdir in emdebian; do\ (cd $subdir && make all) || exit 1;\ done make[2]: Entering directory `/opt/balloon/trunk/rootfs/emdebian' #Clean-up: in order to use fakeroot we have to clean out rootfs first mkdir -p ../../../build/rootfs/emdebian/sources/packages (cd ../../../build/rootfs/emdebian && rm -rf emdebian-grip-rootfs) rm -f ../../../build/rootfs/emdebian/fakerootstate # build rootfs with multistrap and then fix it up enough to boot it and do dpkg --configure -a; # then unpack modules into rootfs and tar up the resulting whole. # Fakeroot state is loaded/saved between invocations to preserve ownerships `if [ -z $FAKEROOTKEY ]; then echo "fakeroot -i ../../../build/rootfs/emdebian/fakerootstate -s ../../../build/rootfs/emdebian/fakerootstate"; fi;` /usr/sbin/em_multistrap -a armel -d "../../../build/rootfs/emdebian/emdebian-grip-rootfs" -f "multistrap-balloon.conf" --tidy-up --source-dir ../../../build/rootfs/emdebian/sources/packages && \ `if [ -z $FAKEROOTKEY ]; then echo "fakeroot -i ../../../build/rootfs/emdebian/fakerootstate -s ../../../build/rootfs/emdebian/fakerootstate"; fi;` "./rootfs-config" "../../../build/rootfs/emdebian/emdebian-grip-rootfs" "files" && \ (cd ../../../build/rootfs/emdebian/emdebian-grip-rootfs && rm -rf lib/modules/ ) && \ `if [ -z $FAKEROOTKEY ]; then echo "fakeroot -i ../../../build/rootfs/emdebian/fakerootstate -s ../../../build/rootfs/emdebian/fakerootstate"; fi;` tar -C ../../../build/rootfs/emdebian/emdebian-grip-rootfs --owner=root --group=root -xf ../../../build/kernel/modules.tgz && \ `if [ -z $FAKEROOTKEY ]; then echo "fakeroot -i ../../../build/rootfs/emdebian/fakerootstate -s ../../../build/rootfs/emdebian/fakerootstate"; fi;` tar -C ../../../build/rootfs/emdebian/emdebian-grip-rootfs -czf ../../../build/rootfs/emdebianrootstrap.tgz . fakeroot: database file `../../../build/rootfs/emdebian/fakerootstate' does not exist. em_multistrap 0.0.8 using multistrap-balloon.conf Using foreign architecture: armel em_multistrap building armel multistrap on 'i386' INF: Setting ./lib64 -> ./lib symbolic link. Getting package lists: apt-get -o Apt::Architecture=armel -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=../../../build/rootfs/emdebian/emdebian-grip-rootfs/ -o Dir::Etc=../../../build/rootfs/emdebian/emdebian-grip-rootfs/etc/apt/ -o Dir::Etc::SourceList=../../../build/rootfs/emdebian/emdebian-grip-rootfs/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/apt/ -o Dir::State::Status=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/dpkg/status -o Dir::Cache=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/cache/apt/ update Get:1 http://ftp.uk.debian.org lenny Release.gpg [1,033B] Ign http://ftp.uk.debian.org/debian/ lenny/main Translation-en_NZ Get:2 http://www.emdebian.org lenny Release.gpg [197B] Ign http://www.emdebian.org/grip/ lenny/main Translation-en_NZ Get:3 http://www.emdebian.org lenny-proposed-updates Release.gpg [197B] Get:4 http://ftp.uk.debian.org lenny Release [73.8kB] Ign http://www.emdebian.org/grip/ lenny-proposed-updates/main Translation-en_NZ Get:5 http://www.emdebian.org lenny Release [21.1kB] Get:6 http://www.emdebian.org lenny-proposed-updates Release [21.4kB] Ign http://www.emdebian.org lenny/main Packages Ign http://www.emdebian.org lenny/main Sources Ign http://www.emdebian.org lenny-proposed-updates/main Packages Ign http://www.emdebian.org lenny-proposed-updates/main Sources Ign http://ftp.uk.debian.org lenny Release Ign http://www.emdebian.org lenny/main Packages Get:7 http://ftp.uk.debian.org lenny/main Packages [5,041kB] Ign http://www.emdebian.org lenny/main Sources Ign http://www.emdebian.org lenny-proposed-updates/main Packages Ign http://www.emdebian.org lenny-proposed-updates/main Sources Get:8 http://www.emdebian.org lenny/main Packages [223kB] Get:9 http://www.emdebian.org lenny/main Sources [249kB] Get:10 http://www.emdebian.org lenny-proposed-updates/main Packages [152kB] Get:11 http://www.emdebian.org lenny-proposed-updates/main Sources [181kB] Get:12 http://ftp.uk.debian.org lenny/main Sources [2,308kB] Fetched 8,273kB in 3min 34s (38.5kB/s) Reading package lists... Done W: GPG error: http://ftp.uk.debian.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6 W: Duplicate sources.list entry http://www.emdebian.org/grip/ lenny/main Packages (../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/apt/lists/www.emdebian.org_grip_dists_lenny_main_binary-armel_Packages) W: Duplicate sources.list entry http://www.emdebian.org/grip/ lenny-proposed-updates/main Packages (../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/apt/lists/www.emdebian.org_grip_dists_lenny-proposed-updates_main_binary-armel_Packages) W: Duplicate sources.list entry http://ftp.uk.debian.org/debian/ lenny/main Packages (../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_lenny_main_binary-armel_Packages) apt-get -y -o Apt::Architecture=armel -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=../../../build/rootfs/emdebian/emdebian-grip-rootfs/ -o Dir::Etc=../../../build/rootfs/emdebian/emdebian-grip-rootfs/etc/apt/ -o Dir::Etc::SourceList=../../../build/rootfs/emdebian/emdebian-grip-rootfs/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/apt/ -o Dir::State::Status=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/lib/dpkg/status -o Dir::Cache=../../../build/rootfs/emdebian/emdebian-grip-rootfs/var/cache/apt/ install apt balloon3-config base-files base-passwd bash bsdutils coreutils debian-archive-keyring debianutils diff dpkg e2fslibs e2fsprogs emdebian-archive-keyring findutils gcc-4.3-base grep grip-config gzip hostname initscripts iputils-ping libacl1 libattr1 libblkid1 libc6 libcap1 libcomerr2 libdevmapper1.02.1 libgcc1 liblocale-gettext-perl libncurses5 libpam-modules libpam-runtime libpam0g libselinux1 libsepol1 libslang2 libss2 libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libuuid1 libvolume-id0 login lsb-base makedev mawk mktemp mount ncurses-base ncurses-bin ntpdate passwd perl-base procps sed sysv-rc sysvinit sysvinit-utils tar tzdata util-linux zlib1gudev Reading package lists... Done Building dependency tree... Done E: Couldn't find package zlib1gudev apt download failed. Exit value: 100 make[2]: *** [../../../build/rootfs/emdebianrootstrap.tgz] Error 100 make[2]: Leaving directory `/opt/balloon/trunk/rootfs/emdebian' make[1]: *** [all] Error 1 make[1]: Leaving directory `/opt/balloon/trunk/rootfs' make: *** [all] Error 1 charles@qcore:/opt/balloon/trunk$