-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi :)
I realize this isn't your code per se, but the original developer seems to have completely abandoned it, and it seems like you're pretty active, so I'm giving it a shot :)
Note: This is on HFS+ on macOS 10.13.6. The afsctool comes from MacPorts, but the problem I'm about to describe predates your version.
I just finished reinstalling all my relevant MacPorts, and afterwards I ran afsctool over /opt/local (sudo afsctool -cvkl -9 -m 0 -s 1). Immediately after, I could no longer open an iTerm tab (I use zsh from MacPorts).
I then opened an old-school Terminal session (it uses Apple's bash binary), and doing zsh yields nothing, it's like typing echo. $? => 0, so it doesn't actually error out. zsh --help, nothing.
When doing port selfupdate or any port install command, I get errors like Warning: Error parsing file /opt/local/libexec/git-core/git-cherry-pick: Error mapping file into memory for a whole slew of binaries.
When I saw all this, I remembered the same thing happening many years ago, when I compressed my Homebrew folder with afsctool (the original one, I'm sure). It completely broke everything. The connection here is pretty clear, as I used to install brew in my user folder, meaning it would build binaries rather than use pre-built ones.
I'm wondering if gcc or something is using some kind of funky resource fork mumbo jumbo (I'm not too versed with the HFS+ details) when it creates binaries, and afsctool is somehow messing them up when it compresses them?
Note that I have no experience with this on APFS as I really dislike the newer macOSes (also the newer Macs), so I'm hanging on for dear life to my aging hardware and macOSes XD
Cheers for your support, and have a nice day :)