21.02/master dependency problem

./scripts/feeds update -a

...
Checking 'file'... ok.
Checking 'rsync'... ok.
Checking 'which'... failed.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install 'which'

Prerequisite check failed. Use FORCE=1 to override.
...

"which" is definitely installed on my system:

which --version

GNU which v2.21, Copyright (C) 1999 - 2015 Carlo Wood.
GNU which comes with ABSOLUTELY NO WARRANTY;
This program is free software; your freedom to use, change
and distribute this program is protected by the GPL.

OS: Fedora 34

Any recommendations?

1 Like

I'm also using Fedora 34 and I don't have with problem.

Seems this have to do with an alias for the which command that Fedora 34 is using, see here:

http://lists.openwrt.org/pipermail/openwrt-devel/2021-May/035112.html

Thank you, was a good hint.

Moving or removing /etc/profile.d/which2.sh does the trick.

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