mixtile-rockchip / mixtile-clusterbox-mt7620a-openwrt

Other
4 stars 1 forks source link

Build failure on ubuntu:20.04 #1

Closed srcshelton closed 1 month ago

srcshelton commented 7 months ago

Following the README.md build instructions to the letter and without having changed anything in the checked-out repo, at this point in time the build eventually fails with:

# ./build.sh all
...
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency luci-theme-bootstrap for luci
 * pkg_hash_fetch_best_installation_candidate: Packages for luci found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci.
 * resolve_conffiles: Existing conffile /root/mixtile-clusterbox-mt7620a-openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/etc/sudoers is different from the conffile in the new package. The new conffile will be placed at /root/mixtile-clusterbox-mt7620a-openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/etc/sudoers-opkg.
make[2]: *** [package/Makefile:70: package/install] Error 255
make[2]: Leaving directory '/root/mixtile-clusterbox-mt7620a-openwrt'
make[1]: *** [package/Makefile:111: /root/mixtile-clusterbox-mt7620a-openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/root/mixtile-clusterbox-mt7620a-openwrt'
make: *** [/root/mixtile-clusterbox-mt7620a-openwrt/include/toplevel.mk:230: world] Error 2
Buyuliang commented 7 months ago

It is recommended to select the configuration file before compiling again, you can try it.

./build.sh cluster-box-config

./build.sh feeds_update

./build.sh feeds_install

./build.sh all

srcshelton commented 7 months ago

That worked!

Comparing the repo README.md and your instructions above, it looks as if other than the order the commands are issued in, ./build.sh feeds_update is missing from README.md - should this be added/updated?

(… by the way, is the repeated use of lunch in build.sh a typo of "launch"?)

Buyuliang commented 7 months ago

Yes, your understanding is correct. feeds_update is missing. Thank you for reminding me and I will improve this script