Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836055 - dev-libs/bglibs: uses variables banned in scope (VariableScope)
Summary: dev-libs/bglibs: 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
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: forbidden-variable-use
  Show dependency tree
 
Reported: 2022-03-26 03:38 UTC by Sam James
Modified: 2025-02-07 14:52 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:38:12 UTC
This package uses variables banned in some scopes. This may stop working in future versions of Portage.

$ pkgcheck scan -k VariableScope dev-libs/bglibs
dev-libs/bglibs
  VariableScope: version 2.04-r1: variable 'ED' used in 'src_configure', lines 37, 38, 39, 40
  VariableScope: version 2.04-r2: variable 'ED' used in 'src_configure', lines 39, 40, 41, 42
Comment 1 Larry the Git Cow gentoo-dev 2025-02-07 14:52:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15272e2ae7a2352e2829906ff57d970e37ac4f8a

commit 15272e2ae7a2352e2829906ff57d970e37ac4f8a
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2025-02-07 14:14:03 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2025-02-07 14:52:00 +0000

    dev-libs/bglibs: update EAPI 7 -> 8
    
      * Delay ${ED} substitution until src_install
      * Add a patch to fix the build on musl
      * Add a patch to fix feature detection
    
    This doesn't fix all of the problems with this package, but it's a
    start. We have at least two users working on this in addition to
    myself. No one has been able to get their patches merged because the
    other problems always prevent the reviewers from testing. So I am
    partially resolving the Catch 22.
    
    Closes: https://github.com/gentoo/gentoo/pull/33569
    Closes: https://github.com/gentoo/gentoo/pull/36116
    Closes: https://bugs.gentoo.org/836055
    Closes: https://bugs.gentoo.org/870550
    Closes: https://bugs.gentoo.org/895036
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-libs/bglibs/bglibs-2.04-r3.ebuild              |  84 +++++++++
 .../bglibs/files/bglibs-2.04-feature-tests.patch   | 198 +++++++++++++++++++++
 dev-libs/bglibs/files/bglibs-2.04-musl.patch       | 100 +++++++++++
 3 files changed, 382 insertions(+)