The build fails since Arch changed how minizip-ng is built:
Please replace the minizip-ng
dependency with minizip-ng-compat
and remove the minizip-ng patch, that makes it work again.
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 - CLI-based utility for functions such as managing disc images - 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-tool |
Provides: | dolphin-emu-tool |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.067299 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2025-03-31 22:22 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 60 Next › Last »
The build fails since Arch changed how minizip-ng is built:
Please replace the minizip-ng
dependency with minizip-ng-compat
and remove the minizip-ng patch, that makes it work again.
thank you!
@tuxpenguin: Should be fixed now, sorry for the delay!
@HurricanePootis: Fixed, thanks for the heads-up!
You are overwriting $LDFLAGS
, leading to the following warning from namcap
:
dolphin-emu-git W: ELF file ('usr/bin/dolphin-emu') lacks FULL RELRO, check LDFLAGS.
In order to fix this, please change export LDFLAGS="-Wl,--copy-dt-needed-entries"
to export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
. This will keep the Arch LDFLAG's, while also getting that copy-dt-needed-entries.
Edit: I believe that this pull request is the source of the error. It seems that they have decided to revert to using the bundled zlib-ng rather than allow use of the system zlib-ng library. However I am only making an empirical guess so correct me if I'm wrong.
https://github.com/dolphin-emu/dolphin/pull/13089
Currently get this error when trying to build:
CMake Error at Externals/zlib-ng/CMakeLists.txt:7 (add_subdirectory): The source directory
/home/user/.cache/yay/dolphin-emu-git/src/dolphin-emu-git/Externals/zlib-ng/zlib-ng
does not contain a CMakeLists.txt file.
CMake Error at Externals/zlib-ng/CMakeLists.txt:14 (add_library): add_library cannot create ALIAS target "ZLIB::ZLIB" because target "zlib" does not already exist.
CMake Error at CMake/DolphinDisableWarningsMSVC.cmake:4 (get_target_property): get_target_property() called with non-existent target "zlib". Call Stack (most recent call first): Externals/zlib-ng/CMakeLists.txt:15 (dolphin_disable_warnings)
Check usually runs unit or other upstream developed tests. Finding another package that checks version doesn't make it standard. Maybe checking version makes sense for the other package. For this one, it has not been useful. It fails without detecting any real problem. It does not, "Verify that the basic functionality works". Loading some GPL homebrew ROM under xvfb would be much more likely to detect real problems without spurious failures.
@xiota: Not really sure what's so nonstandard about it, see https://gitlab.archlinux.org/archlinux/packaging/packages/helm/-/blob/main/PKGBUILD#L55 for an example of a similar check in the main repos.
@busbybear: This should now be fixed.
@Postingstuff When there is a library mismatch, rebuild the affected AUR packages. If build fails, try building in a clean chroot. If there are still problems, check comments for known issues (eg, check failures). If the problem is new, comment to report them.
@busbybear Rebuild with --nocheck
option. This package has a nonstandard check that fails on some machines. Maintainer has refused to remove it despite past requests.
@Postingstuff: This package doesn't have a versioned dependency on 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