# emerge -1 --nodeps eric These are the packages that would be merged, in order: [ebuild U ~] dev-util/eric-19.11:6::gentoo [18.03:6::gentoo] USE="spell%*" PYTHON_SINGLE_TARGET="python3_6 -python3_5 -python3_7% (-python2_7%)" PYTHON_TARGETS="python3_6 -python3_5 -python3_7% (-python2_7%*)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/eric-19.11::gentoo * eric6-19.11.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking eric6-19.11.tar.gz to /var/tmp/portage/dev-util/eric-19.11/work >>> Source unpacked in /var/tmp/portage/dev-util/eric-19.11/work >>> Preparing source in /var/tmp/portage/dev-util/eric-19.11/work/eric6-19.11 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/eric-19.11/work/eric6-19.11 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/eric-19.11/work/eric6-19.11 ... >>> Source compiled. >>> Test phase [not enabled]: dev-util/eric-19.11 >>> Install dev-util/eric-19.11 into /var/tmp/portage/dev-util/eric-19.11/image Checking dependencies Python Version: 3.6.9 Found PyQt5 Found pyuic5 PyQtChart could not be detected. Error: cannot import name 'QtChart' Shall 'PyQtChart' be installed using pip? (Y/n) An internal error occured. Please report all the output of the program, including the following traceback, to eric-bugs@eric-ide.python-projects.org. Traceback (most recent call last): File "install.py", line 1902, in <module> main(sys.argv) File "install.py", line 1791, in main doDependancyChecks() File "install.py", line 1377, in doDependancyChecks from PyQt5 import Qsci # __IGNORE_WARNING__ ValueError: PyCapsule_GetPointer called with incorrect name * ERROR: dev-util/eric-19.11::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 2153: Called die * The specific snippet of code: * yes n | "${PYTHON}" install.py -b "${EPREFIX}/usr/bin" -d "$(python_get_sitedir)" -i "${D}" -c -z || die; * * If you need support, post the output of `emerge --info '=dev-util/eric-19.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/eric-19.11::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-util/eric-19.11:20191127-090134.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/eric-19.11/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/eric-19.11/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/eric-19.11/work/eric6-19.11' * S: '/var/tmp/portage/dev-util/eric-19.11/work/eric6-19.11'
PyQtChart is not in portage yet, there is bug #607130 with an old ebuild that doesn't work for version 5.12
I managed to have PyQtChart installed as explained in the bug #607130. After that it's needed to use qscintilla and qscintilla-python >= 2.11.1 (see also bug #689574) to avoid the following error: >>> Install dev-util/eric-19.11 into /var/tmp/portage/dev-util/eric-19.11/image Checking dependencies Python Version: 3.6.9 Found PyQt5 Found pyuic5 An internal error occured. Please report all the output of the program, including the following traceback, to eric-bugs@eric-ide.python-projects.org. Traceback (most recent call last): File "install.py", line 1902, in <module> main(sys.argv) File "install.py", line 1791, in main doDependancyChecks() File "install.py", line 1377, in doDependancyChecks from PyQt5 import Qsci # __IGNORE_WARNING__ ValueError: PyCapsule_GetPointer called with incorrect name I am attaching a revised ebuild
Created attachment 597658 [details] eric-19.11.ebuild
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f44b561b9b529547c5af2781c346dfc0015815 commit b3f44b561b9b529547c5af2781c346dfc0015815 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-11-16 23:15:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-11-16 23:40:12 +0000 profiles: Mask dev-util/eric for removal Bug: https://bugs.gentoo.org/607130 Bug: https://bugs.gentoo.org/701318 Bug: https://bugs.gentoo.org/709862 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
Package removed.