@busbybear: Can you verify you're not using a out-of-date version of the PKGBUILD? Because I've tried right now, and both patches applied for me without an issue.
Search Criteria
Package Details: dolphin-emu-nogui-git 2506.r25.ga0611b512b-1
Package Actions
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.018255 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2025-06-06 07:30 (UTC) |
Dependencies (48)
- bluez-libs (bluez-gitAUR)
- bzip2 (bzip2-gitAUR)
- cubebAUR (cubeb-gitAUR, cubebAUR)
- dolphin-emu (dolphin-emu-debugfast-gitAUR, dolphin-emu-gitAUR)
- enet (enet-gtkorvo-gitAUR, enet-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- hidapi (hidapi-gitAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, lib32-ffmpegAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg2.8AUR, ffmpeg3.4AUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR, ffmpeg, ffmpeg4.4)
- libavformat.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, lib32-ffmpegAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg2.8AUR, ffmpeg3.4AUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR, ffmpeg, ffmpeg4.4)
- libavutil.so (libavutil-52AUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, lib32-ffmpegAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg2.8AUR, ffmpeg3.4AUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR, ffmpeg, ffmpeg4.4)
- libcurl.so (curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libfmt.so (fmt-gitAUR, fmt9AUR, fmt10AUR, fmt)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libiconv
- libsfml-network.so (sfml2AUR, sfml-gitAUR, sfml)
- libsfml-system.so (sfml2AUR, sfml-gitAUR, sfml)
- libspng.so (libspng-gitAUR, libspng)
- libswscale.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, lib32-ffmpegAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg2.8AUR, ffmpeg3.4AUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR, ffmpeg, ffmpeg4.4)
- libusb-1.0.so (libusb-gitAUR, lib32-libusb, libusb)
- Show 28 more dependencies...
Required by (0)
Sources (9)
dpeukert commented on 2025-06-07 06:25 (UTC)
busbybear commented on 2025-06-06 16:02 (UTC)
For me- the build fails at the prepare() function. It seems that lines 84 and 85 are not needed as the file is already patched. Commenting out lines 84 and 85 gives a successful build.
dpeukert commented on 2025-06-06 07:31 (UTC)
@v1993, @rubin55: Both of these should now be fixed.
rubin55 commented on 2025-06-05 19:29 (UTC)
==> Starting prepare()...
patching file CMakeLists.txt
Hunk #1 FAILED at 675.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
v1993 commented on 2025-06-02 12:02 (UTC)
Is --copy-dt-needed-entries
still needed? It's not handled by mold
and causes a build error if using it. Commenting out the LDFLAGS
line fixes build.
dpeukert commented on 2025-03-31 22:23 (UTC)
@Neros: This should now be fixed.
xiota commented on 2025-03-31 10:18 (UTC)
@Neros A few packages appear to be affected. To build without editing the PKGBUILD, export CMAKE_POLICY_VERSION_MINIMUM=3.5
first.
Neros commented on 2025-03-31 02:09 (UTC)
I'm not able to compile it:
CMake Error at Externals/discord-rpc/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
JoshuaVandaele commented on 2025-02-25 13:03 (UTC)
Nevermind, after further investigation it's because I had overwritten libmgba on my system with one not from the repos.
dpeukert commented on 2025-02-25 09:48 (UTC)
@JoshuaVandaele: That's weird, what version of libmgba are you using? With 0.10.4-2 from the main repos, I get this:
[807/1101] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o
FAILED: Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o
/usr/bin/c++ -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_CUBEB -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_SDL2=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DRC_CLIENT_SUPPORTS_HASH -DSFML_STATIC -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_RETRO_ACHIEVEMENTS -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/soundtouch -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/discord-rpc/include -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/picojson -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/SFML/include -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/expr/include -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/rcheevos -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/FatFs -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/build/Externals/zlib-ng/zlib-ng -I/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/zlib-ng/zlib-ng -isystem /usr/include/mbedtls2 -isystem /usr/include/minizip-ng -isystem /usr/include/libusb-1.0 -isystem /usr/include/hidapi -isystem /tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/rangeset/include -isystem /tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Externals/glslang/glslang/Public -isystem /tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/VideoCommon/SYSTEM -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -std=c++20 -I/usr/include -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wno-stringop-truncation -Werror=format -DWITH_GZFILEOP -MD -MT Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/HW/GBACore.cpp.o -c /tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/HW/GBACore.cpp
/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/HW/GBACore.cpp: In member function ‘HW::GBA::CoreInfo HW::GBA::Core::GetCoreInfo() const’:
/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/HW/GBACore.cpp:309:11: error: ‘struct mCore’ has no member named ‘currentVideoSize’
309 | m_core->currentVideoSize(m_core, &info.width, &info.height);
| ^~~~~~~~~~~~~~~~
/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/HW/GBACore.cpp: In member function ‘void HW::GBA::Core::SetVideoBuffer()’:
/tmp/trizen-redacted/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/HW/GBACore.cpp:396:11: error: ‘struct mCore’ has no member named ‘currentVideoSize’
396 | m_core->currentVideoSize(m_core, &width, &height);
| ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
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