Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949891 - [guru] games-emulation/flycast-9999: error while loading shared libraries: libnowide.so.11.3.0
Summary: [guru] games-emulation/flycast-9999: error while loading shared libraries: li...
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Samuel Bauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 06:00 UTC by Mitchell Turcot (FilthyPitDog)
Modified: 2025-03-01 21:22 UTC (History)
2 users (show)

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


Attachments
build log (file_949891.txt,363.82 KB, text/plain)
2025-02-18 18:02 UTC, Mitchell Turcot (FilthyPitDog)
Details
build log USE='-pulseaudio' (file_949891.txt,326.74 KB, text/plain)
2025-02-24 01:54 UTC, Mitchell Turcot (FilthyPitDog)
Details
USE="pulseaudio" emerge -1 dev-cpp/asio flycast (build_log.tar.gz,26.86 KB, application/gzip)
2025-03-01 07:33 UTC, Mitchell Turcot (FilthyPitDog)
Details
MYCMAKEARGS="-DBUILD_SHARED_LIBS=OFF (build_log.tar.gz,25.19 KB, application/gzip)
2025-03-01 07:36 UTC, Mitchell Turcot (FilthyPitDog)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mitchell Turcot (FilthyPitDog) 2025-02-18 06:00:33 UTC
cannot launch games-emulation/flycast-9999 

➜ flycast
flycast: error while loading shared libraries: libnowide.so.11.3.0: cannot open shared object file: No such file or directory

Reproducible: Always

Steps to Reproduce:
1. launch flycast
Actual Results:  
wont open

Expected Results:  
should open the application

➜ emerge --info          
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/gnome, gcc-14, glibc-2.40-r8, 6.13.3-cachyos-filthy x86_64)
=================================================================
System uname: Linux-6.13.3-cachyos-filthy-x86_64-AMD_Ryzen_9_7900X3D_12-Core_Processor-with-glibc2.40
KiB Mem:    64964256 total,  58147292 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Tue, 18 Feb 2025 04:18:59 +0000
Head commit of repository gentoo: 71f2923ad2c5dabf79bd350d1e98d4107782c000

Timestamp of repository CachyOS-kernels: Tue, 18 Feb 2025 04:18:49 +0000
Head commit of repository CachyOS-kernels: c839d970bca32fc2739997a2897d0403b5e7b7f9

Timestamp of repository edgets: Mon, 17 Feb 2025 22:03:47 +0000
Head commit of repository edgets: 45ca4472b43048be05c486049eed369200e35d27

Timestamp of repository gogooverlay: Mon, 17 Feb 2025 22:03:53 +0000
Head commit of repository gogooverlay: dc93a4edf035b53de90dea5b5e3b3b3f62ec1e95

Timestamp of repository guru: Mon, 17 Feb 2025 22:03:45 +0000
Head commit of repository guru: bd66971ffefde6212a2d65f502c5f9cf8beca4c6

Timestamp of repository librewolf: Mon, 17 Feb 2025 22:03:56 +0000
Head commit of repository librewolf: 526adaca6113bdfe90d12ddf5ebd1a82760a5cbf

Timestamp of repository pf4public: Mon, 17 Feb 2025 19:33:24 +0000
Head commit of repository pf4public: 73bff35b18205cfc9d1f73617098f3b0057944c3

Timestamp of repository steam-overlay: Mon, 17 Feb 2025 22:03:39 +0000
Head commit of repository steam-overlay: e2a98a7193b53e8b8c48d049fa07fafca57d45c3

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust:             1.83.0-r2::gentoo
dev-lang/rust-bin:         1.81.0-r102::gentoo, 1.83.0-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.7::gentoo
llvm-core/lld:             18.1.8::gentoo, 19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::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.40-r8::gentoo
Repositories:

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

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

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

