Bug 411138 - Mac: kdewebket and qtwebkit problem
Summary: Mac: kdewebket and qtwebkit problem
Status: REPORTED
Alias: None
Product: Craft
Classification: Developer tools
Component: Blueprints (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-21 15:23 UTC by Allen Winter
Modified: 2019-08-22 07:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Winter 2019-08-21 15:23:31 UTC
On Mac when trying to build kontact with craft I get this.
Perhaps I'm asking too much.

/Users/build/Craft/KF5/blueprints/craft-blueprints-kde/kde/frameworks/tier3/kdewebkit/kdewebkit.py failed:
kde/frameworks/tier3/kdewebkit requries libs/qt5/qtwebkit, but it is ignored
Command /usr/local/opt/python/bin/python3.7 -u /Users/build/Craft/KF5/macos-clang_64-sdk-5.11.3/craft/bin/craft.py -i kontact failed with exit code: 1
Comment 1 Hannah von Reth 2019-08-21 16:29:33 UTC
Stupid question but is qtwebkit manually set to be ignored in your settings?
Comment 2 Allen Winter 2019-08-21 18:32:41 UTC
I see nothing obvious in my config that would be set to ingore qtwebkit.
In fact, I can Craft qtwebkit just fine.

Seems that something in kdewebkit is broken?
Comment 3 Allen Winter 2019-08-21 18:34:42 UTC
see this summary output from crafting qtwebkit.  Perhaps the "Skip installation" is the problem?

*** Handling package: libs/qt5/qtwebkit, action: all ***
*** Action: fetch-binary for libs/qt5/qtwebkit ***
*** libs/qt5/qtwebkit not found in cache ***
*** Action: fetch for libs/qt5/qtwebkit ***
*** Action: unpack for libs/qt5/qtwebkit ***
*** Action: compile for libs/qt5/qtwebkit ***
*** Action: cleanimage for libs/qt5/qtwebkit ***
*** Action: install for libs/qt5/qtwebkit ***
Skip installation of libs/qt5/qtwebkit as [QtSdk]Enabled=True
*** Action: post-install for libs/qt5/qtwebkit ***
*** Action: qmerge for libs/qt5/qtwebkit ***
*** Action: post-qmerge for libs/qt5/qtwebkit ***
*** Craft all succeeded: libs/qt5/qtwebkit after 0 seconds ***
Comment 4 Hannah von Reth 2019-08-22 05:53:27 UTC
Skip installation of libs/qt5/qtwebkit as [QtSdk]Enabled=True

You are using a precompiled Qt, so Qt packages in craft are skipped.
Qt does not ship webkit since 5.7 so not sure building webkit with craft would work in this setup.
Comment 5 Hannah von Reth 2019-08-22 07:29:02 UTC
You  could try to replace https://github.com/KDE/craft-blueprints-kde/blob/master/libs/qt5/qtwebkit/qtwebkit.py#L116 with a ifdef depending on the version to use either Qt5CorePackageBase or cmake.
But then you are in uncharted territory.