Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836063 - dev-util/build2: uses variables banned in scope (VariableScope)
Summary: dev-util/build2: uses variables banned in scope (VariableScope)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Mark Wright
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
Reported: 2022-03-26 03:38 UTC by Sam James
Modified: 2022-03-27 00:23 UTC (History)
0 users

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


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:38:48 UTC
This package uses variables banned in some scopes. This may stop working in future versions of Portage.

$ pkgcheck scan -k VariableScope dev-util/build2
  VariableScope: version 0.13.0: variable 'D' used in 'src_configure', line 107
Comment 1 Larry the Git Cow gentoo-dev 2022-03-27 00:23:57 UTC
The bug has been closed via the following commit(s):

commit 4e0bb5a3aa56669cd76e6c22deda9d8c7b1cf15c
Author:     Mark Wright <>
AuthorDate: 2022-03-27 00:22:40 +0000
Commit:     Mark Wright <>
CommitDate: 2022-03-27 00:23:52 +0000

    dev-util/build2: Move config.install.chroot="${D}" to src_install.
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mark Wright <>

 dev-util/build2/build2-0.13.0.ebuild               |  7 ++--
 ...mol-vtable-for-match_any_but_newline-exec.patch | 38 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 3 deletions(-)