Modify

Opened 9 years ago

Closed 9 years ago

#4290 closed defect (invalid)

Building an image failes

Reported by: rainer.poisel@… Owned by: developers
Priority: normal Milestone: Kamikaze 8.09 RC1
Component: base system Version:
Keywords: Cc:

Description

After creating my OpenWrt ImageBuilder by compiling my source files I cannot make a new image. This is what I get when building:

knirps:/usr/local/OpenWrt-ImageBuilder% sudo make image PACKAGES="kmod-madwifi libexpat dbus dbus-utils uclibcxx l    ibpcap kismet-server" FILES="/home/rpoisel/svn/wlan/Projektdateien/lbs_project/others/openwrt/kamikaze/root/"
[sudo] password for rpoisel:
Building images for brcm47xx - Broadcom BCM43xx WiFi (default)
Packages: base-files-brcm47xx bridge busybox dbus dbus-utils dnsmasq dropbear firewall hotplug2 ibpcap iptables kernel kismet-server kmod-diag kmod-ipt-nathelper kmod-madwifi kmod-switch l libexpat libgcc luci-admin-full luci-app-firewall luci-i18n-english luci-sgi-cgi mtd opkg ppp ppp-mod-pppoe uci uclibc uclibcxx udevtrigger

make[1]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'

Building package index...
(cd /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/packages; /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/scripts/ipkg-make-index.sh . > Packages && \
                gzip -9c Packages > Packages.gz \
        ) >/dev/null 2>/dev/null
IPKG_TMP="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/tmp/ipkgtmp" IPKG_INSTROOT="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx" IPKG_CONF_DIR="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/tmp" IPKG_OFFLINE_ROOT="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx" /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/scripts/ipkg -force-defaults update
Updated list of available packages in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists/packages
make[1]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
make[1]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'

Installing packages...
IPKG_TMP="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/tmp/ipkgtmp" IPKG_INSTROOT="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx" IPKG_CONF_DIR="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/tmp" IPKG_OFFLINE_ROOT="/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx" /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/scripts/ipkg -force-defaults install base-files-brcm47xx bridge busybox dbus dbus-utils dnsmasq dropbear firewall hotplug2 ibpcap iptables kernel kismet-server kmod-diag kmod-ipt-nathelper kmod-madwifi kmod-switch l libexpat libgcc luci-admin-full luci-app-firewall luci-i18n-english luci-sgi-cgi mtd opkg ppp ppp-mod-pppoe uci uclibc uclibcxx udevtrigger
Unpacking base-files-brcm47xx...Done.
Configuring base-files-brcm47xx...Done.
Unpacking bridge...Done.
Configuring bridge...Done.
Unpacking busybox...Done.
Configuring busybox...Done.
Unpacking libexpat...Done.
Configuring libexpat...Done.
Unpacking dbus...Done.
Configuring dbus...Done.
Unpacking dbus-utils...Done.
Configuring dbus-utils...Done.
Unpacking dnsmasq...Done.
Configuring dnsmasq...Done.
Unpacking dropbear...Done.
Configuring dropbear...Done.
Unpacking kernel...Done.
Configuring kernel...Done.
Unpacking kmod-ipt-core...Done.
Configuring kmod-ipt-core...Done.
Unpacking kmod-ipt-conntrack...Done.
Configuring kmod-ipt-conntrack...Done.
Unpacking kmod-ipt-nat...Done.
Configuring kmod-ipt-nat...Done.
Unpacking iptables-mod-nat...Done.
Configuring iptables-mod-nat...Done.
iptables-mod-nat is installed
Unpacking iptables-mod-conntrack...Done.
Configuring iptables-mod-conntrack...Done.
Unpacking firewall...Done.
Configuring firewall...Done.
iptables-mod-conntrack is installed
Unpacking hotplug2...Done.
Configuring hotplug2...Done.
ipkg_get_install: ERROR: Cannot find package ibpcap in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
Unpacking iptables...Done.
Configuring iptables...Done.
Unpacking kernel...Done.
Configuring kernel...Done.
Unpacking libpcap...Done.
Configuring libpcap...Done.
Unpacking uclibcxx...Done.
Configuring uclibcxx...Done.
Unpacking kismet-server...Done.
Configuring kismet-server...Done.
Unpacking kmod-diag...Done.
Configuring kmod-diag...Done.
Unpacking kmod-ipt-nathelper...Done.
Configuring kmod-ipt-nathelper...Done.
Unpacking wireless-tools...Done.
Configuring wireless-tools...Done.
Unpacking kmod-madwifi...Done.
Configuring kmod-madwifi...Done.
Unpacking kmod-switch...Done.
Configuring kmod-switch...Done.
ipkg_get_install: ERROR: Cannot find package l in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
Unpacking libexpat...Done.
Configuring libexpat...Done.
Unpacking libgcc...Done.
Configuring libgcc...Done.
ipkg_get_install: ERROR: Cannot find package luci-admin-full in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
ipkg_get_install: ERROR: Cannot find package luci-app-firewall in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
ipkg_get_install: ERROR: Cannot find package luci-i18n-english in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
ipkg_get_install: ERROR: Cannot find package luci-sgi-cgi in /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/usr/lib/opkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
Unpacking mtd...Done.
Configuring mtd...Done.
Unpacking opkg...Done.
Configuring opkg...Done.
Unpacking kmod-ppp...Done.
Configuring kmod-ppp...Done.
Unpacking ppp...Done.
Configuring ppp...Done.
Unpacking kmod-pppoe...Done.
Configuring kmod-pppoe...Done.
Unpacking ppp-mod-pppoe...Done.
Configuring ppp-mod-pppoe...Done.
Unpacking libuci...Done.
Configuring libuci...Done.
Unpacking uci...Done.
Configuring uci...Done.
Unpacking uclibc...Done.
Configuring uclibc...Done.
Unpacking uclibcxx...Done.
Configuring uclibcxx...Done.
Unpacking udevtrigger...Done.
Configuring udevtrigger...Done.
make[1]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
make[1]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
Copying extra files
cp -fpR /home/rpoisel/svn/wlan/Projektdateien/lbs_project/others/openwrt/kamikaze/root//* /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx/
make[1]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
make[1]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'

