[MacPorts] #62604: rizin @0.1.2: opportunistic use of libraries?
MacPorts
noreply at macports.org
Thu Apr 1 23:05:29 UTC 2021
#62604: rizin @0.1.2: opportunistic use of libraries?
------------------------+----------------------
Reporter: ryandesign | Owner: g5pw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: | Port: rizin
------------------------+----------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/62604>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list