Package Details: kdelibs 4.14.38-7

Git Clone URL: https://aur.archlinux.org/kdelibs.git (read-only, click to copy)
Package Base: kdelibs
Description: KDE Core Libraries
Upstream URL: https://www.kde.org/
Licenses: GPL, LGPL, FDL
Conflicts: arrow
Submitter: arojas
Maintainer: None
Last Packager: kugland
Votes: 16
Popularity: 0.001330
First Submitted: 2018-08-24 06:43 (UTC)
Last Updated: 2023-08-02 18:40 (UTC)

Latest Comments

1 2 3 4 Next › Last »

FabioLolix commented on 2023-08-16 21:31 (UTC)

Hello,

  • fails to build with devtools (+ local repo) for missing pcre
-- Looking for isinf - found
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY PCRE_PCREPOSIX_LIBRARY) 
CMake Error at kjs/CMakeLists.txt:75 (message):

fbrennan commented on 2023-06-25 23:53 (UTC)

Thanks dreieck. Your patch works for me! :-)

dreieck commented on 2023-02-27 23:45 (UTC) (edited on 2023-02-28 00:16 (UTC) by dreieck)

I found a fix for the undefined reference to `jp2_encode' error.

↗ Here is described what the problem is: The jp2_* functions in jasper internal functions that should not be called, and in some version of jasper they stopped to be exported.

↗ This patch for Digikam gives an inspiration on how to solve it.

This resulted in ↗ this patch for kdelibs that makes kdelibs compile again:

diff -r -U0 kdelibs-4.14.38.orig/kimgio/jp2.cpp kdelibs-4.14.38.patched/kimgio/jp2.cpp
--- kdelibs-4.14.38.orig/kimgio/jp2.cpp 2017-11-05 02:51:22.000000000 +0100
+++ kdelibs-4.14.38.patched/kimgio/jp2.cpp  2023-02-27 14:43:31.139956360 +0100
@@ -388 +388 @@
-        int i = jp2_encode( ji, stream, rateBuffer);
+        int i = jas_image_encode(ji, stream, -1, rateBuffer);

A fixed PKGBUILD is ↗ here, and a diff to the current PKGBUILD ↗ here:

--- PKGBUILD.org    2023-02-28 00:42:48.529894131 +0100
+++ PKGBUILD    2023-02-28 01:12:27.739838476 +0100
@@ -7,5 +7,5 @@
 pkgver=4.14.38
 _kdeappver=17.08.3
-pkgrel=5
+pkgrel=6
 pkgdesc="KDE Core Libraries"
 arch=('x86_64')
@@ -17,8 +17,10 @@
         'media-player-info' 'libutempter' 'icu')
 makedepends=('cmake' 'automoc4' 'avahi' 'libgl' 'mesa')
+conflicts=('arrow') # 'arrow' also installs a -- unrelated but same name -- file /usr/lib/libplasma.so
 source=("https://download.kde.org/stable/applications/${_kdeappver}/src/$pkgname-$pkgver.tar.xz"
         'kde-applications-menu.patch' 'archlinux-menu.patch' 'qt4.patch'
         'kdelibs-no-kdewebkit.patch' 'kdelibs-openssl-1.1.patch'
-        'patch-klocale-kde.cpp.patch' 'ordered.patch')
+        'patch-klocale-kde.cpp.patch' 'ordered.patch'
+        'use-only-exported-libjasper-functions.patch')
 sha256sums=('37fd43a34e8118406e03a5d0e53f4a03c8aa50b219e8484a5d42349dc0f2c3fe'
             '0eed754cf3e9f41be5ea22314bf49cf5571b421d81b8f525287830bd1b9b684e'
@@ -28,5 +30,6 @@
             '42f86279515bead6e9f89b1fc3ea58e0a648d41fae343de95297f995dedcdd71'
             'e2e7cf3fe5c82d18609d51d4d224c17a55b0bac77c1fce5e32296381d34a14fa'
-            '7b621b8c72ffd662e933601dc6cd7638270cfa2d6d36e0f2deb682dd37c442bd')
+            '7b621b8c72ffd662e933601dc6cd7638270cfa2d6d36e0f2deb682dd37c442bd'
+            'ca716ab3a6a4883654dafaec4ecf928d4fd5f063e67f2fdb4bf9cbbd88dd47b3')

 prepare() {
@@ -47,4 +50,6 @@
   # fix error: ordered comparison of pointer with integer zero 
   patch -p1 -i ../ordered.patch
+  # fix error "undefined reference to `jp2_encode'". For background see https://github.com/mxe/mxe/issues/1896#issuecomment-334296523, patch is inspired by https://invent.kde.org/graphics/digikam/-/commit/56ba3493e4b06ba43546c87dec09f0e2cd42acc5.
+  patch -p1 -i ../use-only-exported-libjasper-functions.patch
 }

