Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946588 - games-emulation/dolphin-2407-r1[-vulkan] with no system glslang: ld: cannot find -lglslang: No such file or directory
Summary: games-emulation/dolphin-2407-r1[-vulkan] with no system glslang: ld: cannot f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-17 17:06 UTC by Toralf Förster
Modified: 2025-01-18 16:34 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2024-12-17 17:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.86 KB, text/plain)
2024-12-17 17:06 UTC, Toralf Förster
Details
environment (environment,114.61 KB, text/plain)
2024-12-17 17:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-17 17:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.80 KB, application/x-xz)
2024-12-17 17:06 UTC, Toralf Förster
Details
games-emulation:dolphin-2407:20241217-161022.log.xz (games-emulation:dolphin-2407:20241217-161022.log.xz,34.90 KB, application/x-xz)
2024-12-17 17:06 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,732.80 KB, application/x-xz)
2024-12-17 17:07 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,253.45 KB, text/plain)
2024-12-17 17:07 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.58 KB, application/x-xz)
2024-12-17 17:07 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 2024-12-17 17:06:53 UTC
too long lines were shrinked:

[885/1106] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--dependency-file=Source/Core/Common/CMakeFiles/traversal_server.dir/link.d Source/Core/Common/CMakeFiles
[886/1106] /usr/bin/x86_64-pc-linux-gnu-g++ -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DHAS_LIBMGBA -DHAS_OPENGL -DHAVE_CRC32 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_SDL2=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -D_ARCH_64=1 -D_DEFAULT_SOURCE 
[887/1106] /usr/bin/x86_64-pc-linux-gnu-g++ -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DHAS_LIBMGBA -DHAS_OPENGL -DHAVE_CRC32 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_SDL2=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -D_ARCH_64=1 -D_DEFAULT_SOURCE 
[888/1106] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--dependency-file=Source/DSPTool/CMakeFiles/dsptool.dir/link.d Source/DSPTool/CMakeFiles/dsptool.dir/DSPT
FAILED: Binaries/dsptool 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--dependency-file=Source/DSPTool/CMakeFiles/dsptool.dir/link.d Source/DSPTool/CMakeFiles/dsptool.dir/DSPTool.cpp.o S
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lglslang: No such file or directory
collect2: error: ld returned 1 exit status
[889/1106] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--dependency-file=Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/link.d Source/Core/DolphinTool/CMak

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241215-184001

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.5
llvm-config: 19.1.5
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit b2ae367c11b8d45df9d05cef136c46f009d41ee9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 17 14:50:25 2024 +0000

    2024-12-17 14:50:25 UTC

emerge -qpvO =games-emulation/dolphin-2407
[ebuild  N    ] games-emulation/dolphin-2407  USE="alsa bluetooth discord-presence evdev ffmpeg gui mgba pulseaudio sdl systemd -doc -egl -llvm -log -profile -telemetry -test -upnp -vulkan" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2024-12-17 17:06:54 UTC
Created attachment 914257 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-17 17:06:55 UTC
Created attachment 914258 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-17 17:06:57 UTC
Created attachment 914259 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-17 17:06:57 UTC
Created attachment 914260 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-17 17:06:58 UTC
Created attachment 914261 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-17 17:06:59 UTC
Created attachment 914262 [details]
games-emulation:dolphin-2407:20241217-161022.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-17 17:07:01 UTC
Created attachment 914263 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-17 17:07:03 UTC
Created attachment 914264 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-12-17 17:07:04 UTC
Created attachment 914265 [details]
temp.tar.xz
Comment 10 Agostino Sarubbo gentoo-dev 2025-01-06 09:49:17 UTC
ci has reproduced this issue with version 2407-r1 - Updating summary.
Comment 11 Alfred Wingate 2025-01-18 14:59:53 UTC
The hack in the ebuild to sed out Externals/glslang in CMakeLists.txt breaks linking against the bundled glslang, this leads to it linking against system glslang. This causes a failure if glslang isn't installed.
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-01-18 15:08:54 UTC
(In reply to Alfred Wingate from comment #11)
> The hack in the ebuild to sed out Externals/glslang in CMakeLists.txt breaks
> linking against the bundled glslang, this leads to it linking against system
> glslang. This causes a failure if glslang isn't installed.

So... why aren't we just forcing system glslang?
Comment 13 Alfred Wingate 2025-01-18 15:10:35 UTC
Upstream doesn't offer a switch, doing that would require some patching.
Comment 14 Larry the Git Cow gentoo-dev 2025-01-18 16:34:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edb37a2fcfc33926e784ad3f2bcd533b3121eb7

commit 6edb37a2fcfc33926e784ad3f2bcd533b3121eb7
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-01-18 14:23:44 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-01-18 16:34:05 +0000

    games-emulation/dolphin: add 2412
    
    Bug: https://bugs.gentoo.org/946588
    Closes: https://bugs.gentoo.org/945374
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 games-emulation/dolphin/Manifest                   |   1 +
 games-emulation/dolphin/dolphin-2412.ebuild        | 301 +++++++++++++++++++++
 ...2412-fix-build-without-retro-achievements.patch |  68 +++++
 .../files/dolphin-2412-fix-libfmt-11.1.ebuild      |  75 +++++
 4 files changed, 445 insertions(+)