Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45502 - qpkg -l broken for symbolic links
Summary: qpkg -l broken for symbolic links
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High minor
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-23 07:46 UTC by Ed Catmur
Modified: 2004-08-21 13:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (qpkg.patch,404 bytes, patch)
2004-03-23 07:46 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2004-03-23 07:46:27 UTC
The sed code qpkg -l uses to match symlinks in CONTENTS is broken.

A typical line: 

sym /usr/kde/3.2/share/icons/default.kde -> crystalsvg 1079004486

qpkg uses s:\(^sym \)\(.*\)\( -> \)\(.*\)\( .*\)\{2\}$:\1${CY}\2${NO}\3\4:
This should be s:\(^sym \)\(.*\)\( -> \)\(.*\)\( .*\)$:\1${CY}\2${NO}\3\4:

I believe the \{2\} token was accidentally carried over from the obj matcher.
Comment 1 Ed Catmur 2004-03-23 07:46:51 UTC
Created attachment 27856 [details, diff]
Patch
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:53 UTC
this tool is deprecated