Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779103 - app-i18n/xcin-2.5.3_pre3-r3 - /.../ld: cannot find -lXimd
Summary: app-i18n/xcin-2.5.3_pre3-r3 - /.../ld: cannot find -lXimd
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-03-29 15:10 UTC by Toralf Förster
Modified: 2021-05-05 18:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,18.25 KB, text/plain)
2021-03-29 15:10 UTC, Toralf Förster
app-i18n:xcin-2.5.3_pre3-r3:20210329-134247.log (app-i18n:xcin-2.5.3_pre3-r3:20210329-134247.log,74.21 KB, text/plain)
2021-03-29 15:10 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,459.96 KB, text/plain)
2021-03-29 15:10 UTC, Toralf Förster
environment (environment,68.89 KB, text/plain)
2021-03-29 15:10 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.99 KB, application/x-bzip)
2021-03-29 15:10 UTC, Toralf Förster
logs.tar.bz2 (logs.tar.bz2,9.54 KB, application/x-bzip)
2021-03-29 15:10 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,26.69 KB, application/x-bzip)
2021-03-29 15:10 UTC, Toralf Förster
Patch to fix linking with slibtool. (xcin-libtool.patch,1.30 KB, patch)
2021-04-10 23:49 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-29 15:10:45 UTC
rdlibtool: lconf: found "/var/tmp/portage/app-i18n/xcin-2.5.3_pre3-r3/work/xcin-".
rdlibtool: link: x86_64-pc-linux-gnu-gcc xcin_main.o module.o gui.o xim.o xim_IC.o fkey.o gui_main.o gui_menusel.o gui_overspot.o gui_main2.o -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -I../src/include -I.. -I/usr/include -I../src/lib/IMdkit -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib -L/usr/lib64 -L../src/lib/.libs -lXimd -lim_comm -Llib/.libs -lxcin -ldl -lX11 -lXext -ldl -lm -o .libs/xcin -Wl,--export-dynamic
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXimd
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lim_comm
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages).


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210315-144814


gcc-config -l:
 [1] 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
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.50.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   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 12:35:47 UTC 2021

emerge -qpvO app-i18n/xcin
[ebuild  N    ] app-i18n/xcin-2.5.3_pre3-r3  USE="nls -debug (-unicode)"
Comment 1 Toralf Förster gentoo-dev 2021-03-29 15:10:46 UTC
Created attachment 695928 [details]
Comment 2 Toralf Förster gentoo-dev 2021-03-29 15:10:47 UTC
Created attachment 695931 [details]
Comment 3 Toralf Förster gentoo-dev 2021-03-29 15:10:49 UTC
Created attachment 695934 [details]
Comment 4 Toralf Förster gentoo-dev 2021-03-29 15:10:51 UTC
Created attachment 695937 [details]
Comment 5 Toralf Förster gentoo-dev 2021-03-29 15:10:52 UTC
Created attachment 695940 [details]
Comment 6 Toralf Förster gentoo-dev 2021-03-29 15:10:53 UTC
Created attachment 695943 [details]
Comment 7 Toralf Förster gentoo-dev 2021-03-29 15:10:54 UTC
Created attachment 695946 [details]
Comment 8 orbea 2021-04-10 23:49:24 UTC
Created attachment 699099 [details, diff]
Patch to fix linking with slibtool.

I can't find a working upstream so this might be an inactive project, but the attached patch fixes the build.

Linking directly with the static .a libraries instead of the .la libtool archives is not ideal, but since that is what this build system provides it is the easiest method without making bigger changes to the build.
Comment 9 Larry the Git Cow gentoo-dev 2021-05-05 18:51:57 UTC
The bug has been closed via the following commit(s):

commit 17ce5d869e6ffb48d32bb3177fd68effee9bc001
Author:     Lars Wendler <>
AuthorDate: 2021-05-05 14:20:54 +0000
Commit:     Lars Wendler <>
CommitDate: 2021-05-05 18:51:46 +0000

    app-il8n/xcin: Fix for slibtool
    Thanks-to: orbea <>
    Signed-off-by: Lars Wendler <>

 app-i18n/xcin/files/xcin-2.5.3_pre3-slibtool.patch | 37 ++++++++++++++++++++++
 app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild            |  1 +
 2 files changed, 38 insertions(+)