LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 12-06-2018, 12:10 PM   #16
zethan
Member
 
Registered: Jan 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled

I found the problem now. It has to do with the content of this file ~/.kdesrc-buildrc. I need to remove all the -j5 flags.

Code:
global
    branch-group kf5-qt5
    source-dir  /opt/kde/src
    build-dir  /opt/kde/build
    log-dir  /opt/kde/log
    kdedir  /opt/kde/install
    # Uncomment this and edit value to choose a different Qt5
    qtdir /usr

    git-repository-base     kde-projects kde:

    cmake-options -DCMAKE_BUILD_TYPE:STRING=debug

    cxxflags -pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP -DQT_NO_FTP -Wformat -Werror=format-security -Werror=return-type$

    make-options
    ignore-kde-structure    true
    stop-on-failure         true

    # Where to download source code. By default the build directory and
    # logs will be kept under this directory as well.
    # source-dir ~/kdesrc
end global

include /opt/kde/src/kdesrc-build/kf5-frameworks-build-include
include /opt/kde/src/kdesrc-build/kf5-workspace-build-include

options kcoreaddons
    cmake-options
end options

options baloo
    cmake-options -DCMAKE_CXX_FLAGS="-lc"
end options
Now, by executing the command below again, I got much better results.

kdesrc-build --debug --include-dependencies plasma-desktop

