BUILDING IMAGE FOR build_netboot-xen # Add release info mkdir -p ./tmp/netboot/tree/etc/ echo squeeze >./tmp/netboot/tree/etc/default-release echo unstable >./tmp/netboot/tree/etc/udebs-source # Create a dev tree. mkdir -p ./tmp/netboot/tree/dev # Always needed, in case udev is not mounted on boot. mknod ./tmp/netboot/tree/dev/console c 5 1 mknod ./tmp/netboot/tree/dev/null c 1 3 mkdir -p ./tmp/netboot/tree/extraudebs-tmp mkdir -p ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/info ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/updates touch ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/status ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/available # Get and unpack extra udebs too. get-packages udeb cdebconf-newt-entropy cdebconf-text-entropy make[5]: `sources.list.udeb' is up to date. Ign copy: localudebs/ Release.gpg Ign copy: localudebs/ Release Ign copy: localudebs/ Packages/DiffIndex Ign copy: localudebs/ Packages Ign copy: localudebs/ Packages Get:1 copy: localudebs/ Packages [20B] Hit http://download.hetzner.de unstable Release.gpg Hit http://download.hetzner.de unstable Release Ign http://download.hetzner.de unstable/main/debian-installer Packages/DiffIndex Hit http://download.hetzner.de unstable/main/debian-installer Packages Fetched 20B in 0s (781B/s) Reading package lists... Reading package lists... Building dependency tree... Need to download: cdebconf-newt-entropy cdebconf-text-entropy Reading package lists... Building dependency tree... Installing cdebconf-newt-udeb as Depends of cdebconf-newt-entropy Installing cdebconf-udeb as Depends of cdebconf-newt-udeb Installing libc6-udeb as Depends of cdebconf-udeb Installing libdebian-installer4-udeb as Depends of cdebconf-udeb Installing libtextwrap1-udeb as Depends of cdebconf-udeb Installing di-utils-terminfo as Depends of cdebconf-newt-udeb Installing libslang2-udeb as Depends of cdebconf-newt-udeb Installing cdebconf-text-udeb as Depends of cdebconf-text-entropy The following extra packages will be installed: cdebconf-newt-udeb cdebconf-text-udeb cdebconf-udeb di-utils-terminfo libc6-udeb libdebian-installer4-udeb libslang2-udeb libtextwrap1-udeb The following NEW packages will be installed: cdebconf-newt-entropy cdebconf-newt-udeb cdebconf-text-entropy cdebconf-text-udeb cdebconf-udeb di-utils-terminfo libc6-udeb libdebian-installer4-udeb libslang2-udeb libtextwrap1-udeb 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/1645kB of archives. After this operation, 4088kB of additional disk space will be used. Download complete and in download only mode dpkg --force-overwrite --log=/dev/null --root=./tmp/netboot/tree/extraudebs-tmp --unpack \ udebs/cdebconf-newt-entropy.udeb udebs/cdebconf-text-entropy.udeb (Reading database ... 9 files and directories currently installed.) Preparing to replace cdebconf-newt-entropy 0.12 (using .../cdebconf-newt-entropy.udeb) ... Unpacking replacement cdebconf-newt-entropy ... Preparing to replace cdebconf-text-entropy 0.12 (using .../cdebconf-text-entropy.udeb) ... Unpacking replacement cdebconf-text-entropy ... # Library reduction. Existing libs from udebs are put in the udeblibs # directory and mklibs is made to use those in preference to the # system libs. rm -rf ./tmp/netboot/udeblibs mkdir -p ./tmp/netboot/udeblibs cp -a `find ./tmp/netboot/tree/extraudebs-tmp/lib -name '*.so.*'` ./tmp/netboot/udeblibs find: `./tmp/netboot/tree/extraudebs-tmp/lib': No such file or directory cp: missing destination file operand after `./tmp/netboot/udeblibs' Try `cp --help' for more information. make[4]: [stamps/tree-netboot-stamp] Error 1 (ignored) cp -a `find ./tmp/netboot/tree/lib -name '*.so.*'` ./tmp/netboot/udeblibs mkdir -p ./tmp/netboot/tree/lib mklibs -L ./tmp/netboot/tree/usr/lib -L ./tmp/netboot/udeblibs -v -d ./tmp/netboot/tree/lib --root=./tmp/netboot/tree \ -L ./tmp/netboot/tree/usr/lib/cdebconf/frontend \ -lnewt.so -ltext.so \ `find ./tmp/netboot -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | grep -v udeblibs` I: Using /lib64/ld-linux-x86-64.so.2 as dynamic linker. Adding rpath ./tmp/netboot/tree//usr/lib/cdebconf for ./tmp/netboot/tree/usr/lib/cdebconf/frontend/text.so I: library reduction pass 1 Objects: busybox text.so udpkg debconf-copydb debconf-loadtemplate steal-ctty stack.so console-type debconf-dumpdb libdebconf.so dhclient main-menu plugin-entropy.so choose-mirror libslang.so.2-so-stripped plugin-terminal.so debconf libz.so.1.2.3.3 ata_id kbd-mode cdrom_id edd_id path_id scsi_id usb_id log-output libfribidi.so.0.0.0 udevd udevadm libnss_dns-2.10.2.so libsysfs.so.2 blkid libtextwrap.so.1.0.0 libuuid.so.1.3.0 libresolv.so.2-so-stripped libslang.so.2-so libiw.so.29 libblkid.so.1-so-stripped plugin-entropy.so ld-linux-x86-64.so.2-so-stripped rfc822db.so libresolv.so.2-so lspci libdebian-installer.so.4 libdebconfclient.so.0.0.0 lsmod insmod depmod nano modprobe trimtemplates netcfg libblkid.so.1.1.0 anna archdetect gpgv bterm pcmcia-check-broken-cis pcmcia-socket-startup pccardctl newt.so kbd-chooser brltty Object: ./tmp/netboot/tree/bin/busybox Object: ./tmp/netboot/tree/usr/lib/cdebconf/frontend/text.so Object: ./tmp/netboot/tree/usr/bin/udpkg Object: ./tmp/netboot/tree/usr/lib/cdebconf/debconf-copydb Object: ./tmp/netboot/tree/usr/lib/cdebconf/debconf-loadtemplate Object: ./tmp/netboot/tree/sbin/steal-ctty Object: ./tmp/netboot/tree/usr/lib/cdebconf/db/stack.so Object: ./tmp/netboot/tree/sbin/console-type Object: ./tmp/netboot/tree/usr/lib/cdebconf/debconf-dumpdb Object: ./tmp/netboot/tree/usr/lib/cdebconf/libdebconf.so Object: ./tmp/netboot/tree/sbin/dhclient Object: ./tmp/netboot/tree/usr/bin/main-menu Object: ./tmp/netboot/tree/extraudebs-tmp/usr/lib/cdebconf/frontend/newt/plugin-entropy.so Object: ./tmp/netboot/tree/bin/choose-mirror Object: ./tmp/netboot/tree/lib/libslang.so.2-so-stripped Object: ./tmp/netboot/tree/usr/lib/cdebconf/frontend/newt/plugin-terminal.so Object: ./tmp/netboot/tree/usr/lib/cdebconf/debconf Object: ./tmp/netboot/tree/usr/lib/libz.so.1.2.3.3 Object: ./tmp/netboot/tree/lib/udev/ata_id Object: ./tmp/netboot/tree/usr/bin/kbd-mode Object: ./tmp/netboot/tree/lib/udev/cdrom_id Object: ./tmp/netboot/tree/lib/udev/edd_id Object: ./tmp/netboot/tree/lib/udev/path_id Object: ./tmp/netboot/tree/lib/udev/scsi_id Object: ./tmp/netboot/tree/lib/udev/usb_id Object: ./tmp/netboot/tree/bin/log-output Object: ./tmp/netboot/tree/lib/libfribidi.so.0.0.0 Object: ./tmp/netboot/tree/sbin/udevd Object: ./tmp/netboot/tree/sbin/udevadm Object: ./tmp/netboot/tree/lib/libnss_dns-2.10.2.so Object: ./tmp/netboot/tree/lib/libsysfs.so.2 Object: ./tmp/netboot/tree/sbin/blkid Object: ./tmp/netboot/tree/usr/lib/libtextwrap.so.1.0.0 Object: ./tmp/netboot/tree/lib/libuuid.so.1.3.0 Object: ./tmp/netboot/tree/lib/libresolv.so.2-so-stripped Object: ./tmp/netboot/tree/lib/libslang.so.2-so Object: ./tmp/netboot/tree/lib/libiw.so.29 Object: ./tmp/netboot/tree/lib/libblkid.so.1-so-stripped Object: ./tmp/netboot/tree/extraudebs-tmp/usr/lib/cdebconf/frontend/text/plugin-entropy.so Object: ./tmp/netboot/tree/lib/ld-linux-x86-64.so.2-so-stripped Object: ./tmp/netboot/tree/usr/lib/cdebconf/db/rfc822db.so Object: ./tmp/netboot/tree/lib/libresolv.so.2-so Object: ./tmp/netboot/tree/usr/bin/lspci Object: ./tmp/netboot/tree/lib/libdebian-installer.so.4 Object: ./tmp/netboot/tree/usr/lib/libdebconfclient.so.0.0.0 Object: ./tmp/netboot/tree/bin/lsmod Object: ./tmp/netboot/tree/sbin/insmod Object: ./tmp/netboot/tree/sbin/depmod Object: ./tmp/netboot/tree/bin/nano Object: ./tmp/netboot/tree/sbin/modprobe Object: ./tmp/netboot/tree/bin/trimtemplates Object: ./tmp/netboot/tree/bin/netcfg Object: ./tmp/netboot/tree/lib/libblkid.so.1.1.0 Object: ./tmp/netboot/tree/bin/anna Object: ./tmp/netboot/tree/bin/archdetect Object: ./tmp/netboot/tree/usr/bin/gpgv Object: ./tmp/netboot/tree/usr/bin/bterm Object: ./tmp/netboot/tree/lib/udev/pcmcia-check-broken-cis Object: ./tmp/netboot/tree/lib/udev/pcmcia-socket-startup Object: ./tmp/netboot/tree/sbin/pccardctl Object: ./tmp/netboot/tree/usr/lib/cdebconf/frontend/newt.so Object: ./tmp/netboot/tree/usr/bin/kbd-cho/usr/bin/ld: /usr/lib//libslang.a(sldisply.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/lib//libslang.a: could not read symbols: Bad value collect2: ld returned 1 exit status oser Object: ./tmp/netboot/tree/sbin/brltty 683 symbols, 495 unresolved reducing libresolv.so.2 /lib//libresolv.so.2 80712 ./tmp/netboot/tree/lib/libresolv.so.2-so 77314 ./tmp/netboot/tree/lib/libresolv.so.2-so-stripped 66640 reducing libslang.so.2 /lib//libslang.so.2 1069720 ./tmp/netboot/tree/lib/libslang.so.2-so 502674 ./tmp/netboot/tree/lib/libslang.so.2-so-stripped 469720 reducing libz.so.1 no action required for ./tmp/netboot/tree/usr/lib/libz.so.1 adding ./tmp/netboot/tree/usr/lib/libz.so.1 to available libs reducing libblkid.so.1 No pic file found for ./tmp/netboot/udeblibs/libblkid.so.1 ; copying reducing libsysfs.so.2 No pic file found for ./tmp/netboot/udeblibs/libsysfs.so.2 ; copying reducing ld-linux-x86-64.so.2 No pic file found for /lib//ld-linux-x86-64.so.2 ; copying reducing libtextwrap.so.1 no action required for ./tmp/netboot/tree/usr/lib/libtextwrap.so.1 adding ./tmp/netboot/tree/usr/lib/libtextwrap.so.1 to available libs reducing libnewt.so.0.52 Command failed with status 1 : gcc -nostdlib -nostartfiles -shared -Wl,-soname=libnewt.so.0.52 -unewtLabel -unewtCheckbox -unewtTextboxSetHeight -unewtCls -unewtCompactButton -unewtListbox -unewtEntry -unewtSetColors -unewtFormRun -unewtListboxSetCurrent -unewtRunForm -unewtDefaultColorPalette -unewtPopWindow -unewtCenteredWindow -unewtListboxAppendEntry -unewtDrawForm -unewtScaleSet -unewtSetHelpCallback -unewtForm -unewtPushHelpLine -unewtFormSetBackground -unewtFormWatchFd -unewtFormSetTimer -unewtFormAddComponent -unewtRefresh -unewtVerticalScrollbar -unewtPopHelpLine -unewtCheckboxSetFlags -unewtFormSetWidth -unewtFormSetCurrent -unewtTextboxGetNumLines -unewtInit -unewtGetScreenSize -unewtComponentTakesFocus -unewtListboxGetCurrent -unewtDrawRootText -unewtFormDestroy -unewtTextboxSetText -unewtFormSetHeight -unewtFormAddComponents -unewtScale -unewtFinished -unewtTextbox -unewtEntrySet -o ./tmp/netboot/tree/lib/libnewt.so.0.52-so /usr/lib//libnewt_pic.a -Wl,--version-script=/usr/lib//libnewt_pic.map -lgcc -L./tmp/netboot/tree/lib -L./tmp/netboot/tree/usr/lib -L./tmp/netboot/udeblibs -L./tmp/netboot/tree/usr/lib/cdebconf/frontend -L/lib/ -L/usr/lib/ -L/usr/X11R6/lib/ -L./tmp/netboot/tree//usr/lib/cdebconf -lslang -lc With output: make[4]: *** [stamps/tree-netboot-stamp] Error 1 make[3]: *** [_build] Error 2 make[2]: *** [build_netboot] Error 2 make[1]: *** [_build] Error 2 make: *** [build_netboot-xen] Error 2