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

Bug 836048

Summary: dev-java/openjdk: uses variables banned in scope (VariableScope)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
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:37:40 UTC
This package uses variables banned in some scopes. This may stop working in future versions of Portage.

$ pkgcheck scan -k VariableScope dev-java/openjdk
dev-java/openjdk
  VariableScope: version 11.0.14_p9-r1: variable 'WORKDIR' used in 'pkg_setup', line 144
  VariableScope: version 17.0.2_p8: variable 'WORKDIR' used in 'pkg_setup', line 155
Comment 1 Georgy Yakovlev archtester gentoo-dev 2022-09-13 22:29:17 UTC
I believe it was fixed in series of commits by floppym, especially 8b4422f27c5f55e8cf5b3610cfa3b8948ad64b7d