From a60efd7042832a3af80ded14a329eeb8c66760f7 Mon Sep 17 00:00:00 2001 From: Luke Craig Date: Tue, 9 Jun 2026 16:42:56 -0400 Subject: [PATCH] ltrace: drop broken 32-bit fallback for mips64 mips64eb/mips64el are in iglooExcludedArchs (no 64-bit MIPS ltrace build), and iglooFallbackArchs symlinked them to the 32-bit mipsel/mipseb ltrace. That symlink can't run on a mips64 guest: the 32-bit binary needs the 32-bit musl loader + libc, but penguin only mounts the arch's own 64-bit /igloo/dylibs, so 'ltrace -V' fails with an ELF/ABI mismatch and breaks the penguin-tools actuation test. Drop the fallback so mips64 ships no ltrace, matching riscv64/loongarch. --- src/pkgs/ltrace.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pkgs/ltrace.nix b/src/pkgs/ltrace.nix index 4aecce1..ef1d42a 100644 --- a/src/pkgs/ltrace.nix +++ b/src/pkgs/ltrace.nix @@ -62,9 +62,10 @@ pkgs.ltrace.overrideAttrs (prev: { "riscv64" "loongarch" ]; - iglooFallbackArchs = { - mips64eb = "mipseb"; - mips64el = "mipsel"; - }; + # No iglooFallbackArchs: ltrace has no 64-bit MIPS build, and symlinking the + # 32-bit mipsel/mipseb binary does not work on a mips64 guest -- it needs the + # 32-bit musl loader + libc, but penguin only mounts the arch's own (64-bit) + # /igloo/dylibs, so the fallback ltrace fails to start. Treat mips64 like + # riscv64/loongarch (no ltrace) instead of shipping a broken symlink. }; })