I recently encountered a puzzling issue: zig build
worked perfectly, but make build
failed with "Permission denied". What followed was an interesting debugging session that uncovered a quirky interaction between GNU Make's PATH search and directory structures.
This article documents the investigation process and some debugging techniques that proved useful along the way.