https://bugs.kde.org/show_bug.cgi?id=400219
Bug ID: 400219 Summary: Trying to compile plasma-nm fails for me (5.14.2) - due to qca-qt5 Product: plasma-nm Version: master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jgrul...@redhat.com Reporter: sheve...@gmail.com Target Milestone: --- Hey KDE team, I am trying to compile the latest plasma stuff. Using this URL: https://download.kde.org/stable/plasma/5.14.2/plasma-nm-5.14.2.tar.xz The cmake-checks fail to find a required package: "-- The following REQUIRED packages have not been found: * Qca-qt5 (required version >= 2.1.0), Support for encryption, <http://download.kde.org/stable/qca-qt5/>" I have a look at this URL. https://download.kde.org/stable/qca-qt5/ If you look, the latest release is +3 years old, almost 4 years old. Age in itself is not necessarily a problem if it compiles, but it does not compile for me - so I actually am, sort of, filing two bug reports here. BUT, I mostly only care about plasma, because that seems to be very frequently having new releases so I assume it is actively maintained. Not sure about qca-qt5, but I think you can understand that the situation is not ideal if plasma itself works fine and is maintained, but add-ons such as qca-qt5 are not. Anyway, I will also show the specific error for qca-qt5: (This is a bit long ... I just paste it for the sake of completeness... comes after a bunch of ______): ______________ RBT->Extracter: Extracting `qca-qt5-2.1.0.3.tar.xz` to /Depot/Temp/rbt/ next. RBT->Extracter: tar -xvf /Users/x/SRC/qcaqt5/qca-qt5-2.1.0.3.tar.xz -C /Depot/Temp/rbt/ RBT->Extracter: Finished extracting to `/Depot/Temp/rbt/qca-qt5-2.1.0.3/`. RBT::Compile: Entering the directory /Depot/Temp/rbt/qca-qt5-2.1.0.3/ RBT::Compile: Now entering the directory `/Depot/Temp/rbt/qca-qt5-2.1.0.3/BUILD_DIRECTORY/`. Next running cmake -DCMAKE_INSTALL_PREFIX=/usr/ /Depot/Temp/rbt/qca-qt5-2.1.0.3/: -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- Check for working C compiler: /System/Index/bin/cc -- Check for working C compiler: /System/Index/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: /System/Index/bin/c++ -- Check for working CXX compiler: /System/Index/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:20 (cmake_policy): The OLD behavior for policy CMP0020 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Found Doxygen: /System/Index/bin/doxygen (found version "1.8.14") found components: doxygen dot -- Building with Qt5 support -- Installed package is NOT relocatable -- Checking for certstore.. -- Using built in certstore. -- certstore path: /Depot/Temp/rbt/qca-qt5-2.1.0.3/certs/rootcerts.pem -- Looking for include file sys/filio.h -- Looking for include file sys/filio.h - not found -- Performing Test MLOCK_TAKES_VOID -- Performing Test MLOCK_TAKES_VOID - Success -- Found Sasl2: /usr/lib/libsasl2.so -- Found libgcrypt: -L/Programs/Libgcrypt/1.8.3/lib -lgcrypt -L/Programs/Libgpgerror/1.32/lib -lgpg-error -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of gcry_error_t -- Check size of gcry_error_t - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for one of the modules 'nss' -- Found NSS: -L/usr/lib64;-L/Programs/Nspr/4.20/lib;-L/Programs/Sqliteautoconf/3250200/lib;-lnss3;-lsmime3;-lssl3;-lsoftokn3;-lnssutil3;-lplds4;-lplc4;-lnspr4;-lsqlite3 -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1") -- Looking for EVP_md2 -- Looking for EVP_md2 - not found CMake Warning at plugins/qca-ossl/CMakeLists.txt:18 (message): qca-ossl will be compiled without MD2 digest algorithm support -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Checking for one of the modules 'libpkcs11-helper-1' Plugins: qca-botan off qca-cyrus-sasl on qca-gcrypt on qca-gnupg on qca-logger on qca-nss on qca-ossl on qca-pkcs11 off qca-softstore on QCA prefix is /usr Plugins will be installed to /usr/lib/qca-qt5 Binary will be installed to /usr/bin Library will be installed to /usr/lib Public headers will be installed to /usr/include/Qca-qt5 Private headers will be installed to /usr/include/Qca-qt5 Feature file will be installed to /usr/mkspecs/features Documentation will be installed to /usr/share/doc/qca-qt5/html Man page will be installed to /usr/share/man Pkg-config file will be installed to /usr/lib/pkgconfig -- Configuring done -- Generating done -- Build files have been written to: /Depot/Temp/rbt/qca-qt5-2.1.0.3/BUILD_DIRECTORY Now running `make` from /Depot/Temp/rbt/qca-qt5-2.1.0.3/BUILD_DIRECTORY/. [ 1%] Generating __/include/QtCrypto/moc_qca_safetimer.cpp [ 1%] Generating qca_cert.moc [ 1%] Generating qca_core.moc [ 2%] Generating qca_default.moc [ 2%] Generating qca_keystore.moc [ 2%] Generating qca_publickey.moc [ 3%] Generating qca_safetimer.moc [ 3%] Generating qca_securelayer.moc [ 4%] Generating qca_securemessage.moc [ 4%] Generating qpipe.moc [ 4%] Generating console.moc [ 5%] Generating synchronizer.moc [ 5%] Generating dirwatch.moc [ 5%] Generating syncthread.moc [ 6%] Generating __/include/QtCrypto/moc_qca_core.cpp [ 6%] Generating __/include/QtCrypto/moc_qca_cert.cpp [ 7%] Generating __/include/QtCrypto/moc_qca_keystore.cpp [ 7%] Generating __/include/QtCrypto/moc_qcaprovider.cpp [ 7%] Generating __/include/QtCrypto/moc_qca_publickey.cpp [ 8%] Generating __/include/QtCrypto/moc_qca_securelayer.cpp [ 8%] Generating __/include/QtCrypto/moc_qca_securemessage.cpp [ 8%] Generating __/include/QtCrypto/moc_qca_support.cpp [ 9%] Generating __/include/QtCrypto/moc_qpipe.cpp [ 9%] Generating moc_qca_safeobj.cpp Scanning dependencies of target qca-qt5 [ 9%] Building CXX object src/CMakeFiles/qca-qt5.dir/qca_cert.cpp.o In file included from /Programs/Gcc/8.2.0/include/c++/8.2.0/x86_64-slackware-linux/bits/os_defines.h:39, from /Programs/Gcc/8.2.0/include/c++/8.2.0/x86_64-slackware-linux/bits/c++config.h:508, from /Programs/Gcc/8.2.0/include/c++/8.2.0/type_traits:38, from /usr/include/QtCore/qglobal.h:45, from /usr/include/QtCore/qchar.h:43, from /usr/include/QtCore/qstring.h:48, from /usr/include/QtCore/qdatetime.h:44, from /usr/include/QtCore/QDateTime:1, from /Depot/Temp/rbt/qca-qt5-2.1.0.3/include/QtCrypto/qca_cert.h:36, from /Depot/Temp/rbt/qca-qt5-2.1.0.3/src/qca_cert.cpp:22: /usr/include/features.h:183:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /Depot/Temp/rbt/qca-qt5-2.1.0.3/include/QtCrypto/qcaprovider.h:37, from /Depot/Temp/rbt/qca-qt5-2.1.0.3/src/qca_cert.cpp:25: /Depot/Temp/rbt/qca-qt5-2.1.0.3/include/QtCrypto/qca_basic.h:325:14: error: 'QIODevice' has not been declared void update(QIODevice *file); ^~~~~~~~~ make[2]: *** [src/CMakeFiles/qca-qt5.dir/build.make:159: src/CMakeFiles/qca-qt5.dir/qca_cert.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/qca-qt5.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 _____ The "RBT::" part is just from my ruby scripts trying to compile it; the problem comes from /usr/include/features.h which is part of my local glibc (slackware; glibc version 2.26) and then the error error: 'QIODevice' has not been declared void update(QIODevice *file); Anyway, I am not sure if the KDE team could or should update qca-qt5, which I guess may be fine too, but perhaps there could be some option to skip qca-qt5 if things can not easily be fixed. Not sure whether plasma-nm would still be useful. I report this just in case - feel free to close this if you wish to. The rest of plasma compiles quite fine for me now. (If there is someone available, perhaps qca-qt5 could or should be moved into the regular KDE release cycles, but I understand that the amount of manpower is not always available; I mostly mean this in regards to fixing any problems, more than adding new functionality or feature, to qca*). Last but not least, my build system: Operating System: GNU/Linux Os Bit Type: x86_64 CPU Model: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G, 2 cores CFLAGS in use: -O2 -fPIC -fno-strict-overflow -Wno-error RAM: 15305224 kB RAM (14946.5 MB) (14.6 Gig) Screen Resolution: 1920x1080 Gcc Version: 8.2.0 Glibc Version: 2.26 Linux Kernel: 4.14.12 Binutils Version: 2.31.1 PS: Actually just noticed ... 5.14.2 is not yet registered in the bug-components, at the least I can not choose it from the dropdown list, only 5.14.1. I thus selected "master", but I would prefer using 5.14.2; I assume this is manually synced. Perhaps if a new kde plasma release happens, the version could be automatically added onto kde-bugzilla so that nobody forgets to update it - or "master" may be correct of course but since the drop down has so many versions listed, I assume it was simply not yet added. Keep on fixing all bugs, compiling the whole KDE suite has gotten simpler for me, compared to e. g. a year ago - cheers! -- You are receiving this mail because: You are watching all bug changes.