That fixed PKGBUILD works for me, finally!
And it has also included ↗ conflicts=('arrow').

I suggest adding this fix.


I still get several messages

Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)"`

during build, but they do not seem to break the build. When launching a programme that needs kdelibs this error is printed as well, but the programme launches. (Tested with kvirtual.)


Thanks for maintaining,
regards!

dreieck commented on 2023-02-27 10:12 (UTC)

Conflicts with community/arrow (report for community/arrow ↗ here):

arrow: /usr/lib/libplasma.so exists in filesystem (owned by kdelibs)

Since ↗ "Arrow's use of plasma is unrelated to KDE", arrow needs to be added to the conflicts array of kdelibs.

Thanks for maintaining,
Regards!

micwoj92 commented on 2022-09-13 23:52 (UTC)

Is anyone actually using this or interested in maintaining? I previously submitted 2 deletion requests which were rejected, then I searched internet for some patches, but now I don't know how to make it build. I think it is time to finally delete this as noone with c++ knowledge has stepped in to maintain.

dreieck commented on 2022-07-14 11:09 (UTC) (edited on 2022-07-14 11:09 (UTC) by dreieck)

Build fails for me while trying to link to icui18n (package icu version 71.1-1 is installed, ls /usr/lib/libicui18n.so* shows /usr/lib/libicui18n.so /usr/lib/libicui18n.so.71 /usr/lib/libicui18n.so.71.1):
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)

Full make output (second run of make):

<details>
[  0%] Built target kdefakes
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  0%] Built target kdecore_automoc
[  0%] Building CXX object kdecore/CMakeFiles/kdecore.dir/kdecore_automoc.cpp.o
In file included from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/QObject:1,
                 from /[...]/kdelibs/src/build/kdecore/../../kdelibs-4.14.38/kdecore/auth/HelperProxy.h:23,
                 from /[...]/kdelibs/src/build/kdecore/moc_HelperProxy.cpp:9,
                 from /[...]/kdelibs/src/build/kdecore/kdecore_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h: In member function ‘int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const’:
/usr/include/qt4/QtCore/qstring.h:1254:33: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy]
 1254 | { return QString::compare_helper(constData(), length(), s, cs); }
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt4/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’
  658 |     inline QLatin1String &operator=(const QLatin1String &other)
      |                           ^~~~~~~~
/usr/include/qt4/QtCore/qstring.h:634:45: note:   initializing argument 3 of ‘static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)’
  634 |                               QLatin1String s2,
      |                               ~~~~~~~~~~~~~~^~
/usr/include/qt4/QtCore/qstring.h: In static member function ‘static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)’:
/usr/include/qt4/QtCore/qstring.h:1260:33: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy]
 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); }
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt4/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’
  658 |     inline QLatin1String &operator=(const QLatin1String &other)
      |                           ^~~~~~~~
/usr/include/qt4/QtCore/qstring.h:634:45: note:   initializing argument 3 of ‘static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)’
  634 |                               QLatin1String s2,
      |                               ~~~~~~~~~~~~~~^~
/usr/include/qt4/QtCore/qstring.h: In member function ‘QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const’:
/usr/include/qt4/QtCore/qstring.h:1278:23: warning: implicitly-declared ‘constexpr QLatin1String::QLatin1String(const QLatin1String&)’ is deprecated [-Wdeprecated-copy]
 1278 | { return QBool(indexOf(s, 0, cs) != -1); }
      |                ~~~~~~~^~~~~~~~~~
/usr/include/qt4/QtCore/qstring.h:658:27: note: because ‘QLatin1String’ has user-provided ‘QLatin1String& QLatin1String::operator=(const QLatin1String&)’
  658 |     inline QLatin1String &operator=(const QLatin1String &other)
      |                           ^~~~~~~~
/usr/include/qt4/QtCore/qstring.h:1125:31: note:   initializing argument 1 of ‘int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const’
 1125 |     int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
      |                 ~~~~~~~~~~~~~~^~~
In file included from /usr/include/qt4/QtCore/qnamespace.h:45,
                 from /usr/include/qt4/QtCore/qobjectdefs.h:45,
                 from /usr/include/qt4/QtCore/qobject.h:47:
