Debian 10 & build environment, missing libraries

The last few days I updated my build environment to Debian 10, but now facing missing libraries which cannot be installed. This on a clean git clone of OpenWrt.

The warnings I get during feeds/install:

$ ./scripts/feeds install -a
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a build dependency on 'libpam', which does not exist

And when trying to install these missing libraries (as root), I get (on all):

# sudo apt-get install libpam
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpam

I am using Debian 10 with its default repositories, do I need another one??

So confused lately...

DG.

Continue, those warnings are most likely not critical.

When I continue and start make menuconfig, I even got much more of these messages, just before the menu appear:

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/Makefile' has a dependency on 'jansson', 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/audit/Makefile' has a dependency on 'libaudit', which does not exist
WARNING: Makefile 'package/feeds/packages/audit/Makefile' has a dependency on 'libaudit', which does not exist
WARNING: Makefile 'package/feeds/packages/audit/Makefile' has a dependency on 'libaudit', 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/bcm27xx-eeprom/Makefile' has a dependency on 'bcm27xx-userland', 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/czmq/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/domoticz/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/elektra/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/fdm/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/freeradius3/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/frr/Makefile' has a dependency on 'more', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/grep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/jose/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/kismet/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/kismet/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/feeds/packages/libcgroup/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/libsearpc/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/libyang/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/libzip/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/luasocket/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-ssl/Makefile' has a dependency on 'px5g-wolfssl', which does not exist
WARNING: Makefile 'package/feeds/packages/lvm2/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/mariadb/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/mg/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nfdump/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx-util/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/open-iscsi/Makefile' has a dependency on 'kmod-iscsi-initiator', which does not exist
WARNING: Makefile 'package/feeds/packages/openvswitch/Makefile' has a dependency on 'kmod-nsh', which does not exist
WARNING: Makefile 'package/feeds/packages/postfix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/privoxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libsemanage/Makefile' has a dependency on 'libsemanage', which does not exist
WARNING: Makefile 'package/feeds/telephony/rtpengine/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/rtpengine/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/samba4/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-ccnet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-server/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-server/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/sed/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/selinux-python/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/selinux-python/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/semodule-utils/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/semodule-utils/Makefile' has a build dependency on 'libsemanage/host', which does not exist
WARNING: Makefile 'package/feeds/packages/setools/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/setools/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a build dependency on 'pcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/sipgrep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/slang2/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/sngrep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/snort/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/snort3/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/sslh/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/sslh/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/syslog-ng/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/ulogd/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/uwsgi/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/wget/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/wget/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/yara/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zsh/Makefile' has a dependency on 'libpcre', which does not exist

This is very weird, now it complete fine, although during make it has also warning:
WARNING: Makefile 'package/feeds/packages/privoxy/Makefile' has a dependency on 'libpcre', which does not exist

But I've seen the same build ending in errors, with make -j1 V=s return like:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-privoxy:
 *      libpcre
 * opkg_install_cmd: Cannot install package luci-app-privoxy.
make[2]: *** [package/Makefile:68: package/install] Error 255

I did not have these messages when running exactly the same in Debian 8 (Jessie).

How is it possible that 1 build-run ends in error while the next build-run (with the same warnings) ends fine? (without an real error, only warnings)

DG.

Unless you are building the exact same commit revision or a release tag, inconsistent behavior is to be expected.

Those warnings are not about missing host libraries, but about package definitions not found in OpenWrt source trees.

You should probably clean up tmp/ in OpenWrt build root, then git pull, feed update and feed install steps to re-create package dependency data.

You might also check that you have installed the needed host prerequisites. Check the Debian/Ubuntu list for OpenWrt wiki.

from my personal notes on building ....

"when all else fails, I should do...
git clone https://git.openwrt.org/openwrt/openwrt.git && cd openwrt && git checkout v19.07.4 && rm -rf tmp build_dir && ./scripts/feeds update -a -i && ./scripts/feeds install -a -f
; this avoids the "warning: xyz depends on abc ...but does not exist" errors
; when changing architectures, rm tmp and build_dir and do the scripts update but remove the -i option

These notes were made from memory so may not be 100% right, but I think the cure to your problem should be largely similar to the above. Also that was for 19.04 so don't blindly cut paste it !
The idea is to clear your temp and build directories and update the scripts/feeds properly

Yesterday I made a complete new Debian 10 virtual machine.

Under user profile root I performed the following:
Same as written on page: https://openwrt.org/docs/guide-developer/build-system/install-buildsystem#examples_of_package_installations

