Hi! I've been able to compile dev-python/wxpython-3.0.2.0 in under 20 minutes but 4.0.7 takes ages and failed on me twice due to lack of disk space (in a big tmpfs). Maybe a check for diskscape can be added like some other big packages do. Also, it would be interesting if it takes that long for you as well or if many we have some weirdness in the build system that is not triggered everywhere? Thanks and best, Sebastian
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(+)