On 20/12/2019 17:30, Bruce Dubbs via blfs-support wrote:
On 12/20/19 10:36 AM, spiky0011 via blfs-support wrote:
Pierre already addressed part of this.
In the plasma list of packages, building will fail
"plymouth-kcm" fails and should be commented out
Note
"The breeze-grub, breeze-plymouth, and plymouth-kcm packages above
are all for customized support of plymouth"
It built for me, but I agree that we don't need plymouth-kcm. Can you
tell us the nature of your failure?
Starting Plasma5
KF5_PREFIX/bin/startkde < dosn't exsist
should be
KF5_PREFIX/bin/startplasma-x11
and
KF5_PREFIX/bin/startplasma-wayland
startplasma-x11 and startplasma-wayland were introduced in 5.63 i
think !!!
Thanks. We'll get this fixed.
-- Bruce
I have attached the fail of Plymouth-kcm and also the CMakeLists,txt,
which shows find_package(Plymouth REQUIRED).
I cant find an error.log.
77%] Building CXX object
src/CMakeFiles/kcm_plymouth.dir/kcm_plymouth_autogen/mocs_compilation.cpp.o
[ 83%] Building CXX object src/CMakeFiles/kcm_plymouth.dir/kcm.cpp.o
[ 88%] Linking CXX executable ../bin/kplymouththemeinstaller
[ 88%] Built target kplymouththemeinstaller
[ 94%] Linking CXX executable ../bin/plymouthhelper
[ 94%] Built target plymouthhelper
/home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp: In constructor
‘KCMPlymouth::KCMPlymouth(QObject*, const QVariantList&)’:
/home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:54:41: error: no matching
function for call to ‘qmlRegisterType<QStandardItemModel>()’
54 | qmlRegisterType<QStandardItemModel>();
| ^
In file included from /opt/qt5/include/QtQml/QtQml:9,
from
/opt/kf5/include/KF5/KDeclarative/kquickaddons/configmodule.h:34,
from
/opt/kf5/include/KF5/KDeclarative/KQuickAddons/ConfigModule:1,
from /home/spiky/build/plymouth-kcm-5.17.3/src/kcm.h:28,
from /home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:21:
/opt/qt5/include/QtQml/qqml.h:291:5: note: candidate: ‘int
qmlRegisterType(const char*, int, int, const char*) [with T =
QStandardItemModel]’
291 | int qmlRegisterType(const char *uri, int versionMajor, int
versionMinor, const char *qmlName)
| ^~~~~~~~~~~~~~~
/opt/qt5/include/QtQml/qqml.h:291:5: note: candidate expects 4 arguments, 0
provided
/opt/qt5/include/QtQml/qqml.h:322:5: note: candidate: ‘template<class T, int
metaObjectRevision> int qmlRegisterType(const char*, int, int, const char*)’
322 | int qmlRegisterType(const char *uri, int versionMajor, int
versionMinor, const char *qmlName)
| ^~~~~~~~~~~~~~~
/opt/qt5/include/QtQml/qqml.h:322:5: note: template argument
deduction/substitution failed:
/home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:54:41: note: candidate
expects 4 arguments, 0 provided
54 | qmlRegisterType<QStandardItemModel>();
| ^
/home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:55:34: error: no matching
function for call to ‘qmlRegisterType<KCMPlymouth>()’
55 | qmlRegisterType<KCMPlymouth>();
| ^
In file included from /opt/qt5/include/QtQml/QtQml:9,
from
/opt/kf5/include/KF5/KDeclarative/kquickaddons/configmodule.h:34,
from
/opt/kf5/include/KF5/KDeclarative/KQuickAddons/ConfigModule:1,
from /home/spiky/build/plymouth-kcm-5.17.3/src/kcm.h:28,
from /home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:21:
/opt/qt5/include/QtQml/qqml.h:291:5: note: candidate: ‘int
qmlRegisterType(const char*, int, int, const char*) [with T = KCMPlymouth]’
291 | int qmlRegisterType(const char *uri, int versionMajor, int
versionMinor, const char *qmlName)
| ^~~~~~~~~~~~~~~
/opt/qt5/include/QtQml/qqml.h:291:5: note: candidate expects 4 arguments, 0
provided
/opt/qt5/include/QtQml/qqml.h:322:5: note: candidate: ‘template<class T, int
metaObjectRevision> int qmlRegisterType(const char*, int, int, const char*)’
322 | int qmlRegisterType(const char *uri, int versionMajor, int
versionMinor, const char *qmlName)
| ^~~~~~~~~~~~~~~
/opt/qt5/include/QtQml/qqml.h:322:5: note: template argument
deduction/substitution failed:
/home/spiky/build/plymouth-kcm-5.17.3/src/kcm.cpp:55:34: note: candidate
expects 4 arguments, 0 provided
55 | qmlRegisterType<KCMPlymouth>();
| ^
make[2]: *** [src/CMakeFiles/kcm_plymouth.dir/build.make:76:
src/CMakeFiles/kcm_plymouth.dir/kcm.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:255: src/CMakeFiles/kcm_plymouth.dir/all]
Error 2
make: *** [Makefile:152: all] Error 2
cat ../CMakeLists.txt
project(plymouthkcm)
cmake_minimum_required(VERSION 2.8.12)
set(KF5_MIN_VERSION "5.62.0")
set(QT_MIN_VERSION "5.12.0")
################# Disallow in-source build #################
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(FATAL_ERROR "plymouthkcm requires an out of source build. Please
create a separate build directory and run 'cmake path_to_kirigami [options]'
there.")
endif()
# Make CPack available to easy generate binary packages
include(CPack)
include(FeatureSummary)
################# set KDE specific information #################
set(PROJECT_VERSION "5.17.3")
set(PROJECT_VERSION_MAJOR 5)
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is
checked
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}
${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(ECMSetupVersion)
include(ECMGenerateHeaders)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick
Test Gui )
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Archive NewStuff NewStuffCore KIO Declarative I18n Config
ConfigWidgets)
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
################# Enable C++11 features for clang and gcc #################
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x")
endif()
################# now find all used packages #################
find_package(Plymouth REQUIRED)
add_subdirectory(src)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES
FATAL_ON_MISSING_REQUIRED_PACKAGES)
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(po)
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page