Summary: | mail-client/thunderbird-60.0-r3 raises portage error : PYTHON_COMPAT must be an array | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Helmut Jarausch
2018-09-28 09:05:52 UTC
I cannot reproduce at the moment. And thunderbird-60.0-r3 has "inherit mozcoreconf-v6" (https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-client/thunderbird/thunderbird-60.0-r3.ebuild#n32) which will set PYTHON_COMPAT (https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mozcoreconf-v6.eclass#n20). I am wondering if you are overwriting PYTHON_COMPAT somehow... (In reply to Thomas Deutschmann from comment #1) > I cannot reproduce at the moment. And thunderbird-60.0-r3 has "inherit > mozcoreconf-v6" > (https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-client/thunderbird/ > thunderbird-60.0-r3.ebuild#n32) which will set PYTHON_COMPAT > (https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mozcoreconf-v6. > eclass#n20). > > I am wondering if you are overwriting PYTHON_COMPAT somehow... There is no definition as shown by printenv, nor in any file in /etc/portage/env Only etc/portage/make.conf contains PYTHON_COMPAT="python2_7 python3_7" But that doesn't cause any problems except for thunderbird. (In reply to Helmut Jarausch from comment #2) > Only etc/portage/make.conf contains > PYTHON_COMPAT="python2_7 python3_7" > > But that doesn't cause any problems except for thunderbird. ...and that's the problem. You never want to set PYTHON_COMPAT, I guess you want to use PYTHON_TARGETS instead (and if you really want to mess with that stuff, you need to use correct type). However, it is wrong that the eclass checks for that value and only sets a value if that string isn't set. This will be fixed soon so that we always define (and overwrite) PYTHON_COMPAT on our own in the eclass. EAPI 7 has ENV_UNSET, see bug 499288. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d2ff4b0a281441d76bc08e9cc9d22a016e988a5 commit 9d2ff4b0a281441d76bc08e9cc9d22a016e988a5 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-09-28 20:52:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-28 20:52:57 +0000 mozcoreconf-v6.eclass: always define PYTHON_COMPAT Closes: https://bugs.gentoo.org/667208 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> eclass/mozcoreconf-v6.eclass | 3 --- 1 file changed, 3 deletions(-) |