Opened 4 years ago

Closed 4 years ago

#62604 closed defect (fixed)

rizin @0.1.2: opportunistic use of libraries?

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: rizin

Description

rizin looks for many things at configure time that it does not declare dependencies on, hence they are not found:

https://build.macports.org/builders/ports-10.6_i386-builder/builds/28704/steps/install-port/logs/stdio

Library magic found: NO
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency xxhash found: NO (tried pkgconfig, framework and cmake)
Library xxhash found: YES
Run-time dependency openssl found: NO (tried pkgconfig, framework and cmake)
Run-time dependency libuv found: NO (tried pkgconfig, framework and cmake)
meson.build:256: WARNING: use_libuv option was set to true, but libuv was not found.
Run-time dependency zlib found: NO (tried pkgconfig and cmake)
Message: RPATH will be used to link libraries and executables
Run-time dependency capstone found: NO (tried pkgconfig, framework and cmake)
Message: Cloning capstone v4 branch, commit 2edae851d9fee511a57d4da32d5acecedd95d7ed, into capstone
Message: Patching capstone with rizin's patches
Compiler for C supports arguments -std=gnu99: YES 
Run-time dependency tree-sitter found: NO (tried pkgconfig, framework and cmake)
Message: Use bundled tree-sitter
Program tree-sitter found: NO
Program node found: NO
Run-time dependency liblz4 found: NO (tried pkgconfig, framework and cmake)
Message: Use bundled lz4
Run-time dependency libzip found: NO (tried pkgconfig, framework and cmake)
Message: Use bundled zip
Message: Use bundled magic library
librz/core/meson.build:14: WARNING: PyYAML python module was not found, using cmd_descs.c/cmd_descs.h from source directory. Install PyYAML (either from your package manager or through pip) if you need to modify cmd_descs files.

However if the user already has those ports installed, maybe they will be used opportunistically. The port should declare dependencies on those deps that it wants to use, and use flags to ensure that any others aren't used even if they're present.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest removed
Owner: changed from g5pw to l2dy

comment:2 Changed 4 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed

In 905154883c4e14ae26d4578af151613f3803798c/macports-ports (master):

rizin: update to 0.2.1

Add flags to pin sys dependencies

Closes: #62604
Closes: #62736

Note: See TracTickets for help on using tickets.