Project

General

Profile

Actions

Emulator Issues #13169

open

Compilation error on Fedora Linux - minizip vs minizip-ng

Added by r2rX about 1 year ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

Greetings. So I've been manually compiling Dolphin on my Fedora KDE installation, for over 6 months, with no issues. The last version I was able to compile successfully was 5.0-18143. There was a break of several weeks since I tried compiling a newer version but it encounters an error when attempting to do so now.

What steps will reproduce the problem?

  1. Run Fedora 37 KDE and install related dependencies.
  2. Grab a copy of dolphin via git clone --recursive https://github.com/dolphin-emu/dolphin.git.
  3. Create the 'build' folder in dolphin and compile via cmake .. -DLINUX_LOCAL_DEV=true -DENCODE_FRAMEDUMPS=OFF -DUSE_SHARED_ENET=ON -DUSE_DISCORD_PRESENCE=OFF and make

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
The issue occurs between 5.0-18143 and the most recent build. Additionally, I am attempting to figure out git bisect in order to help narrow down the culprit.

What are your PC specifications? (CPU, GPU, Operating System, more)
Fedora 37 KDE (Wayland)
AMD Ryzen 9 5900HX
AMD Radeon RX 6800M (running Mesa 23.1.0-devel)
32GB RAM

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Attached is the terminal log for the compilation attempt. Of course, if there's any further info required, I'll be more than happy to provide.


Files

Dolphin_Log.txt (69.2 KB) Dolphin_Log.txt r2rX, 02/13/2023 01:03 PM

Related issues 2 (1 open1 closed)

Related to Emulator - Emulator Issues #12312: CMake fails to find minizip2 on Arch LinuxAccepted

Actions
Related to Emulator - Emulator Issues #13515: Dolphin does not build with Minizip-ng 4.0.4.Fixed

Actions
Actions #1

Updated by JosJuice about 1 year ago

Based on the log, I'm guessing this has something to do with https://github.com/dolphin-emu/dolphin/pull/11439

Actions #2

Updated by r2rX about 1 year ago

JosJuice wrote in #note-1:

Based on the log, I'm guessing this has something to do with https://github.com/dolphin-emu/dolphin/pull/11439

You are spot-on! :D I just pulled the latest git of Dolphin and adjusted line 780 of CMakeLists.txt, from minizip to minizip-ng, and it compiled just fine.

Actions #3

Updated by r2rX about 1 year ago

Thanks for the pointer/help, JosJuice.

Actions #4

Updated by r2rX 11 months ago

JosJuice wrote in #note-1:

Based on the log, I'm guessing this has something to do with https://github.com/dolphin-emu/dolphin/pull/11439

Out of curiosity, would it be possible to add minizip-ng as a fallback?

Actions #5

Updated by Billiard26 about 1 month ago

Actions #6

Updated by Billiard26 about 1 month ago

  • Subject changed from Compilation error on Fedora Linux to Compilation error on Fedora Linux - minizip vs minizip-ng
Actions #7

Updated by r2rX about 1 month ago

For those encountering the same quirk, the two possible workarounds are to either edit the CMake file and adjust the minizip entry to minizip-ng or clone the git repo with the 'recursive' option in order to download the Externals (dependencies) for the project and then compile as usual. On my Fedora system, both work but the latter is more convenient (as no file editing is required).

Actions #8

Updated by Billiard26 18 days ago

Actions

Also available in: Atom PDF