I am trying to compile a custom image for a device. I did the usual git download of the current tree, git checkout v19.07.7, then updated and installed feeds, make menuconfig. All per the usual.
When I start the compilation, I get many warnings about missing dependencies. There are many pages in the terminal about these, here is a sample:
make -j1 V=sc
WARNING: Makefile 'package/feeds/packages/aircrack-ng/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/apache/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/apache/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-dongle/Makefile' has a dependency on 'asterisk16', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-bridge-holding', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-bridge-native-rtp', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-bridge-simple', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-bridge-softmix', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-res-stasis-device-state', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-chan-sccp/Makefile' has a dependency on 'asterisk16-voicemail', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-g72x/Makefile' has a dependency on 'asterisk16', which does not exist
WARNING: Makefile 'package/feeds/telephony/asterisk-opus/Makefile' has a dependency on 'asterisk16', which does not exist
WARNING: Makefile 'package/feeds/packages/atftp/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/bcrypt/Makefile' has a dependency on 'python', which does not exist
WARNING: Makefile 'package/feeds/packages/boost/Makefile' has a build dependency on 'python', which does not exist
WARNING: Makefile 'package/feeds/packages/chrony/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/clamav/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/click/Makefile' has a build dependency on 'python', which does not exist
WARNING: Makefile 'package/feeds/packages/coreutils/Makefile' has a dependency on 'libcap', which does not exist
...and so on.
Here is a list of all the missing dependencies it complains about:
libpcre
jansson
asterisk16
asterisk16-bridge-holding
asterisk16-bridge-native-rtp
asterisk16-bridge-simple
asterisk16-bridge-softmix
asterisk16-res-stasis-device-state
asterisk16-voicemail
python
musl-fts
python-light
python-logging
ssmtp
libjpeg
python-setuptools
kmod-crypto-arc4
libudev-fbsd
kmod-pf-ring
libcap
python/host
libsrtp2
python-logging
python-openssl
python-enum34
python-ipaddress
python-codecs
python-xml
python-ctypes
python-egenix-mx-base
python-futures
python-decimal
python-mysql
python-django-constance
libzdb
python-base
And sure enough, later on the build fails due to missing one of those libraries:
configure: error: libcap library was not found or not usable
make[3]: *** [Makefile:155: /home/silviu/openwrt/opizero/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/coreutils-8.32/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[3]: Leaving directory '/home/silviu/openwrt/opizero/openwrt/feeds/packages/utils/coreutils'
time: package/feeds/packages/coreutils/compile#18.34#7.59#22.59
make[2]: *** [package/Makefile:113: package/feeds/packages/coreutils/compile] Error 2
make[2]: Leaving directory '/home/silviu/openwrt/opizero/openwrt'
make[1]: *** [package/Makefile:107: /home/silviu/openwrt/opizero/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/silviu/openwrt/opizero/openwrt'
make: *** [/home/silviu/openwrt/opizero/openwrt/include/toplevel.mk:227: world] Error 2
I have succesfully compiler OpenWRT in the past although not recently (last time was Chaos Calmer) without these kinds of errors.
What am I doing wrong? Those cannot be missing host dependencies, as many of the reported missing packages - I do have installed on the host machine: jansson, libpcre, libcap, python of course etc.