It would seem that glslang is being an issue again.
patching file CMakeLists.txt
Hunk #1 FAILED at 656.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
| Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
|---|---|
| Package Base: | dolphin-emu-git |
| Description: | A Gamecube / Wii emulator - no GUI - git version |
| Upstream URL: | https://dolphin-emu.org |
| Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
| Licenses: | GPL-2.0-or-later |
| Conflicts: | dolphin-emu-cli, dolphin-emu-nogui |
| Provides: | dolphin-emu-cli, dolphin-emu-nogui |
| Submitter: | None |
| Maintainer: | dpeukert |
| Last Packager: | dpeukert |
| Votes: | 123 |
| Popularity: | 0.84 |
| First Submitted: | 2011-08-20 13:05 (UTC) |
| Last Updated: | 2025-10-28 14:13 (UTC) |
It would seem that glslang is being an issue again.
patching file CMakeLists.txt
Hunk #1 FAILED at 656.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
@Joomzie: No worries, this should now also be fixed, along with a newly added cpp-optparse submodule.
Sorry to be a bother again, but the glslang patch is now being a troublemaker. Specifically, it looks like the line for fmt is taking a dive.
patching file CMakeLists.txt
Hunk #1 FAILED at 651.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
@Joomzie: The original error was fixed upstream, I've now removed the patch.
@dpeukert: Looks like we're hitting a wall with Qt again.
patching file Source/Core/DolphinQt/CMakeLists.txt
Hunk #1 FAILED at 14.
Hunk #2 succeeded at 435 (offset 7 lines).
1 out of 2 hunks FAILED -- saving rejects to file Source/Core/DolphinQt/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: dolphin-emu-git-exit status 4
> cat CMakeLists.txt.rej
--- Source/Core/DolphinQt/CMakeLists.txt
+++ Source/Core/DolphinQt/CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
-find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Svg)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui GuiPrivate Widgets Svg)
message(STATUS "Found Qt version ${Qt6_VERSION}")
set_property(TARGET Qt6::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
@rubin55: The Qt issue should now also be fixed.
@rubin55: The glslang issue should be fixed, the Qt issue seems to be caused by the update to Qt 6.10. I'm looking into a fix, but for now, manually downgrading to the 6.9.2 versions of the qt6-* packages should work.
CMake Warning at CMake/DolphinLibraryTools.cmake:57 (find_package):
Could not find a configuration file for package "glslang" that is
compatible with requested version "15.0".
The following configuration files were considered but not accepted:
/usr/lib/cmake/glslang/glslang-config.cmake, version: 16.0.0
/lib/cmake/glslang/glslang-config.cmake, version: 16.0.0
Call Stack (most recent call first):
CMakeLists.txt:654 (dolphin_find_optional_system_library)
CMake Error at CMake/DolphinLibraryTools.cmake:65 (message):
No system glslang was found. Please install it or set USE_SYSTEM_GLSLANG
to AUTO or OFF.
Call Stack (most recent call first):
CMakeLists.txt:654 (dolphin_find_optional_system_library)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
I tried with passing -DUSE_SYSTEM_GLSLANG=OFF, and the build continues a bit further, but then it runs into:
/tmp/makepkg.builddir/dolphin-emu-git/src/dolphin-emu-git/Source/Core/DolphinQt/MainWindow.cpp:34:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
34 | #include <qpa/qplatformnativeinterface.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[1125/1186] Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/MenuBar.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Currently broken since commit ce860ab43d32d1934456cf8d545b642f79bd1c48 because cmake-discord-rpc.diff is out of date because the minimum version is now 3.2.0 and 4.1.1
patching file Externals/discord-rpc/CMakeLists.txt
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Externals/discord-rpc/CMakeLists.txt.rej
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git