rpm -qvpl libc-client-debuginfo-2004g-2.2.1.i386.rpm says among others: lrwxrwxrwx 1 root root 56 Jul 13 10:45 /usr/src/debug/imap-2004g/c-client/auth_gss.c -> /builddir/build/BUILD/imap-200 4g/src/c-client/auth_gss.c lrwxrwxrwx 1 root root 56 Jul 13 10:45 /usr/src/debug/imap-2004g/c-client/auth_log.c -> /builddir/build/BUILD/imap-200 4g/src/c-client/auth_log.c ... This means that there are symlinks to a buildroot in this package. If there's nothing to be done on libc-client side in order to resolve it, please take this as a meta bug that depends on two bugs already reported against two buildsystems (e.g. in FC5, the symlinks point to /usr/src/build)
Well, a custom-built package has an analogical issue: lrwxrwxrwx 1 root root 56 Sep 6 08:55 /usr/src/debug/imap-2004g/c-client/auth_gss.c -> /usr/src/redhat/BUILD/imap-200 4g/src/c-client/auth_gss.c lrwxrwxrwx 1 root root 56 Sep 6 08:55 /usr/src/debug/imap-2004g/c-client/auth_log.c -> /usr/src/redhat/BUILD/imap-200 4g/src/c-client/auth_log.c ...
I'd say this is a find-debuginfo.sh bug, it should dereference those symlinks when populating /usr/src/redhat.
Created attachment 135661 [details] proposed patch for find-debuginfo.sh
(I meant /usr/src/debug of course in comment 2). Above patch does that.
Thanks for narrowing the problem down, Joe. However, I'd rather leave this report filed against libc-client. The original bug, which was filed against brew, should be reassigned to rpm (I'll do it), it's a tracker bug for this debuginfo issue already, and this one should be closed once rpm is fixed AND libc-client is rebuilt.
Rebuilt to pick up find-debuginfo.sh fix.