The lines # rm 'usr/lib/liblber-2.3.so.0' # rm 'usr/lib/libldap-2.3.so.0' # rm 'usr/lib/libldap_r-2.3.so.0' miss a leading / before usr. Reproducible: Always
Unfortunately not that small, since most people will run the commands without checking and because they fail silently, will assume the libraries have been removed.
re-assigning to base-system since this actually comes from an eclass.
umm, rm is absolutely not silent here if the file doesnt exist. dont know why you think that. $ rm a/b/c rm: cannot remove `a/b/c': No such file or directory at any rate, the output comes directly from the ebuild
My apologies, my system aliases rm to 'rm -f', which doesn't complain about missing files.