Package Details: dolphin-emu-nogui-git 2409.r299.gd1ef4d5cc1-1

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.54
First Submitted: 2011-08-20 13:05 (UTC)
Last Updated: 2024-11-10 13:18 (UTC)

Dependencies (45)

Required by (0)

Sources (9)

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

Latest Comments

« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 56 Next › Last »

infirit commented on 2022-10-23 09:43 (UTC) (edited on 2022-10-23 09:44 (UTC) by infirit)

diff --git a/PKGBUILD b/PKGBUILD
index c5b7161..ac8eeb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _mainpkgname="$_projectname-emu"
 _noguipkgname="$_projectname-emu-nogui"
 pkgbase="$_mainpkgname-git"
 pkgname=("$pkgbase" "$_noguipkgname-git")
-pkgver='5.0.r17354.g1efb5b8800'
-pkgrel='1'
+pkgver=5.0.r17699.g7f2c78f345
+pkgrel=1
 pkgdesc='A Gamecube / Wii emulator'
 _pkgdescappend=' - git version'
 arch=('x86_64' 'aarch64')
@@ -27,11 +27,13 @@ source=(
    "$pkgname-spirvcross::git+https://github.com/KhronosGroup/SPIRV-Cross.git"
    "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"
    "$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+   "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
 )
 sha512sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
             'SKIP')

 _sourcedirectory="$pkgname"
