Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836089 - net-misc/icaclient: uses variables banned in scope (VariableScope)
Summary: net-misc/icaclient: uses variables banned in scope (VariableScope)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
 
Reported: 2022-03-26 03:40 UTC by Sam James
Modified: 2022-07-15 01:47 UTC (History)
1 user (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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 03:40:54 UTC
This package uses variables banned in some scopes. This may stop working in future versions of Portage.

$ pkgcheck scan -k VariableScope net-misc/icaclient
net-misc/icaclient
  VariableScope: version 21.8.0.40: variable 'BROOT' used in 'pkg_postinst', line 251
  VariableScope: version 21.8.0.40: variable 'S' used in 'pkg_setup', line 87
  VariableScope: version 21.8.0.40: variable 'WORKDIR' used in 'pkg_setup', line 87
  VariableScope: version 21.9.0.25: variable 'BROOT' used in 'pkg_postinst', line 251
  VariableScope: version 21.9.0.25: variable 'S' used in 'pkg_setup', line 87
  VariableScope: version 21.9.0.25: variable 'WORKDIR' used in 'pkg_setup', line 87
Comment 1 Larry the Git Cow gentoo-dev 2022-07-15 01:47:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a59b9c8b3fe4875a4a66d0c088e080c95ec579

commit 99a59b9c8b3fe4875a4a66d0c088e080c95ec579
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2022-07-02 12:21:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:43:06 +0000

    net-misc/icaclient: fix variable scope issues
    
    Closes: https://bugs.gentoo.org/836089
    Signed-off-by: Henning Schild <henning@hennsch.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/icaclient/icaclient-22.5.0.16.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)