Version 19.7.7 [IB error libubus20191227]


Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
* libubus20191227
* opkg_install_cmd: Cannot install package luci.
Makefile:154: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:112: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:207: recipe for target 'image' failed
make: *** [image] Error 2
root@LEDE:~/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64#

1 Like

Nice!
Imagebuilder?
What did you try to do in the first place?

On what system are you working? Have you followed the instructions for imagebuilder?
Specifically those on depenables!

1 Like

https://downloads.openwrt.org/releases/19.07.2/targets/ramips/mt76x8/

download openwrt-imagebuilder-19.07.2-ramips-mt76x8.Linux-x86_64.tar.xz

build custom image . I have been using ubuntu 16 for one years longer.

Always it is OK., But I want change config and build fireware replease backup configure.

It find error

I must use luci

 

I try all 19. version and get same error result, Before it is okay

openwrt-imagebuilder-21.02.0-rc3-ramips-mt76x8.Linux-x86_64#
It is working .
But All other old version get error.
I can not use 21 version too big size . It can not install on my rom,
I have to use 19 version .
how to fix it?

1 Like

the simplest thing to do in situations like this (but not for everyone)...

is to create/install an image without luci and attempt to install luci on the router itself...

  • in the majority of cases this will fail
when posting about imagebuilder issues... it is best to include the full 'make' command that was issued...

if you obtain the correct versions of these ipk's and place them in the 'packages' directory you may be able to workaround this issue

but without luci it can success. I think the server with wrong version ipk package

root@LEDE:~/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64# ls -l build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/
total 12292
-rw-r--r-- 1 root root 4456700 Aug 1 12:50 openwrt-19.07.7-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin
-rw-r--r-- 1 root root 8126464 Aug 1 12:50 openwrt-19.07.7-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-tftp-recovery.

Please you try to build

Please you try download below image and build with luci firmware

openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64.tar.xz

I think server update wrong version ipk package

it is impossible to replicate your conditions if you do not publish your make command...

that makes alot of sense... (hence my suggested workaround)

You could try the 19.07-snapshot imagebuilder instead because the 19.07.7 starts to be old now and something can have changed since 19.07.7 imagebuilder was released.

I try version 18 same error result with luci. but 21 version is okay.
19 and 19 version I remove luci that will get success firmware.

make image PROFILE=tplink_tl-wr802n-v4  PACKAGES="luci 
.
Configuring kmod-ipt-offload.
Configuring urngd.
Configuring ppp-mod-pppoe.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      libubus20191227
 * opkg_install_cmd: Cannot install package luci.
Makefile:154: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:112: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:207: recipe for target 'image' failed
make: *** [image] Error 2
root@LEDE:~/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64# 


root@LEDE:~/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64# make image PROFILE=tplink_tl-wr802n-v4  PACKAGES="softflowd lldpd snmpd  tcpdump " FILES=files/


Enabling softflowd
Enabling sysctl
Enabling sysfixtime
Enabling sysntpd
Enabling system
Enabling umount
Enabling urandom_seed
Enabling urngd

Building images...
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /root/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/root/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/dev".
Ignoring, exclude it (-e/-ef) to override.
[=====================================================================================================================================/] 758/758 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
        compressed data, compressed metadata, compressed fragments,
        no xattrs, compressed ids
        duplicates are removed
Filesystem size 2809.20 Kbytes (2.74 Mbytes)
        37.40% of uncompressed filesystem size (7511.68 Kbytes)
Inode table size 7290 bytes (7.12 Kbytes)
        21.43% of uncompressed inode table size (34016 bytes)
Directory table size 10042 bytes (9.81 Kbytes)
        46.99% of uncompressed directory table size (21371 bytes)
Number of duplicate files found 90
Number of inodes 1025
Number of files 750
Number of fragments 19
Number of symbolic links  196
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 78
Number of ids (unique uids + gids) 1
Number of uids 1
        unknown (0)
Number of gids 1
        unknown (0)
[mktplinkfw2] rootfs offset aligned to 0x1570620
[mktplinkfw2] firmware file "/root/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-19.07.7-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.new" completed
1+0 records in
1+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.000468559 s, 280 MB/s
[mktplinkfw2] rootfs offset aligned to 0x1570620
[mktplinkfw2] firmware file "/root/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-19.07.7-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-tftp-recovery.bin.new" completed

Calculating checksums...
root@LEDE:~/project/openwrt-imagebuilder-19.07.7-ramips-mt76x8.Linux-x86_64#

Troubleshooting

  1. Wait a few hours/day upstream packages may be in an inconsistent state

3days before I built it with luci and success.
Today I just change configure and use all same command to build it
error result
But I find a lot package update

I hope OpenWRT old version roll back old package

That will not happend.

