After emerging 'qt' I tried to issue the 'emerge frameworks' command After a number of the framework components were successfully built an error regarding Qt5WebKitWidgets was thrown. Rerunning the 'emerge frameworks' command generates the following output: PS R:\emerge\bin> .\emerge.bat frameworks emerge debug: buildAction: all emerge debug: packageName: ['frameworks'] emerge debug: buildType: RelWithDebInfo emerge debug: buildTests: False ________________________________________________________________________________ emerge debug: fetching [git]kde:kdewebkit|master| Already up-to-date. Already on 'master' Your branch is up-to-date with 'origin/master'. Already up-to-date. Already on 'master' Your branch is up-to-date with 'origin/master'. entering: r:\build\frameworks\kdewebkit\work\mingw-w64-RelWithDebInfo-master cleaning r:\build\frameworks\kdewebkit\work\mingw-w64-RelWithDebInfo-master entering: r:\build\frameworks\kdewebkit\work\mingw-w64-RelWithDebInfo-master emerge debug: cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="r:/" -DCMAKE_PREFIX_PATH="r:/" -DCMAKE_BUILD_TYPE=RelW ithDebInfo "q:\kdewebkit" -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: r:/mingw64/bin/gcc.exe -- Check for working C compiler: r:/mingw64/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: r:/mingw64/bin/g++.exe -- Check for working CXX compiler: r:/mingw64/bin/g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at r:/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package): Could not find a package configuration file provided by "Qt5WebKitWidgets" with any of the following names: Qt5WebKitWidgetsConfig.cmake qt5webkitwidgets-config.cmake Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or set "Qt5WebKitWidgets_DIR" to a directory containing one of the above files. If "Qt5WebKitWidgets" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:10 (find_package) -- Configuring incomplete, errors occurred! See also "R:/build/frameworks/kdewebkit/work/mingw-w64-RelWithDebInfo-master/CMakeFiles/CMakeOutput.log". emerge warning: while running configure cmd: cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="r:/" -DCMAKE_PREFIX_PAT H="r:/" -DCMAKE_BUILD_TYPE=RelWithDebInfo "q:\kdewebkit" emerge error: fatal error: package frameworks/kdewebkit all failed Task: Emerge stopped after: 0:00:10.370593 Reproducible: Always Steps to Reproduce: 1. Carry out a fresh installation using emerge using these instructions: https://techbase.kde.org/Getting_Started/Build/Windows/emerge 2. When the 'emerge frameworks' command is issued the reported error is thrown (takes a while) Actual Results: After building a number of the frameworks components the reported error is thrown Expected Results: the frameworks should have compiled to completion
That looks like QtWebkit didn't build, otherwise cmake would have found it's QtWebkitWidgetsConfig.cmake file. Are you sure emerge qt completely built all of qt5?
PS R:\emerge\bin> .\emerge.bat --print-installed emerge debug: buildAction: all emerge debug: packageName: [] emerge debug: buildType: RelWithDebInfo emerge debug: buildTests: False ________________________________________________________________________________ Category Package Version -------- ------- ------- dev-util 7zip 920 virtual bin-base 0.2 dev-util uactools 20100711 gnuwin32 patch 2.5.9 gnuwin32 sed 4.2.1 dev-util subversion 1.8.8-1 dev-util git 1.9.5 virtual base 0.2 win32libs zlib 1.2.8 gnuwin32 wget dummy dev-util cmake 3.0.2 dev-util putty 0.63 dev-util mingw-w64 4.9.2-0 dev-util jom 1_0_14 dev-util perl 5.18.2 dev-util msys base win32libs openssl 1.0.1k win32libs expat 2.1.0 win32libs dbus 1.8.4 binary mysql-pkg 5.6.22 win32libs icu 53.1 dev-util winflexbison 2.4.2 libs qtbase 5.4 libs qtactiveqt 5.4 libs qtxmlpatterns 5.4 libs qtsvg 5.4 libs qtdeclarative 5.4 libs qtgraphicaleffects 5.4 libs qtimageformats 5.4 libs qtmultimedia 5.4 libs qtscript 5.4 libs qtquick1 5.4 win32libs sqlite 3.8.1.0 dev-util ruby 1.9.2 gnuwin32 gperf 3.0.1 libs qtwebkit 5.4 libs qttools 5.4 libs qtwinextras 5.4 libs qt5 5.4 dev-util extra-cmake-modules gitHEAD frameworks attica master win32libs libbzip2 1.0.6 win32libs liblzma 5.0.5 frameworks karchive master frameworks kcodecs master frameworks kconfig master win32libs win_iconv 0.0.4 win32libs gettext 0.18 win32libs libxml2 2.8.0 win32libs shared-mime-info 1.1 frameworks kcoreaddons master frameworks kdbusaddons master frameworks kguiaddons master dev-util gettext-tools 0.18.1.1_1 frameworks ki18n master frameworks kidletime master frameworks kimageformats master frameworks kitemmodels master frameworks kitemviews master win32libs pcre 8.36 frameworks kjs master frameworks kplotting master frameworks kwidgetsaddons master frameworks kwindowsystem master frameworks solid master win32libs aspell 0.60.6.1 frameworks sonnet master frameworks threadweaver master frameworks tier1 gitHEAD frameworks kauth master frameworks kcompletion master frameworks kcrash master frameworks kdnssd master win32libs libxslt 1.1.28 data docbook-dtd 4.5 data docbook-xsl 1.78.1 frameworks kdoctools master frameworks kjobwidgets master frameworks kunitconversion master frameworks tier2 gitHEAD frameworks kpackage master frameworks kservice master frameworks kconfigwidgets master frameworks kiconthemes master frameworks kglobalaccel master frameworks ktextwidgets master frameworks kxmlgui master frameworks kbookmarks master qt-libs phonon 4.8.1 frameworks knotifications master gnuwin32 grep 2.5.4 gnuwin32 gawk 3.1.6-1 win32libs gpg-error 1.12 win32libs gcrypt 1.5.3 frameworks kwallet master frameworks kio master frameworks kactivities master frameworks kcmutils master frameworks kdeclarative master frameworks kinit master frameworks kded master frameworks kdesignerplugin master frameworks kparts master win32libs boost-headers 1_57_0 libs qt gitHEAD QtWebkit is in the the list of installed packages above, I'll try rebuilding it to see it I can spot something
This looks a little suspicious: emerge debug: buildAction: update emerge debug: packageName: ['qtwebkit'] emerge debug: buildType: RelWithDebInfo emerge debug: buildTests: False ________________________________________________________________________________ emerge debug: fetching [git]git://gitorious.org/qt/qtwebkit.git|5.4| Already up-to-date. M Source/WebCore/html/StepRange.h M Source/WebCore/html/parser/HTMLParserIdioms.cpp M Tools/qmake/.qmake.cache M Tools/qmake/mkspecs/features/default_post.prf M Tools/qmake/mkspecs/features/functions.prf Your branch is up-to-date with 'origin/5.4'. emerge.bat : Already on '5.4' At line:1 char:13 + .\emerge.bat <<<< --update qtwebkit 2>&1 | out-file c:\QtWebkitCompile.txt -width 160 -encoding utf8 + CategoryInfo : NotSpecified: (Already on '5.4':String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Already up-to-date. Already on '5.4' M Source/WebCore/html/StepRange.h M Source/WebCore/html/parser/HTMLParserIdioms.cpp M Tools/qmake/.qmake.cache M Tools/qmake/mkspecs/features/default_post.prf M Tools/qmake/mkspecs/features/functions.prf Your branch is up-to-date with 'origin/5.4'. entering: r:\build\libs\qtwebkit\work\mingw-w64-RelWithDebInfo-5.4 cleaning r:\build\libs\qtwebkit\work\mingw-w64-RelWithDebInfo-5.4 r:\emerge\portage\libs\qt5\qtwebkit\build-with-mysql.diff:10: trailing whitespace. #include "platform/Decimal.h" r:\emerge\portage\libs\qt5\qtwebkit\build-with-mysql.diff:23: trailing whitespace. #include "platform/Decimal.h" error: patch failed: Source/WebCore/html/StepRange.h:21 error: Source/WebCore/html/StepRange.h: patch does not apply error: patch failed: Source/WebCore/html/parser/HTMLParserIdioms.cpp:25 error: Source/WebCore/html/parser/HTMLParserIdioms.cpp: patch does not apply error: patch failed: Tools/qmake/mkspecs/features/default_post.prf:87 error: Tools/qmake/mkspecs/features/default_post.prf: patch does not apply error: patch failed: Tools/qmake/mkspecs/features/functions.prf:202 error: Tools/qmake/mkspecs/features/functions.prf: patch does not apply I'll also attach the full build log for qtwebkit
Created attachment 90859 [details] Build log for QtWebkit
Okay update time. After rebuilding QtWebKit yesterday I started rebuilding frameworks this morning before heading off to work. A quick check shows, what looks like a completed installation! Probably a bit of wishful thinking but it'd nice if there were a summary at the end of an emerge making incomplete / broken compiles a bit more obvious. Would end up saving users' time and would help reduce the time developers have to spend point us noobs in the right direction :) Anyhow, seems to be sorted out. I just hope that all of the frameworks built correctly. Thanks
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.