Project

General

Profile

Actions

Emulator Issues #12312

open

CMake fails to find minizip2 on Arch Linux

Added by VIRTUALDOG about 4 years ago. Updated 9 months ago.

Status:
Accepted
Priority:
Low
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.

On Arch Linux, minizip >= 2 is provided by this aur package: https://aur.archlinux.org/packages/minizip-git/

Which installs the library as minizip2. However, this library is not found during CMake configuration:

-- Checking for module 'minizip>=2.0.0'
--   Package dependency requirement 'minizip >= 2.0.0' could not be satisfied.
Package 'minizip' has version '1.2.11', required version is '>= 2.0.0'

minizip and minizip2 seem to be separate projects, with minizip being from the original zlib maintainers and minizip "version 2" being from a fork by nmoinvas (https://github.com/nmoinvaz/minizip)

Ideally, minizip2 should be found on the system if it exists.

Here is a list of files installed by the minizip-git package:

[bheim@mandible minizip-git]$ sudo pacman -Ql minizip-git
minizip-git /usr/
minizip-git /usr/include/
minizip-git /usr/include/mz.h
minizip-git /usr/include/mz_compat.h
minizip-git /usr/include/mz_os.h
minizip-git /usr/include/mz_os_posix.h
minizip-git /usr/include/mz_strm.h
minizip-git /usr/include/mz_strm_aes.h
minizip-git /usr/include/mz_strm_buf.h
minizip-git /usr/include/mz_strm_bzip.h
minizip-git /usr/include/mz_strm_lzma.h
minizip-git /usr/include/mz_strm_mem.h
minizip-git /usr/include/mz_strm_pkcrypt.h
minizip-git /usr/include/mz_strm_posix.h
minizip-git /usr/include/mz_strm_split.h
minizip-git /usr/include/mz_strm_zlib.h
minizip-git /usr/include/mz_zip.h
minizip-git /usr/lib/
minizip-git /usr/lib/cmake/
minizip-git /usr/lib/cmake/minizip/
minizip-git /usr/lib/cmake/minizip/libminizip2-release.cmake
minizip-git /usr/lib/cmake/minizip/libminizip2.cmake
minizip-git /usr/lib/libminizip2.so
minizip-git /usr/lib/libminizip2.so.2
minizip-git /usr/lib/libminizip2.so.2.3.3
minizip-git /usr/lib/pkgconfig/
minizip-git /usr/lib/pkgconfig/minizip2.pc

What steps will reproduce the problem?

CMake configuration step on Arch Linux.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[bheim@mandible build]$ git describe
5.0-12947-g182557bcb2

Is the issue present in the latest stable version?

No idea

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

N/A

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

N/A

What are your PC specifications? (CPU, GPU, Operating System, more)

Arch Linux, CMake 3.18.4

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

N/A


Related issues 1 (0 open1 closed)

Related to Emulator - Emulator Issues #13169: Compilation error on Fedora Linux - minizip vs minizip-ngFixed

Actions
Actions

Also available in: Atom PDF