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

Bug 836089

Summary: net-misc/icaclient: uses variables banned in scope (VariableScope)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Henning Schild <henning>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/26200
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 775191    

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(-)