Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901349 - [musl] media-sound/kid3[acoustid] fails to configure module
Summary: [musl] media-sound/kid3[acoustid] fails to configure module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-15 15:03 UTC by Progenyx
Modified: 2023-07-31 16:15 UTC (History)
3 users (show)

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


Attachments
media-sound:kid3-3.9.3:20230315-135836.log (media-sound:kid3-3.9.3:20230315-135836.log,45.65 KB, text/plain)
2023-03-15 15:05 UTC, Progenyx
Details
CMakeOutput.log (CMakeOutput.log,30.33 KB, text/plain)
2023-03-15 15:06 UTC, Progenyx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Progenyx 2023-03-15 15:03:09 UTC
-- Checking for module 'libchromaprint'
--   Found libchromaprint, version 1.5.1
-- Found Chromaprint: /usr/lib/libchromaprint.so  
CMake Error at /usr/share/cmake/Modules/GetPrerequisites.cmake:846 (message):
  /usr/bin/ldd failed: 127

  Error loading shared library libstdc++.so.6: No such file or directory
  (needed by /usr/lib/libchromaprint.so)

  Error loading shared library libgcc_s.so.1: No such file or directory
  (needed by /usr/lib/librsvg-2.so.2)

  Error loading shared library libstdc++.so.6: No such file or directory
  (needed by /usr/lib/libx265.so.199)

  Error loading shared library libstdc++.so.6: No such file or directory
  (needed by /usr/lib/libopenh264.so.7)

  Error loading shared library libgcc_s.so.1: No such file or directory
  (needed by /usr/lib/libopenh264.so.7)

  Error loading shared library libgomp.so.1: No such file or directory
  (needed by /usr/lib/libsoxr.so.0)

  Error loading shared library libstdc++.so.6: No such file or directory
  (needed by /usr/lib/libicuuc.so.72)

  Error loading shared library libgcc_s.so.1: No such file or directory
  (needed by /usr/lib/libicuuc.so.72)

  -- Additional error output skipped --

  Error relocating /usr/lib/libchromaprint.so: _ZNSt8ios_base4InitC1Ev:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so: __cxa_begin_catch: symbol not
  found

  Error relocating /usr/lib/libchromaprint.so: _ZSt9terminatev: symbol not
  found

  Error relocating /usr/lib/libchromaprint.so: _ZdlPv: symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZNSolsEi: symbol not found

  Error relocating /usr/lib/libchromaprint.so: _Znwm: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZNSo3putEc: symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZNSo5flushEv: symbol not
  found

  Error relocating /usr/lib/libchromaprint.so: _ZSt16__throw_bad_castv:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZNKSt5ctypeIcE13_M_widen_initEv: symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZSt20__throw_length_errorPKc:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZSt21__glibcxx_assert_failPKciS0_S0_: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZSt28__throw_bad_array_new_lengthv: symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZSt19__throw_logic_errorPKc:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so: _ZNSt8ios_base4InitD1Ev:
  symbol not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: __gxx_personality_v0: symbol
  not found

  Error relocating /usr/lib/libchromaprint.so: _ZSt4cerr: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv117__class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv117__class_type_infoE: symbol not found

  Error relocating /usr/lib/libchromaprint.so:
  _ZTVN10__cxxabiv117__class_type_infoE: symbol not found

Call Stack (most recent call first):
  src/plugins/acoustidimport/CMakeLists.txt:21 (get_prerequisites)


-- Configuring incomplete, errors occurred!


$ emerge --info '=media-sound/kid3-3.9.3::gentoo'
Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.0/musl/hardened/selinux, gcc-12, musl-1.2.3, 6.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-libc
KiB Mem:    65756344 total,   1554096 free
KiB Swap:    3145724 total,   3132564 free
Timestamp of repository gentoo: Sun, 12 Mar 2023 14:30:01 +0000
Head commit of repository gentoo: 911e43791f752a89b930d36883cc63bb13670f9a
Head commit of repository flussence: b9863bb46eca7a352d9c4baf61a1e85c9864c11b

Timestamp of repository go-overlay: Sat, 11 Mar 2023 19:32:02 +0000
Head commit of repository go-overlay: c29d0ebf18a7b0de2bf939440f195309c2ac2687

Head commit of repository guru: e7dd81e5b60a17f5f653e8ef4e0115266facc5f7

Head commit of repository libressl: 3fbd14ccf6728fc56086f04fa6c5480efd8c9153

Head commit of repository musl: 9a26ebd8735df4afa71f23036085274fb316bb30

Head commit of repository mv: 15bf77a292f968c125f432e78c2727a56d5279a1

Head commit of repository pentoo: e1589b5248075b08974093bef5208b4c97afc98b

Head commit of repository science: 28e13faae5552df828a4a1bfba3781c4052f7266

Head commit of repository zx2c4: ac2514ea1757196324cf950665c516a5e5026dd5

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.10_p2::local, 3.11.2_p1::local
dev-lang/rust:             1.66.1::local
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.1::gentoo
sec-policy/selinux-base:   2.20221101-r3::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/libselinux:       3.4::gentoo
sys-libs/musl:             1.2.3::gentoo
Repositories:

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

