Skip to content

matrix-tuwunel: fix build with forced system libraries - #585169

Merged
thiagokokada merged 1 commit into
NixOS:masterfrom
c2fc2f:tuwunel-system-libraries
Nov 11, 2026
Merged

thiagokokada merged 1 commit into
NixOS:masterfrom
c2fc2f:tuwunel-system-libraries

Conversation

@c2fc2f

@c2fc2f c2fc2f commented Nov 8, 2026

Copy link
Copy Markdown
Member

#537108 forced system libraries

Things done

@c2fc2f
c2fc2f force-pushed the tuwunel-system-libraries branch from b618d98 to 3241887 Compare November 8, 2026 23:11
@nixpkgs-ci
nixpkgs-ci Bot requested a review from scvalex November 8, 2026 23:17
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 8, 2026
@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (a0a3a8d)

Command: nixpkgs-review pr 585169
Commit: 3241887ee884cb5b1bd53ed73bb9f039539fea9b (subsequent changes)
Merge: c93f8ac92d66cf07b6501415cdb16f700ad38193

Triggered by @c2fc2f (59392138)
Logs: https://github.com/c2fc2f/nixpkgs-review-gha/actions/runs/42536211056/attempts/1


x86_64-linux

✅ 1 package built:
  • matrix-tuwunel

aarch64-linux

✅ 1 package built:
  • matrix-tuwunel

x86_64-darwin

✅ No rebuilds


aarch64-darwin

✅ No rebuilds

@c2fc2f
c2fc2f force-pushed the tuwunel-system-libraries branch from 3241887 to 68308e1 Compare November 9, 2026 07:22
@c2fc2f
c2fc2f requested a review from RossSmyth November 9, 2026 07:27
@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (a0a3a8d)

Command: nixpkgs-review pr 585169
Commit: 68308e1a9d96f33449229915337dcd57ab79015b (subsequent changes)
Merge: e7950de20dd91c624939ec6eb3c0f5d48e4d81af

Triggered by @c2fc2f (59392138)
Logs: https://github.com/c2fc2f/nixpkgs-review-gha/actions/runs/42579247060/attempts/1


x86_64-linux

✅ 1 package built:
  • matrix-tuwunel

aarch64-linux

✅ 1 package built:
  • matrix-tuwunel

x86_64-darwin

✅ No rebuilds


aarch64-darwin

✅ No rebuilds

@scvalex scvalex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.

I built this locally on x86_64 and ran the nixos tests.

I am unable to build this on aarch64 because the tests are failing to build yet again. I don't think rustc was terminated by a deadly signal has anything to do with this PR. I'm going to hope that hydra's bigger machines have more success than my tiny VM.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Nov 9, 2026
@RossSmyth

RossSmyth commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Hm I built it on my machine, but the checkPhase failed.

matrix-tuwunel> failures:
matrix-tuwunel>
matrix-tuwunel> ---- profile::tests::remote::nullable::old_null_rows_remain_in_the_bounded_union stdout ----
matrix-tuwunel> Error: isolated service test profile::tests::remote::nullable::old_null_rows_remain_in_the_bounded_union failed with signal: 6 (SIGABRT)
matrix-tuwunel>
matrix-tuwunel> ---- profile::tests::remote::selected_fields_bound_raw_count_and_name_bytes stdout ----
matrix-tuwunel> Error: isolated service test profile::tests::remote::selected_fields_bound_raw_count_and_name_bytes failed with signal: 6 (SIGABRT)
matrix-tuwunel>
matrix-tuwunel> ---- resolver::tests::literal_routes_apply_default_policy_and_preserve_authority stdout ----
matrix-tuwunel> Error: isolated service test resolver::tests::literal_routes_apply_default_policy_and_preserve_authority failed with exit status: 101
matrix-tuwunel>
matrix-tuwunel> ---- resolver::tests::empty_literal_denylist_allows_private_and_unspecified_routes stdout ----
matrix-tuwunel> Error: isolated service test resolver::tests::empty_literal_denylist_allows_private_and_unspecified_routes failed with exit status: 101
matrix-tuwunel>
matrix-tuwunel> ---- resolver::tests::delegated_ipv6_routes_preserve_their_authority stdout ----
matrix-tuwunel> Error: isolated service test resolver::tests::delegated_ipv6_routes_preserve_their_authority failed with exit status: 101
matrix-tuwunel>
matrix-tuwunel> ---- migrations::injectivity::seen::tests::runner_contains_errors_and_honors_only_its_marker stdout ----
matrix-tuwunel> Error: isolated service test migrations::injectivity::seen::tests::runner_contains_errors_and_honors_only_its_marker failed with exit status: 101
matrix-tuwunel>
matrix-tuwunel>
matrix-tuwunel> failures:
matrix-tuwunel>     migrations::injectivity::seen::tests::runner_contains_errors_and_honors_only_its_marker
matrix-tuwunel>     profile::tests::remote::nullable::old_null_rows_remain_in_the_bounded_union
matrix-tuwunel>     profile::tests::remote::selected_fields_bound_raw_count_and_name_bytes
matrix-tuwunel>     resolver::tests::delegated_ipv6_routes_preserve_their_authority
matrix-tuwunel>     resolver::tests::empty_literal_denylist_allows_private_and_unspecified_routes
matrix-tuwunel>     resolver::tests::literal_routes_apply_default_policy_and_preserve_authority
matrix-tuwunel>
matrix-tuwunel> test result: FAILED. 705 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 9.26s
matrix-tuwunel>
matrix-tuwunel> error: test failed, to rerun pass `-p tuwunel_service --lib`

Obviously others' builds have succeeded. Is this flaky or something? This is on x86 linux.

@c2fc2f

c2fc2f commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Obviously others' builds have succeeded. Is this flaky or something? This is on x86 linux.

nixpkgs-review-gha is running on a brand-new VM, so it must be on your end, but I'm not quite sure why. Try clearing your cache

@RossSmyth

Copy link
Copy Markdown
Contributor

What cache?

@c2fc2f

c2fc2f commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

What cache?

My bad, I meant running nix-collect-garbage -d to clean up the old store paths and cached build outputs

@RossSmyth

RossSmyth commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

If this derivation breaks because of store paths being present at all, then there is something extremely wrong with it. Part of the point of Nix is not doing that.

@RossSmyth
RossSmyth removed their request for review November 9, 2026 18:49
@c2fc2f

c2fc2f commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

If this derivation breaks because of store paths being present at all, then there is something extremely wrong with it. Part of the point of Nix is not doing that.

That was just a guess; I don't know if that's really the case. It might be due to a corruption error in the nix store

@scvalex

scvalex commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

I managed to build (both binary and tests) on aarch64 via binfmt-qemu. I deployed to my server and everything seems to be running fine.

Obviously others' builds have succeeded. Is this flaky or something?

I've never seen the tests fail. In my experience, if they build, they pass. Getting them to build and not time-out is the challenge.

@thiagokokada
thiagokokada added this pull request to the merge queue Nov 11, 2026
Merged via the queue into NixOS:master with commit 4475cda Nov 11, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants