[MacPorts] #73711: py313-maturin @1.12.6_0: failed to parse manifest
MacPorts
noreply at macports.org
Wed Sep 2 14:02:44 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):
I installed "incremental" versions of my custom-rust:
{{{
rust-custom-1.82
rust-custom-1.83
rust-custom-1.84
rust-custom-1.85
rust-custom-1.88
rust-custom-1.92
}}}
This was so that I could upgrade each previously installed MacPorts
py313-maturin installation, as each version has different requirements for
rustc
(and at the time, I didn't realise that I could successfully build a
custom rustc/cargo 1.9x).
Today, I looked at the {{{Cargo.toml / Cargo.lock}}} files for each
version of py313-maturin that I installed.
Here are the required versions of rustc for each one:
{{{
[package]
…
name = "maturin"
version = "1.9.6"
…
edition = "2021"
rust-version = "1.74” <----- Works with the capped MacPorts cargo
@0.79.0_3 and rust @1.78.0_1 for macOS Sierra.
[package]
…
name = "maturin"
version = "1.10.2"
…
edition = "2021"
rust-version = "1.83" <----- I used my custom-rust 1.83+ for that.
[package]
…
name = "maturin"
version = "1.12.6"
…
edition = "2024"
rust-version = "1.88" <----- I used my custom-rust 1.88 for that.
[package]
…
name = "maturin"
version = "1.13.1"
…
edition = "2024"
rust-version = "1.88" <----- I used my custom-rust 1.92 for that.
[package]
…
name = "maturin"
version = "1.13.3"
…
edition = "2024"
rust-version = "1.89" <----- I used my custom-rust 1.92 for that with the
C stub file
[package]
…
name = "maturin"
version = "1.14.1"
…
edition = "2024"
rust-version = "1.89" <----- I used my custom-rust 1.92 for that with the
C stub file
}}}
Also, this seems to be a relevant file:
/opt/local/var/macports/build/py313-maturin-
8b51baf4/work/.home/.cargo/macports/security-framework-3.7.0/src/trust.rs
Here is some diagnostic information for each installed version of
py313-maturin on my macOS Sierra machine, including the
_SecTrustEvaluateWithError symbol if present.
----
{{{
$ maturin —version
maturin 1.9.6
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
current version 9.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
( No __ZN18security_framework5trust8SecTrust19evaluate_with_error in
output )
}}}
----
{{{
$ maturin —version
maturin 1.10.2
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0,
current version 14.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 10.0.0,
current version 10.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
( No __ZN18security_framework5trust8SecTrust19evaluate_with_error in
output )
}}}
Cargo.lock for py313-maturin 1.10.2:
{{{
[[package]]
name = "security-framework"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags",
"core-foundation",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
dependencies = [
"core-foundation-sys",
"libc",
]
}}}
----
{{{
$ maturin —version
maturin 1.12.6
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 57740.60.30)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1350.10.0)
/opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0,
current version 14.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 10.0.0,
current version 10.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
...
...
000000010062af50 T
__ZN18security_framework5trust8SecTrust19evaluate_with_error17h337c4f25dfd58141E
...
...
}}}
Cargo.lock for py313-maturin 1.12.6:
{{{
[[package]]
name = "security-framework"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags 2.10.0",
"core-foundation 0.9.4",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework"
version = "3.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef"
dependencies = [
"bitflags 2.10.0",
"core-foundation 0.10.1",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
dependencies = [
"core-foundation-sys",
"libc",
]
}}}
----
{{{
$ maturin —version
maturin 1.13.1
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 57740.60.30)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1350.10.0)
/opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0,
current version 14.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 10.0.0,
current version 10.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1238.60.2)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
...
...
00000001006b04a0 T
__ZN18security_framework5trust8SecTrust19evaluate_with_error17h337c4f25dfd58141E
...
...
}}}
Cargo.lock for py313-maturin 1.13.1:
{{{
[[package]]
name = "security-framework"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags",
"core-foundation 0.9.4",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework"
version = "3.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef"
dependencies = [
"bitflags",
"core-foundation 0.10.1",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
dependencies = [
"core-foundation-sys",
"libc",
]
}}}
----
{{{
$ maturin —version
maturin 1.13.3
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 58286.31.2)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1450.15.0)
/opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0,
current version 14.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 10.0.0,
current version 10.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.0.0)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
0000000100057390 T _SecTrustEvaluateWithError <—— The C stub file
...
...
}}}
Cargo.lock for py313-maturin 1.13.3:
{{{
[[package]]
name = "security-framework"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags",
"core-foundation 0.9.4",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework"
version = "3.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
dependencies = [
"bitflags",
"core-foundation 0.10.1",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum =
"6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"
dependencies = [
"core-foundation-sys",
"libc",
]
}}}
----
{{{
$ maturin —version
maturin 1.14.1
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin:
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 58286.31.2)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1450.15.0)
/opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0,
current version 14.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 10.0.0,
current version 10.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.0.0)
$ nm -gU
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/maturin |
grep -I “sec”
00000001000575d0 T _SecTrustEvaluateWithError <—— The C stub file
...
...
}}}
----
I have only just noticed that the Portfile for rust 1.96 to 1.98 has a lot
of additional detailed info in it.
Might consider attempting upgrading cargo and rust from the capped
versions.
--
Ticket URL: <https://trac.macports.org/ticket/73711#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list