fmt 10.1.0 is out and it breaks the build process once again!
Confirmed this by up/downgrading fmt.
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: | GPL-2.0-or-later |
Conflicts: | dolphin-emu |
Provides: | dolphin-emu |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.38 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2025-01-08 07:53 (UTC) |
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 57 Next › Last »
fmt 10.1.0 is out and it breaks the build process once again!
Confirmed this by up/downgrading fmt.
Thanks @dpeukart
Compiles fine with 'pkgver='5.0.r19864.gf2b8baa82c'pkgver='5.0.r19864.gf2b8baa82c'', but cannot launch any game on rdna3 igpu. Anyone else facing this issue ? Ok it does not launch with vulkan on newer igpu's
I will follow up on your gitlab.
thanks!
@Riedler, @rubin55, @spikerguy, @abouvier, @noabody, @xiota, @scatherinch, @Peter0x44 , @carlosalvatore, @cwrau: The patch should now be fixed and this package should now work with fmt 10, sorry for the delay.
@Peter0x44's patch worked for me, would be great if the PKGBUILD could get adjusted
For me it was enough to install aur/fmt9 to build and run dolphin-emu properly.
The world(or extra)/dolphin 23.04.3-1 results in a segmentation fault when trying to start an emulation, therefore the git version is the best choice.
Hope the comment helps somebody.
@scatherinch you just apply the changes in question to the PKGBUILD file from the repo, then run makepkg -si
or whatever the AUR helper you're using expects.
EDIT: never mind, I see it is solved for you
@Peter0x44 I'm still kind of new to Arch. One thing I haven't scratched yet is how to build or modify packages in the way you described. However, maybe you wouldn't mind giving me a quick rundown or pointing me to a resource where I could learn to do this?
I would really like to learn and fix this issue!
EDIT: I figured it out. Seems to have solved it for now, can confirm
@scatherinch My suggestion is (as others have mentioned) that you remove "libfmt.so" from the depends, and build dolphin-emu-git using a static fmt that dolphin provides
Here's the relevant patch to the PKGBUILD
Once this gets resolved (hopefully) this workaround won't be necessary
diff --git a/PKGBUILD b/PKGBUILD
index f7b2dc9..a542a21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ depends=(
'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libpulse'
'libspng' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls2' 'minizip-ng' 'pugixml'
'qt6-base' 'qt6-svg' 'sfml' 'zlib-ng'
- 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so'
+ 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so'
'libminiupnpc.so' 'libsfml-network.so' 'libsfml-system.so' 'libswscale.so'
'libudev.so' 'libusb-1.0.so'
)
@@ -32,15 +32,13 @@ source=(
"$pkgname-rcheevos::git+https://github.com/RetroAchievements/rcheevos.git"
"$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
'minizip-ng.diff'
- 'fmt-10.diff'
)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
- '568ca7db64149e9ac9409947689a8390783b891e6cff7b096690771512db3e19f9d8551a8739921d8a9f6ec4a9de747811a2efc8cdd4791d715677772db7fa8e'
- '57852e07fc6e296598a3351a2ad63ac5af8c0130e1d1d8f0f8f99d0730fe01b1cf206e31efe1837a33ff2971e08fd48e281edc4be625c4660a711062812ae0ee')
+ '568ca7db64149e9ac9409947689a8390783b891e6cff7b096690771512db3e19f9d8551a8739921d8a9f6ec4a9de747811a2efc8cdd4791d715677772db7fa8e')
_sourcedirectory="$pkgname"
@@ -52,9 +50,6 @@ prepare() {
# Fix minizip-ng name for Arch
patch --forward -p1 < "$srcdir/minizip-ng.diff"
- # Fix build with fmt 10
- patch --forward -p1 < "$srcdir/fmt-10.diff"
-
# Provide submodules
declare -A _submodules=(
[implot]='implot/implot'
@@ -89,6 +84,7 @@ build() {
-DENABLE_AUTOUPDATE=OFF \
-DUSE_SYSTEM_LIBS=ON \
-DUSE_SYSTEM_LIBMGBA=OFF \
+ -DUSE_SYSTEM_FMT=OFF \
-Wno-dev
cmake --build 'build/'
}
Then, you should be able to update, without any conflicts on libfmt.so.9
I already had this installed beforehand, but trying to -Syu returns an error claiming that updating will break this. I would like to do the update, but I don't want to lose dolphin because I think removing it to update will most assuredly prevent me from installing again from what I've been reading.
error: failed to prepare transaction (could not satisfy dependencies)
:: installing fmt (10.0.0-1) breaks dependency 'libfmt.so=9-64' required by dolphin-emu-git
Therefore, I have not been able to update my system for a few days. Is there a way around this or should I just wait for this to become compatible with the new version of fmt?
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