Bug 204435

Summary: dangling symlinks in debuginfo packages
Product: [Fedora] Fedora Reporter: Jindrich Novy <jnovy>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dgregor, flanagan, jakub, jorton, mikeb, nobody+pnasrat, notting, pknirsch, rbiba
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://errata.devel.redhat.com/errata/showrequest.cgi?advisory=4326
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-15 13:14:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 205248, 205251, 205339, 205500, 205501, 205503, 205505    

Description Jindrich Novy 2006-08-29 03:44:17 UTC
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:

Comment 1 Mike McLean 2006-09-05 16:55:42 UTC
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).

Comment 2 Radek Bíba 2006-09-06 12:12:55 UTC
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?

Comment 3 Radek Bíba 2006-09-06 18:32:01 UTC
More than likely. Please see Joe Orton's proposed patch in attachment 135661 [details].

Comment 4 Radek Bíba 2006-09-06 18:37:26 UTC
*** Bug 204437 has been marked as a duplicate of this bug. ***

Comment 5 Radek Bíba 2006-09-06 19:46:28 UTC
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.

Comment 7 Joe Orton 2006-11-15 13:14:27 UTC
Confirmed fixed.