I am facing issues while building the firmware on Ubuntu 22. I have attached the logs for your reference.
Could you please review them and suggest possible solutions?
Looking forward to your response.
jay:~/work/openwrt-lima$ git checkout -f openwrt-24.10
Already on 'openwrt-24.10'
Your branch is up to date with 'origin/openwrt-24.10'.
jay:~/work/openwrt-lima$ scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git;openwrt-24.10' ...
Cloning into './feeds/packages'...
remote: Enumerating objects: 7294, done.
remote: Counting objects: 100% (7294/7294), done.
remote: Compressing objects: 100% (5985/5985), done.
remote: Total 7294 (delta 249), reused 4995 (delta 181), pack-reused 0
Receiving objects: 100% (7294/7294), 14.25 MiB | 491.00 KiB/s, done.
Resolving deltas: 100% (249/249), done.
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git;openwrt-24.10' ...
Cloning into './feeds/luci'...
remote: Enumerating objects: 10549, done.
remote: Counting objects: 100% (10549/10549), done.
remote: Compressing objects: 100% (5193/5193), done.
remote: Total 10549 (delta 3481), reused 6883 (delta 679), pack-reused 0
Receiving objects: 100% (10549/10549), 8.91 MiB | 186.00 KiB/s, done.
Resolving deltas: 100% (3481/3481), done.
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git;openwrt-24.10' ...
Cloning into './feeds/routing'...
remote: Enumerating objects: 293, done.
remote: Counting objects: 100% (293/293), done.
remote: Compressing objects: 100% (237/237), done.
remote: Total 293 (delta 10), reused 95 (delta 0), pack-reused 0
Receiving objects: 100% (293/293), 129.88 KiB | 254.00 KiB/s, done.
Resolving deltas: 100% (10/10), done.
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git;openwrt-24.10' ...
Cloning into './feeds/telephony'...
remote: Enumerating objects: 279, done.
remote: Counting objects: 100% (279/279), done.
remote: Compressing objects: 100% (262/262), done.
remote: Total 279 (delta 6), reused 212 (delta 5), pack-reused 0
Receiving objects: 100% (279/279), 227.87 KiB | 428.00 KiB/s, done.
Resolving deltas: 100% (6/6), done.
Create index file './feeds/packages.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... updated.
Checking 'working-gcc'... failed.
Checking 'g++'... updated.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... updated.
Checking 'rsync'... updated.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... updated.
Checking 'find'... updated.
Checking 'bash'... updated.
Checking 'xargs'... updated.
Checking 'patch'... updated.
Checking 'diff'... updated.
Checking 'cp'... updated.
Checking 'seq'... updated.
Checking 'awk'... updated.
Checking 'grep'... updated.
Checking 'egrep'... updated.
Checking 'getopt'... updated.
Checking 'realpath'... updated.
Checking 'stat'... updated.
Checking 'gzip'... updated.
Checking 'unzip'... updated.
Checking 'bzip2'... updated.
Checking 'wget'... updated.
Checking 'install'... updated.
Checking 'perl'... updated.
Checking 'python'... updated.
Checking 'python3'... updated.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... updated.
Checking 'which'... updated.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting package info: done
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting target info: done
Create index file './feeds/luci.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting package info: done
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting target info: done
Create index file './feeds/routing.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting package info: done
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting target info: done
Create index file './feeds/telephony.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting package info: done
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Collecting target info: done
jay:~/work/openwrt-lima$ sudo apt-get update
sudo apt-get install -y build-essential libncurses5-dev libncursesw5-dev gawk git subversion \
libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl unzip time \
python3 python3-distutils python3-dev g++ gcc cmake perl-modules wget flex gettext
Hit:1 https://packages.microsoft.com/repos/code stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'perl-modules-5.34' instead of 'perl-modules'
build-essential is already the newest version (12.9ubuntu3).
flex is already the newest version (2.6.4-8build2).
g++ is already the newest version (4:11.2.0-1ubuntu1).
gcc is already the newest version (4:11.2.0-1ubuntu1).
gettext is already the newest version (0.21-4ubuntu4).
libbz2-dev is already the newest version (1.0.8-5build1).
libreadline-dev is already the newest version (8.1.2-1).
time is already the newest version (1.9-0.1build2).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
curl is already the newest version (7.81.0-1ubuntu1.20).
gawk is already the newest version (1:5.1.0-1ubuntu0.1).
git is already the newest version (1:2.34.1-1ubuntu1.12).
libncurses5-dev is already the newest version (6.3-2ubuntu0.1).
libncursesw5-dev is already the newest version (6.3-2ubuntu0.1).
libsqlite3-dev is already the newest version (3.37.2-2ubuntu0.3).
libssl-dev is already the newest version (3.0.2-0ubuntu1.19).
perl-modules-5.34 is already the newest version (5.34.0-3ubuntu1.3).
python3 is already the newest version (3.10.6-1~22.04.1).
python3-dev is already the newest version (3.10.6-1~22.04.1).
python3-distutils is already the newest version (3.10.8-1~22.04).
unzip is already the newest version (6.0-26ubuntu3.2).
wget is already the newest version (1.21.2-2ubuntu1.1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
subversion is already the newest version (1.14.1-3ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
jay:~/work/openwrt-lima$ sudo apt-get update
sudo apt-get install -y build-essential libncurses5-dev libncursesw5-dev gawk git subversion \
libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl unzip time \
python3 python3-distutils python3-dev g++ gcc cmake perl-modules wget flex gettext
Hit:1 https://packages.microsoft.com/repos/code stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'perl-modules-5.34' instead of 'perl-modules'
build-essential is already the newest version (12.9ubuntu3).
flex is already the newest version (2.6.4-8build2).
g++ is already the newest version (4:11.2.0-1ubuntu1).
gcc is already the newest version (4:11.2.0-1ubuntu1).
gettext is already the newest version (0.21-4ubuntu4).
libbz2-dev is already the newest version (1.0.8-5build1).
libreadline-dev is already the newest version (8.1.2-1).
time is already the newest version (1.9-0.1build2).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
curl is already the newest version (7.81.0-1ubuntu1.20).
gawk is already the newest version (1:5.1.0-1ubuntu0.1).
git is already the newest version (1:2.34.1-1ubuntu1.12).
libncurses5-dev is already the newest version (6.3-2ubuntu0.1).
libncursesw5-dev is already the newest version (6.3-2ubuntu0.1).
libsqlite3-dev is already the newest version (3.37.2-2ubuntu0.3).
libssl-dev is already the newest version (3.0.2-0ubuntu1.19).
perl-modules-5.34 is already the newest version (5.34.0-3ubuntu1.3).
python3 is already the newest version (3.10.6-1~22.04.1).
python3-dev is already the newest version (3.10.6-1~22.04.1).
python3-distutils is already the newest version (3.10.8-1~22.04).
unzip is already the newest version (6.0-26ubuntu3.2).
wget is already the newest version (1.21.2-2ubuntu1.1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
subversion is already the newest version (1.14.1-3ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
jay:~/work/openwrt-lima$ rm -rf staging_dir/host
jay:~/work/openwrt-lima$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git;openwrt-24.10' ...
Already up to date.
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git;openwrt-24.10' ...
Already up to date.
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git;openwrt-24.10' ...
Already up to date.
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git;openwrt-24.10' ...
Already up to date.
Create index file './feeds/packages.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... updated.
Checking 'working-gcc'... failed.
Checking 'g++'... updated.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... updated.
Checking 'rsync'... updated.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... updated.
Checking 'find'... updated.
Checking 'bash'... updated.
Checking 'xargs'... updated.
Checking 'patch'... updated.
Checking 'diff'... updated.
Checking 'cp'... updated.
Checking 'seq'... updated.
Checking 'awk'... updated.
Checking 'grep'... updated.
Checking 'egrep'... updated.
Checking 'getopt'... updated.
Checking 'realpath'... updated.
Checking 'stat'... updated.
Checking 'gzip'... updated.
Checking 'unzip'... updated.
Checking 'bzip2'... updated.
Checking 'wget'... updated.
Checking 'install'... updated.
Checking 'perl'... updated.
Checking 'python'... updated.
Checking 'python3'... updated.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... updated.
Checking 'which'... updated.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/luci.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/routing.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/telephony.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
jay:~/work/openwrt-lima$ rm -rf staging_dir/host # Remove the incomplete host tools directory
jay:~/work/openwrt-lima$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git;openwrt-24.10' ...
Already up to date.
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git;openwrt-24.10' ...
Already up to date.
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git;openwrt-24.10' ...
Already up to date.
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git;openwrt-24.10' ...
Already up to date.
Create index file './feeds/packages.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... updated.
Checking 'working-gcc'... failed.
Checking 'g++'... updated.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... updated.
Checking 'rsync'... updated.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... updated.
Checking 'find'... updated.
Checking 'bash'... updated.
Checking 'xargs'... updated.
Checking 'patch'... updated.
Checking 'diff'... updated.
Checking 'cp'... updated.
Checking 'seq'... updated.
Checking 'awk'... updated.
Checking 'grep'... updated.
Checking 'egrep'... updated.
Checking 'getopt'... updated.
Checking 'realpath'... updated.
Checking 'stat'... updated.
Checking 'gzip'... updated.
Checking 'unzip'... updated.
Checking 'bzip2'... updated.
Checking 'wget'... updated.
Checking 'install'... updated.
Checking 'perl'... updated.
Checking 'python'... updated.
Checking 'python3'... updated.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... updated.
Checking 'which'... updated.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/luci.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/routing.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
Create index file './feeds/telephony.index'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... failed.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... failed.
Checking 'fts.h'... failed.
Checking 'obstack.h'... failed.
Checking 'libintl.h'... failed.
Prerequisite check failed. Use FORCE=1 to override.
gmake: *** [/home/jay/work/openwrt-lima/include/toplevel.mk:183: /home/jay/work/openwrt-lima/staging_dir/host/.prereq-build] Error 1
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
bash: line 3: /home/jay/work/openwrt-lima/staging_dir/host/bin/mkhash: No such file or directory
jay:~/work/openwrt-lima$