Python coded revdep-rebuild ignores SEARCH_DIRS_MASK in make.conf. The script revdep-rebuild.sh works properly.
The correct place for masks is in /etc/revdep-rebuild/99revdep-rebuild. Application ebuilds also install mask files there on an as needed basis. Please move you masks from make.conf to the /etc/revdep-rebuild directory. The only reason the bash version picks it up there is because it sources make.conf for some settings. The python version gets those settings from portage api calls.
(In reply to Brian Dolbec from comment #1) > The correct place for masks is in /etc/revdep-rebuild/99revdep-rebuild. > > Application ebuilds also install mask files there on an as needed basis. > > Please move you masks from make.conf to the /etc/revdep-rebuild directory. > > The only reason the bash version picks it up there is because it sources > make.conf for some settings. The python version gets those settings from > portage api calls. Then one would think that the man page should reflect this and that also the SEARCH_DIRS variable in /etc/revdep-rebuild/99revdep-rebuild would be adhered to, which it isn't as many more paths are searched besides those listed.
Good point. We'll have to update the man page properly. And yes the revdep-rebuild directory is additive for both bash and python versions. So as a pkg installs a mask file, it then becomes part of the total masks. Re-opened for that.
This is a change in the intended behavior that was designed into the bash script. We definitely need to discuss and document how to do it correctly for the python version. The biggest issue that will bite people is /etc/revdep-rebuild is not under configuration protection. So you don't want to modify files placed there by ebuilds or changes will be lost.