Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832729 - www-client/falkon-3.2.0[python]: compile fails with dev-python/pyside2[-webengine]
Summary: www-client/falkon-3.2.0[python]: compile fails with dev-python/pyside2[-weben...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
: 832794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-05 00:31 UTC by James Ausmus
Modified: 2022-02-06 21:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add webengine pyside2 dependency to falkon-3.2.0 ebuild (file_832729.txt,520 bytes, patch)
2022-02-05 01:43 UTC, James Ausmus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Ausmus 2022-02-05 00:31:49 UTC
When the python USE flag is set, but webengine is not set, www-client/falkon-3.2.0 fails to compile with the following message:

qt.shiboken: (pyfalkon) Can't find typesystem_webenginecore.xml, current path: /var/tmp/portage/www-client/falkon-3.2.0/work/falkon-3.2.0/src/plugins/PyFalkon, typesystem paths: /usr/share/PySide2/typesystems
qt.shiboken: (pyfalkon) /var/tmp/portage/www-client/falkon-3.2.0/work/falkon-3.2.0/src/plugins/PyFalkon/typesystem_pyfalkon.xml:3:72: Error: Failed to parse: 'typesystem_webenginecore.xml'
Cannot parse file: /var/tmp/portage/www-client/falkon-3.2.0/work/falkon-3.2.0/src/plugins/PyFalkon/typesystem_pyfalkon.xmlshiboken: Error running ApiExtractor.


www-client/falkon-3.2.0 needs to require pyside2 compiled with webengine if the python USE flag is set
Comment 1 James Ausmus 2022-02-05 01:43:56 UTC
Created attachment 764364 [details, diff]
Add webengine pyside2 dependency to falkon-3.2.0 ebuild

Patch that should fix it
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-06 09:35:50 UTC
*** Bug 832794 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-06 09:37:15 UTC
Please do include the full build.log & emerge --info so people can verify the fix and for posterity.

(Someone's put one in bug 832794 though.)
Comment 4 Larry the Git Cow gentoo-dev 2022-02-06 10:49:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=b9831df0c4ce536729fb71a0298b7c2a41618b32

commit b9831df0c4ce536729fb71a0298b7c2a41618b32
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-02-06 10:46:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-06 10:46:40 +0000

    www-client/falkon: Add missing dev-python/pyside[webengine] usedep
    
    Bug: https://bugs.gentoo.org/832729
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-client/falkon/falkon-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Pulkit Sukhija 2022-02-06 12:10:53 UTC
can confirm that this patch works
Comment 6 Larry the Git Cow gentoo-dev 2022-02-06 21:17:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1588699c75e91b5fd34c32efb396d0f0813b3c5b

commit 1588699c75e91b5fd34c32efb396d0f0813b3c5b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-02-06 10:46:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-06 21:16:33 +0000

    www-client/falkon: Add missing dev-python/pyside[webengine] usedep
    
    Closes: https://bugs.gentoo.org/832729
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-client/falkon/{falkon-3.2.0.ebuild => falkon-3.2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)