When building an rpm without any binaries to be stripped, I get:
+ /usr/lib/rpm/find-debuginfo.sh /home/kasal/tmp/rpm/BUILD/man-pages-2.51
find: /var/tmp/man-pages-2.51-3-root-kasal/usr/lib: No such file or directory
Created attachment 156332 [details]
a proposed patch
This patch checks whether /usr/lib/debug exists before running find in it.
This has been fixed in the largely rewritten find-debuginfo.sh of
rpm-220.127.116.11-5.fc8 in next rawhide push.