Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588586 - Failed to calculate dependencies during emerge: sys-devel/gcc failed
Summary: Failed to calculate dependencies during emerge: sys-devel/gcc failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-11 10:05 UTC by Marko Vendelin
Modified: 2021-01-06 12:57 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 Marko Vendelin 2016-07-11 10:05:41 UTC
On Gentoo Prefix Rap, during emerge, I get errors like:

Calculating dependencies - * ERROR: sys-devel/gcc-5.4.0::gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 * 
 * Call stack:
 *          ebuild.sh, line 606:  Called source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage/sys-devel/gcc/gcc-5.4.0.ebuild'
 *   gcc-5.4.0.ebuild, line  23:  Called inherit 'toolchain'
 *          ebuild.sh, line 302:  Called __qa_source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage-stage/eclass/toolchain.eclass'
 *          ebuild.sh, line 102:  Called source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage-stage/eclass/toolchain.eclass'
 *   toolchain.eclass, line 163:  Called use 'multislot'
 *          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 '=sys-devel/gcc-5.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-5.4.0::gentoo'`.
 * Working directory: '/shared/envs/sysbio/gentoo-1606-rap/usr/lib64/python2.7/site-packages'
 * S: '/shared/envs/sysbio/gentoo-1606-rap/var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0'                                                                              | * ERROR: sys-devel/gcc-5.3.0::gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 * 
 * Call stack:
 *          ebuild.sh, line 606:  Called source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage/sys-devel/gcc/gcc-5.3.0.ebuild'
 *   gcc-5.3.0.ebuild, line  23:  Called inherit 'toolchain'
 *          ebuild.sh, line 302:  Called __qa_source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage-stage/eclass/toolchain.eclass'
 *          ebuild.sh, line 102:  Called source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage-stage/eclass/toolchain.eclass'
 *   toolchain.eclass, line 163:  Called use 'multislot'
 *          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 '=sys-devel/gcc-5.3.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-5.3.0::gentoo'`.
 * Working directory: '/shared/envs/sysbio/gentoo-1606-rap/usr/lib64/python2.7/site-packages'
 * S: '/shared/envs/sysbio/gentoo-1606-rap/var/tmp/portage/sys-devel/gcc-5.3.0/work/gcc-5.3.0'                                                                              / * ERROR: sys-devel/gcc-5.4.0::gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 * 
 * Call stack:
 *          ebuild.sh, line 606:  Called source '/shared/envs/sysbio/gentoo-1606-rap/usr/portage/sys-devel/gcc/gcc-5.4.0.ebuild'
...

Reproducible: Always

Steps to Reproduce:
1. emerge --update @world
2.
3.
Comment 1 Fabian Groffen gentoo-dev 2021-01-06 12:57:46 UTC
this is working in latest bootstraps