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
Search Criteria
Package Details: dolphin-emu-nogui-git 5.0.r16541.gbb2a3d35b0-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 - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL2 |
Conflicts: | dolphin-emu-cli, dolphin-emu-nogui |
Provides: | dolphin-emu-cli, dolphin-emu-nogui |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 111 |
Popularity: | 0.21 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2022-05-29 14:48 (UTC) |
Dependencies (5)
- dolphin-emu-git (dolphin-emu-primehack-git)
- cmake (cmake-git) (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- ninja (ninja-git, ninja-samurai, ninja-mem, ninja-kitware, ninja-bin) (make)
- python (python38, python37, python3.7, nogil-python, python39, python36, python311, python32) (make)
Required by (0)
Sources (2)
Latest Comments
Peter0x44 commented on 2022-06-08 19:09 (UTC)
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)
yrlf commented on 2022-01-24 15:46 (UTC)
@dpeukert: Funnily enough, the build no longer fails for me, neither with my "dirty" clone of dolphin-emu-git in .cache/yay/dolphin-emu-git, nor with a clean build with makechrootpkg
dpeukert commented on 2022-01-24 10:57 (UTC)
@yrlf: I was able to build using the shared system fmt (8.1.1) with no issues. Can you provide your build output?
yrlf commented on 2022-01-20 20:22 (UTC)
The build fails for me due to a whole bunch of fmt
problems complaining about missing formatter specializations.
It seems CMake selects the system fmt (8.1.1) and not the bundled fmt (7.1). Compilation works if I patch the CMakeLists to search for fmt with find_package(fmt 7.1 EXACT)
hazelnot commented on 2021-12-23 10:40 (UTC)
Hm, I am using yay, maybe if I tell it to do a clean build I'll be able to use this
karl-k commented on 2021-12-22 02:34 (UTC)
"There's an issue with building this package, I think it has to do with submodule initialization. I'm not technical enough to know the fix, unfortunately." Yeah, it appears to fail building. Hopefully someone smart enough can come along & fix this for us.
dpeukert commented on 2021-12-22 01:51 (UTC) (edited on 2021-12-22 01:53 (UTC) by dpeukert)
@hazelnot: That's strange, it seems like it is trying to load the previous soname for some reason (the current one is libmbedcrypto.so.7). I'll try looking into it some more, but the only thing I can think of right now is that an AUR helper (if you're using one) might be hanging onto an older cache of some part of the build process and therefore trying to use the older mbedtls version. That would also track with the direct build working. Clearing/deleting that cache would (hopefully) force the build process to start fresh. Let me know if you figure something out.
hazelnot commented on 2021-12-20 11:38 (UTC)
I have mbedtls 2.27.0-1.
Thing is, I tried building Dolphin directly from the official git repo and that one worked.
dpeukert commented on 2021-12-20 09:14 (UTC)
@hazelnot: I also wasn't able to reproduce this, what version of mbedtls do you have installed (it should be installed as it's a dependency of dolphin-emu-git)?
dpeukert commented on 2021-12-20 09:10 (UTC)
@modnoob: I wasn't able to reproduce this, but from what I could find on the internet, this can happen when building with Clang. Do you happen to be using it for building this package in some way?
hazelnot commented on 2021-12-18 19:05 (UTC)
Can't seem to be able to run this anymore, getting
dolphin-emu: error while loading shared libraries: libmbedcrypto.so.6: cannot open shared object file: No such file or directory
modnoob commented on 2021-12-15 14:22 (UTC) (edited on 2021-12-15 14:24 (UTC) by modnoob)
Since one or two days the build fails for me like that:
[660/1006] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/CommandLineParse.cpp.o
[661/1006] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/Disassembler.cpp.o
[662/1006] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/DiscordPresence.cpp.o
[663/1006] Linking CXX static library Source/Core/InputCommon/libinputcommon.a
[664/1006] Building CXX object Source/Core/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o
FAILED: Source/Core/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o
/usr/bin/ccache /usr/lib/ccache/bin/c++ -DDATA_DIR=\"/usr/share/dolphin-emu/\" -DFMT_LOCALE -DFMT_SHARED -DHAS_LIBMGBA -DHAS_OPENGL -DHAS_VULKAN -DHAVE_BLUEZ=1 -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_HIDAPI=1 -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/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/External/minizip -I/usr/include/libpng16 -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/soundtouch -I/usr/include/libusb-1.0 -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/discord-rpc/include -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/picojson -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/build/Source/Core -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/minizip/. -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/cubeb/include -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/build/exports -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba/include -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/build/Externals/mGBA/mgba/include -I/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/Bochs_disasm -isystem /var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Externals/rangeset/include -isystem /usr/include/hidapi -march=native -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fno-plt -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/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o -MF Source/Core/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o.d -o Source/Core/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o -c /var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/NetPlayCommon.cpp
/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/NetPlayCommon.cpp: In function ‘bool NetPlay::DecompressPacketIntoFolderInternal(sf::Packet&, const string&)’:
/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core/Core/NetPlayCommon.cpp:238:14: error: ‘all_of’ is not a member of ‘std’
238 | if (std::all_of(name.begin(), name.end(), [](char c) { return c == '.'; }))
| ^~~~~~
[665/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/WbfsBlob.cpp.o
[666/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/WiiEncryptionCache.cpp.o
[667/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeWad.cpp.o
[668/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeGC.cpp.o
[669/1006] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/GameFileCache.cpp.o
[670/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeWii.cpp.o
[671/1006] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/GameFile.cpp.o
[672/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/VolumeVerifier.cpp.o
/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core/DiscIO/VolumeVerifier.cpp: In member function ‘void DiscIO::VolumeVerifier::Process()’:
/var/tmp/pamac-build-reini/dolphin-emu-git/src/dolphin-emu-git/Source/Core/DiscIO/VolumeVerifier.cpp:1116:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1116 | if (m_content_index + 1 < m_content_offsets.size() &&
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[673/1006] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/WIABlob.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
dpeukert commented on 2021-08-19 09:03 (UTC)
@Peter0x44: I'm mirroring what the dolphin-emu package in the main repos does.
Peter0x44 commented on 2021-08-19 08:44 (UTC)
I don't think building without libmgba always is ideal - it is a package in the community repos, and I think it would be nice to use that if it is present
Could it be possible to link libmgba, if it is installed instead of always providing -DUSE_MGBA=NO in the build step? @dpeukert
dpeukert commented on 2021-08-18 11:29 (UTC)
@all: Sorry about the delay once again, everything should now be up-to-date.
Tom_Dude commented on 2021-08-16 02:25 (UTC)
There's an issue with building this package, I think it has to do with submodule initialization. I'm not technical enough to know the fix, unfortunately.
HurricanePootis commented on 2021-08-04 01:50 (UTC)
@dpeukert OK, I thought you weren't available for it. Totally understandable! Sorry about the request.
dpeukert commented on 2021-08-03 21:55 (UTC)
@HurricanePootis: I have been without access to an internet connection for about two weeks and I've now been going through all the packages that became out-of-date in that period. This package is the only one that's left to fix and I plan on fixing it ASAP, I just haven't got around to it due to some unrelated work stuff, but I hope to have it done by Thursday.
dpeukert commented on 2021-07-31 18:15 (UTC)
@modnoob @purisame @rien333 @DocMAX @NovaMoon @chungy: Sorry about the delay, will be looking into fixing this tonight.
chungy commented on 2021-07-30 23:31 (UTC)
This should be enough to build Dolphin with the integrated GBA (the other option is -DUSE_MGBA=NO in the cmake step...):
diff --git a/PKGBUILD b/PKGBUILD
index 41a5bd0..58a0dc7 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.r13467.g79a234eff7'
-pkgrel='2'
+pkgver=5.0.r14762.gc86c02e46b
+pkgrel=1
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
@@ -22,13 +22,18 @@ depends=(
)
makedepends=('cmake' 'git' 'python')
optdepends=('pulseaudio: PulseAudio backend')
-source=("$pkgname::git+https://github.com/$_mainpkgname/$_projectname")
-sha256sums=('SKIP')
+source=("$pkgname::git+https://github.com/$_mainpkgname/$_projectname"
+ "git+https://github.com/mgba-emu/mgba.git")
+sha256sums=('SKIP'
+ 'SKIP')
_sourcedirectory="$pkgname"
prepare() {
cd "$srcdir/$_sourcedirectory/"
+ git submodule init Externals/mGBA
+ git config --local submodule.Externals/mGBA/mgba.url file://"${srcdir}/mgba"
+ git submodule update
if [ -d 'build/' ]; then rm -rf 'build/'; fi
mkdir 'build/'
}
NovaMoon commented on 2021-07-30 15:19 (UTC) (edited on 2021-07-30 15:20 (UTC) by NovaMoon)
When i was building this from source i got the same error as from this pkgbuild. in the wiki there is this mention,
git submodule update --init Externals/mGBA
(as of July 2021, Dolphin integrates mGBA, this step is needed to pull it into the build)
after that i could build the emulator
DocMAX commented on 2021-07-24 08:11 (UTC) (edited on 2021-07-24 08:11 (UTC) by DocMAX)
CMake Error at Externals/mGBA/CMakeLists.txt:3 (add_subdirectory):
The source directory
/mnt/zeus/root/home/docmax/.cache/yay/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba
does not contain a CMakeLists.txt file.
CMake Error at Externals/mGBA/CMakeLists.txt:6 (target_compile_options):
Cannot specify compile options for target "mgba" which is not built by this
project.
CMake Error at Externals/mGBA/CMakeLists.txt:13 (add_library):
add_library cannot create ALIAS target "mGBA::mgba" because target "mgba"
does not already exist.
rien333 commented on 2021-07-23 08:41 (UTC)
I get errors during the configure step, have been getting those for a few days now. Here's the configure/cmake log:
https://gist.github.com/rien333/112056e7f1c9b43394047c8097aa4c4b
sameer commented on 2021-07-23 03:23 (UTC)
The fix that makes mGBA work is in an issue on GitLab: https://gitlab.com/dpeukert/pkgbuilds/-/issues/28
modnoob commented on 2021-07-22 09:19 (UTC)
The build worked 3 days ago, but today i got this error when i try to build it -- Using static libmgba from Externals CMake Error at Externals/mGBA/CMakeLists.txt:3 (add_subdirectory): The source directory
/var/tmp/pamac-build-userdolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba
does not contain a CMakeLists.txt file.
CMake Error at Externals/mGBA/CMakeLists.txt:6 (target_compile_options): Cannot specify compile options for target "mgba" which is not built by this project.
CMake Error at Externals/mGBA/CMakeLists.txt:13 (add_library): add_library cannot create ALIAS target "mGBA::mgba" because target "mgba" does not already exist.
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
alucryd commented on 2019-06-13 16:29 (UTC)
So what?
MrSoup678 commented on 2019-03-27 10:08 (UTC)
Master dir of source code is now called dolphin instead of dolphin-emu
Affected lines on PLGBUILD: 41 and 59
mrturcot commented on 2019-03-08 19:28 (UTC)
Good to go ladies and gents, cheers :)
==> Finished making: dolphin-emu-git 5.0.r9719.f6b856d01e-1 (Fri 08 Mar 2019 11:26:24 AM PST)
mrturcot commented on 2019-03-08 03:24 (UTC) (edited on 2019-03-08 03:25 (UTC) by mrturcot)
Alright, I hope this is the right place https://bugs.dolphin-emu.org/issues/11603
But FYI as a user it was not obvious to me if it was compilation or packaging error. Thank you for providing direction.
alucryd commented on 2019-03-07 10:13 (UTC)
Obviously a compilation error, not a packaging error, please bother upstream.
mrturcot commented on 2019-03-07 02:41 (UTC) (edited on 2019-03-07 02:42 (UTC) by mrturcot)
Im reporting build failing for me
Please submit a full bug report,
with preprocessed source if appropriate.
See <<https://bugs.archlinux.org/>> for instructions.
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:1831: Source/Core/Core/CMakeFiles/core.dir/HW/WiimoteEmu/Camera.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 64%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/WiimoteEmu/Extension/Drums.cpp.o
make[1]: *** [CMakeFiles/Makefile2:934: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Error making: dolphin-emu-git
kyle_dolichev commented on 2018-12-14 19:11 (UTC)
cubeb now exists on the AUR as a standalone package if you'd like to add that in as an optdepends, also I like to have DENABLE_SDL=TRUE so that we have SDL as an optional controller backend alongside eudev
Does anybody know what the story is on DENABLE_LTO ? Enabling it seems to make performance suffer, why is that? Perhaps its because I am using an SSD and it has something to do with that? IDK
alucryd commented on 2018-10-29 10:30 (UTC)
It's ENABLE_EGL and ENABLE_X11 now but they're enabled by default anyway.
kyle_dolichev commented on 2018-10-26 18:00 (UTC) (edited on 2018-10-26 18:00 (UTC) by kyle_dolichev)
USE_EGL & USE_X11 no longer work I see. I wonder if they've changed it or just removed it.
alucryd commented on 2018-10-08 07:35 (UTC)
Dolphin is still a triforce emulator even if that branch hasn't been merged yet.
Raansu commented on 2018-10-06 14:27 (UTC)
This is listed as a "triforce" emulator but I don't see where that support is compiled in. Official Dolphin-emu doesn't have triforce support, you have to compile from the triforce branch.
alucryd commented on 2018-10-01 11:15 (UTC)
Updated, thx for the ehads up :)
kyle_dolichev commented on 2018-09-29 13:42 (UTC)
Its supposed to be -DENABLE_QT=TRUE now, its no longer QT2.
alucryd commented on 2018-08-29 16:25 (UTC)
Are you messing with ffmpeg?
randalflagg8 commented on 2018-08-29 14:49 (UTC)
I'm getting the following error: dolphin-emu: error while loading shared libraries: libswscale.so.4: cannot open shared object file: No such file or directory
I've completely uninstalled and re-installed (which rebuilt it) and still getting that error
alucryd commented on 2018-07-03 11:49 (UTC)
This is just dolphin using cmake wrong, discord is statically linked, it shouldn't be installed. Removed those files manually.
OrdinaryMagician commented on 2018-07-02 15:13 (UTC)
Conflicts with the discord-rpc-api packages since it seems to install its own files for that.
alucryd commented on 2018-07-02 13:46 (UTC)
Thanks for the heads up, the wx version is dead, long live the qt version.
novenary commented on 2018-07-01 09:12 (UTC)
The wxwidgets version was removed yesterday, this breaks the PKGBUILD. https://github.com/dolphin-emu/dolphin/pull/6819
mralext20 commented on 2018-06-26 00:25 (UTC) (edited on 2018-06-26 01:07 (UTC) by mralext20)
getting an error on install:
error: failed to commit transaction (conflicting files) dolphin-emu-git: /usr/lib64 exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.
another error i got in building: ==> WARNING: Package contains reference to $srcdir <br> usr/bin/dolphin-emu
on my system /usr/lib64 is a symlink to /lib.
installing version 5.0.r8248.2debe9e9d1-1.
gourdcaptain commented on 2018-05-13 20:31 (UTC)
Just recompile it and it'll work with the new FFMPEG. (You'll need to uninstall it to upgrade FFMPEG in the meantime, I guess.)
Marach commented on 2018-05-13 20:30 (UTC) (edited on 2018-05-13 20:30 (UTC) by Marach)
Broken by a recent ffmpeg update:
:: dolphin-emu-git: installing ffmpeg (1:4.0-2) breaks dependency 'libavcodec.so=57-64'
:: dolphin-emu-git: installing ffmpeg (1:4.0-2) breaks dependency 'libavformat.so=57-64'
:: dolphin-emu-git: installing ffmpeg (1:4.0-2) breaks dependency 'libavutil.so=55-64'
:: dolphin-emu-git: installing ffmpeg (1:4.0-2) breaks dependency 'libswscale.so=4-64'
alucryd commented on 2018-05-03 07:19 (UTC) (edited on 2018-05-03 07:20 (UTC) by alucryd)
This is a convention in our repos, just have a look at the -cli packages that are already around, their GUI counterparts also have cli options. I'm not breaking this convention, I'm sure you can live with the name.
linkmauve commented on 2018-05-02 13:35 (UTC)
Hi, please rename your dolphin-emu-cli into dolphin-emu-nogui like upstream, it makes no sense to do this change as both other interfaces have as many CLI options as this one, it just doesn’t have a GUI like them.
alucryd commented on 2018-04-30 09:09 (UTC)
Updated for Qt, thx for the heads up :)
JaqFrost commented on 2018-04-29 17:19 (UTC)
A better fix is to replace the qt sections for wx sections since the old interface is still there.
Line 5 'dolphin-emu-qt-git' to 'dolphin-emu-wx-git' Line 57 {nogui,qt2} to {nogui,wx} Line 71 package_dolphin-emu-qt-git() to package_dolphin-emu-wx-git() Line 72 Remove the 'qt5-base' depends Line 77 Binaries/dolphin-emu-qt2 to Binaries/dolphin-emu-wx
hcorion commented on 2018-04-23 19:38 (UTC)
Yes, please fix this, if you're wondering the relevant PR is here: https://github.com/dolphin-emu/dolphin/pull/6331
gourdcaptain commented on 2018-04-22 05:04 (UTC)
This is broken by the recent change to make the QT version the default, with an error of: "==> Starting package_dolphin-emu-qt-git()... install: cannot stat 'Binaries/dolphin-emu-qt2': No such file or directory"
VerruckteFuchs commented on 2018-03-09 04:06 (UTC)
Sorry I've taken a long time to reply. I expected to get an email notification, but I'm not sure how that works for replies to comments on somebody else's package(s). Anyway, there was an issue with a few of my packages/libraries. Reinstalling them, including glib2, fixed the problem and everything compiles fine. I use F2FS for / and at one point I was getting a fsck error on boot about corrupted files which was probably a result of some forced shut downs. F2FS doesn't use the /lost+found/ directory, so I opted to delete the files hoping they weren't important and to get rid of the error message. It looks like glib2 and some other packages/libraries got corrupted from the errors I was getting elsewhere, which I opted to delete unknowingly. I guess I'm lucky to have been able to boot at all! Good thing I make backups.
alucryd commented on 2017-12-27 14:50 (UTC)
The wx error is nothing to worry about. 3.1.0 is a development version so we won't have it in our repos, and dolphin builds its own anyway.
The gthread error I can't reproduce, neither locally nor in a clean chroot, which means there's a problem with your particular system. Did you perhaps temper with glib2?
VerruckteFuchs commented on 2017-12-24 00:59 (UTC)
I'm getting an error with gthread I haven't gotten before along with a wxWidgets issue:
-- Could NOT find wxWidgets: Found unsuitable version "3.0.3", but required is at least "3.1.0" (found -pthread;;;-lwx_gtk2u_core-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_baseu-3.0) -- Using static wxWidgets from Externals -- Some or all of the gtk libraries were not found. (missing: GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR) CMake Error at CMake/CheckLib.cmake:51 (message): gthread-2.0 is required but not found Call Stack (most recent call first): Externals/wxWidgets3/CMakeLists.txt:865 (check_lib)
-- Configuring incomplete, errors occurred! See also "/home/user/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/build/CMakeFiles/CMakeOutput.log". See also "/home/user/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting... :: failed to build dolphin-emu-cli-git,dolphin-emu-qt-git,dolphin-emu-git package(s)
There may be a new dependency on whatever provides gthread, though it looks like it may be some general breakage with GTK dependencies.
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