Project

General

Profile

Actions

Emulator Issues #13847

closed

minizip-ng searched via minizip-ng.pc, which doesn't exist (it's minizip.pc).

Emulator Issues #13847: minizip-ng searched via minizip-ng.pc, which doesn't exist (it's minizip.pc).

Added by apteryx 10 months ago. Updated 10 months ago.

Status:
Working as intended
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

Hi,

Trying to use a system library for minizip-ng (version 4.0.10 from https://github.com/zlib-ng/minizip-ng), dolphin doesn't find it because it queries pkg-config with the "minizip-ng>=4.0.4", which name is supposed to match the name of the pkg-config .pc file, which it doesn't:

minizip-ng is built via cmake in as plain way as possible it Guix, so this naming is the upstream preference. I believe dolphin should use 'minizip>=4.0.4' instead of 'minizip-ng>=4.0.4'.

Updated by JoshuaVandaele 10 months ago Actions #1

It looks like this issue is due to a misconfiguration on your distribution’s end. Dolphin is not compatible with the original minizip, it specifically requires minizip-ng. According to minizip-ng’s CMake configuration, the -ng suffix is added to the library name when it’s built in non-compatibility mode.

I suppose you could try setting the MZ_LIB_SUFFIX=-ng environment variable, however, this may not work if your distribution only provides minizip-ng in compatibility mode.

Updated by apteryx 10 months ago Actions #2

Thanks for the information. I'll update the minizip-ng package in Guix to be built with MZ_COMPAT=OFF, as done for the minizip-ng package on Fedora for example. This can be closed.

Updated by Billiard26 10 months ago Actions #3

  • Status changed from New to Working as intended

Updated by JosJuice 10 months ago Actions #4

  • Tracker changed from Issue to Emulator Issues
  • Project changed from Infrastructure to Emulator
  • Issue type set to Bug
  • Regression set to No
  • Relates to usability set to No
  • Relates to performance set to No
  • Easy set to No
  • Relates to maintainability set to No
  • Operating system N/A added
Actions

Also available in: PDF Atom