WARNING: Makefile 'package/feeds/packages/libmpc/Makefile' has a dependency on 'libmpfr', which does not exist

This is my first time building openwrt and after I ran these commands

feeds update -a
feeds install -a

I get these warnings.

WARNING: Makefile 'package/feeds/packages/libmpc/Makefile' has a dependency on 'libmpfr', which does not exist
WARNING: Makefile 'package/feeds/packages/python-gmpy2/Makefile' has a dependency on 'libmpfr', which does not exist

Is this normal? cause I have not found any post related to this issue, seems only happens to me. are these safe to ignore?

Just do it again and usually this error is gone

1 Like

Tried it multiple times deleting the tmp folder still doesn't work

I assume that you are building main/master.
The mpfr package was moved from feeds to the main OpenWrt repo a while ago (and deleted from feeds). If you have cloned your repo earlier, you might still have remnants of the old location. (The OpenWrt build system is a bit weak with reacting to moved packages.

Make sure that you have also updated the main sources with "git pull".

And you might need to delete an old symlink to mpfr from package/feeds/packages/ (if it still exists there).

2 Likes

Thanks, there's no warning now.

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