Project

General

Profile

Bug #3538

[qt5-webkit] [kdevelop] can't compile kdevelop

SolveFinder - 7 months ago - . Updated 7 months ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

0%


Description

I'm on x86_64 architecture.

  • steps to reproduce:
    1) # pacman -Syu
    2) $ sudo pacman -Sy kdevelop --assume-installed clang=14.0.6; kdevelop
  • expected result:
    kdevelop would start as expected
  • actual result:
    kdevelop crashed

After that I tried to compile kdevelop by combining parabola and arch PKGBUILD (file 1):

/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `uset_openPattern_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `unum_open_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `uenum_close_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `ubrk_getRuleStatus_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `u_memcasecmp_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `u_errorName_72'
/usr/bin/ld: /usr/lib/libQt5WebKit.so.5: undefined reference to `uset_addAll_72'

The solution for these errors is to rebuild qt5-webkit with the build recipe from abslibre [1] and after that kdevelop
compiles fine with makepkg (also compiles with libretools if newly compiled qt5-webkit is installed).

qt5-webkit compiles fine with libretools on x86_64
kdevelop compiles fine with libretools on x86_64

I hope that's helpful.

[1] https://git.parabola.nu/abslibre.git/tree/libre/qt5-webkit


Files

PKGBUILD (2.56 KB) PKGBUILD New PKGBUILD for kdevelop SolveFinder, 2023-10-01 09:36 AM
0001-Update-libre-kdevelop-to-23.08.1.patch (3.4 KB) 0001-Update-libre-kdevelop-to-23.08.1.patch patch file to update PKGBUILD for libre/kdevelop SolveFinder, 2023-10-01 09:38 AM

History

#1

Updated by bill-auger 7 months ago

'qt5-webkit' should not need rebuilding now - it is pinned to 'qt5-base' and needs rebuilding each time 'qt5-base' rolls forward

'--assume-installed' should never be in the "steps to reproduce:" - that is a workaround, which is never the recommended procedure - did you try rebuilding only 'kdevelop'?

i will set this to 'confirmed' because 'kdevelop' needs an upgrade - i think this bug is:

[kdevelop]: needs upgrade (cannot resolve "clang=14.0.6")

#2

Updated by bill-auger 7 months ago

  • Status changed from unconfirmed to confirmed
#3

Updated by bill-auger 7 months ago

ok i think 'qt5-webkit' does need a rebuild against the latest 'icu', and be pinned to it for the future - i did not notice because i have 'icu-compat' installed

on my system, it is linking to 'icu' v72 and v73

$ ldd /usr/lib/libQt5WebKit.so.5 | grep icu
    libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x00007ff8c1400000)
    libicui18n.so.72 => /usr/lib/libicui18n.so.72 (0x00007ff8c1000000)
    libicudata.so.72 => /usr/lib/libicudata.so.72 (0x00007ff8bce00000)
    libicuuc.so.73 => /usr/lib/libicuuc.so.73 (0x00007ff8bca00000)
    libicui18n.so.73 => /usr/lib/libicui18n.so.73 (0x00007ff8bbe00000)
    libicudata.so.73 => /usr/lib/libicudata.so.73 (0x00007ff8b9e00000)

#4

Updated by SolveFinder 7 months ago

did you try rebuilding only 'kdevelop'?

As I wrote, kdevelop can't be compiled with an up-to-date PKGBUILD (provided
as file) and current version of qt5-webkit, due to /usr/bin/ld errors in cmake.

I was able to compile kdevelop only after compiling and installing qt5-webkit.

Neither build recipe from arch nor mine can't be compiled with qt5-webkit from repos (x86_64).

#5

Updated by bill-auger 7 months ago

  • Assignee set to bill-auger
  • Status changed from confirmed to fixed

Also available in: Atom PDF