apt install build-essential ccache ecj fastjar file g++ gawk \
gettext git java-propose-classpath libelf-dev libncurses5-dev \
libncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \
python3-distutils python3-setuptools rsync subversion swig time \
xsltproc zlib1g-dev

From link: https://openwrt.org/docs/guide-user/additional-software/imagebuilder

Also did:
apt install build-essential libncurses5-dev libncursesw5-dev zlib1g-dev gawk git gettext libssl-dev xsltproc wget unzip python

Next with profile openwrt the steps are:

  • git clone https://git.openwrt.org/openwrt/openwrt.git v19.07.5
  • cd v19.07.5
  • ./scripts/feeds update -a
  • ./scripts/feeds install -a (here are the first warnings)
  • make menuconfig (a lot more warnings appear)
  • git tag
  • git branch
  • git checkout v19.07.5
  • make

The first run went into error:
WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!

Ok, that's clear and to solve this i used:

  • make defconfig (again a lot of warnings appear)
  • make prereq (again a lot of warnings appear)
  • make menuconfig (again a lot of warnings appear)
  • make (again a lot of warnings appear)

But during this make i even get another error, not seen before:

make[4]: Entering directory '/home/openwrt/FritzBox4040/v19.07.5/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/privoxy-3.0.28-stable'
arm-openwrt-linux-muslgnueabi-gcc -c -pipe -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/openwrt/FritzBox4040/v19.07.5/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/privoxy-3.0.28-stable:privoxy-3.0.28-stable -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/openwrt/FritzBox4040/v19.07.5/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include -I/home/openwrt/FritzBox4040/v19.07.5/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/include -I/home/openwrt/FritzBox4040/v19.07.5/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/usr/include -I/home/openwrt/FritzBox4040/v19.07.5/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/include/fortify -I/home/openwrt/FritzBox4040/v19.07.5/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/include   -pthread -Wall -Ipcre  pcre/pcre.c -o pcre/pcre.o
pcre/pcre.c: In function 'pcre_compile':
pcre/pcre.c:2528:30: error: 'pcre_default_tables' undeclared (first use in this function); did you mean 'pcre_maketables'?
 if (tables == NULL) tables = pcre_default_tables;
                              ^~~~~~~~~~~~~~~~~~~
                              pcre_maketables
