Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585074 - dev-python/python-musicbrainz-ngs: 'use' calls in global scope
Summary: dev-python/python-musicbrainz-ngs: 'use' calls in global scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: gerion
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: global-scope-use
  Show dependency tree
 
Reported: 2016-06-05 09:07 UTC by Michał Górny
Modified: 2016-06-05 18:09 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-05 09:07:56 UTC
* ERROR: dev-python/python-musicbrainz-ngs-0.4::gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 * 
 * Call stack:
 *                           ebuild.sh, line 606:  Called source '/home/mgorny/git/gentoo/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild'
 *   python-musicbrainz-ngs-0.4.ebuild, line  25:  Called use 'examples'
 *                           ebuild.sh, line  78:  Called die
 * The specific snippet of code:
 *   		eval "${x}() { die \"\${FUNCNAME}() calls are not allowed in global scope\"; }"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/python-musicbrainz-ngs-0.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/python-musicbrainz-ngs-0.4::gentoo'`.
 * Working directory: '/usr/lib64/python3.5/site-packages'
 * S: '/tmp/portage/dev-python/python-musicbrainz-ngs-0.4/work/python-musicbrainz-ngs-0.4'


Please either fix or clean the old version since it is blocking new Portage versions from operating in the directory.
Comment 1 gerion 2016-06-05 10:01:54 UTC
Version 0.4 and 0.5 could be removed. media-sound/beets has the only dependency in the tree and also work with 0.6.

As I am proxy maintainer, I could not remove by myself.
Comment 2 Mike Gilbert gentoo-dev 2016-06-05 18:09:36 UTC
commit 739638e35c282fcfb1053245c1bf7b425ed5b7cc
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jun 5 14:09:05 2016 -0400

    dev-python/python-musicbrainz-ngs: remove old
    
    Package-Manager: portage-2.3.0_rc1_p14

 dev-python/python-musicbrainz-ngs/Manifest         |  2 -
 .../python-musicbrainz-ngs-0.4.ebuild              | 33 ---------------
 .../python-musicbrainz-ngs-0.5.ebuild              | 47 ----------------------
 3 files changed, 82 deletions(-)