You are not logged in.

#1 2024-07-15 18:38:00

vesse
Member
Registered: 2022-11-17
Posts: 11

[SOLVED] Build failed while linking. How to continue w/o rebuilding ?

$ makepkg
...
[ 96%] Linking CXX shared library ../../lib/libQt5WebKit.so
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
make[2]: *** [Source/WebKit/CMakeFiles/WebKit.dir/build.make:2034: lib/libQt5WebKit.so.5.212.0] Error 1
make[2]: *** Deleting file 'lib/libQt5WebKit.so.5.212.0'
make[1]: *** [CMakeFiles/Makefile2:1839: Source/WebKit/CMakeFiles/WebKit.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

PKGBUILD

Setting:

  • 8GB of RAM, approx. 4GB available

  • 8GB of swap

  • Build directory ~/.cache/yay/qt5-webkit

  • 12GB of free space on /home incl. ~/.cache/yay/qt5-webkit/src size 6GB after build

  • 6GB free space on /

The plan is to free up some disk space and close Firefox while linking.

How to continue with the linking part without rebuilding ?

Last edited by vesse (2024-07-16 10:56:38)


---
Kernel & all systemd & xfce4

Offline

#2 2024-07-15 21:25:57

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: [SOLVED] Build failed while linking. How to continue w/o rebuilding ?

"makepkg -e" and if you want to be extra sure, skip the first cmake call in build() (so only run "cmake --build build", idk. whether the reconfig would trigger any rebuilds)
This should™ quickly skip over the existing objects first and then start the linking.

Have you tried whether the latest version in the ala still works for you?
https://archive.archlinux.org/packages/ … kg.tar.zst

Offline

#3 2024-07-16 10:00:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,196

Re: [SOLVED] Build failed while linking. How to continue w/o rebuilding ?

Also, do you know why/what you still need qt5-webkit for? The last remnant for me was amarok which got ported to webengine eventually, might want to double check with

pactree -r qt5-webkit

so that you're not needlessly building a huge library that no software on your system actually uses anymore.

Offline

#4 2024-07-16 10:43:43

vesse
Member
Registered: 2022-11-17
Posts: 11

Re: [SOLVED] Build failed while linking. How to continue w/o rebuilding ?

seth wrote:

"makepkg -e" and if you want to be extra sure, skip the first cmake call in build() (so only run "cmake --build build", idk. whether the reconfig would trigger any rebuilds)
This should™ quickly skip over the existing objects first and then start the linking.

Have you tried whether the latest version in the ala still works for you?
https://archive.archlinux.org/packages/ … kg.tar.zst

Closing Firefox solved the problem with OOM termination. Still, it was a close call because during linking RAM was 100% full and swap was 90%.

"makepkg -e" and commenting out cmake compilation stage solved this issue. No rebuild was triggered. Thanks !

Stock qt5-webkit works with icu version up to 74. Version 75 requires the compilation of a patched version. Later I saw that the package maintainer had already uploaded the compiled package.

V1del wrote:

Also, do you know why/what you still need qt5-webkit for? The last remnant for me was amarok which got ported to webengine eventually, might want to double check with

pactree -r qt5-webkit

so that you're not needlessly building a huge library that no software on your system actually uses anymore.

My last remnant is Nixnote2.


---
Kernel & all systemd & xfce4

Offline

Board footer

Powered by FluxBB