Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913681 - xfce-extra/xfce4-kbdleds-plugin-0.2.3 - [slibtool] xkbleds.c:(.text+<snip>): undefined reference to XOpenDisplay
Summary: xfce-extra/xfce4-kbdleds-plugin-0.2.3 - [slibtool] xkbleds.c:(.text+<snip>): ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL: https://github.com/oco2000/xfce4-kbdl...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-05 09:31 UTC by Toralf Förster
Modified: 2024-03-21 05:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.46 KB, text/plain)
2023-09-05 09:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,128.04 KB, text/plain)
2023-09-05 09:31 UTC, Toralf Förster
Details
environment (environment,27.00 KB, text/plain)
2023-09-05 09:31 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-05 09:31 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.87 KB, application/x-xz)
2023-09-05 09:31 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.79 KB, application/x-xz)
2023-09-05 09:31 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,12.08 KB, application/x-xz)
2023-09-05 09:31 UTC, Toralf Förster
Details
xfce-extra:xfce4-kbdleds-plugin-0.2.3:20230905-084026.log (xfce-extra:xfce4-kbdleds-plugin-0.2.3:20230905-084026.log,40.02 KB, text/plain)
2023-09-05 09:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-05 09:31:25 UTC
too long lines were shrinked:

rdlibtool: link: ln -s libkbdleds.so.def .libs/libkbdleds.so.def.linux
rdlibtool: link: ln -s libkbdleds.so.def.linux .libs/libkbdleds.so.def.host
rdlibtool: link: ln -s /dev/null .libs/libkbdleds.a.disabled
rdlibtool: link: ln -s /usr/lib64/xfce4/panel/plugins .libs/libkbdleds.so.slibtool.rpath
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/libkbdleds_la-kbdleds.o .libs/libkbdleds_la-xkbleds.o .libs/libkbdleds_la-kbdleds-dialogs.o -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/xfce4 -I/usr/
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libkbdleds_la-xkbleds.o: in function `xkbleds_get_state':
xkbleds.c:(.text+0x9): undefined reference to `XOpenDisplay'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: xkbleds.c:(.text+0x33): undefined reference to `XkbGetIndicatorState'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: xkbleds.c:(.text+0x43): undefined reference to `XCloseDisplay'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20230903-215513

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit aa48a43144baa4429948c798be14c96520ca7ab1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 5 06:46:49 2023 +0000

    2023-09-05 06:46:48 UTC

emerge -qpvO xfce-extra/xfce4-kbdleds-plugin
[ebuild  N    ] xfce-extra/xfce4-kbdleds-plugin-0.2.3
Comment 1 Toralf Förster gentoo-dev 2023-09-05 09:31:26 UTC
Created attachment 869829 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-05 09:31:27 UTC
Created attachment 869830 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-05 09:31:28 UTC
Created attachment 869831 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-05 09:31:29 UTC
Created attachment 869832 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-05 09:31:30 UTC
Created attachment 869833 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-05 09:31:31 UTC
Created attachment 869834 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-05 09:31:32 UTC
Created attachment 869835 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-05 09:31:33 UTC
Created attachment 869836 [details]
xfce-extra:xfce4-kbdleds-plugin-0.2.3:20230905-084026.log
Comment 9 orbea 2024-03-07 04:00:48 UTC
Missing x11 libs while using -no-undefined which GNU libtool ignores.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-21 05:39:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34140a9472bc029f0a8e1bc5c3dc1685fe365819

commit 34140a9472bc029f0a8e1bc5c3dc1685fe365819
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-17 19:48:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-03-21 05:39:03 +0000

    xfce-extra/xfce4-kbdleds-plugin: fix undefined references
    
    Closes: https://bugs.gentoo.org/913681
    Upstream-PR: https://github.com/oco2000/xfce4-kbdleds-plugin/pull/10
    Ustream-Commit: https://github.com/oco2000/xfce4-kbdleds-plugin/commit/190434d67843c2ec392aa4a2cab46e8479d2d34d
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35806
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../xfce4-kbdleds-plugin-0.2.3-x11-libs.patch      | 40 ++++++++++++++++++++++
 .../xfce4-kbdleds-plugin-0.2.3.ebuild              | 35 ++++++++++++++-----
 2 files changed, 66 insertions(+), 9 deletions(-)