pcre/pcre.c:2528:30: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [GNUmakefile:304: pcre/pcre.o] Error 1
make[4]: Leaving directory '/home/openwrt/FritzBox4040/v19.07.5/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/privoxy-3.0.28-stable'
make[3]: *** [Makefile:167: /home/openwrt/FritzBox4040/v19.07.5/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/privoxy-3.0.28-stable/.built] Error 2
make[3]: Leaving directory '/home/openwrt/FritzBox4040/v19.07.5/feeds/packages/net/privoxy'
time: package/feeds/packages/privoxy/compile#0.23#0.03#0.29
make[2]: *** [package/Makefile:113: package/feeds/packages/privoxy/compile] Error 2
make[2]: Leaving directory '/home/openwrt/FritzBox4040/v19.07.5'
make[1]: *** [package/Makefile:107: /home/openwrt/FritzBox4040/v19.07.5/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/openwrt/FritzBox4040/v19.07.5'
make: *** [/home/openwrt/FritzBox4040/v19.07.5/include/toplevel.mk:227: world] Error 2

Why with Debian 10 I get a lot more of these issues then with Debian 8.
Should i go back to Debian 8 ?

When exactly should the git checkout take place (before or after feeds update /. install ?

I've now tried it about 8 times, even with complete removed build directory and a complete new virtual machine but still have the same issues.

I do have the complete logs if someone wants them ...

DG.

On another virtual machine (updated to Debian 10) I also see warnings, but the firmware is build ???
It's so weird....

Warnings aren't critical, errors are. You can do the following for any of the packages you receive warnings about:

$ ./scripts/feeds install -f $package

I still get a lot of warnings back:

$ ./scripts/feeds install -f privoxy
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/Makefile' has a dependency on 'jansson', 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/audit/Makefile' has a dependency on 'libaudit', which does not exist
WARNING: Makefile 'package/feeds/packages/audit/Makefile' has a dependency on 'libaudit', which does not exist
WARNING: Makefile 'package/feeds/packages/audit/Makefile' has a dependency on 'libaudit', 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/bcm27xx-eeprom/Makefile' has a dependency on 'bcm27xx-userland', 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/czmq/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/domoticz/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/elektra/Makefile' has a dependency on 'lua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/fdm/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/freeradius3/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/frr/Makefile' has a dependency on 'more', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/gnunet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/grep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/haproxy/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/jose/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/kismet/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/kismet/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/ksmbd/Makefile' has a dependency on 'kmod-crypto-arc4', which does not exist
WARNING: Makefile 'package/feeds/packages/libcgroup/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/libsearpc/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/libyang/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/libzip/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/lighttpd/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/luasocket/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-ssl/Makefile' has a dependency on 'px5g-wolfssl', which does not exist
WARNING: Makefile 'package/feeds/packages/lvm2/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/mariadb/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/mg/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nfdump/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nginx-util/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'liblua5.3', which does not exist
WARNING: Makefile 'package/feeds/packages/open-iscsi/Makefile' has a dependency on 'kmod-iscsi-initiator', which does not exist
WARNING: Makefile 'package/feeds/packages/openvswitch/Makefile' has a dependency on 'kmod-nsh', which does not exist
WARNING: Makefile 'package/feeds/packages/postfix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/privoxy/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'musl-fts', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libselinux/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/python3-libsemanage/Makefile' has a dependency on 'libsemanage', which does not exist
WARNING: Makefile 'package/feeds/telephony/rtpengine/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/rtpengine/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/samba4/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-ccnet/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-server/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/seafile-server/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/sed/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/selinux-python/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/selinux-python/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/semodule-utils/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/semodule-utils/Makefile' has a build dependency on 'libsemanage/host', which does not exist
WARNING: Makefile 'package/feeds/packages/setools/Makefile' has a dependency on 'libselinux', which does not exist
WARNING: Makefile 'package/feeds/packages/setools/Makefile' has a dependency on 'libsepol', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/shadowsocks-libev/Makefile' has a build dependency on 'pcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/sipgrep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/slang2/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/sngrep/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/snort/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/snort3/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/sslh/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/sslh/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/syslog-ng/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/ulogd/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/uwsgi/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/wget/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/wget/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/yara/Makefile' has a dependency on 'jansson', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zsh/Makefile' has a dependency on 'libpcre', which does not exist

That's the weird thing, why my updated machine to Debian 10 gets warnings but build the firmware.
A clean install Debian 10 has the same warnings but ends in error.

The real errors occur during make, the warnings start with the feeds/install.

Do a make clean, and compilation on your existing Debian setup will probably break as well :wink: .

You can see if a make package/libpcre/{clean,compile} V=s helps (same for privoxy, but try pcre first).

If i use that command, again the warnings appear and an error:

$ make package/libpcre/{clean,compile} V=s
....
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/zsh/Makefile' has a dependency on 'libpcre', which does not exist
time: target/linux/prereq#0.12#0.03#0.16
make[1]: Entering directory '/home/openwrt/LEDEBUILDS/F4040/openwrt'
make[1]: *** No rule to make target 'package/libpcre/clean'.  Stop.
make[1]: Leaving directory '/home/openwrt/LEDEBUILDS/F4040/openwrt'
make: *** [/home/openwrt/LEDEBUILDS/F4040/openwrt/include/toplevel.mk:227: package/libpcre/clean] Error 2

On a clean install the warnings disappear when using make defconfig just before the feeds update & install !!! :slight_smile:
Investigate further.

DG.

Again, don't worry too much about the warnings. They don't break anything.

The 'No rule...' thing means the package name might be slightly different. Try pcre instead of libpcre e.g..

This workflow is absolutely wrong.

Currently you do this:

  • clone OpenWrt master
  • update & install feeds, based on master
  • Then you change the main source to tag v19.07.5 (from the old stable openwrt-19.07 branch), but do no update feeds after that.

Right now you have the main code from the 19.07 branch, but your feeds are from master. 1.5 years worth of new stuff that expects/depends on master code also on the openwrt side... No wonder that menuconfig and make are confused :wink:

You need to change the workflow, so that you first change branch/tag, and only then update and install feeds.

Feeds are specific to a branch, like master or openwrt-19.07. And the release tags pinpoints the feeds to a specific commit. But you really need to update & install feeds after selecting the tag.

2 Likes

Borromini,

I think on error2's the build will stop.

hnyman,

Thanks, i will keep that order in mind!

Already found out that for a OpenWrt snapshot version first make defconfig is needed before the feeds update / install.
That solves my warning messages.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.