@@ -64,6 +66,13 @@ prepare() {
    git submodule init "$_libspngpath"
    git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
    git submodule update "$_libspngpath"
+
+   # Provide vma submodule
+   _vmapath='Externals/VulkanMemoryAllocator'
+   git submodule init "$_vmapath"
+   git config "submodule.$_vmapath.url" "$srcdir/$pkgname-vma/"
+   git submodule update "$_vmapath"
+
 }

 pkgver() {

hawaka commented on 2022-07-30 11:28 (UTC) (edited on 2022-07-30 11:48 (UTC) by hawaka)

They introduced two new sub-modules in Externals. They replaced "zlib" with "zlib-ng", and "libpng" with "libspng". These are the needed changes:

PKGBUILD


depends=
- 'libpng'
- 'zlib'

source=
+ "$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+ "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"

sha512sums=
+ 'SKIP'
+ 'SKIP'

prepare()
+ # Provide libspng submodule
+ _libspngpath='Externals/libspng/libspng'
+ git submodule init "$_libspngpath"
+ git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
+ git submodule update "$_libspngpath"
+
+ # Provide zlib-ng submodule
+ _zlibngpath='Externals/zlib-ng/zlib-ng'
+ git submodule init "$_zlibngpath"
+ git config "submodule.$_zlibngpath.url" "$srcdir/$pkgname-zlibng/"
+ git submodule update "$_zlibngpath"

Peter0x44 commented on 2022-07-09 00:03 (UTC) (edited on 2022-07-09 12:22 (UTC) by Peter0x44)

I can reproduce this too.

It seems that dolphin has introduced a new dependency on SPIRV-Cross, in this PR. https://github.com/dolphin-emu/dolphin/pull/10673

A submodule has been introduced in Externals. Updating the PKGBUILD to clone it properly should fix it. This patch works for me, for now:

diff --git a/PKGBUILD b/PKGBUILD
index 4e18a08..daff635 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,11 @@ prepare() {
    git submodule init "$_mgbapath"
    git config "submodule.$_mgbapath.url" "$srcdir/$pkgname-mgba/"
    git submodule update "$_mgbapath"
+
+   # Provide SPIRV-Cross submodule
+   _spirv_crosspath="Externals/spirv_cross/SPIRV-Cross"
+   git submodule init "$_spirv_crosspath"
+   git submodule update "$_spirv_crosspath"
 }

 pkgver() {

Star-X commented on 2022-07-08 22:07 (UTC) (edited on 2022-07-08 22:07 (UTC) by Star-X)

Well it compiled fine a few weeks ago, but today it started spitting out this error before it even started compiling:

CMake Error at Externals/spirv_cross/CMakeLists.txt:49 (add_library): Cannot find source file:

SPIRV-Cross/GLSL.std.450.h

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at Externals/spirv_cross/CMakeLists.txt:49 (add_library): No SOURCES given to target: spirv_cross

Peter0x44 commented on 2022-06-08 19:09 (UTC) (edited on 2022-07-09 00:05 (UTC) by Peter0x44)

https://github.com/dolphin-emu/dolphin/pull/10462#discussion_r892479008

Looks like this was a bug on dolphin's end, the PR mentioned here resolves it for me, it builds fine now.

https://github.com/dolphin-emu/dolphin/pull/10728

dpeukert commented on 2022-06-08 08:11 (UTC)

@Star-X: Looks like this was caused by this being merged: https://github.com/dolphin-emu/dolphin/pull/10462. I'll look into it more soon, but if anyone needs a working build for now, building from the last commit before the merge (dd0485389e0f1d18a2df858a6bd549007612a492) should still work.

Star-X commented on 2022-06-07 01:57 (UTC)

Building fails right at the end with this massive blob.

[1022/1022] Linking CXX executable Binaries/dolphin-emu FAILED: Binaries/dolphin-emu : && /usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fpermissive -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-z,origin -Wl,--disable-new-dtags Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/dolphin-emu_autogen/mocs_compilation.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/AboutDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/CheatSearchFactoryWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/CheatSearchWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/CheatsManager.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/ConvertDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/DiscordHandler.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/DiscordJoinRequestDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/FIFO/FIFOPlayerWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/FIFO/FIFOAnalyzer.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Host.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/HotkeyScheduler.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Main.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/MainWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/MenuBar.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NKitWarningDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/RenderWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Resources.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/SearchBar.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/ToolBar.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Translation.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/WiiUpdate.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ARCodeWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/CheatCodeEditor.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/CheatWarningWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/CommonControllersWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ControllerInterface/DualShockUDPClientWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ControllerInterface/ControllerInterfaceWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ControllerInterface/ServerStringValidator.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ControllersWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/FilesystemWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/FreeLookWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/FreeLookWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/GamecubeControllersWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/GameConfigEdit.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/GameConfigHighlighter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/GameConfigWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/GeckoCodeWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/AdvancedWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/BalloonTip.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/EnhancementsWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GeneralWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsBool.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsChoice.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsInteger.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsRadio.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsSlider.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/GraphicsWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/HacksWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/PostProcessingConfigWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Graphics/SoftwareRendererWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/InfoWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/LogConfigWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/LogWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/FreeLookGeneral.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/FreeLookRotation.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/GBAPadEmu.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/GCKeyboardEmu.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/GCMicrophone.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/GCPadEmu.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/GCPadWiiUConfigDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/Hotkey3D.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyControllerProfile.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyDebugging.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyGBA.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyGeneral.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyGraphics.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyStates.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyStatesOther.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyTAS.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/HotkeyWii.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/IOWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingButton.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingCommon.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingIndicator.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingNumeric.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/MappingWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuExtension.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuExtensionMotionInput.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuExtensionMotionSimulation.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuGeneral.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuMotionControl.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/Mapping/WiimoteEmuMotionControlIMU.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/NewPatchDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/PatchesWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/PropertiesDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/SettingsWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ToolTipControls/ToolTipCheckBox.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ToolTipControls/ToolTipComboBox.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ToolTipControls/ToolTipRadioButton.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ToolTipControls/ToolTipSlider.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/ToolTipControls/ToolTipSpinBox.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/VerifyWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Config/WiimoteControllersWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/BreakpointWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/CodeDiffDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/CodeViewWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/CodeWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/JITWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryViewWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/MemoryWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/NetworkWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/NewBreakpointDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/PatchInstructionDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/RegisterColumn.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/RegisterWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/ThreadWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Debugger/WatchWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GameList/GameList.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GameList/GameListModel.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GameList/GameTracker.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GameList/GridProxyModel.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GameList/ListProxyModel.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GCMemcardCreateNewDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GCMemcardManager.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/BlockUserInputFilter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/ChunkedProgressDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/GameListDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/MD5Dialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/NetPlayBrowser.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/NetPlayDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/NetPlaySetupDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/NetPlay/PadMappingDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/DolphinFileDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/DoubleClickEventFilter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/ElidedButton.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/FileOpenEventFilter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/FlowLayout.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/ModalMessageBox.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/PartiallyClosableTabWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/ImageConverter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/UTF8CodePointCountValidator.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/WindowActivationEventFilter.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/WinIconHelper.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/WrapInScrollArea.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/AspectRatioWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/NonDefaultQPushButton.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/ResourcePackManager.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/RiivolutionBootWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/AdvancedPane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/AudioPane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/BroadbandAdapterSettingsDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/GameCubePane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/GeneralPane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/InterfacePane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/PathPane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/WiiPane.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Settings/USBDeviceAddToWhitelistDialog.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/GCTASInputWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/WiiTASInputWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/TASCheckBox.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/TASInputWindow.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/TASSlider.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/StickWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/TAS/IRWidget.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/Updater.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/QtUtils/SignalDaemon.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GBAHost.cpp.o Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/GBAWidget.cpp.o -o Binaries/dolphin-emu -Wl,-rpath,"\$ORIGIN/lib" Source/Core/Core/libcore.a /usr/lib/libQt6Widgets.so.6.3.0 Source/Core/UICommon/libuicommon.a Externals/imgui/libimgui.a Source/Core/DiscIO/libdiscio.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a Source/Core/Core/libcore.a Source/Core/DiscIO/libdiscio.a Source/Core/VideoBackends/Null/libvideonull.a Source/Core/VideoBackends/OGL/libvideoogl.a Source/Core/VideoBackends/Software/libvideosoftware.a Source/Core/VideoBackends/Vulkan/libvideovulkan.a Source/Core/VideoCommon/libvideocommon.a Source/Core/AudioCommon/libaudiocommon.a /usr/lib/libasound.so /usr/lib/libpulse.so Externals/soundtouch/libSoundTouch.a Externals/FreeSurround/libFreeSurround.a Externals/cubeb/libcubeb.a -lpulse -lasound -ljack Source/Core/InputCommon/libinputcommon.a -lXi /usr/lib/libevdev.so /usr/lib/libudev.so -lsfml-network -lsfml-system /usr/lib/liblzo2.so Externals/mGBA/mgba/libmgba.a -lm /usr/lib/libbluetooth.so /usr/lib/libhidapi-hidraw.so /usr/lib/libbz2.so -llzma -lzstd /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXext.so Externals/glslang/libglslang.a Externals/imgui/libimgui.a Externals/xxhash/libxxhash.a /usr/lib/libavformat.so /usr/lib/libavcodec.so /usr/lib/libswresample.so /usr/lib/libswscale.so /usr/lib/libavutil.so /usr/lib/libQt6Gui.so.6.3.0 /usr/lib/libQt6Core.so.6.3.0 /usr/lib/libGLX.so /usr/lib/libOpenGL.so Source/Core/Common/libcommon.a -lenet /usr/lib/libmbedtls.so /usr/lib/libmbedx509.so /usr/lib/libmbedcrypto.so /usr/lib/libcurl.so -lc -lpng /usr/lib/libEGL.so /usr/lib/libOpenGL.so /usr/lib/libGLX.so /usr/lib/libGLU.so -ldl -lrt /usr/lib/libminiupnpc.so /usr/lib/libpugixml.so /usr/lib/libfmt.so.8.1.1 -Wl,--as-needed Externals/Bochs_disasm/libbdisasm.a Externals/cpp-optparse/libcpp-optparse.a Externals/minizip/libminizip.a /usr/lib/libz.so -lXrandr /usr/lib/libusb-1.0.so /usr/lib/libLLVM-13.so Externals/discord-rpc/src/libdiscord-rpc.a -lpthread && cd /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core/DolphinQt && /usr/bin/cmake -E make_directory /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/lib && cp -P /usr/lib64/cmake/Qt6/../../.so /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/lib && /usr/bin/cmake -E copy_directory /usr/lib64/cmake/Qt6/../../../plugins/platforms /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/platforms && cd /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core/DolphinQt && /usr/bin/cmake -E copy_if_different /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/Source/Core/DolphinQt/qt.conf /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/qt.conf && cd /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core/DolphinQt && /usr/bin/cmake -E copy_directory /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/Data/Sys /home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/Sys Error copying directory from "/usr/lib64/cmake/Qt6/../../../plugins/platforms" to "/home/starx555/.cache/pacaur/dolphin-emu-git/src/dolphin-emu-git/build/Binaries/platforms". ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... :: failed to build dolphin-emu-git package(s)

HurricanePootis commented on 2022-05-29 20:40 (UTC)

No problem @dpeukert

dpeukert commented on 2022-05-29 14:49 (UTC) (edited on 2022-05-29 14:49 (UTC) by dpeukert)

@HurricanePootis: Thanks for the heads-up, updated.

yrlf commented on 2022-01-24 16:09 (UTC) (edited on 2022-01-24 16:18 (UTC) by yrlf)

@dpeukert: Ahh, I think I know something that might have influenced this: dolphin updated its own bundled fmt to 8.1.1 4 days ago, and also changed a lot of its own custom formatters.

The failing build was with hash 73bcf9c24b from 6 days ago.

EDIT: Yup! Reproducible even in a fresh chroot:

[263/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o
FAILED: Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o 
/usr/bin/c++ -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DFMT_LOCALE -DFMT_SHARED -DHAS_OPENGL -DHAS_VULKAN -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_LIBEVDEV=1 -DHAVE_LIBSYSTEMD -DHAVE_LIBUDEV=1 -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86=1 -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/build/dolphin-emu-git/src/dolphin-emu-git/Source/Core -I/build/dolphin-emu-git/src/dolphin-emu-git/External/minizip -I/usr/include/libpng16 -I/build/dolphin-emu-git/src/dolphin-emu-git/Externals/soundtouch -I/usr/include/libusb-1.0 -I/build/dolphin-emu-git/src/dolphin-emu-git/Externals/discord-rpc/include -I/build/dolphin-emu-git/src/dolphin-emu-git/Externals/picojson -I/build/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core -I/build/dolphin-emu-git/src/dolphin-emu-git/Externals/minizip/. -isystem /usr/include/miniupnpc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fpermissive -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 -std=c++17 -MD -MT Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o -MF Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o.d -o Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o -c /build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Image.cpp
In file included from /usr/include/fmt/format.h:48,
                 from /build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Logging/Log.h:7,
                 from /build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Assert.h:8,
                 from /build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Image.cpp:11:
/usr/include/fmt/core.h: In instantiation of ‘constexpr decltype (ctx.begin()) fmt::v8::detail::parse_format_specs(ParseContext&) [with T = Common::ImageByteFormat; ParseContext = fmt::v8::detail::compile_parse_context<char, fmt::v8::detail::error_handler>; decltype (ctx.begin()) = const char*]’:
/usr/include/fmt/core.h:2906:9:   required from ‘constexpr fmt::v8::detail::format_string_checker<Char, ErrorHandler, Args>::format_string_checker(fmt::v8::basic_string_view<Char>, ErrorHandler) [with Char = char; ErrorHandler = fmt::v8::detail::error_handler; Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}]’
/usr/include/fmt/core.h:2947:33:   required from ‘void fmt::v8::detail::check_format_string(S) [with <template-parameter-1-1> = {Common::ImageByteFormat, char [6], char [72], int, char [8]}; S = Common::SavePNG(const string&, const u8*, Common::ImageByteFormat, u32, u32, int, int)::<lambda()>::FMT_COMPILE_STRING; typename std::enable_if<fmt::v8::is_compile_string<S>::value, int>::type <anonymous> = 0]’
/usr/include/fmt/format.h:843:39:   required from ‘fmt::v8::format_arg_store<fmt::v8::basic_format_context<typename std::conditional<std::is_same<Char, char>::value, fmt::v8::appender, std::back_insert_iterator<fmt::v8::detail::buffer<Char> > >::type, Char>, typename std::remove_reference<Args>::type ...> fmt::v8::make_args_checked(const S&, fmt::v8::remove_reference_t<Args>& ...) [with Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}; S = Common::SavePNG(const string&, const u8*, Common::ImageByteFormat, u32, u32, int, int)::<lambda()>::FMT_COMPILE_STRING; Char = char; typename std::conditional<std::is_same<Char, char>::value, fmt::v8::appender, std::back_insert_iterator<fmt::v8::detail::buffer<Char> > >::type = fmt::v8::appender]’
/build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/MsgHandler.h:46:57:   required from ‘bool Common::MsgAlertFmt(bool, Common::MsgType, Common::Log::LogType, const char*, int, const S&, const Args& ...) [with long unsigned int NumFields = 5; S = Common::SavePNG(const string&, const u8*, Common::ImageByteFormat, u32, u32, int, int)::<lambda()>::FMT_COMPILE_STRING; Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}]’
/build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Image.cpp:83:5:   required from here
/usr/include/fmt/core.h:2672:12: error: use of deleted function ‘fmt::v8::detail::fallback_formatter<T, Char, Enable>::fallback_formatter() [with T = Common::ImageByteFormat; Char = char; Enable = void]’
 2672 |   auto f = conditional_t<has_formatter<mapped_type, context>::value,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2673 |                          formatter<mapped_type, char_type>,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2674 |                          fallback_formatter<T, char_type>>();
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:1041:3: note: declared here
 1041 |   fallback_formatter() = delete;
      |   ^~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = const Common::ImageByteFormat&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1855:77:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const Common::ImageByteFormat&, const char (&)[6], const char (&)[72], const int&, const char (&)[8]}; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}]’