Code:
<<<  PACKAGES FAILED TO BUILD  >>>
kcodecs - /opt/kde/log/2018-12-06-01/kcodecs/cmake.log
:-(
Your logs are saved in /opt/kde/log/2018-12-06-01
Here is the content of /kcodecs/cmake.log

Code:
# kdesrc-build running: 'cmake' '/opt/kde/src/kcodecs' '-DCMAKE_BUILD_TYPE:STRING=debug' '-DBUILD_TESTING=TRUE' '-DCMAKE_CXX_FLAGS:STRING=-pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP -DQT_NO_FTP -Wformat -Werror=format-security -Werror=return-type -Wno-variadic-macros -Wlogical-op -Wmissing-include-dirs -std=c++11 ' '-DCMAKE_INSTALL_PREFIX=/opt/kde/install' '-DCMAKE_PREFIX_PATH=/usr'
# from directory: /opt/kde/build/kcodecs
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Could not set up the appstream test. appstreamcli is missing.
CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Gperf (missing: Gperf_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /opt/kde/install/share/ECM/find-modules/FindGperf.cmake:77 (find_package_handle_standard_args)
  CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
See also "/opt/kde/build/kcodecs/CMakeFiles/CMakeOutput.log".
I hope someone can help me with lines in bold above.

Thank you.
 
Old 12-06-2018, 07:47 PM   #17
zethan
Member
 
Registered: Jan 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
I tried searching internet some more for such error messages, and I found that I have to install gperf.

31. yum install gperf.

The results, from the command below, come out good. I love it.

32. kdesrc-build --debug --include-dependencies plasma-desktop

The command above has been executed for a very long time now. I will keep you posted on the results.
 
Old 12-06-2018, 10:51 PM   #18
zethan
Member
 
Registered: Jan 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
Looks like the old problem is gone, but it moves to different one, which is kxmlgui

Code:
# kdesrc-build running: 'gmake'
# from directory: /opt/kde/build/kxmlgui
Scanning dependencies of target KF5XmlGui_autogen
[  1%] Automatic MOC for target KF5XmlGui
[  1%] Built target KF5XmlGui_autogen
[  2%] Generating ui_kshortcutwidget.h
[  2%] Generating qrc_kxmlgui.cpp
[  3%] Generating ui_kshortcutsdialog.h
Scanning dependencies of target KF5XmlGui
[  4%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kaboutapplicationdialog.cpp.o
[  5%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kaboutapplicationpersonlistdelegate_p.cpp.o
[  6%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kaboutapplicationpersonlistview_p.cpp.o
[  7%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kaboutapplicationpersonmodel_p.cpp.o
[  8%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kaboutkdedialog_p.cpp.o
[  9%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kactioncategory.cpp.o
[ 10%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kactioncollection.cpp.o
[ 11%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kactionconflictdetector.cpp.o
[ 11%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kbugreport.cpp.o
[ 12%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kedittoolbar.cpp.o
[ 13%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kgesture.cpp.o
[ 14%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kgesturemap.cpp.o
[ 15%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/khelpmenu.cpp.o
[ 16%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kkeysequencewidget.cpp.o
[ 17%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kmainwindow.cpp.o
[ 18%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kmainwindowiface.cpp.o
[ 19%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kmenumenuhandler_p.cpp.o
[ 20%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcuteditwidget.cpp.o
[ 21%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutschemeseditor.cpp.o
[ 21%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutschemeshelper.cpp.o
[ 22%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutsdialog.cpp.o
[ 23%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutseditor.cpp.o
[ 24%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutseditordelegate.cpp.o
[ 25%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutseditoritem.cpp.o
[ 26%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kshortcutwidget.cpp.o
/opt/kde/src/kxmlgui/src/kshortcutwidget.cpp: In member function ‘void KShortcutWidget::setCheckActionList(const QList<QAction*>&)’:
/opt/kde/src/kxmlgui/src/kshortcutwidget.cpp:84:50: warning: ‘void KKeySequenceWidget::setCheckActionList(const QList<QAction*>&)’ is deprecated (declared at /opt/kde/src/kxmlgui/src/kkeysequencewidget.h:232) [-Wdeprecated-declarations]
     d->ui.priEditor->setCheckActionList(checkList);
                                                  ^
/opt/kde/src/kxmlgui/src/kshortcutwidget.cpp:85:50: warning: ‘void KKeySequenceWidget::setCheckActionList(const QList<QAction*>&)’ is deprecated (declared at /opt/kde/src/kxmlgui/src/kkeysequencewidget.h:232) [-Wdeprecated-declarations]
     d->ui.altEditor->setCheckActionList(checkList);
                                                  ^
[ 27%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kswitchlanguagedialog_p.cpp.o
[ 28%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/ktoggletoolbaraction.cpp.o
[ 29%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/ktoolbar.cpp.o
[ 30%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/ktoolbarhandler.cpp.o
[ 31%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/ktoolbarhelper.cpp.o
[ 31%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguibuilder.cpp.o
[ 32%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguiclient.cpp.o
[ 33%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguifactory.cpp.o
[ 34%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguifactory_p.cpp.o
[ 35%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguiversionhandler.cpp.o
[ 36%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kxmlguiwindow.cpp.o
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp: In member function ‘virtual void KXmlGuiWindow::configureToolbars()’:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: error: no matching function for call to ‘KXmlGuiWindow::connect(QPointer<KEditToolBar>&, void (KEditToolBar::*)(), KXmlGuiWindow* const, void (KXmlGuiWindow::*)())’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note: candidates are:
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /opt/kde/src/kxmlgui/src/kmainwindow.h:34,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.h:33,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:26:
/usr/include/qt5/QtCore/qobject.h:213:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:213:36: note:   no known conversion for argument 2 from ‘void (KEditToolBar::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:216:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:216:36: note:   no known conversion for argument 2 from ‘void (KEditToolBar::*)()’ to ‘const QMetaMethod&’
/usr/include/qt5/QtCore/qobject.h:468:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:468:32: note:   no known conversion for argument 2 from ‘void (KEditToolBar::*)()’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:233:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/qt5/QtCore/qobject.h:233:43: note:   template argument deduction/substitution failed:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<KEditToolBar>’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /opt/kde/src/kxmlgui/src/kmainwindow.h:34,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.h:33,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:26:
/usr/include/qt5/QtCore/qobject.h:265:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:265:13: note:   template argument deduction/substitution failed:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<KEditToolBar>’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /opt/kde/src/kxmlgui/src/kmainwindow.h:34,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.h:33,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:26:
/usr/include/qt5/QtCore/qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:274:13: note:   template argument deduction/substitution failed:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<KEditToolBar>’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /opt/kde/src/kxmlgui/src/kmainwindow.h:34,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.h:33,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:26:
/usr/include/qt5/QtCore/qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/qt5/QtCore/qobject.h:305:13: note:   template argument deduction/substitution failed:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<KEditToolBar>’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0,
                 from /usr/include/qt5/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt5/QtWidgets/QMainWindow:1,
                 from /opt/kde/src/kxmlgui/src/kmainwindow.h:34,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.h:33,
                 from /opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:26:
/usr/include/qt5/QtCore/qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/qt5/QtCore/qobject.h:313:13: note:   template argument deduction/substitution failed:
/opt/kde/src/kxmlgui/src/kxmlguiwindow.cpp:163:59: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<KEditToolBar>’
                 this, &KXmlGuiWindow::saveNewToolbarConfig);
                                                           ^
gmake[2]: *** [src/CMakeFiles/KF5XmlGui.dir/kxmlguiwindow.cpp.o] Error 1
gmake[1]: *** [src/CMakeFiles/KF5XmlGui.dir/all] Error 2
gmake: *** [all] Error 2
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open Source professionals higher skills, higher paid: survey LXer Syndicated Linux News 0 03-11-2008 05:41 PM
How to upgrade kernel 2.6.13 or higher pro_chandan Linux - General 4 06-23-2006 02:07 PM
How to upgrade kernel 2.6.13 or higher pro_chandan Linux - General 4 06-23-2006 02:06 PM
How to upgrade kernel 2.6.13 or higher pro_chandan Red Hat 10 06-22-2006 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration