Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602982 - kde-apps/ktouch-16.12.0 fails in src_configure: missing dependencies on kde-frameworks/knewstuff and kde-frameworks/ktexteditor
Summary: kde-apps/ktouch-16.12.0 fails in src_configure: missing dependencies on kde-f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 05:31 UTC by Ulrich Müller
Modified: 2016-12-21 13:14 UTC (History)
0 users

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


Attachments
build.log (build.log,6.50 KB, text/plain)
2016-12-18 05:31 UTC, Ulrich Müller
Details
emerge --info (emerge-info,6.17 KB, text/plain)
2016-12-18 05:39 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2016-12-18 05:31:37 UTC
Created attachment 456548 [details]
build.log

See attached build.log:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: NewStuff TextEditor) (found version "5.29.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  CMakeLists.txt:39 (find_package)


-- Configuring incomplete, errors occurred!
Comment 1 Ulrich Müller gentoo-dev 2016-12-18 05:39:03 UTC
Created attachment 456550 [details]
emerge --info
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2016-12-18 10:17:06 UTC
Probably bogus deps.
Comment 3 Ulrich Müller gentoo-dev 2016-12-18 14:25:37 UTC
(In reply to Johannes Huber from comment #2)
> Probably bogus deps.

If I remove NewStuff and TextEditor from CMakeLists.txt it passes configure but then fails in the compile phase:

[ 69%] Building CXX object src/CMakeFiles/ktouch.dir/editor/resourceeditor.cpp.o
cd /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build/src && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DKTOUCH_BUILD_WITH_X11 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build/src -I/var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src -I/var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQuickWidgets -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5 -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KWindowSystem   -DQT_NO_DEBUG -DNDEBUG -march=core2 -ggdb -O2 -pipe -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/ktouch.dir/editor/resourceeditor.cpp.o -c /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src/editor/resourceeditor.cpp
In file included from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build/src/ui_lessontexteditor.h:25:0,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src/editor/lessontexteditor.h:21,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build/src/ui_courseeditor.h:31,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src/editor/courseeditor.h:23,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build/src/ui_resourceeditorwidget.h:24,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src/editor/resourceeditorwidget.h:23,
                 from /var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0/src/editor/resourceeditor.cpp:46:
/usr/include/ktextedit.h:25:27: fatal error: QtGui/QTextEdit: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/ktouch.dir/build.make:983: src/CMakeFiles/ktouch.dir/editor/resourceeditor.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build'
make[1]: *** [CMakeFiles/Makefile2:307: src/CMakeFiles/ktouch.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/ktouch-16.12.0/work/ktouch-16.12.0_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: kde-apps/ktouch-16.12.0::gentoo failed (compile phase):
 *   emake failed
Comment 4 Andreas Sturmlechner gentoo-dev 2016-12-19 20:06:48 UTC
(In reply to Johannes Huber from comment #2)
> Probably bogus deps.

Quite a few actually.
Comment 6 Ulrich Müller gentoo-dev 2016-12-20 18:04:58 UTC
At least for me, that doesn't cut it. Reopening because compilation now fails with:

[ 96%] Building CXX object src/CMakeFiles/ktouch.dir/x11_helper.cpp.o
cd /var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0_build/src && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DKTOUCH_BUILD_WITH_X11 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0_build/src -I/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0/src -I/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQuickWidgets -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5 -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi   -DQT_NO_DEBUG -DNDEBUG -march=core2 -ggdb -O2 -pipe -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/ktouch.dir/x11_helper.cpp.o -c /var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0/src/x11_helper.cpp
/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0/src/x11_helper.cpp:36:21: fatal error: fixx11h.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/ktouch.dir/build.make:1463: src/CMakeFiles/ktouch.dir/x11_helper.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0_build'
make[1]: *** [CMakeFiles/Makefile2:307: src/CMakeFiles/ktouch.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/ktouch-16.12.0-r1/work/ktouch-16.12.0_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: kde-apps/ktouch-16.12.0-r1::gentoo failed (compile phase):
 *   emake failed

fixx11h.h belongs to kde-frameworks/kwindowsystem.

Compilation succeeded after I (re-)added WindowSystem and KF5::WindowSystem to CMakeLists.txt and src/CMakeLists.txt, respectively.
Comment 7 Andreas Sturmlechner gentoo-dev 2016-12-20 19:33:25 UTC
Do you have kde-base/kdelibs installed or not?
Comment 8 Ulrich Müller gentoo-dev 2016-12-20 20:59:23 UTC
(In reply to Andreas Sturmlechner from comment #7)
> Do you have kde-base/kdelibs installed or not?

Nope.
Comment 9 Andreas Sturmlechner gentoo-dev 2016-12-20 21:57:28 UTC
Thanks, that explains why it built fine for me. Fixed upstream and added new PR.
Comment 10 Andreas Sturmlechner gentoo-dev 2016-12-21 13:14:25 UTC
Thanks, fixed in git by commit 079b8a8bdba3a764736cb0592d07084661eb4a95