CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
<<< 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.