Доброго времени суток.
Решил сделать свой оверлей с ebuild-ом для 1С. Все получилось. Но тут столкнулся на одной машине при установке с ошибкой:
* ERROR: app-office/1C-Enterprise-thin-client-8.3.9.1818::iteampro failed (depend phase):
* use() calls are not allowed in global scope
*
* Call stack:
* ebuild.sh, line 606: Called source '/var/lib/layman/iteampro/app-office/1C-Enterprise-thin-client/1C-Enterprise-thin-client-8.3.9.1818.ebuild'
* 1C-Enterprise-thin-client-8.3.9.1818.ebuild, line 32: Called use 'x86'
* 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 '=app-office/1C-Enterprise-thin-client-8.3.9.1818::iteampro'`,
* the complete build log and the output of `emerge -pqv '=app-office/1C-Enterprise-thin-client-8.3.9.1818::iteampro'`.
* Working directory: '/usr/lib64/python3.4/site-packages'
* S: '/var/calculate/tmp/portage/app-office/1C-Enterprise-thin-client-8.3.9.1818/work'
Никак не могу понять что ей не нравится.
В строке 32 в ebuild-е строка:
if use x86 ; then
Странно что на другой машине все устанавливается без ошибок.