Activating init scripts
--: line 1: cd: /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root: No such file or directory
grep: ./etc/init.d/*: No such file or directory
make[1]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
make[1]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'

Building images...
make V=99 -C target/linux/brcm47xx/image install TARGET_BUILD=1 IB=1
make[2]: Entering directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/target/linux/brcm-2.4/image'
/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/staging_dir/host/bin/mksquashfs-lzma /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/mipsel/root-brcm47xx /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/root.squashfs -nopad -noappend -root-owned -le
Creating little endian 3.0 filesystem on /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/root.squashfs, block size 65536.

Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 1712.55 Kbytes (1.67 Mbytes)
        30.92% of uncompressed filesystem size (5539.25 Kbytes)
Inode table size 4311 bytes (4.21 Kbytes)
        26.34% of uncompressed inode table size (16364 bytes)
Directory table size 4328 bytes (4.23 Kbytes)
        57.60% of uncompressed directory table size (7514 bytes)
Number of duplicate files found 11
Number of inodes 515
Number of files 259
Number of fragments 19
Number of symbolic links  164
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 92
Number of uids 1
        root (0)
Number of gids 0
/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/staging_dir/host/bin/trx -o /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/bin/openwrt-brcm47xx-squashfs.trx -f /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/loader.gz -f /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/vmlinux.lzma -a 1024 -f /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/root.squashfs -a 0x10000 -A /usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/fs_mark
mjn3's trx replacement - v0.81.1
can not open "/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/build_dir/linux-brcm47xx/loader.gz" for reading
Usage: trx [-o outfile] [-m maxlen] [-a align] [-b offset] [-f file] [-f file [-f file]]
make[2]: *** [install] Error 1
make[2]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09/target/linux/brcm-2.4/image'
make[1]: *** [build_image] Error 2
make[1]: Leaving directory `/usr/local/OpenWrt-ImageBuilder-brcm47xx-for-Linux-x86_64-kamikaze-8.09'
make: *** [image] Error 2

I have the same problem with checking out from the svn root, as well as with taking the tar.bz2 from the OpenWrt downloads.

The standard-image which is created when doing make world' in the svn-root works, after being flashed on my ASUS Wl-500g Premium. make image' from within the ImageBuilder's directory complains about a few missing files which I tried to copy over from the compiled svn root which satisfies `make', but the resulting images do not work. I do not have a serial connection to my router, but it seems that the booting process stops after initialization of the ROM.

Thx and regards,

Rainer Poisel

Attachments (1)

.config (41.2 KB) - added by rainer.poisel@… 9 years ago.
configuration file for the OpenWrt build system

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by rainer.poisel@…

configuration file for the OpenWrt build system

comment:1 Changed 9 years ago by florian

  • Resolution set to invalid
  • Status changed from new to closed

You should not run the build as root.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.