/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/im_scim_bridge_la-scim-bridge-client-key-event-utility-gtk.o: in function `scim_bridge_key_event_gdk_to_bridge': scim-bridge-client-key-event-utility-gtk.c:(.text+0x2d1): undefined reference to `XGetKeyboardMapping' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: scim-bridge-client-key-event-utility-gtk.c:(.text+0x2f0): undefined reference to `XFree' collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages). ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-20210315-143628 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.17.1 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] 4) OpenJDK 8.282_p08 [openjdk-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] jamvm [4] openjdk-8 [5] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 29 15:50:50 UTC 2021 emerge -qpvO app-i18n/scim-bridge [ebuild N ] app-i18n/scim-bridge-0.4.16-r3 USE="gtk -doc"
Created attachment 696012 [details] emerge-info.txt
Created attachment 696015 [details] app-i18n:scim-bridge-0.4.16-r3:20210329-160245.log
Created attachment 696018 [details] emerge-history.txt
Created attachment 696021 [details] environment
Created attachment 696024 [details] etc.portage.tar.bz2
Created attachment 696027 [details] logs.tar.bz2
Created attachment 696030 [details] temp.tar.bz2
I ran into an unrelated bug. scim-bridge-agent-signal-listener.cpp: In function ‘void sig_quit(int)’: scim-bridge-agent-signal-listener.cpp:67:24: error: invalid conversion from ‘char’ to const void*’ [-fpermissive] 67 | send (pipe_in, '\0', sizeof (char), MSG_NOSIGNAL); | ^~~~ | | | char In file included from scim-bridge-agent-signal-listener.cpp:27: /usr/include/sys/socket.h:138:44: note: initializing argument 2 of ‘ssize_t send(int, const void*, size_t, int)’ 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ~~~~~~~~~~~~^~~~~ make[2]: *** [Makefile:666: scim_bridge-scim-bridge-agent-signal-listener.o] Error 1
Since upstream seems dead and the build fails for unrelated issues I probably won't look into this unless someone cares enough to fix the compile issues, but for the record its probably missing something like -lX11.
Upstream patch: https://sourceforge.net/p/scim/patches/15/
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9471a43212eb183e3880f832d70e81f8046a7980 commit 9471a43212eb183e3880f832d70e81f8046a7980 Author: orbea <orbea@riseup.net> AuthorDate: 2022-05-15 18:01:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-15 22:09:43 +0000 app-i18n/scim-bridge: Fix undefined references With slibtool the gtk+2 build fails with undefined references for -lx11 which is missing entirely. GNU libtool silently hides the bug by ignoring -no-undefined while slibtool does not do this. Bug: https://bugs.gentoo.org/779121 Upstream-PR: https://sourceforge.net/p/scim/patches/15/ Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25505 Signed-off-by: Sam James <sam@gentoo.org> .../files/scim-bridge-0.4.16-slibtool.patch | 58 ++++++++++++++++++++++ app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild | 1 + 2 files changed, 59 insertions(+)