Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836112 - sci-mathematics/twelf: uses variables banned in scope (VariableScope)
Summary: sci-mathematics/twelf: 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: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
 
Reported: 2022-03-26 03:42 UTC by Sam James
Modified: 2022-03-27 06:23 UTC (History)
0 users

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

$ pkgcheck scan -k VariableScope sci-mathematics/twelf
sci-mathematics/twelf
  VariableScope: version 1.7.1-r1: variable 'ROOT' used in 'src_prepare', lines 51, 52
Comment 1 Larry the Git Cow gentoo-dev 2022-03-27 06:23:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4fece2319bee38e08022d4f9db122763d06b46

commit 2e4fece2319bee38e08022d4f9db122763d06b46
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2022-03-27 06:22:24 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2022-03-27 06:23:08 +0000

    sci-mathematics/twelf: Fix ROOT in src_prepare, old-style backquotes
    
    Thanks to Sam James and Toralf Forster for reporting.
    
    Fix: calls svnversion command that does not exist, thanks to Agostino Sarubbo
    for reporting.
    
    Closes: https://bugs.gentoo.org/836112
    Closes: https://bugs.gentoo.org/803296
    Closes: https://bugs.gentoo.org/728028
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 .../files/twelf-1.7.1-doc-guide-Makefile.patch     |  8 +++-
 ...f-1.7.1-emacs-fix-old-style-backquotes-p1.patch | 45 ++++++++++++++++++++++
 ...f-1.7.1-emacs-fix-old-style-backquotes-p2.patch | 36 +++++++++++++++++
 ...f-1.7.1-emacs-fix-old-style-backquotes-p3.patch | 13 +++++++
 .../files/twelf-1.7.1-remove-svnversion.patch      | 13 +++++++
 ...twelf-1.7.1-r1.ebuild => twelf-1.7.1-r2.ebuild} | 32 ++++++++-------
 6 files changed, 131 insertions(+), 16 deletions(-)