Description of problem: Brew built debuginfo packages contain symlinks pointing directly to brew buildtree. Consider the latest netpbm debuginfo package, which contains: bmp.h -> /builddir/build/BUILD/netpbm-10.34/converter/bmp.h (netpbm-debuginfo-10.34-4.fc6) The dangling symlinks are pointing to C header files whose are included from local sources by #include "*.h" but they aren't present in the directory where are the sources, but in a different directory. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. build netpbm with brew 2. 3. Actual results: Dangling symlinks present in the debuginfo package Expected results: No dangling symlinks Additional info:
I see that beehive suffers from a similar problem (bug 204437). I suspect that this is an issue with the packages in the buildroots rather than brew itself (or beehive for that matter).
Custom-built debuginfo packages contain symlinks to the local buildroot, too (e.g. /usr/src/redhat/BUILD/...). Is it a bug in rpmbuild or one of its components, then?
More than likely. Please see Joe Orton's proposed patch in attachment 135661 [details].
*** Bug 204437 has been marked as a duplicate of this bug. ***
I've gathered all the affected packages in current rawhide. Let's use this report as a tracker bug and also to see the importance and impact of this issue.
Confirmed fixed.