Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53509

Summary: qpkg doesn't handle correctly symlinked dirs.
Product: Gentoo Linux Reporter: Sergey Kuleshov (RETIRED) <svyatogor>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED WONTFIX    
Severity: normal CC: ferringb
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Sugested patch.

Description Sergey Kuleshov (RETIRED) gentoo-dev 2004-06-10 04:40:54 UTC
qpkg is not able to find to which package the file belongs if it is in a symlinked directory.

Reproducible: Always
Steps to Reproduce:
1. qpkg -f /usr/include/X11/Xft/Xft.h 


Actual Results:  
Empty output.

Expected Results:  
x11-base/xfree *
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2004-06-10 04:42:19 UTC
Created attachment 33022 [details, diff]
Sugested patch.

This patch pases path trhough `readline -f` which return a real path to the
file, i.e. the one to be found in CONTENTS file.
Comment 2 Sergey Kuleshov (RETIRED) gentoo-dev 2004-06-10 04:43:10 UTC
Sorry, in the last comment I meant readlink, and NOT realine :( Just a typo...
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:45 UTC
this tool is deprecated