Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem emerging x11-libs/libxkbcommon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1616

PostPosted: Mon Feb 24, 2025 3:10 pm    Post subject: problem emerging x11-libs/libxkbcommon Reply with quote

I am upgrading world on my laptop and while x11-libs/libxkbcommon is emerging I get the following error:
Code:
ninja: job failed: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse  -o test-keysym test-keysym.p/test_keysym.c.o -Wl,--as-needed -Wl,--no-undefined -fomit-frame-pointer -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=18432 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--start-group libxkbcommon-test-internal.a /usr/lib/libicuuc.so -lm -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libicuuc.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::condition_variable::condition_variable()@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::__throw_system_error(int)@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__cxa_guard_release@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::condition_variable::~condition_variable()@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__cxa_guard_acquire@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::condition_variable::notify_all()@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::__once_call@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `std::__once_callable@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__once_proxy@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__cxa_guard_abort@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `__dynamic_cast@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libicuuc.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'


build log:
https://p.defau.lt/?GjK1h8ijecgQSDNnJavCJg

emerge info:
Code:
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.41, 6.12.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.8-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-1270P-with-glibc2.41
KiB Mem:    32572556 total,  23948780 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 16 Feb 2025 15:00:00 +0000
Head commit of repository gentoo: bbd66ac9924a6ceb3b918e6467b61cf90ecd7e54
Head commit of repository brave-overlay: b23ebb0872730dc0562de5dca1939135bddc87ab

Timestamp of repository guru: Sat, 15 Feb 2025 07:22:04 +0000
Head commit of repository guru: b39264981e7e1fe53893a7c40a88afa7f28d7c21

Timestamp of repository kaa: Tue, 28 Jan 2025 07:36:35 +0000
Head commit of repository kaa: 704a4f2ea6c1afff714651b412e6aced6fe8e078

Timestamp of repository seden: Sat, 15 Feb 2025 07:21:56 +0000
Head commit of repository seden: 61534bfae3f85a97824e6d2b8a239e7c9acf1b68

Timestamp of repository wayland-desktop: Sat, 15 Feb 2025 07:22:09 +0000
Head commit of repository wayland-desktop: ee1dc7ad8150975b24e6269b9d2f96f2bfbbd05b

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.81.0-r100::gentoo, 1.83.0::gentoo, 1.84.1-r1::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             15.0.7::gentoo, 19.1.6::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.43::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kaa
    location: /var/db/repos/kaa
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kaa.git
    masters: gentoo
    volatile: False

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~*"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=18432"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-fomit-frame-pointer -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=18432"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-fomit-frame-pointer -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=18432"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news nodoc noinfo parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-fomit-frame-pointer -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=18432"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="reflex"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="amd64 asm cpudetection egl gles gles1 gles2 lto minimal multiarch nptl opencl opengl openmp pgo test-rust threads vaapi vulkan" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" INPUT_DEVICES="synaptics evdev libinput" KERNEL="linux" LUA_SINGLE_TARGET="luajit" PHP_TARGETS="php8-3" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel"
YACC="byacc"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YFLAGS



emerge -pqv:
Code:
t14 ~ # emerge -pqv '=x11-libs/libxkbcommon-1.8.0::gentoo'

 * IMPORTANT: 12 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
[ebuild     U ] x11-libs/libxkbcommon-1.8.0 [1.7.0-r1] USE="X -doc -static-libs -test -tools -wayland" ABI_X86="32 (64) (-x32)"
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 685
Location: Ásgarðr

PostPosted: Mon Feb 24, 2025 6:29 pm    Post subject: Reply with quote

Hello,
Maybe related to dev-libs/icu ? Have you tried to rebuild it first ?
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1616

PostPosted: Tue Feb 25, 2025 3:12 am    Post subject: Reply with quote

yes i have tried rebuilding it but it did not make any difference
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1528
Location: Earth

PostPosted: Tue Feb 25, 2025 9:54 pm    Post subject: Reply with quote

Code:
 * IMPORTANT: 12 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

you already did this ? - https://wiki.gentoo.org/wiki/Dispatch-conf

after that - try again.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1616

PostPosted: Thu Feb 27, 2025 9:05 am    Post subject: Reply with quote

I have done that and I'm getting the exact same result
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1528
Location: Earth

PostPosted: Thu Feb 27, 2025 11:34 am    Post subject: Reply with quote

Adel Ahmed wrote:
I have done that and I'm getting the exact same result

tried both versions - 1.7.0 and 1.8.0 - no problems - but i use stable amd64 with no X11 at all.

here's the *.log to compare http://0x0.st/8mHT.log

try with MAKEOPTS="-j1" emerge -va x11-libs/libxkbcommon

or stick to stable version of x11-libs/libxkbcommon

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23147

PostPosted: Thu Feb 27, 2025 12:44 pm    Post subject: Reply with quote

How exactly did you rebuild icu?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2784

PostPosted: Thu Feb 27, 2025 1:13 pm    Post subject: Re: problem emerging x11-libs/libxkbcommon Reply with quote

Adel Ahmed wrote:

Code:

ACCEPT_KEYWORDS="amd64 ~*"


Another one of your heavily modified systems? Perhaps USE=-*?

Did you notice this part:

Code:
 /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libicuuc.so, not found (try using -rpath or -rpath-link)


This file belongs to gcc but since stable and testing installations should have the same version, I'd suspect glibc. What version do you have?

Code:
emerge -pv gcc glibc


What does this say?

Best Regards,
Georgi
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1616

PostPosted: Mon Mar 03, 2025 7:59 am    Post subject: Reply with quote

i rebuilt icu using
Code:
emerge -1 icu


yes correct I use USE=-*

Code:
t14 ~ # emerge -pv sys-devel/gcc glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 0.94 s (backtrack: 0/20).

[ebuild   R    ] sys-devel/gcc-14.2.1_p20241221:14::gentoo  USE="(cxx) (default-stack-clash-protection) (default-znow) lto (multilib) openmp pgo (pie) -ada -cet (-custom-cflags) -d -debug -doc (-fixed-point) -fortran -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -modula2 -nls -objc -objc++ -objc-gc (-pch) -rust -sanitize -ssp -systemtap -test (-time64) -valgrind -vanilla -vtv -zstd" 0 KiB
[ebuild   R    ] sys-libs/glibc-2.41:2.2::gentoo  USE="multiarch (multilib) nscd (static-libs) -audit -caps -cet -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -perl -profile (-selinux) -ssp -stack-realign -suid -systemd -systemtap -test (-vanilla)" 0 KiB


I will remove ACCEPT_KEYWORDS="~*" and stick to stable versions, time to take modifications down a notch
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2784

PostPosted: Mon Mar 03, 2025 8:06 am    Post subject: Reply with quote

Adel Ahmed wrote:

yes correct I use USE=-*


You should really stop sending us on a wild goose chaise.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2192

PostPosted: Mon Mar 03, 2025 11:29 am    Post subject: Reply with quote

I've asked several times for you to state it up-front in reports. And, even better, if you insist on using it, please do some work to debug yourself first.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31516
Location: here

PostPosted: Mon Mar 03, 2025 12:10 pm    Post subject: Reply with quote

Adel Ahmed wrote:
yes correct I use USE=-*

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum