[MacPorts] #73711: py313-maturin @1.12.6_0: failed to parse manifest
MacPorts
noreply at macports.org
Thu Sep 3 17:36:19 UTC 2026
#73711: py313-maturin @1.12.6_0: failed to parse manifest
-------------------------------------+-------------------------------------
Reporter: thetrial | Owner: tobypeterson
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.12.4
Resolution: | Keywords: legacy-os leopard
Port: py313-maturin, | snowleopard lion mountainlion
py313-cryptography | mavericks yosemite elcapitan sierra
-------------------------------------+-------------------------------------
Comment (by JULWAL1):
After successfully building and installing Rust @1.98 and Cargo @0.99 on
macOS Sierra, I then decided to test and use it to build Py313-maturin
@1.13.1 using the official Portfile for it (without my added/edited
sections above). I expected to see the error:
{{{
:info:build = note: some arguments are omitted. use `--verbose` to show
all linker arguments
:info:build = note: Undefined symbols for architecture x86_64:
:info:build "_SecTrustEvaluateWithError", referenced from:
:info:build
security_framework::trust::SecTrust::evaluate_with_error::h072a01f71ffd8d21
in libsecurity_framework-1dab1e2990453433.rlib(security_framework-
1dab1e2990453433.security_framework.d4784b2e59be8a30-cgu.14.rcgu.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1
(use -v to see invocation)
:info:build
:info:build error: could not compile `maturin` (bin "maturin") due to 1
previous error
}}}
but no - it successfully built py313-maturin @1.13.1 with no errors, which
is good:
{{{
$ /opt/local/var/macports/build/py313-maturin-
8b51baf4/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
--version
maturin 1.13.1
$ /opt/local/var/macports/build/py313-maturin-
8b51baf4/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
--help
Build and publish crates with pyo3, cffi and uniffi bindings as well as
rust binaries as python packages
Usage: maturin [OPTIONS] <COMMAND>
Commands:
build Build the crate into python packages
publish Build and publish the crate as python packages to pypi
list-python Search and list the available python installations
develop Install the crate as module in the current virtualenv
sdist Build only a source distribution (sdist) without
compiling
init Create a new cargo project in an existing directory
new Create a new cargo project
generate-ci Generate CI configuration
upload Upload python packages to pypi
generate-stubs Autogenerate type stubs
help Print this message or the help of the given
subcommand(s)
Options:
-v, --verbose...
Use verbose output.
* Default: Show build information and `cargo build` output. *
`-v`: Use `cargo build -v`. * `-vv`: Show debug logging and use `cargo
build -vv`. * `-vvv`: Show trace logging.
You can configure fine-grained logging using the `RUST_LOG`
environment variable. (<https://docs.rs/tracing-
subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives>)
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
Visit https://maturin.rs to learn more about maturin.
}}}
As I already have a copy of it installed, I only went through the {{{port
extract}}}, {{{port build}}} and {{{port destroot}}} phases and not the
{{{port install}}} phase.
Hope this answers some questions.
--
Ticket URL: <https://trac.macports.org/ticket/73711#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list