Public bug reported: Trying to compile weechat from source:
root@voltron ~/weechat/build # cmake .. -DCMAKE_BUILD_TYPE=Debug -- Checking for one of the modules 'php8;php7' -- Configuring done -- Generating done -- Build files have been written to: /root/weechat/build ======================================================== root@voltron ~/weechat/build # make -j7 Consolidate compiler generated dependencies of target buflist Consolidate compiler generated dependencies of target weechat_plugins_scripts Consolidate compiler generated dependencies of target alias Consolidate compiler generated dependencies of target weechat_plugins Consolidate compiler generated dependencies of target charset File config-git.h is up-to-date (git version: "v4.2.0-194-gf3f9dc388") [ 4%] Built target translations [ 4%] Built target version_git Consolidate compiler generated dependencies of target exec Consolidate compiler generated dependencies of target fifo [ 5%] Built target weechat_plugins_scripts [ 7%] Built target weechat_plugins [ 9%] Built target exec [ 11%] Built target alias [ 13%] Built target buflist Consolidate compiler generated dependencies of target logger Consolidate compiler generated dependencies of target fset Consolidate compiler generated dependencies of target irc Consolidate compiler generated dependencies of target script Consolidate compiler generated dependencies of target relay [ 16%] Built target logger Consolidate compiler generated dependencies of target perl [ 17%] Built target perl Consolidate compiler generated dependencies of target python [ 18%] Built target python Consolidate compiler generated dependencies of target ruby [ 22%] Built target script [ 24%] Built target ruby [ 37%] Built target irc [ 42%] Built target relay Consolidate compiler generated dependencies of target tcl Consolidate compiler generated dependencies of target lua [ 43%] Built target charset Consolidate compiler generated dependencies of target guile Consolidate compiler generated dependencies of target php Consolidate compiler generated dependencies of target spell [ 45%] Built target tcl [ 45%] Built target lua [ 46%] Built target guile Consolidate compiler generated dependencies of target trigger Consolidate compiler generated dependencies of target typing Consolidate compiler generated dependencies of target xfer [ 49%] Built target spell [ 50%] Built target php [ 51%] Built target typing [ 54%] Built target trigger Consolidate compiler generated dependencies of target weechat_gui_curses_normal Consolidate compiler generated dependencies of target weechat_gui_common Consolidate compiler generated dependencies of target weechat_gui_headless Consolidate compiler generated dependencies of target weechat_ncurses_fake [ 60%] Built target xfer [ 60%] Built target weechat_ncurses_fake [ 63%] Built target fset [ 65%] Built target fifo [ 68%] Built target weechat_gui_headless [ 71%] Built target weechat_gui_curses_normal [ 80%] Built target weechat_gui_common Consolidate compiler generated dependencies of target weechat_core [ 98%] Built target weechat_core Consolidate compiler generated dependencies of target weechat Consolidate compiler generated dependencies of target weechat-headless [100%] Linking C executable weechat [100%] Linking C executable weechat-headless /usr/bin/ld: error: /lib/x86_64-linux-gnu/libkeyutils.so.1: file too short collect2: error: ld returned 1 exit status make[2]: *** [src/gui/curses/headless/CMakeFiles/weechat-headless.dir/build.make:109: src/gui/curses/headless/weechat-headless] Error 1 make[1]: *** [CMakeFiles/Makefile2:1952: src/gui/curses/headless/CMakeFiles/weechat-headless.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: error: /lib/x86_64-linux-gnu/libkeyutils.so.1: file too short collect2: error: ld returned 1 exit status make[2]: *** [src/gui/curses/normal/CMakeFiles/weechat.dir/build.make:108: src/gui/curses/normal/weechat] Error 1 make[1]: *** [CMakeFiles/Makefile2:1870: src/gui/curses/normal/CMakeFiles/weechat.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ###################################################################### Reinstalling libkeyutils1 with `apt install --reinstall libkeyutils1`: root@voltron ~ # apt install --reinstall libkeyutils1 Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 10.4 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://mirror.hetzner.com/ubuntu/packages jammy/main amd64 libkeyutils1 amd64 1.6.1-2ubuntu3 [10.4 kB] Fetched 10.4 kB in 0s (129 kB/s) (Reading database ... 209307 files and directories currently installed.) Preparing to unpack .../libkeyutils1_1.6.1-2ubuntu3_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.1-2ubuntu3) over (1.6.1-2ubuntu3) ... dpkg: warning: symbolic link '/lib/x86_64-linux-gnu/libkeyutils.so.1' size has changed from 20 to 18 Setting up libkeyutils1:amd64 (1.6.1-2ubuntu3) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Scanning processes... Scanning candidates... Scanning processor microcode... Scanning linux images... The processor microcode seems to be up-to-date. Restarting services... systemctl restart apache2.service coturn.service fwupd.service icecast2.service packagekit.service postgresql@14-main.service ssh.service Service restarts being deferred: /etc/needrestart/restart.d/dbus.service systemctl restart getty@tty1.service systemctl restart networkd-dispatcher.service systemctl restart systemd-logind.service systemctl restart unattended-upgrades.service systemctl restart user@0.service systemctl restart user@1000.service systemctl restart user@1001.service systemctl restart user@1002.service systemctl restart user@1003.service systemctl restart user@1005.service systemctl restart user@1006.service systemctl restart user@1007.service systemctl restart user@1008.service systemctl restart user@1009.service systemctl restart user@1010.service systemctl restart user@1014.service systemctl restart user@1015.service systemctl restart user@1017.service systemctl restart user@1021.service systemctl restart user@1023.service systemctl restart user@1024.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ========================================================================== root@voltron ~ # ls -l /usr/lib/x86_64-linux-gnu/libkeyutils.so.1* lrwxrwxrwx 1 root root 20 Apr 2 15:02 /usr/lib/x86_64-linux-gnu/libkeyutils.so.1 -> libkeyutils.so.1.9 -rw-r--r-- 1 root root 22600 Feb 28 2022 /usr/lib/x86_64-linux-gnu/libkeyutils.so.1.9 ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: libkeyutils1 1.6.1-2ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-100.110-generic 5.15.143 Uname: Linux 5.15.0-100-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: unknown Date: Tue Apr 2 15:08:59 2024 SourcePackage: keyutils UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: keyutils (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060034 Title: /usr/bin/ld: error: /lib/x86_64-linux-gnu/libkeyutils.so.1: file too short To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keyutils/+bug/2060034/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs