Summary: | dev-python/wxpython-4.0.7 takes 3 hours and >10 GB diskspace to compile? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Pipping <sping> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python, stefantalpalaru, swegener |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Pipping
2020-03-09 16:28:40 UTC
Regarding the disk usage: The wxpython ebuild does not use python_copy_sources and builds wxpython for all python implementations in the same directory. The build/ directory is separated by implementation by upstream build scripts, but the files get copied to the same wx/ directory afterwards. The install phase then installs wxpython for each implementation from this directory, effectively installing all files for all implementations:
> /usr/lib/python3.9/site-packages/wx/_core.cpython-39-x86_64-linux-gnu.so
> /usr/lib/python3.9/site-packages/wx/_core.cpython-38-x86_64-linux-gnu.so
> /usr/lib/python3.9/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so
> /usr/lib/python3.9/site-packages/wx/_core.cpython-36m-x86_64-linux-gnu.so
> /usr/lib/python3.8/site-packages/wx/_core.cpython-39-x86_64-linux-gnu.so
> /usr/lib/python3.8/site-packages/wx/_core.cpython-38-x86_64-linux-gnu.so
> /usr/lib/python3.8/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so
> /usr/lib/python3.8/site-packages/wx/_core.cpython-36m-x86_64-linux-gnu.so
> /usr/lib/python3.7/site-packages/wx/_core.cpython-39-x86_64-linux-gnu.so
> /usr/lib/python3.7/site-packages/wx/_core.cpython-38-x86_64-linux-gnu.so
> /usr/lib/python3.7/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so
> /usr/lib/python3.7/site-packages/wx/_core.cpython-36m-x86_64-linux-gnu.so
> /usr/lib64/python3.6/site-packages/wx/_core.cpython-39-x86_64-linux-gnu.so
> /usr/lib64/python3.6/site-packages/wx/_core.cpython-38-x86_64-linux-gnu.so
> /usr/lib64/python3.6/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so
> /usr/lib64/python3.6/site-packages/wx/_core.cpython-36m-x86_64-linux-gnu.so
(In reply to Sven Wegener from comment #1) > The wxpython ebuild does not use > python_copy_sources and builds wxpython for all python implementations in > the same directory. The simple fix is to add "DISTUTILS_IN_SOURCE_BUILD=1" to the ebuild. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de0e0b2f75e915cadd18d9cc943940b09260d4b commit 3de0e0b2f75e915cadd18d9cc943940b09260d4b Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2021-02-02 21:01:14 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2021-02-03 07:44:17 +0000 dev-python/wxpython: Enable DISTUTILS_IN_SOURCE_BUILD, bug #711970 Closes: https://bugs.gentoo.org/711970 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sven Wegener <swegener@gentoo.org> dev-python/wxpython/wxpython-4.0.7-r1.ebuild | 92 ++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) |