If some dependable packages has been upgraded since the IB is compiled than you need to go for the release snapshot, 19.07-snapshot (possibly with a little wait server time).

This “LuCi IB problem” has been around for 21.02 also. But there has been a change for 21.02 and future releases that all the dependables are freezed with the release to avoid this problem.

Thanks a lot

openwrt-imagebuilder-21.02.0-rc3-ramips-mt76x8.Linux-x86_64

do not install wireguard.

Collected errors:
 * opkg_install_cmd: Cannot install package wireguard. <------------Error 
Makefile:163: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:116: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:238: recipe for target 'image' failed
make: *** [image] Error 2

21.02…?

Please try the 21.02-snapshot if you use imagebuilder on that release since 21.02 still are on development release candidate stage.

RC3 is rather old (very old actually as it is a RC with a lot of commits after that release) now and I don’t remember if the above mentioned fix was made after rc3.

Number of gids 1
        root (0)
rm -f /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin
cp /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/vmlinux /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin
cat /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/image-TL-WR802NV4.dtb >> /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin
/root/project/openwrt/staging_dir/host/bin/lzma e /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin -lc1 -lp2 -pb2  /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin.new
[ -f /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin -a -f /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
/root/project/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08020004 -W 0x1 -w 0x4 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tplink_tl-wr802n-v4-kernel.bin -r /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.new -s -e
[mktplinkfw2] rootfs offset aligned to 0x1597232
[mktplinkfw2] *** error: images are too big <---------------------***** TOO BIG ******
make[5]: *** [Makefile:183: /root/project/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin] Error 255
make[5]: Leaving directory '/root/project/openwrt/target/linux/ramips/image'
make[4]: *** [Makefile:26: install] Error 2
make[4]: Leaving directory '/root/project/openwrt/target/linux/ramips'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/root/project/openwrt/target/linux'
time: target/linux/install#11.32#5.53#15.13
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/root/project/openwrt'
make[1]: *** [target/Makefile:19: /root/project/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/root/project/openwrt'
make: *** [/root/project/openwrt/include/toplevel.mk:227: world] Error 2
root@OpenWRT:~/project/openwrt#
root@OpenWRT:~/project/openwrt# git branch -v
* (HEAD detached at v19.07.7) d5ae565873 OpenWrt v19.07.7: adjust config defaults
  master                      59c63224e1 dnsmasq: rework jail mounts
root@OpenWRT:~/project/openwrt#

I try build from clone source version 19.7.7 with same package . But size too big.

I hope openwrt-imagebuilder-21.02.0-rc3-ramips-mt76x8.Linux-x86_64 can rollback

it is easy build image with small size

1 Like

Success build from source code

make[2]: Entering directory '/root/project/openwrt'
make[2]: Leaving directory '/root/project/openwrt'
make[1]: Leaving directory '/root/project/openwrt'
root@OpenWRT:~/project/openwrt# ls -l build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/
total 14988
-rw-r--r-- 1 root root 7209744 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin
-rw-r--r-- 1 root root     151 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.sig
-rw-r--r-- 1 root root     516 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.ucert
-rw-r--r-- 1 root root 8126464 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-tftp-recovery.bin
root@OpenWRT:~/project/openwrt# ls -l /var/www/html/
total 7056
-rw-r--r-- 1 root root   10918 Aug  1 10:48 ubuntu.html
-rw-r--r-- 1 root root 7209744 Aug  1 20:44 WiFi-CONSOLE-10.0.0.17-20210801-NO-DHCP-SERVER-openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-sysupgrade.bin
root@OpenWRT:~/project/openwrt# ls -l /var/www/html/WiFi-CONSOLE-10.0.0.17-20210801-NO-DHCP-SERVER-openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-sysupgrade.bin
-rw-r--r-- 1 root root 7209744 Aug  1 20:44 /var/www/html/WiFi-CONSOLE-10.0.0.17-20210801-NO-DHCP-SERVER-openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-sysupgrade.bin
root@OpenWRT:~/project/openwrt# ls -l build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin
-rw-r--r-- 1 root root 7209744 Aug  1 21:30 build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin
root@OpenWRT:~/project/openwrt# mv  build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin /var/www/html/WiFi-CONSOLE-10.0.0.17-20210801-NO-DHCP-SERVER-openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-sysupgrade.bin
root@OpenWRT:~/project/openwrt# ls -l build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/
total 7944
-rw-r--r-- 1 root root     151 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.sig
-rw-r--r-- 1 root root     516 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-sysupgrade.bin.ucert
-rw-r--r-- 1 root root 8126464 Aug  1 21:30 openwrt-ramips-mt76x8-tplink_tl-wr802n-v4-squashfs-tftp-recovery.bin
root@OpenWRT:~/project/openwrt# rm  build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/*
root@OpenWRT:~/project/openwrt#