/usr/include/qt4/QtCore/qglobal.h: In instantiation of ‘void qSwap(T&, T&) [with T = QVariant::Private]’:
/usr/include/qt4/QtCore/qvariant.h:224:12:   required from here
/usr/include/qt4/QtCore/qglobal.h:2300:12: warning: implicitly-declared ‘constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)’ is deprecated [-Wdeprecated-copy]
 2300 |     value1 = value2;
      |     ~~~~~~~^~~~~~~~
In file included from /usr/include/qt4/QtCore/QVariant:1,
                 from /[...]/kdelibs/src/build/kdecore/../../kdelibs-4.14.38/kdecore/auth/HelperProxy.h:26:
/usr/include/qt4/QtCore/qvariant.h:354:16: note: because ‘QVariant::Private’ has user-provided ‘QVariant::Private::Private(const QVariant::Private&)’
  354 |         inline Private(const Private &other)
      |                ^~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2301:12: warning: implicitly-declared ‘constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)’ is deprecated [-Wdeprecated-copy]
 2301 |     value2 = t;
      |     ~~~~~~~^~~
/usr/include/qt4/QtCore/qvariant.h:354:16: note: because ‘QVariant::Private’ has user-provided ‘QVariant::Private::Private(const QVariant::Private&)’
  354 |         inline Private(const Private &other)
      |                ^~~~~~~
[  0%] Linking CXX shared library ../lib/libkdecore.so
lto-wrapper: warning: using serial compilation of 41 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
/[...]/kdelibs/src/kdelibs-4.14.38/kdecore/localization/klocale_kde.cpp: In member function ‘formatLocaleTime’:
/[...]/kdelibs/src/kdelibs-4.14.38/kdecore/localization/klocale_kde.cpp:2370:56: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
 2370 |     QChar *buffer = new QChar[rst.length() * 3 / 2 + 32];
      |                                                        ^
/usr/include/c++/12.1.0/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                          ^
[  7%] Built target kdecore
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  7%] Built target kauth-policy-gen_automoc
Consolidate compiler generated dependencies of target kauth-policy-gen
[  7%] Built target kauth-policy-gen
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  7%] Built target kauth_backend_plugin_automoc
Consolidate compiler generated dependencies of target kauth_backend_plugin
[  7%] Linking CXX shared module ../lib/kauth_backend_plugin.so
[  7%] Built target kauth_backend_plugin
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  7%] Built target kauth_helper_plugin_automoc
Consolidate compiler generated dependencies of target kauth_helper_plugin
[  7%] Linking CXX shared module ../lib/kauth_helper_plugin.so
[  9%] Built target kauth_helper_plugin
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  9%] Built target kde4-config_automoc
Consolidate compiler generated dependencies of target kde4-config
[  9%] Linking CXX executable ../bin/kde4-config
[  9%] Built target kde4-config
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  9%] Built target kjs_automoc
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[  9%] Built target icemaker_automoc
Consolidate compiler generated dependencies of target icemaker
[  9%] Built target icemaker
Consolidate compiler generated dependencies of target kjs
[ 12%] Built target kjs
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target ktranscript_automoc
Consolidate compiler generated dependencies of target ktranscript
[ 12%] Built target ktranscript
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target kconfig_compiler_automoc
Consolidate compiler generated dependencies of target kconfig_compiler
[ 12%] Built target kconfig_compiler
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target klibloadertestmodule_automoc
Consolidate compiler generated dependencies of target klibloadertestmodule
[ 12%] Linking CXX shared module ../../lib/klibloadertestmodule.so
[ 12%] Built target klibloadertestmodule
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target klibloadertestmodule4_automoc
Consolidate compiler generated dependencies of target klibloadertestmodule4
[ 12%] Linking CXX shared module ../../lib/klibloadertestmodule4.so
[ 12%] Built target klibloadertestmodule4
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target kded_kssld_automoc
Consolidate compiler generated dependencies of target kded_kssld
[ 12%] Linking CXX shared module ../../../lib/kded_kssld.so
[ 12%] Built target kded_kssld
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 12%] Built target kdeui_automoc
Consolidate compiler generated dependencies of target kdeui
[ 12%] Linking CXX shared library ../lib/libkdeui.so
lto-wrapper: warning: using serial compilation of 59 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
/[...]/kdelibs/src/kdelibs-4.14.38/kdeui/windowmanagement/netwm.cpp: In function ‘nwindup’:
/[...]/kdelibs/src/kdelibs-4.14.38/kdeui/windowmanagement/netwm.cpp:189:30: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  189 |     Window *w2 = new Window[n];
      |                              ^