gogooverlay
    location: /var/db/repos/gogooverlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gogooverlay.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

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

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

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
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="-march=native -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict strict-keepdir unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/"
LANG="en_US.utf8"
LDFLAGS=""
LEX="flex"
MAKEOPTS="-j22"
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"
RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs -C opt-level=3"
SHELL="/bin/zsh"
USE="X aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet clang colord crypt dbus dist-kernel dri drm dts dvd dvdr eds elogind encode evo exif flac fuse gdbm gdk-pixbuf gdm gif gnome gnome-keyring gnome-shell gpm graphite gstreamer gtk gtk2 gtk3 gtk4 gui hardened hwaccel iconv icu introspection ipv6 jpeg keyring kf6compat lame lcms libnotify libtirpc llvm lm-sensors lto lz4 lzma lzo mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openh264 openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qml qt5 qt6 readline samba sdl seccomp sound spell ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis vulkan wavpack wayland wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc qemu" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm i386 x86_64" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
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, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Takuya Wakazono 2025-02-18 13:46:28 UTC
What does `lddtree /usr/bin/flycast` output?
Could you also attach a build.log?
Comment 2 Mitchell Turcot (FilthyPitDog) 2025-02-18 18:00:47 UTC
(In reply to Takuya Wakazono from comment #1)
> What does `lddtree /usr/bin/flycast` output?
> Could you also attach a build.log?

Sure thing

➜ lddtree /usr/bin/flycast
flycast => /usr/bin/flycast (interpreter => /lib64/ld-linux-x86-64.so.2)
    libxxhash.so.0 => /usr/lib64/libxxhash.so.0
    libglslang-default-resource-limits.so.15 => /usr/lib64/libglslang-default-resource-limits.so.15
    libSPIRV.so.15 => /usr/lib64/libSPIRV.so.15
    libasound.so.2 => /usr/lib64/libasound.so.2
        ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
    libSDL2-2.0.so.0 => /usr/lib64/libSDL2-2.0.so.0
        libX11.so.6 => /usr/lib64/libX11.so.6
            libxcb.so.1 => /usr/lib64/libxcb.so.1
                libXau.so.6 => /usr/lib64/libXau.so.6
                libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6
        libXext.so.6 => /usr/lib64/libXext.so.6
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1
            libXrender.so.1 => /usr/lib64/libXrender.so.1
        libXi.so.6 => /usr/lib64/libXi.so.6
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2
        libwayland-egl.so.1 => /usr/lib64/libwayland-egl.so.1
        libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0
            libffi.so.8 => /usr/lib64/libffi.so.8
        libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0
        libEGL.so.1 => /usr/lib64/libEGL.so.1
            libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0
        libdecor-0.so.0 => /usr/lib64/libdecor-0.so.0
        libpipewire-0.3.so.0 => /usr/lib64/libpipewire-0.3.so.0
    libcurl.so.4 => /usr/lib64/libcurl.so.4
        libcares.so.2 => /usr/lib64/libcares.so.2
        libnghttp3.so.9 => /usr/lib64/libnghttp3.so.9
        libnghttp2.so.14 => /usr/lib64/libnghttp2.so.14
        libpsl.so.5 => /usr/lib64/libpsl.so.5
            libidn2.so.0 => /usr/lib64/libidn2.so.0
            libunistring.so.5 => /usr/lib64/libunistring.so.5
        libssl.so.3 => /usr/lib64/libssl.so.3
        libcrypto.so.3 => /usr/lib64/libcrypto.so.3
        libzstd.so.1 => /usr/lib64/libzstd.so.1
    libz.so.1 => /usr/lib64/libz.so.1
    libchdr.so.0 => /usr/lib64/libchdr.so.0
    libminiupnpc.so.19 => /usr/lib64/libminiupnpc.so.19
    libnowide.so.11.3.0 => not found
    libglslang.so.15 => /usr/lib64/libglslang.so.15
    libgomp.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgomp.so.1
    libSPIRV-Tools-opt.so => /usr/lib64/libSPIRV-Tools-opt.so
    libSPIRV-Tools.so => /usr/lib64/libSPIRV-Tools.so
    libpulse.so.0 => /usr/lib64/libpulse.so.0
        libpulsecommon-17.0.so => /usr/lib64/pulseaudio/libpulsecommon-17.0.so
            libsndfile.so.1 => /usr/lib64/libsndfile.so.1
                libFLAC.so.12 => /usr/lib64/libFLAC.so.12
                libvorbis.so.0 => /usr/lib64/libvorbis.so.0
                    libmvec.so.1 => /usr/lib64/libmvec.so.1
                libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2
                libopus.so.0 => /usr/lib64/libopus.so.0
                libogg.so.0 => /usr/lib64/libogg.so.0
                libmpg123.so.0 => /usr/lib64/libmpg123.so.0
                libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0
            libasyncns.so.0 => /usr/lib64/libasyncns.so.0
                libnsl.so.3 => /usr/lib64/libnsl.so.3
                    libtirpc.so.3 => /usr/lib64/libtirpc.so.3
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3
    libzip.so.5 => /usr/lib64/libzip.so.5
        libbz2.so.1 => /usr/lib64/libbz2.so.1
        liblzma.so.5 => /usr/lib64/liblzma.so.5
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libstdc++.so.6
    libm.so.6 => /usr/lib64/libm.so.6
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgcc_s.so.1
    libc.so.6 => /usr/lib64/libc.so.6
Comment 3 Mitchell Turcot (FilthyPitDog) 2025-02-18 18:02:59 UTC
Created attachment 919348 [details]
build log
Comment 4 Mitchell Turcot (FilthyPitDog) 2025-02-18 18:03:23 UTC
(In reply to Mitchell Turcot (FilthyPitDog) from comment #3)
> Created attachment 919348 [details]
> build log

now the build is failing
Comment 5 Takuya Wakazono 2025-02-19 10:45:49 UTC
It's failing for me as well.
It looks like the ebuild needs fixing to get it to build first.
Comment 6 Samuel Bauer 2025-02-23 22:43:20 UTC
Ping all emulator users affected by this bug.

I will have a look tomorrow or later this week at the ebuild

Not really worried about asio.hpp not detected, just a missing includedir. seems straightforward.

Bit worried about libnowide, hope it is just provided by flycast but missing install.
Comment 7 Samuel Bauer 2025-02-23 23:05:34 UTC
Could you try:

USE='-pulseaudio' emerge flycast
Comment 8 Mitchell Turcot (FilthyPitDog) 2025-02-24 01:53:54 UTC
(In reply to Samuel Bauer from comment #7)
> Could you try:
> 
> USE='-pulseaudio' emerge flycast

sure thing
Comment 9 Mitchell Turcot (FilthyPitDog) 2025-02-24 01:54:22 UTC
Created attachment 919794 [details]
build log USE='-pulseaudio'
Comment 10 Samuel Bauer 2025-02-27 19:47:28 UTC
(In reply to Mitchell Turcot (FilthyPitDog) from comment #9)
> Created attachment 919794 [details]
> build log USE='-pulseaudio'

Thank you

1/ I still need to see what happens with libnowide maybe a gentoo policy about no static libs, or something else. Shall I mask pulseaudio flag for flycast until I fix this ?

2/ about asio.hpp, I thought it was boost related, but it could also be the one provided by dev-cpp/asio, as games-strategy/widelands is installed here I think didn't see the missing build dependency.

So second request, could you:
USE="pulseaudio" emerge -1 dev-cpp/asio flycast
Comment 11 Samuel Bauer 2025-02-27 19:58:36 UTC
May try  this also

MYCMAKEARGS="-DBUILD_SHARED_LIBS=OFF" emerge -1 dev-cpp/asio flycast

Not sure wether this variable is the EXTRA_ECONF counterpart for cmake or not.
Comment 12 Mitchell Turcot (FilthyPitDog) 2025-03-01 07:33:15 UTC
Created attachment 920067 [details]
USE="pulseaudio" emerge -1 dev-cpp/asio flycast
Comment 13 Mitchell Turcot (FilthyPitDog) 2025-03-01 07:36:23 UTC
Created attachment 920068 [details]
MYCMAKEARGS="-DBUILD_SHARED_LIBS=OFF
Comment 14 Mitchell Turcot (FilthyPitDog) 2025-03-01 07:37:09 UTC
They both make it further then previous [392/393]
Comment 15 Samuel Bauer 2025-03-01 21:22:30 UTC
I think it is because you use ~amd64 vulkan. Just a quick guess.

I will have a look on it when I can. Anyway I should always use latest vulkan on at least one test host.