gl-inet / imagebuilder

Warning!Please look at 'GL.iNET Imagebuilder Introduction' section.
96 stars 46 forks source link

Files not found #10

Open MaartenW opened 4 years ago

MaartenW commented 4 years ago

When running ./gl_image -p ar750s there's a whole lot of no such ... and ...not found errors:

Finalizing root filesystem...
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/glfw: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/glfw: line 4: /lib/functions/network.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/glfw: line 5: /lib/mwan3/mwan3.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/glfw: line 6: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_health: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_health: line 4: /lib/functions/network.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_ssids: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_ssids: line 15: uci: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_tertf: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_tertf: line 4: /lib/functions/network.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_tertf: line 5: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/gl_tertf: line 10: get_model: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/vpn-service: line 9: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/vpn-service: line 13: get_model: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/vpn-service: line 14: check_guest_network_exist: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/startvpn: line 3: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/startvpn: line 7: get_model: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/startvpn: line 8: check_guest_network_exist: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard_server: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard_server: line 4: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard_server: line 11: get_model: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard_server: line 12: check_guest_network_exist: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard: line 3: /lib/functions.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard: line 4: /lib/functions/network.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard: line 5: /lib/functions/gl_util.sh: No such file or directory
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard: line 13: get_model: command not found
/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/wireguard: line 14: check_guest_network_exist: command not found
Create '/home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/build_dir/target-mips_24kc_musl/root-ar71xx/etc/filesystems'.
Add 'ntfs-3g' to known filesystems.
./etc/init.d/firewall_gl: line 9: uci: command not found
./etc/init.d/firewall_gl: line 10: uci: command not found
./etc/init.d/firewall_gl: line 11: uci: command not found
./etc/init.d/generate_channel_list: line 4: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/gl_init: line 2: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/gl_init: line 12: get_model: command not found
./etc/init.d/gl_ssids: line 3: /lib/functions.sh: No such file or directory
./etc/init.d/gl_ssids: line 15: uci: command not found
./etc/init.d/glfw: line 3: /lib/functions.sh: No such file or directory
./etc/init.d/glfw: line 4: /lib/functions/network.sh: No such file or directory
./etc/init.d/glfw: line 5: /lib/mwan3/mwan3.sh: No such file or directory
./etc/init.d/glfw: line 6: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/startvpn: line 3: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/startvpn: line 7: get_model: command not found
./etc/init.d/startvpn: line 8: check_guest_network_exist: command not found
./etc/init.d/vpn-service: line 9: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/vpn-service: line 13: get_model: command not found
./etc/init.d/vpn-service: line 14: check_guest_network_exist: command not found

Building images...
Unable to open feeds configuration at /home/vagrant/imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand_3.1/scripts/feeds line 48.
Hoff-GLiNet commented 3 years ago

Hi MaartenW, Sorry for the late reply. We have released version 3.105, which you can test with the latest version 3.105.

gkachru commented 3 years ago

Similar errors for me too when building for the mifi on Jun 2, 2021. Some packages build correctly while others have issues.

$ ./gl_image -p mifi

Finalizing root filesystem...
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/glfw: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/glfw: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/glfw: line 8: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_ipv6: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_ipv6: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_ipv6: line 5: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_health: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_health: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_ssids: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_ssids: line 24: uci: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_tertf: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_tertf: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_tertf: line 5: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_tertf: line 10: get_model: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_bigdata: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/gl_bigdata: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/vpn-service: line 9: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/vpn-service: line 13: get_model: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/vpn-service: line 14: check_guest_network_exist: command not found
cat: /etc/openvpn/ovpn/server.ovpn: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/startvpn: line 3: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/startvpn: line 7: get_model: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/startvpn: line 8: check_guest_network_exist: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard_server: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard_server: line 4: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard_server: line 11: get_model: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard_server: line 12: check_guest_network_exist: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 3: /lib/functions.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 4: /lib/functions/network.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 5: /lib/functions/gl_util.sh: No such file or directory
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 15: get_model: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 16: check_guest_network_exist: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 19: uci: command not found
/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/init.d/wireguard: line 20: uci: command not found
Create '/home/gautam/code/glinet/gl_imagebuilder/imagebuilder/3.5/openwrt-imagebuilder-ath79-nand_3.5/build_dir/target-mips_24kc_musl/root-ath79/etc/filesystems'.
Add 'ntfs-3g' to known filesystems.
Enabling boot
Enabling clear_flag
Enabling cron
Enabling ddns
Enabling dnscrypt-proxy
Enabling dnsmasq
Enabling done
Enabling dropbear
Enabling firewall
./etc/init.d/generate_channel_list: line 4: /lib/functions/gl_util.sh: No such file or directory
Enabling generate_channel_list
Enabling gl_fixdomain
./etc/init.d/gl_init: line 2: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/gl_init: line 12: get_model: command not found
Enabling gl_init
Enabling gl_monitor
Enabling gl_mqtt
Enabling gl_route_policy
Enabling gl_s2s
./etc/init.d/gl_ssids: line 3: /lib/functions.sh: No such file or directory
./etc/init.d/gl_ssids: line 24: uci: command not found
Enabling gl_ssids
Enabling glcrond
./etc/init.d/glfw: line 3: /lib/functions.sh: No such file or directory
./etc/init.d/glfw: line 4: /lib/functions/network.sh: No such file or directory
./etc/init.d/glfw: line 8: /lib/functions/gl_util.sh: No such file or directory
Enabling glfw
Enabling gpio_switch
Enabling init_gpio
Enabling initswitch
Enabling led
Enabling lighttpd
Enabling log
Enabling mount_usdk
Enabling mwan3
Enabling network
Enabling nodogsplash
Enabling odhcpd
Enabling openvpn
Enabling relayd
Enabling rtty
Enabling smstools3
./etc/init.d/startvpn: line 3: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/startvpn: line 7: get_model: command not found
./etc/init.d/startvpn: line 8: check_guest_network_exist: command not found
Enabling startvpn
Enabling stubby
Enabling sysctl
Enabling sysfixtime
Enabling sysntpd
Enabling system
Enabling umount
Enabling urandom_seed
Enabling urngd
Enabling usbmode
Enabling usbmuxd
./etc/init.d/vpn-service: line 9: /lib/functions/gl_util.sh: No such file or directory
./etc/init.d/vpn-service: line 13: get_model: command not found
./etc/init.d/vpn-service: line 14: check_guest_network_exist: command not found
cat: /etc/openvpn/ovpn/server.ovpn: No such file or directory
Enabling vpn-service