/usr/include/c++/12.1.0/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                          ^
[ 24%] Built target kdeui
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kcolorutilsdemo_automoc
Consolidate compiler generated dependencies of target kcolorutilsdemo
[ 24%] Linking CXX executable kcolorutilsdemo
[ 24%] Built target kcolorutilsdemo
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target proxymodeltestsuite_automoc
[ 24%] Built target proxymodeltestsuite
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kpty_automoc
Consolidate compiler generated dependencies of target kpty
[ 24%] Linking CXX shared library ../lib/libkpty.so
[ 24%] Built target kpty
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kdesu_automoc
Consolidate compiler generated dependencies of target kdesu
[ 24%] Linking CXX shared library ../lib/libkdesu.so
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 24%] Built target kdesu
[ 24%] Built target kdesu_stub
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kjs_bin_automoc
Consolidate compiler generated dependencies of target kjs_bin
[ 24%] Built target kjs_bin
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kjsapi_automoc
Consolidate compiler generated dependencies of target kjsapi
[ 24%] Linking CXX shared library ../../lib/libkjsapi.so
[ 24%] Built target kjsapi
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 24%] Built target kjsembed_automoc
Consolidate compiler generated dependencies of target kjsembed
[ 24%] Linking CXX shared library ../../lib/libkjsembed.so
lto-wrapper: warning: using serial compilation of 7 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 26%] Built target kjsembed
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 26%] Built target kjscmd_automoc
Consolidate compiler generated dependencies of target kjscmd
[ 26%] Linking CXX executable ../../bin/kjscmd
[ 26%] Built target kjscmd
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 26%] Built target solid_automoc
[ 33%] Built target solid
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 33%] Built target kio_automoc
Consolidate compiler generated dependencies of target kio
[ 33%] Linking CXX shared library ../lib/libkio.so
lto-wrapper: warning: using serial compilation of 34 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 40%] Built target kio
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 40%] Built target kcm_ssl_automoc
Consolidate compiler generated dependencies of target kcm_ssl
[ 40%] Linking CXX shared module ../../../lib/kcm_ssl.so
[ 41%] Built target kcm_ssl
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target kmailservice_automoc
Consolidate compiler generated dependencies of target kmailservice
[ 41%] Linking CXX executable ../../bin/kmailservice
[ 41%] Built target kmailservice
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target ktelnetservice_automoc
Consolidate compiler generated dependencies of target ktelnetservice
[ 41%] Linking CXX executable ../../bin/ktelnetservice
[ 41%] Built target ktelnetservice
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target ksendbugmail_automoc
Consolidate compiler generated dependencies of target ksendbugmail
[ 41%] Linking CXX executable ../../../bin/ksendbugmail
[ 41%] Built target ksendbugmail
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target kded_proxyscout_automoc
Consolidate compiler generated dependencies of target kded_proxyscout
[ 41%] Linking CXX shared module ../../../lib/kded_proxyscout.so
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 41%] Built target kded_proxyscout
[ 41%] Built target kpac_dhcp_helper
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target kntlm_automoc
Consolidate compiler generated dependencies of target kntlm
[ 41%] Linking CXX shared library ../../../lib/libkntlm.so
[ 41%] Built target kntlm
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 41%] Built target solid_static_automoc
[ 47%] Built target solid_static
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target halbasictest_automoc
Consolidate compiler generated dependencies of target halbasictest
[ 47%] Built target halbasictest
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target kdeinit_kded4_automoc
Consolidate compiler generated dependencies of target kdeinit_kded4
[ 47%] Linking CXX shared library ../lib/libkdeinit4_kded4.so
[ 47%] Built target kdeinit_kded4
Consolidate compiler generated dependencies of target kded4
[ 47%] Linking CXX executable ../bin/kded4
[ 47%] Built target kded4
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target kdeinit_kbuildsycoca4_automoc
Consolidate compiler generated dependencies of target kdeinit_kbuildsycoca4
[ 47%] Linking CXX shared library ../lib/libkdeinit4_kbuildsycoca4.so
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 47%] Built target kdeinit_kbuildsycoca4
Consolidate compiler generated dependencies of target kbuildsycoca4
[ 47%] Linking CXX executable ../bin/kbuildsycoca4
[ 47%] Built target kbuildsycoca4
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target kparts_automoc
Consolidate compiler generated dependencies of target kparts
[ 47%] Linking CXX shared library ../lib/libkparts.so
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 47%] Built target kparts
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target kde3support_automoc
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 47%] Built target kfile_automoc
Consolidate compiler generated dependencies of target kfile
[ 47%] Linking CXX shared library ../lib/libkfile.so
lto-wrapper: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 49%] Built target kfile
Consolidate compiler generated dependencies of target kde3support
[ 50%] Linking CXX shared library ../lib/libkde3support.so
lto-wrapper: warning: using serial compilation of 11 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
[ 52%] Built target kde3support
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kunittest_automoc
Consolidate compiler generated dependencies of target kunittest
[ 52%] Linking CXX shared library ../../lib/libkunittest.so
[ 52%] Built target kunittest
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kunittestmodrunner_automoc
Consolidate compiler generated dependencies of target kunittestmodrunner
[ 52%] Linking CXX executable ../../bin/kunittestmodrunner
[ 52%] Built target kunittestmodrunner
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kfilemodule_automoc
Consolidate compiler generated dependencies of target kfilemodule
[ 52%] Linking CXX shared module ../lib/kfilemodule.so
[ 52%] Built target kfilemodule
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kdeinit_kconf_update_automoc
Consolidate compiler generated dependencies of target kdeinit_kconf_update
[ 52%] Linking CXX shared library ../lib/libkdeinit4_kconf_update.so
[ 52%] Built target kdeinit_kconf_update
Consolidate compiler generated dependencies of target kconf_update
[ 52%] Linking CXX executable ../bin/kconf_update
[ 52%] Built target kconf_update
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kio_help_automoc
Consolidate compiler generated dependencies of target kio_help
[ 52%] Linking CXX shared module ../lib/kio_help.so
[ 52%] Built target kio_help
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target kio_ghelp_automoc
Consolidate compiler generated dependencies of target kio_ghelp
[ 52%] Linking CXX shared module ../lib/kio_ghelp.so
[ 52%] Built target kio_ghelp
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
[ 52%] Built target docbookl10nhelper_automoc
Consolidate compiler generated dependencies of target docbookl10nhelper
[ 52%] Linking CXX executable ../bin/docbookl10nhelper
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
"/usr/bin/common/l10n.xml"  not found 
make[2]: *** [kdoctools/CMakeFiles/docbookl10nhelper.dir/build.make:116: bin/docbookl10nhelper] Error 1
make[2]: *** Deleting file 'bin/docbookl10nhelper'
make[1]: *** [CMakeFiles/Makefile2:22159: kdoctools/CMakeFiles/docbookl10nhelper.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
</details>

MarsSeed commented on 2022-06-28 21:19 (UTC)

Hi,

I don't know the exact reason, but build fails during linking some objects due to 'undefined reference':

[ 33%] Linking CXX shared library ../../lib/libkjsembed.so
/usr/bin/ld: CMakeFiles/kjsembed.dir/qwidget_binding.cpp.o: in function `KJSEmbed::uiLoader()':
qwidget_binding.cpp:(.text+0x33): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `KJSEmbed::UiLoaderBinding::bindMethod(KJS::ExecState*, PointerBase&)':
quiloader_binding.cpp:(.text+0x5c): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::pluginPaths(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x102): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: quiloader_binding.cpp:(.text+0x123): undefined reference to `QUiLoader::pluginPaths() const'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::createLayout(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x479): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::createActionGroup(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x969): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::createAction(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0xd59): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `KJSEmbed::UiLoaderBinding::ctorMethod(KJS::ExecState*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x11e2): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: quiloader_binding.cpp:(.text+0x121d): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::createWidget(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x1319): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: CMakeFiles/kjsembed.dir/quiloader_binding.cpp.o: in function `UiLoaderNS::load(KJS::ExecState*, KJS::JSObject*, KJS::List const&)':
quiloader_binding.cpp:(.text+0x1809): undefined reference to `QUiLoader::staticMetaObject'
/usr/bin/ld: quiloader_binding.cpp:(.text+0x1bfe): undefined reference to `QUiLoader::load(QIODevice*, QWidget*)'
collect2: error: ld returned 1 exit status

[ 34%] Linking CXX shared module ../lib/kimg_jp2.so
/usr/bin/ld: /tmp/ccL0qBEY.ltrans0.ltrans.o: in function `JP2Handler::write(QImage const&)':
<artificial>:(.text+0x5dc): undefined reference to `jp2_encode'
collect2: error: ld returned 1 exit status

sl1pkn07 commented on 2022-02-12 17:24 (UTC)

please update the source url to https://mirrors.up.pt/pub/kde/Attic/applications/17.08.3/src/kdelibs-4.14.38.tar.xz for example, if not fails about curl: (16) Error in the HTTP2 framing layer