Makefile 'package/feeds/packages/nmap/Makefile' has a dependency on 'libpcre'

I'm using the openwrt master branch to run:

./scripts/feeds update -a
./scripts/feeds install -a

After that, I ran make, which output some warnings:

WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/packages/libndpi/Makefile' has a dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-cni/Makefile' has a dependency on 'cni-protocol', 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/privoxy/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/telephony/rtpengine/Makefile' has a dependency on 'libpcre', 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/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/uwsgi/Makefile' has a dependency on 'libpcre', which does not exist

How to resolve these warnings?

After installing pcre3 and libpcre3-dev, it also warns that.

$ sudo apt-get install libpcre3-dev libpcre3

cppcoffee,

I faced that too, could be due to update/upgrade of OS, after an upgrade I did need to reinstall all needed packages to build firmware.
First you could try to run the ./scripts/feeds.install -a a second time (and/or with additional -f option).
What sometimes helped me is deleting the tmp/ folder within the build environment.
Last option is to do git clean -dfx, but it will also clear data folders, configs etc, so be aware of that!

DG.

1 Like

Thank you.

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