flussence
    location: /var/db/repos/flussence
    sync-openpgp-key-refresh: no
    sync-type: git
    sync-uri: https://repo.or.cz/flussence-overlay.git
    masters: gentoo
    priority: 50
    volatile: True
    sync-git-verify-commit-signature: true

go-overlay
    location: /var/db/repos/go-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/go-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50
    volatile: True

libressl
    location: /var/db/repos/libressl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/libressl.git
    masters: gentoo
    priority: 50
    volatile: True

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/musl.git
    masters: gentoo
    priority: 50
    volatile: True

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 50
    volatile: True

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50
    volatile: True

zx2c4
    location: /var/db/repos/zx2c4
    sync-type: git
    sync-uri: https://git.zx2c4.com/portage
    masters: gentoo
    priority: 50
    volatile: True

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 1000
    volatile: True

Installed sets: @initrd
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-march=znver1 -O2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/bin/startx /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver1 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y"
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="-march=znver1 -O2 -pipe"
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 network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="https://distfiles.gentoo.org/"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias /etc/dbus-1 /etc/pam.d /etc/systemd /lib/systemd /usr/lib/modules-load.d /usr/lib/systemd /usr/lib64/systemd /usr/share/dbus-1 /usr/share/polkit-1"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j15 -l13.5"
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="X aalib acl acpi amd64 audiofile audit blas bzip2 cairo caps clamav clang cli crypt cups curl djvu dri dv emacs emboss exif fbcon ffmpeg fftw flac fontconfig fortran gdbm geoip gif git gnuplot gpm gsl hardened hddtemp hdf5 heif iconv imagemagick imlib inotify ipv6 jack jbig jemalloc jpeg jpeg2k json ladspa lapack lash latex lcms ldap libcaca libglvnd libressl libsamplerate libtirpc llvm lm-sensors lmdb lz4 lzma lzo mad memcached milter mime mng mp3 ncurses netcdf nis nntp nptl offensive ofx ogg openal openexr opengl openmp opus oss pdf php pie plotutils png posix postgres postscript raw readline rss sasl savedconfig sctp seccomp selinux slp smartcard smp sndfile snmp sockets socks5 speex split-usr sqlite ssl ssp svg syslog szip tcl test-rust theora tiff tk truetype udev unicode usb v4l vaapi valgrind vdpau verify-sig vhosts vnc vorbis vulkan wavpack webp wmf xattr xcb xface xft xinetd xmp xmpp xpm xtpax xv zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="apcups bind capabilities cgroups check_uptime connectivity conntrack cpu cpufreq cpusleep csv df disk dns entropy ethstat exec fhcount filecount fscache hddtemp hugepages interface ipc iptables irq load logfile logparser match_empty_counter match_hashed match_regex match_timediff match_value mbmon memcached memory mqtt network nginx notify_email ntpd numa nut openldap openvpn pcie_errors ping postgresql processes procevent rrdcached rrdtool sensors serial smart swap sysevent syslog tail tcpconns ted thermal threshold uptime users uuid vmem write_http write_log write_syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="libressl" ELIBC="musl" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memc memcached metrics proxy realip referer rewrite scgi secure_link security split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="aarch64 i386 mips64 mips64el ppc64 riscv64 sparc64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-sound/kid3-3.9.3::gentoo was built with the following:
USE="flac mp3 mp4 taglib vorbis -acoustid (-kde) -mpris -test"
CFLAGS="-march=znver1 -O2 -pipe -flto=thin -fstack-protector-strong -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=znver1 -O2 -pipe -flto=thin -fstack-protector-strong -D_FORTIFY_SOURCE=2"
FEATURES="unmerge-orphans network-sandbox userfetch ebuild-locks ipc-sandbox strict xattr usersandbox binpkg-dostrip news parallel-fetch binpkg-multi-instance config-protect-if-modified fixlafiles protect-owned qa-unresolved-soname-deps unknown-features-warn sfperms buildpkg-live sesandbox distlocks selinux merge-sync userpriv binpkg-docompress usersync sandbox binpkg-logs assume-digests unmerge-logs preserve-libs"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now -unwindlib=libunwind"
Comment 1 Progenyx 2023-03-15 15:05:12 UTC
Created attachment 857847 [details]
media-sound:kid3-3.9.3:20230315-135836.log
Comment 2 Progenyx 2023-03-15 15:06:23 UTC
Created attachment 857849 [details]
CMakeOutput.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-17 22:30:05 UTC
You've probably built part of your system with libstdc++ and part of it with libc++, which you can't do.
Comment 4 Progenyx 2023-03-18 10:21:53 UTC
(In reply to Sam James from comment #3)
> You've probably built part of your system with libstdc++ and part of it with
> libc++, which you can't do.

I'm pretty sure that's not the case. I checked: clang-runtime is built with -libcxx, and clang-common is build with -default-libcxx, therefore sys-libs/libcxx is not installed/used.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-19 06:48:20 UTC
I wonder if GetPrerequisites.cmake is doing something odd.
Comment 6 Andreas Sturmlechner gentoo-dev 2023-07-31 16:15:30 UTC
This will also be fixed now by kid3 ebuild not letting build system go into the code patch using GetPrerequisites.cmake in the first place - commit 76227a67676268ef6650ba71954b0dffd5b5e8c8.