Skip to content

Instantly share code, notes, and snippets.

@towry
Created December 20, 2024 08:28
Show Gist options
  • Save towry/622833955ebf09871898b205de83700d to your computer and use it in GitHub Desktop.
Save towry/622833955ebf09871898b205de83700d to your computer and use it in GitHub Desktop.
thread 5400255 panic: unhandled error
/Users/towry/workspace/git-repos/ghostty/pkg/apple-sdk/build.zig:43:41: 0x104e23be7 in addPaths (build)
const path = gop.value_ptr.* orelse return switch (target.os.tag) {
^
/Users/towry/workspace/git-repos/ghostty/pkg/libpng/build.zig:20:9: 0x104fd3213 in build (build)
try apple_sdk.addPaths(b, &lib.root_module);
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/std/Build.zig:2117:24: 0x104f15e6b in runBuild__anon_19560 (build)
.ErrorUnion => try build_zig.build(b),
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/std/Build.zig:2097:40: 0x104ea96f3 in dependencyInner__anon_18420 (build)
sub_builder.runBuild(bz) catch @panic("unhandled error");
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/std/Build.zig:1954:35: 0x104e309ff in dependency__anon_11699 (build)
return dependencyInner(b, name, pkg.build_root, if (@hasDecl(pkg, "build_zig")) pkg.build_zig else null, pkg_hash, pkg.deps, args);
^
/Users/towry/workspace/git-repos/ghostty/build.zig:1122:40: 0x104e2816b in addDeps (build)
const libpng_dep = b.dependency("libpng", .{
^
/Users/towry/workspace/git-repos/ghostty/build.zig:1694:24: 0x104e3901f in benchSteps (build)
_ = try addDeps(b, c_exe, config: {
^
/Users/towry/workspace/git-repos/ghostty/build.zig:290:19: 0x104e3f3b3 in build (build)
try benchSteps(b, target, config, emit_bench);
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/std/Build.zig:2117:43: 0x104e0287b in runBuild__anon_8447 (build)
.ErrorUnion => try build_zig.build(b),
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/compiler/build_runner.zig:301:29: 0x104dfd7d7 in main (build)
try builder.runBuild(root);
^
/nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/lib/std/start.zig:524:37: 0x104e04ee7 in main (build)
const result = root.main() catch |err| {
^
???:?:?: 0x19ba0b153 in ??? (???)
???:?:?: 0xa26e7fffffffffff in ??? (???)
error: the following build command crashed:
/Users/towry/workspace/git-repos/ghostty/.zig-cache/o/df8d2cb205363bb5197fb3744df14b75/build /nix/store/fmknjb4j68rnyx60wm8x7zkpamcwdck5-zig-0.13.0/bin/zig /Users/towry/workspace/git-repos/ghostty /Users/towry/workspace/git-repos/ghostty/.zig-cache /Users/towry/.cache/zig --seed 0xc7b6f51 -Z80785a000234e737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment