Bug 204435 - dangling symlinks in debuginfo packages
Summary: dangling symlinks in debuginfo packages
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL: http://errata.devel.redhat.com/errata...
Whiteboard:
: 204437 (view as bug list)
Depends On:
Blocks: 205248 205251 205339 205500 205501 205503 205505
TreeView+ depends on / blocked
 
Reported: 2006-08-29 03:44 UTC by Jindrich Novy
Modified: 2013-07-02 23:17 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-15 13:14:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.