I try to build the newly released Ghostty (using commit 579de8e491845b52e42d32a5dc3deaeb159ea4bc at the time of writing).
When running zig build, it starts to fetch dependencies and eventually fails with errors such as
ghostty/pkg/wuffs/build.zig.zon:6:20: error: package contains 'wuffs-0.4.0-alpha.8/test/data/hippopotamus.masked-with-muybridge.png' which has illegal file type 'unknown'
.url = "https://github.com/google/wuffs/archive/refs/tags/v0.4.0-alpha.8.tar.gz",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and the same for various other dependencies, for files with different endings like .h, .cc which (to me at least) are clearly not unknown.
What does this mean? Is it a problem with Ghostty’s build script and dependency declarations (I suppose not, since many people have been able to use it before), or with Zig, or with my system?
So it’s not about the file extension - something went wrong during the unpacking and that file system entry is somehow neither a directory, nor a file, nor a symlink. It’s not even a block_device, character_device, named_pipe, unix_domain_socket, whiteout, door, or event_port.
Sounds like something has gone horribly wrong on the file system. Any ideas why that might be?