rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodda317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "a6734b68b1d3d3cbd03f9b507167c930c6d65042",
"author": {
"id": "did:key:z6MkmpBE8j3qCmpqWywKWu3mJaZjz8rTRgrkiq9Z6DPoCQ6d",
"alias": null
},
"title": "Fix linker error on macos 14.3 with nix build",
"state": {
"status": "merged",
"conflicts": []
},
"before": "a48081f2717f069d456ec09f31d9e639b232dbed",
"after": "da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b",
"commits": [
"da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b"
],
"target": "7e1cb406bb935c3de008d2171e8961f57b4336ea",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "a6734b68b1d3d3cbd03f9b507167c930c6d65042",
"author": {
"id": "did:key:z6MkmpBE8j3qCmpqWywKWu3mJaZjz8rTRgrkiq9Z6DPoCQ6d",
"alias": null
},
"description": "Using nix build resulted in a linker error\n\nld: framework not found Security\n\nFollowing the proposed solution in\nhttps://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612\nresolves the issue.",
"base": "a48081f2717f069d456ec09f31d9e639b232dbed",
"oid": "da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b",
"timestamp": 1709888317
},
{
"id": "3db1dce8fb8d0f09d21b16dd8ff5ca931b5ec083",
"author": {
"id": "did:key:z6MkmpBE8j3qCmpqWywKWu3mJaZjz8rTRgrkiq9Z6DPoCQ6d",
"alias": null
},
"description": "Rebase.",
"base": "00102beb298296b793e164f2455fa7d4cd4b70d2",
"oid": "00102beb298296b793e164f2455fa7d4cd4b70d2",
"timestamp": 1709938334
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "1597e396-dc85-4f18-a319-ee0703fdcc4f"
},
"info_url": "https://cci.rad.levitte.org//1597e396-dc85-4f18-a319-ee0703fdcc4f.html"
}
Started at: 2026-09-08 23:13:25.570477+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/1597e396-dc85-4f18-a319-ee0703fdcc4f/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 39 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout a6734b68b1d3d3cbd03f9b507167c930c6d65042
✓ Switched to branch patch/a6734b6 at revision a6734b6
✓ Branch patch/a6734b6 setup to track rad/patches/a6734b68b1d3d3cbd03f9b507167c930c6d65042
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b
HEAD is now at da317faa Fix linker error on macos 14.3 with nix build
Exit code: 0
$ rad patch show a6734b68b1d3d3cbd03f9b507167c930c6d65042 -p
╭────────────────────────────────────────────────────────────────────────────────╮
│ Title Fix linker error on macos 14.3 with nix build │
│ Patch a6734b68b1d3d3cbd03f9b507167c930c6d65042 │
│ Author z6MkmpB…DPoCQ6d │
│ Head da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b │
│ Base a48081f2717f069d456ec09f31d9e639b232dbed │
│ Target master │
│ Branches patch/a6734b6 │
│ Commits ahead 1, behind 1586 │
│ Status merged │
│ │
│ Using nix build resulted in a linker error │
│ │
│ ld: framework not found Security │
│ │
│ Following the proposed solution in │
│ https://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612 │
│ resolves the issue. │
├────────────────────────────────────────────────────────────────────────────────┤
│ da317fa Fix linker error on macos 14.3 with nix build │
├────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision a6734b6 @ a48081f..da317fa by z6MkmpB…DPoCQ6d 2 years ago │
│ └─ ✓ accepted by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision 3db1dce @ 00102be..00102be by cloudhead z6MksFq…bS9wzpT 2 years ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰────────────────────────────────────────────────────────────────────────────────╯
commit da317faa8bc3e3e0fc9ffb7d08f9ec2d055a1b7b
Author: Timm Behner <timm.behner@telekom.de>
Date: Fri Mar 8 09:57:21 2024 +0100
Fix linker error on macos 14.3 with nix build
Using nix build resulted in a linker error
ld: framework not found Security
Following the proposed solution in
https://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612
resolves the issue.
diff --git a/flake.nix b/flake.nix
index 927cfc6a51..3f6e1ea9f1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -76,6 +76,7 @@
++ lib.optionals pkgs.stdenv.isDarwin [
# Additional darwin specific inputs can be set here
pkgs.libiconv
+ pkgs.darwin.apple_sdk.frameworks.Security
];
};
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny clippy::all cargo build --all-targets --workspace cargo doc --workspace cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name 1597e396-dc85-4f18-a319-ee0703fdcc4f -v /opt/radcis/ci.rad.levitte.org/cci/state/1597e396-dc85-4f18-a319-ee0703fdcc4f/s:/1597e396-dc85-4f18-a319-ee0703fdcc4f/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/1597e396-dc85-4f18-a319-ee0703fdcc4f/w:/1597e396-dc85-4f18-a319-ee0703fdcc4f/w -w /1597e396-dc85-4f18-a319-ee0703fdcc4f/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /1597e396-dc85-4f18-a319-ee0703fdcc4f/s/script.sh
+ cargo --version
info: syncing channel updates for '1.74-x86_64-unknown-linux-gnu'
info: latest update on 2023-12-07, rust version 1.74.1 (a28077b28 2023-12-04)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
cargo 1.74.1 (ecb9851af 2023-10-18)
+ rustc --version
rustc 1.74.1 (a28077b28 2023-12-04)
+ cargo fmt --check
error: 'cargo-fmt' is not installed for the toolchain '1.74-x86_64-unknown-linux-gnu'.
To install, run `rustup component add --toolchain 1.74-x86_64-unknown-linux-gnu rustfmt`
Exit code: 1
{
"response": "finished",
"result": "failure"
}