Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504164 - app-portage/pfl: warnings about deprecated commands
Summary: app-portage/pfl: warnings about deprecated commands
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-11 04:47 UTC by Konstantin (elxa)
Modified: 2014-03-13 19:34 UTC (History)
2 users (show)

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


Attachments
Silences warnings when using e-file (pfl.patch,305 bytes, patch)
2014-03-11 04:50 UTC, Konstantin (elxa)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (elxa) 2014-03-11 04:47:56 UTC
Running the e-file command from app-portage/pfl prints a warning:

WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead.

Reproducible: Always

Steps to Reproduce:
1. e-file mpstat
Actual Results:  
# e-file mpstat
WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead.
[I] app-admin/sysstat
	Available Versions:	9.0.5-r0 10.0.4-r1 9.0.4-r0 10.0.4 9.0.3-r1 10.0.3 9.0.2-r0 10.0.2 10.2.1-r1 8.0.4-r1 10.0.1 10.2.1 10.0.0 10.2.0 9.1.7 10.1.7 9.1.6 10.1.6 8.0.3 10.1.5 7.1.6 10.1.4 9.0.6.1 10.1.3 9.0.6 10.1.2 9.0.6.1-r0 10.1.1 9.0.6-r0 10.0.5 
	Last Installed Ver:	10.2.1-r1(Sun 02 Feb 2014 08:56:28 PM CET)
	Matched Files:		/usr/bin/mpstat;

Expected Results:  
# e-file mpstat
[I] app-admin/sysstat
	Available Versions:	9.0.5-r0 10.0.4-r1 9.0.4-r0 10.0.4 9.0.3-r1 10.0.3 9.0.2-r0 10.0.2 10.2.1-r1 8.0.4-r1 10.0.1 10.2.1 10.0.0 10.2.0 9.1.7 10.1.7 9.1.6 10.1.6 8.0.3 10.1.5 7.1.6 10.1.4 9.0.6.1 10.1.3 9.0.6 10.1.2 9.0.6.1-r0 10.1.1 9.0.6-r0 10.0.5 
	Last Installed Ver:	10.2.1-r1(Sun 02 Feb 2014 08:56:28 PM CET)
	Homepage:		http://pagesperso-orange.fr/sebastien.godard/
	Description:		System performance tools for Linux
	Matched Files:		/usr/bin/mpstat;
Comment 1 Konstantin (elxa) 2014-03-11 04:50:24 UTC
Created attachment 372348 [details, diff]
Silences warnings when using e-file

This silences the warning:

WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead.


I borrowed the fix from https://github.com/raimue/porticron/commit/7a7002d5af62d0a4791a386cdc3560330f27f1c0 ;)
Comment 2 Daniel Pielmeier gentoo-dev 2014-03-13 19:34:38 UTC
+  13 Mar 2014; Daniel Pielmeier <billie@gentoo.org>
+  files/e-file-20110906-portageq.patch:
+  Update portageq patch for e-file. This fixes bug #504164. Thanks to
+  Konstantin for the report and the patch.

I have just updating an existing patch which had fixes in the same regard. If the mirrors are synced rebuilding pfl should fix the issue.