Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585068

Summary: media-fonts/dejavu: 'use' calls in global scope
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: critical CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 566518    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-05 08:48:37 UTC
* ERROR: media-fonts/dejavu-2.35::gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 * 
 * Call stack:
 *            ebuild.sh, line 606:  Called source '/home/mgorny/git/gentoo/media-fonts/dejavu/dejavu-2.35.ebuild'
 *   dejavu-2.35.ebuild, line  39:  Called use 'fontforge'
 *            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 '=media-fonts/dejavu-2.35::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-fonts/dejavu-2.35::gentoo'`.
 * Working directory: '/usr/lib64/python3.5/site-packages'
 * S: '/tmp/portage/media-fonts/dejavu-2.35/work/dejavu-2.35'

and like for the two other versions.
Comment 1 Mike Gilbert gentoo-dev 2016-06-05 18:01:24 UTC
commit bde44b536f3b2f954a92a8509912df7f3440bc4f
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jun 5 13:59:37 2016 -0400

    media-fonts/dejavu: remove old
    
    Package-Manager: portage-2.3.0_rc1_p14

 media-fonts/dejavu/Manifest           |  2 -
 media-fonts/dejavu/dejavu-2.33.ebuild | 82 -----------------------------------
 2 files changed, 84 deletions(-)

commit cbdb2a0fafcc98ac24070a325313293b0111d61d
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jun 5 13:59:03 2016 -0400

    media-fonts/dejavu: stop calling use in global scope
    
    Bug: https://bugs.gentoo.org/585068
    
    Package-Manager: portage-2.3.0_rc1_p14

 media-fonts/dejavu/dejavu-2.34.ebuild | 37 +++++++++++++++++++----------------
 media-fonts/dejavu/dejavu-2.35.ebuild | 36 +++++++++++++++++++---------------
 2 files changed, 40 insertions(+), 33 deletions(-)