cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
84 stars 26 forks source link

Please fix sci-mathematics/maxima ebuild wrt Gentoo bug 566550 #426

Closed Coacher closed 8 years ago

Coacher commented 8 years ago

Hello.

Bugreport: https://bugs.gentoo.org/show_bug.cgi?id=566550 In the next version of portage this message will be printed every time emerge -uDN world is called:

Calculating dependencies - * ERROR: sci-mathematics/maxima-5.35.1-r2::sage-on-gentoo failed (depend phase):
 *   use() calls are not allowed in global scope
 *
 * Call stack:
 *                 ebuild.sh, line 606:  Called source '/var/overlays/sage-on-gentoo/sci-mathematics/maxima/maxima-5.35.1-r2.ebuild'
 *   maxima-5.35.1-r2.ebuild, line  66:  Called use 'arm'
 *                 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 '=sci-mathematics/maxima-5.35.1-r2::sage-on-gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/maxima-5.35.1-r2::sage-on-gentoo'`.
 * Working directory: '/usr/lib64/python3.4/site-packages'
 * S: '/var/tmp/portage/sci-mathematics/maxima-5.35.1-r2/work/maxima-5.35.1'
... done!

This is the case with the current portage-9999 already. This problem is fixed in the latest maxima ebuilds in the main tree. Please backport these changes as this message is harmless, but very annoying.

kiwifb commented 8 years ago

OK should be good now if I understand the problem properly.

Coacher commented 8 years ago

Yes, this annoying message is now gone. Thank you very much.