Red Hat Bugzilla – Bug 204435
dangling symlinks in debuginfo packages
Last modified: 2013-07-02 19:17:28 EDT
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
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):
Steps to Reproduce:
1. build netpbm with brew
Dangling symlinks present in the debuginfo package
No dangling symlinks
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
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.