/usr/include/fmt/format.h:844:18:   required from ‘fmt::v8::format_arg_store<fmt::v8::basic_format_context<typename std::conditional<std::is_same<Char, char>::value, fmt::v8::appender, std::back_insert_iterator<fmt::v8::detail::buffer<Char> > >::type, Char>, typename std::remove_reference<Args>::type ...> fmt::v8::make_args_checked(const S&, fmt::v8::remove_reference_t<Args>& ...) [with Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}; S = Common::SavePNG(const string&, const u8*, Common::ImageByteFormat, u32, u32, int, int)::<lambda()>::FMT_COMPILE_STRING; Char = char; typename std::conditional<std::is_same<Char, char>::value, fmt::v8::appender, std::back_insert_iterator<fmt::v8::detail::buffer<Char> > >::type = fmt::v8::appender]’
/build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/MsgHandler.h:46:57:   required from ‘bool Common::MsgAlertFmt(bool, Common::MsgType, Common::Log::LogType, const char*, int, const S&, const Args& ...) [with long unsigned int NumFields = 5; S = Common::SavePNG(const string&, const u8*, Common::ImageByteFormat, u32, u32, int, int)::<lambda()>::FMT_COMPILE_STRING; Args = {Common::ImageByteFormat, char [6], char [72], int, char [8]}]’
/build/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Common/Image.cpp:83:5:   required from here
/usr/include/fmt/core.h:1728:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1728 |       formattable,
      |       ^~~~~~~~~~~
/usr/include/fmt/core.h:1728:7: note: ‘formattable’ evaluates to false
[264/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/FileSearch.cpp.o
[265/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Hash.cpp.o
[266/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/HttpRequest.cpp.o
[267/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/FileUtil.cpp.o
[268/1001] Building CXX object Source/Core/Common/CMakeFiles/common.dir/GekkoDisassembler.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /opt/archroot/yrlf/build

Maybe it's not that great of an idea to select a version of fmt with a different major version than dolphin expects.

It's fixed though, so not really relevant, but might be good to think about the next time Arch switches to a new major version of fmt (fmt 9.0.0, whenever that will be)