Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793887

Summary: media-gfx/krita-4.4.3 fails to build with dev-python/sip-5.5.0
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: andrewammerlaan, ionen, phobosk, qt, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 4.4.5
Package list:
Runtime testing required: ---
Bug Depends on: 798306    
Bug Blocks:    

Description Helmut Jarausch 2021-06-02 12:20:45 UTC
dev-python/sip-5.5.0  doesn't install a symlink  /usr/bin/sip

This makes media-gfx/krita-4.4.3 fail to reinstall :
FAILED: plugins/extensions/pykrita/sip/krita/sipkritapart0.cpp 
cd /var/tmp/portage/media-gfx/krita-4.4.3/work/krita-4.4.3_build/plugins/extensions/pykrita/sip && /usr/bin/cmake -E echo && /usr/bin/cmake -E touch /var/tmp/portage/media-gfx/krita-4.4.3/work/krita-4.4.3_build/plugins/extensions/pykrita/sip/./krita/sipkritapart0.cpp && /usr/bin/sip -t ALL -t WS_X11 -t Qt_5_15_0 -g -o -x PyKDE_QVector -n PyQt5.sip -j 1 -c /var/tmp/portage/media-gfx/krita-4.4.3/work/krita-4.4.3_build/plugins/extensions/pykrita/sip/./krita -I /usr/share/sip -I /usr/share/sip/PyQt5 -I /var/tmp/portage/media-gfx/krita-4.4.3/work/krita-4.4.3/plugins/extensions/pykrita/sip/krita /var/tmp/portage/media-gfx/krita-4.4.3/work/krita-4.4.3/plugins/extensions/pykrita/sip/krita/kritamod.sip

/bin/sh: line 1: /usr/bin/sip: No such file or directory
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-02 12:32:36 UTC
Full build.log is useful but that seems about right, thank you (in terms of info).

emerge --info as well just in case?
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2021-06-02 17:30:46 UTC
(In reply to Helmut Jarausch from comment #0)
> dev-python/sip-5.5.0  doesn't install a symlink  /usr/bin/sip
It's not supposed to. The build system (and various other things) radically changed between sip 4.x and 5.x, krita is simply not compatible with sip-5.x.

Reassigning to krita maintainers. As a stopgap, I suggest restricting the dep to something like "<dev-python/sip-5".
Comment 3 Nowa Ammerlaan gentoo-dev 2021-06-02 17:37:01 UTC
Hmm, strange, I tested it earlier with sip-5 and it seemed to work then, let me try  again.
Comment 4 Nowa Ammerlaan gentoo-dev 2021-06-02 18:22:38 UTC
For me version 4.4.3 successfully builds with sip-5 installed (USE="gif gsl jpeg pdf raw tiff -color-management -debug -fftw -heif -openexr -qtmedia -test -vc")
Comment 5 Larry the Git Cow gentoo-dev 2021-06-20 08:33:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75651b0d83a785d1cb8411d36317b0452cb1144b

commit 75651b0d83a785d1cb8411d36317b0452cb1144b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-06-19 20:36:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-06-20 08:32:53 +0000

    media-gfx/krita: 4.4.5 version bump
    
    Introduce dev-python/sip slot op
    Restrict to =media-libs/opencolorio-1*
    
    Bug: https://bugs.gentoo.org/793887
    Bug: https://bugs.gentoo.org/795786
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/krita/Manifest                           |   1 +
 .../files/krita-4.4.5-pykrita-crash-on-exit.patch  |  55 +++++++++
 media-gfx/krita/krita-4.4.5.ebuild                 | 129 +++++++++++++++++++++
 3 files changed, 185 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2021-07-05 06:40:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2680602d9fbeb025f43c580b070177b86d223dfd

commit 2680602d9fbeb025f43c580b070177b86d223dfd
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-07-05 06:27:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-07-05 06:27:48 +0000

    media-gfx/krita: Drop 4.4.3
    
    Closes: https://bugs.gentoo.org/793887
    Closes: https://bugs.gentoo.org/795786
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/krita/Manifest           |   1 -
 media-gfx/krita/krita-4.4.3.ebuild | 128 -------------------------------------
 2 files changed, 129 deletions(-)