* [bug#52910] [PATCH] gnu: krita: Fix build.
@ 2021-12-31 1:06 Vinicius Monego
2021-12-31 22:39 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Vinicius Monego @ 2021-12-31 1:06 UTC (permalink / raw)
To: 52910; +Cc: Vinicius Monego
* gnu/packages/kde.scm (krita)[inputs]: Remove python, python-pyqt,
python-sip.
---
gnu/packages/kde.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 8531e8683e..dfd4cd197c 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -533,9 +533,6 @@ expression library, that is used in Krita.")
openjpeg
perl
poppler-qt5
- python
- python-pyqt
- python-sip
qtbase-5
qtdeclarative
qtmultimedia
base-commit: 04c7220bc11756e638f931370f539005177afab9
--
2.30.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#52910] [PATCH] gnu: krita: Fix build.
2021-12-31 1:06 [bug#52910] [PATCH] gnu: krita: Fix build Vinicius Monego
@ 2021-12-31 22:39 ` Leo Famulari
2021-12-31 23:43 ` Vinicius Monego
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2021-12-31 22:39 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 52910
On Fri, Dec 31, 2021 at 01:06:32AM +0000, Vinicius Monego wrote:
> * gnu/packages/kde.scm (krita)[inputs]: Remove python, python-pyqt,
> python-sip.
It's hard to find the error in the voluminous Krita build log.
Here it is:
------
[ 64%] Generating _tmp/krita/sipkritapart0.cpp
cd /tmp/guix-build-krita-5.0.0.drv-0/build/plugins/extensions/pykrita/sip && /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-3.21.3/bin/cmake -E echo Generating\ SIP\ 5+\ bindings\ for\ PyKrita.krita...
Generating SIP 5+ bindings for PyKrita.krita...
cd /tmp/guix-build-krita-5.0.0.drv-0/build/plugins/extensions/pykrita/sip && /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-3.21.3/bin/cmake -E env PYTHONPATH=: /gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/bin/python3 /tmp/guix-build-krita-5.0.0.drv-0/krita-5.0.0/cmake/modules/sip-generate.py --build-dir /tmp/guix-build-krita-5.0.0.drv-0/build/plugins/extensions/pykrita/sip/_tmp --target-dir lib/krita-python-libs/PyKrita --concatenate 1
These bindings will be built: kritamod.
Generating the kritamod bindings...
sip-generate.py: Unable to find file "QtCore/QtCoremod.sip"
make[2]: *** [plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita_autogen.dir/build.make:79: plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp] Error 1
make[2]: Leaving directory '/tmp/guix-build-krita-5.0.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:29065: plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita_autogen.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-krita-5.0.0.drv-0/build'
make: *** [Makefile:149: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 42393.6 seconds
------
Googling for this error message from sip-generate.py, there is plenty of
discussion. For example, this thread:
https://groups.google.com/g/linux.debian.bugs.dist/c/FdgUVpZ4SWE
It's okay if we can't fix it or don't want to fix it, and instead choose
to remove the relevant functionality. But did we try to fix it yet? Can
you take a look?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#52910] [PATCH] gnu: krita: Fix build.
2021-12-31 22:39 ` Leo Famulari
@ 2021-12-31 23:43 ` Vinicius Monego
2022-01-02 2:21 ` bug#52910: " Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Vinicius Monego @ 2021-12-31 23:43 UTC (permalink / raw)
To: Leo Famulari; +Cc: 52910
Em sex, 2021-12-31 às 17:39 -0500, Leo Famulari escreveu:
> On Fri, Dec 31, 2021 at 01:06:32AM +0000, Vinicius Monego wrote:
> > * gnu/packages/kde.scm (krita)[inputs]: Remove python, python-pyqt,
> > python-sip.
>
> It's hard to find the error in the voluminous Krita build log.
>
> Here it is:
>
> ------
> [ 64%] Generating _tmp/krita/sipkritapart0.cpp
> cd /tmp/guix-build-krita-5.0.0.drv-
> 0/build/plugins/extensions/pykrita/sip &&
> /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-
> 3.21.3/bin/cmake -E echo Generating\ SIP\ 5+\ bindings\ for\
> PyKrita.krita...
> Generating SIP 5+ bindings for PyKrita.krita...
> cd /tmp/guix-build-krita-5.0.0.drv-
> 0/build/plugins/extensions/pykrita/sip &&
> /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-
> 3.21.3/bin/cmake -E env PYTHONPATH=:
> /gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/bin/python3
> /tmp/guix-build-krita-5.0.0.drv-0/krita-5.0.0/cmake/modules/sip-
> generate.py --build-dir /tmp/guix-build-krita-5.0.0.drv-
> 0/build/plugins/extensions/pykrita/sip/_tmp --target-dir lib/krita-
> python-libs/PyKrita --concatenate 1
> These bindings will be built: kritamod.
> Generating the kritamod bindings...
> sip-generate.py: Unable to find file "QtCore/QtCoremod.sip"
>
> make[2]: ***
> [plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krit
> a_autogen.dir/build.make:79:
> plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp] Error 1
> make[2]: Leaving directory '/tmp/guix-build-krita-5.0.0.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:29065:
> plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita
> _autogen.dir/all] Error 2
> make[1]: Leaving directory '/tmp/guix-build-krita-5.0.0.drv-0/build'
> make: *** [Makefile:149: all] Error 2
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "1")
> exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 42393.6 seconds
> ------
>
> Googling for this error message from sip-generate.py, there is plenty
> of
> discussion. For example, this thread:
>
> https://groups.google.com/g/linux.debian.bugs.dist/c/FdgUVpZ4SWE
>
> It's okay if we can't fix it or don't want to fix it, and instead
> choose
> to remove the relevant functionality. But did we try to fix it yet?
> Can
> you take a look?
I did try to fix it by setting "PYQT_SIP_DIR_OVERRIDE" [1] to point to
the correct sip dir (see the veusz package for instance), but CMake
ignored that variable when I set it.
The problem is that Krita in my machine takes 4 to 5 hours to reach
67%, where it fails, to test if it works or not. In the CI, Krita takes
as many minutes to fail at 67% as Blender takes to fully build.
The functionality was also never "enabled" because the build failed
before it could be used.
https://docs.krita.org/en/untranslatable_pages/cmake_settings_for_developers.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#52910: [PATCH] gnu: krita: Fix build.
2021-12-31 23:43 ` Vinicius Monego
@ 2022-01-02 2:21 ` Leo Famulari
0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2022-01-02 2:21 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 52910-done
On Fri, Dec 31, 2021 at 11:43:26PM +0000, Vinicius Monego wrote:
> I did try to fix it by setting "PYQT_SIP_DIR_OVERRIDE" [1] to point to
> the correct sip dir (see the veusz package for instance), but CMake
> ignored that variable when I set it.
>
> The problem is that Krita in my machine takes 4 to 5 hours to reach
> 67%, where it fails, to test if it works or not. In the CI, Krita takes
> as many minutes to fail at 67% as Blender takes to fully build.
>
> The functionality was also never "enabled" because the build failed
> before it could be used.
Okay. I added the context to the commit message and pushed as
2c6dfeac6459901b500a81a1d733a48993792a11
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-02 2:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-31 1:06 [bug#52910] [PATCH] gnu: krita: Fix build Vinicius Monego
2021-12-31 22:39 ` Leo Famulari
2021-12-31 23:43 ` Vinicius Monego
2022-01-02 2:21 ` bug#52910: " Leo Famulari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.