Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20570 - qpkg outputs non-interpolated vars in info
Summary: qpkg outputs non-interpolated vars in info
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 30896 30899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-07 02:48 UTC by eric sammer
Modified: 2004-08-21 12:55 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eric sammer 2003-05-07 02:48:06 UTC
The output of 'qpkg -i <package>' doesn't seem to interpolate variables in
HOMEPAGE. The problem exists in many perl module ebuilds. For example, here is
the output of 'qpkg -I -i DBI' on my system:

dev-perl/DBI-1.32 *
The Perl DBI Module [http://www.cpan.org/modules/by-module/DBI/${P}.readme]

(Note the ${P}.readme at the end.)

I suppose it's either a bug or a matter of convention issue, depending on your
point of view.

Reproducible: Always
Steps to Reproduce:
1. Use a variable in HOMEPAGE in an ebuild (i.e. HOMEPAGE="http://${P}.sf.net")
2. Merge package.
3. Try 'qpkg -I -i my-package'
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-07-06 17:15:16 UTC
thanks for taking this back on, Karl... sorry I've had to slough off so much of what I used to take care of here.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-07-17 11:04:19 UTC
Sure, np. 

This one we get for free once we rewrite qpkg:)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-11 16:42:42 UTC
*** Bug 30896 has been marked as a duplicate of this bug. ***
Comment 4 Julien Allanos (RETIRED) gentoo-dev 2003-10-11 16:50:54 UTC
*** Bug 30899 has been marked as a duplicate of this bug. ***
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-14 16:07:09 UTC
still appears to be a problem:
dev-util/rats-2.1.ebuild:HOMEPAGE="http://www.securesoftware.com/download_${PN}.htm"

qpkg -i rats:
dev-util/rats-2.1
        RATS - Rough Auditing Tool for Security [ http://www.securesoftware.com/download_.htm ]
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 12:55:30 UTC
qpkg is deprecated, use emerge -s or esearch.