Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836048 - dev-java/openjdk: uses variables banned in scope (VariableScope)
Summary: dev-java/openjdk: 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: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
 
Reported: 2022-03-26 03:37 UTC by Sam James
Modified: 2022-09-13 22:29 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: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