Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300229 - gentoolkit-0.3.0_rc8: revdep-rebuild: syntax error
Summary: gentoolkit-0.3.0_rc8: revdep-rebuild: syntax error
Status: RESOLVED FIXED
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: InVCS
Depends on:
Blocks: 237964 305793
  Show dependency tree
 
Reported: 2010-01-08 22:27 UTC by Paul Varner (RETIRED)
Modified: 2010-02-19 15:29 UTC (History)
0 users

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


Attachments
revdep-rebuild portageq patch (revdep-rebuild.300229.patch,963 bytes, patch)
2010-01-08 22:46 UTC, Paul Varner (RETIRED)
Details | Diff
Use eval portageq envvar -v .... (revdep-rebuild.300229.patch,1.34 KB, patch)
2010-01-08 23:00 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2010-01-08 22:27:48 UTC
[16:04] <zmedico> FuzzyRay: gentoolkit 0.3.0_rc8 here and revdep-rebuild gives an error message for my EMERGE_DEFAULT_OPTS: /usr/bin/revdep-rebuild: line 1020: let: --load-average=2.5: syntax error: invalid arithmetic operator (error token is ".5")
[16:04] <zmedico> not sure if it's been reported already
[16:05] <FuzzyRay> zmedico: It hasn't
[16:07] <FuzzyRay> We're not parsing something right from portageq, that is supposed to be your PORTAGE_NICENESS value
[16:10] <zmedico> funky
[16:12] <zmedico> FuzzyRay: you might to like emerge-webrsync: eval $(portageq envvar -v FEATURES FETCHCOMMAND GENTOO_MIRRORS)
[16:13] <zmedico> except the SEARCH_DIRS and *_MASK vars look tricky
[16:13] <zmedico> maybe do a backup of those first
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-01-08 22:46:38 UTC
Created attachment 215725 [details, diff]
revdep-rebuild portageq patch

Zac: This is a minimal change which doesn't break my system.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2010-01-08 23:00:08 UTC
Created attachment 215727 [details, diff]
Use eval portageq envvar -v ....

This one uses eval $(portageq envvar -v ...) to evaluate all variables
Comment 3 Zac Medico gentoo-dev 2010-01-09 07:37:09 UTC
Thanks, I tested both patches and they both mad the error go away.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2010-01-11 16:37:28 UTC
$ svn commit -m "Set environment using 'portageq -v' (Bug 300229)"
Sending        gentoolkit/ChangeLog
Sending        gentoolkit/bin/revdep-rebuild
Transmitting file data ..
Committed revision 734.

Second patch committed.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2010-02-19 15:29:12 UTC
Released in gentoolkit-0.3.0_rc9 and gentoolkit-0.2.4.6